tornapi-typescript 6.12.0 → 6.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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.12.0"
6
+ "version": "6.13.0"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -10679,14 +10679,14 @@
10679
10679
  "tags": [
10680
10680
  "Torn"
10681
10681
  ],
10682
- "summary": "Get information about a specific item",
10682
+ "summary": "Get details for specific item(s)",
10683
10683
  "description": "Requires public key.",
10684
10684
  "operationId": "getTornItemDetails",
10685
10685
  "parameters": [
10686
10686
  {
10687
10687
  "name": "ids",
10688
10688
  "in": "path",
10689
- "description": "Item uid or a list of item uids (comma separated)",
10689
+ "description": "Item uid or a list of item uids (comma separated), 25 uids maximum",
10690
10690
  "required": true,
10691
10691
  "style": "form",
10692
10692
  "explode": false,
@@ -10766,6 +10766,59 @@
10766
10766
  "x-stability": "Stable"
10767
10767
  }
10768
10768
  },
10769
+ "/torn/{ids}/itemstats": {
10770
+ "get": {
10771
+ "tags": [
10772
+ "Torn"
10773
+ ],
10774
+ "summary": "Get specific item(s) stats",
10775
+ "description": "Requires public key.<br>",
10776
+ "operationId": "getTornItemStats",
10777
+ "parameters": [
10778
+ {
10779
+ "name": "ids",
10780
+ "in": "path",
10781
+ "description": "Item uid or a list of item uids (comma separated), 25 uids maximum",
10782
+ "required": true,
10783
+ "style": "form",
10784
+ "explode": false,
10785
+ "schema": {
10786
+ "type": "array",
10787
+ "items": {
10788
+ "$ref": "#/components/schemas/ItemUid"
10789
+ }
10790
+ }
10791
+ },
10792
+ {
10793
+ "$ref": "#/components/parameters/ApiTimestamp"
10794
+ },
10795
+ {
10796
+ "$ref": "#/components/parameters/ApiComment"
10797
+ },
10798
+ {
10799
+ "$ref": "#/components/parameters/ApiKeyPublic"
10800
+ }
10801
+ ],
10802
+ "responses": {
10803
+ "200": {
10804
+ "description": "Successful operation",
10805
+ "content": {
10806
+ "application/json": {
10807
+ "schema": {
10808
+ "$ref": "#/components/schemas/TornItemStatsResponse"
10809
+ }
10810
+ }
10811
+ }
10812
+ }
10813
+ },
10814
+ "security": [
10815
+ {
10816
+ "api_key": []
10817
+ }
10818
+ ],
10819
+ "x-stability": "Unstable"
10820
+ }
10821
+ },
10769
10822
  "/torn/items": {
10770
10823
  "get": {
10771
10824
  "tags": [
@@ -11286,6 +11339,45 @@
11286
11339
  "x-stability": "Stable"
11287
11340
  }
11288
11341
  },
11342
+ "/torn/rockpaperscissors": {
11343
+ "get": {
11344
+ "tags": [
11345
+ "Torn"
11346
+ ],
11347
+ "summary": "Get rock paper scissors competition stats",
11348
+ "description": "Requires public key.",
11349
+ "operationId": "getTornRps",
11350
+ "parameters": [
11351
+ {
11352
+ "$ref": "#/components/parameters/ApiTimestamp"
11353
+ },
11354
+ {
11355
+ "$ref": "#/components/parameters/ApiComment"
11356
+ },
11357
+ {
11358
+ "$ref": "#/components/parameters/ApiKeyPublic"
11359
+ }
11360
+ ],
11361
+ "responses": {
11362
+ "200": {
11363
+ "description": "Successful operation",
11364
+ "content": {
11365
+ "application/json": {
11366
+ "schema": {
11367
+ "$ref": "#/components/schemas/TornRockPaperScissorsResponse"
11368
+ }
11369
+ }
11370
+ }
11371
+ }
11372
+ },
11373
+ "security": [
11374
+ {
11375
+ "api_key": []
11376
+ }
11377
+ ],
11378
+ "x-stability": "Unstable"
11379
+ }
11380
+ },
11289
11381
  "/torn/searchforcash": {
11290
11382
  "get": {
11291
11383
  "tags": [
@@ -11364,6 +11456,45 @@
11364
11456
  "x-stability": "Unstable"
11365
11457
  }
11366
11458
  },
11459
+ "/torn/stats": {
11460
+ "get": {
11461
+ "tags": [
11462
+ "Torn"
11463
+ ],
11464
+ "summary": "Get daily city stats",
11465
+ "description": "Requires public key.",
11466
+ "operationId": "getTornCityStats",
11467
+ "parameters": [
11468
+ {
11469
+ "$ref": "#/components/parameters/ApiTimestamp"
11470
+ },
11471
+ {
11472
+ "$ref": "#/components/parameters/ApiComment"
11473
+ },
11474
+ {
11475
+ "$ref": "#/components/parameters/ApiKeyPublic"
11476
+ }
11477
+ ],
11478
+ "responses": {
11479
+ "200": {
11480
+ "description": "Successful operation",
11481
+ "content": {
11482
+ "application/json": {
11483
+ "schema": {
11484
+ "$ref": "#/components/schemas/TornCityStatsResponse"
11485
+ }
11486
+ }
11487
+ }
11488
+ }
11489
+ },
11490
+ "security": [
11491
+ {
11492
+ "api_key": []
11493
+ }
11494
+ ],
11495
+ "x-stability": "Unstable"
11496
+ }
11497
+ },
11367
11498
  "/torn/stocks": {
11368
11499
  "get": {
11369
11500
  "tags": [
@@ -11803,6 +11934,12 @@
11803
11934
  {
11804
11935
  "$ref": "#/components/schemas/TornItemsResponse"
11805
11936
  },
11937
+ {
11938
+ "$ref": "#/components/schemas/TornRockPaperScissorsResponse"
11939
+ },
11940
+ {
11941
+ "$ref": "#/components/schemas/TornCityStatsResponse"
11942
+ },
11806
11943
  {
11807
11944
  "$ref": "#/components/schemas/TornLogCategoriesResponse"
11808
11945
  },
@@ -11815,6 +11952,9 @@
11815
11952
  {
11816
11953
  "$ref": "#/components/schemas/TornOrganizedCrimeResponse"
11817
11954
  },
11955
+ {
11956
+ "$ref": "#/components/schemas/TornItemStatsResponse"
11957
+ },
11818
11958
  {
11819
11959
  "$ref": "#/components/schemas/TornHonorsResponse"
11820
11960
  },
@@ -11908,6 +12048,28 @@
11908
12048
  "E"
11909
12049
  ]
11910
12050
  },
12051
+ "TornItemStatTitleEnum": {
12052
+ "type": "string",
12053
+ "enum": [
12054
+ "Damage",
12055
+ "Rounds fired",
12056
+ "Hits",
12057
+ "Misses",
12058
+ "Damage taken",
12059
+ "Reloads",
12060
+ "Highest damage",
12061
+ "Hits received",
12062
+ "Most damage taken",
12063
+ "Damage mitigated",
12064
+ "Most damage mitigated",
12065
+ "Finishing hits",
12066
+ "Critical hits",
12067
+ "First owner",
12068
+ "First faction owner",
12069
+ "Time created",
12070
+ "Respect earned"
12071
+ ]
12072
+ },
11911
12073
  "FactionArmoryCategoryEnum": {
11912
12074
  "type": "string",
11913
12075
  "enum": [
@@ -16932,6 +17094,10 @@
16932
17094
  "type": "integer",
16933
17095
  "format": "int64"
16934
17096
  },
17097
+ "ItemStatId": {
17098
+ "type": "integer",
17099
+ "format": "int34"
17100
+ },
16935
17101
  "AuctionListingId": {
16936
17102
  "type": "integer",
16937
17103
  "format": "int32"
@@ -17782,8 +17948,16 @@
17782
17948
  "format": "float"
17783
17949
  },
17784
17950
  "chain": {
17785
- "type": "integer",
17786
- "format": "int32"
17951
+ "description": "Important! Starting January 1st, 2027, the value '0' will be replaced with 'null'.",
17952
+ "oneOf": [
17953
+ {
17954
+ "type": "integer",
17955
+ "format": "int32"
17956
+ },
17957
+ {
17958
+ "type": "null"
17959
+ }
17960
+ ]
17787
17961
  },
17788
17962
  "is_interrupted": {
17789
17963
  "description": "This is an experimental flag which should help determine 'assist' attacks which have not contributed to the chain. For example, attacks such as where the opponent lost to someoene else before the attacker could finish the attack. This flag might not work entirely correctly, so use with caution.",
@@ -19337,6 +19511,25 @@
19337
19511
  },
19338
19512
  "type": "object"
19339
19513
  },
19514
+ "ErrorCityStatsCronFailed": {
19515
+ "required": [
19516
+ "code",
19517
+ "error"
19518
+ ],
19519
+ "properties": {
19520
+ "code": {
19521
+ "type": "integer",
19522
+ "format": "int32",
19523
+ "enum": [
19524
+ 31
19525
+ ]
19526
+ },
19527
+ "error": {
19528
+ "type": "string"
19529
+ }
19530
+ },
19531
+ "type": "object"
19532
+ },
19340
19533
  "ApiError": {
19341
19534
  "oneOf": [
19342
19535
  {
@@ -19431,6 +19624,9 @@
19431
19624
  },
19432
19625
  {
19433
19626
  "$ref": "#/components/schemas/ErrorFileDoesNotExist"
19627
+ },
19628
+ {
19629
+ "$ref": "#/components/schemas/ErrorCityStatsCronFailed"
19434
19630
  }
19435
19631
  ]
19436
19632
  },
@@ -33790,6 +33986,695 @@
33790
33986
  },
33791
33987
  "type": "object"
33792
33988
  },
33989
+ "TornItemStat": {
33990
+ "required": [
33991
+ "id",
33992
+ "title",
33993
+ "value"
33994
+ ],
33995
+ "properties": {
33996
+ "id": {
33997
+ "$ref": "#/components/schemas/ItemStatId"
33998
+ },
33999
+ "title": {
34000
+ "type": "string"
34001
+ },
34002
+ "value": {
34003
+ "type": "integer",
34004
+ "format": "int64"
34005
+ }
34006
+ },
34007
+ "type": "object"
34008
+ },
34009
+ "TornItemStats": {
34010
+ "required": [
34011
+ "id",
34012
+ "uid",
34013
+ "name",
34014
+ "type",
34015
+ "sub_type",
34016
+ "stats"
34017
+ ],
34018
+ "properties": {
34019
+ "id": {
34020
+ "$ref": "#/components/schemas/ItemId"
34021
+ },
34022
+ "uid": {
34023
+ "$ref": "#/components/schemas/ItemUid"
34024
+ },
34025
+ "name": {
34026
+ "$ref": "#/components/schemas/TornItemStatTitleEnum"
34027
+ },
34028
+ "type": {
34029
+ "$ref": "#/components/schemas/TornItemTypeEnum"
34030
+ },
34031
+ "sub_type": {
34032
+ "oneOf": [
34033
+ {
34034
+ "$ref": "#/components/schemas/TornItemWeaponTypeEnum"
34035
+ },
34036
+ {
34037
+ "type": "null"
34038
+ }
34039
+ ]
34040
+ },
34041
+ "stats": {
34042
+ "type": "array",
34043
+ "items": {
34044
+ "$ref": "#/components/schemas/TornItemStat"
34045
+ }
34046
+ }
34047
+ },
34048
+ "type": "object"
34049
+ },
34050
+ "TornItemStatsResponse": {
34051
+ "required": [
34052
+ "itemdetails"
34053
+ ],
34054
+ "properties": {
34055
+ "itemdetails": {
34056
+ "type": "array",
34057
+ "items": {
34058
+ "$ref": "#/components/schemas/TornItemStats"
34059
+ }
34060
+ }
34061
+ },
34062
+ "type": "object"
34063
+ },
34064
+ "TornRockPaperScissorsResponse": {
34065
+ "required": [
34066
+ "rockpaperscissors"
34067
+ ],
34068
+ "properties": {
34069
+ "rockpaperscissors": {
34070
+ "type": "array",
34071
+ "items": {
34072
+ "required": [
34073
+ "type",
34074
+ "count"
34075
+ ],
34076
+ "properties": {
34077
+ "type": {
34078
+ "type": "string",
34079
+ "enum": [
34080
+ "rock",
34081
+ "paper",
34082
+ "scissors"
34083
+ ]
34084
+ },
34085
+ "count": {
34086
+ "type": "integer",
34087
+ "format": "int64"
34088
+ }
34089
+ },
34090
+ "type": "object"
34091
+ }
34092
+ }
34093
+ },
34094
+ "type": "object"
34095
+ },
34096
+ "TornCityStatsResponse": {
34097
+ "required": [
34098
+ "stats"
34099
+ ],
34100
+ "properties": {
34101
+ "stats": {
34102
+ "required": [
34103
+ "users",
34104
+ "items",
34105
+ "trading",
34106
+ "currency",
34107
+ "attacking",
34108
+ "jobs",
34109
+ "jail",
34110
+ "hospital",
34111
+ "drugs",
34112
+ "traveling",
34113
+ "bounties",
34114
+ "crimes",
34115
+ "communication",
34116
+ "other"
34117
+ ],
34118
+ "properties": {
34119
+ "users": {
34120
+ "required": [
34121
+ "total",
34122
+ "male",
34123
+ "female",
34124
+ "enby",
34125
+ "married"
34126
+ ],
34127
+ "properties": {
34128
+ "total": {
34129
+ "type": "integer",
34130
+ "format": "int64"
34131
+ },
34132
+ "male": {
34133
+ "type": "integer",
34134
+ "format": "int64"
34135
+ },
34136
+ "female": {
34137
+ "type": "integer",
34138
+ "format": "int64"
34139
+ },
34140
+ "enby": {
34141
+ "type": "integer",
34142
+ "format": "int64"
34143
+ },
34144
+ "married": {
34145
+ "type": "integer",
34146
+ "format": "int64"
34147
+ }
34148
+ },
34149
+ "type": "object"
34150
+ },
34151
+ "items": {
34152
+ "required": [
34153
+ "found_in_city",
34154
+ "found_in_dump",
34155
+ "trashed",
34156
+ "total"
34157
+ ],
34158
+ "properties": {
34159
+ "found_in_city": {
34160
+ "type": "integer",
34161
+ "format": "int64"
34162
+ },
34163
+ "found_in_dump": {
34164
+ "type": "integer",
34165
+ "format": "int64"
34166
+ },
34167
+ "trashed": {
34168
+ "type": "integer",
34169
+ "format": "int64"
34170
+ },
34171
+ "total": {
34172
+ "type": "integer",
34173
+ "format": "int64"
34174
+ }
34175
+ },
34176
+ "type": "object"
34177
+ },
34178
+ "trading": {
34179
+ "required": [
34180
+ "sold_on_market",
34181
+ "sold_in_bazaar",
34182
+ "sold_points",
34183
+ "bazaar_profit",
34184
+ "auctions",
34185
+ "trades",
34186
+ "items_sent"
34187
+ ],
34188
+ "properties": {
34189
+ "sold_on_market": {
34190
+ "type": "integer",
34191
+ "format": "int64"
34192
+ },
34193
+ "sold_in_bazaar": {
34194
+ "type": "integer",
34195
+ "format": "int64"
34196
+ },
34197
+ "sold_points": {
34198
+ "type": "integer",
34199
+ "format": "int64"
34200
+ },
34201
+ "bazaar_profit": {
34202
+ "type": "integer",
34203
+ "format": "int64"
34204
+ },
34205
+ "auctions": {
34206
+ "type": "integer",
34207
+ "format": "int64"
34208
+ },
34209
+ "trades": {
34210
+ "type": "integer",
34211
+ "format": "int64"
34212
+ },
34213
+ "items_sent": {
34214
+ "type": "integer",
34215
+ "format": "int64"
34216
+ }
34217
+ },
34218
+ "type": "object"
34219
+ },
34220
+ "currency": {
34221
+ "required": [
34222
+ "money_on_hand",
34223
+ "money_on_hand_average",
34224
+ "money_in_bank",
34225
+ "points_total",
34226
+ "points_players",
34227
+ "points_factions",
34228
+ "points_market",
34229
+ "points_used"
34230
+ ],
34231
+ "properties": {
34232
+ "money_on_hand": {
34233
+ "type": "integer",
34234
+ "format": "int64"
34235
+ },
34236
+ "money_on_hand_average": {
34237
+ "type": "integer",
34238
+ "format": "int64"
34239
+ },
34240
+ "money_in_bank": {
34241
+ "type": "integer",
34242
+ "format": "int64"
34243
+ },
34244
+ "points_total": {
34245
+ "type": "integer",
34246
+ "format": "int64"
34247
+ },
34248
+ "points_players": {
34249
+ "type": "integer",
34250
+ "format": "int64"
34251
+ },
34252
+ "points_factions": {
34253
+ "type": "integer",
34254
+ "format": "int64"
34255
+ },
34256
+ "points_market": {
34257
+ "type": "integer",
34258
+ "format": "int64"
34259
+ },
34260
+ "points_used": {
34261
+ "type": "integer",
34262
+ "format": "int64"
34263
+ }
34264
+ },
34265
+ "type": "object"
34266
+ },
34267
+ "attacking": {
34268
+ "required": [
34269
+ "attacks_won",
34270
+ "attacks_lost",
34271
+ "attacks_stalemated",
34272
+ "attacks_stealthed",
34273
+ "escapes",
34274
+ "hits",
34275
+ "misses",
34276
+ "critical_hits",
34277
+ "rounds_fired",
34278
+ "money_mugged",
34279
+ "respect_gained"
34280
+ ],
34281
+ "properties": {
34282
+ "attacks_won": {
34283
+ "type": "integer",
34284
+ "format": "int64"
34285
+ },
34286
+ "attacks_lost": {
34287
+ "type": "integer",
34288
+ "format": "int64"
34289
+ },
34290
+ "attacks_stalemated": {
34291
+ "type": "integer",
34292
+ "format": "int64"
34293
+ },
34294
+ "attacks_stealthed": {
34295
+ "type": "integer",
34296
+ "format": "int64"
34297
+ },
34298
+ "escapes": {
34299
+ "type": "integer",
34300
+ "format": "int64"
34301
+ },
34302
+ "hits": {
34303
+ "type": "integer",
34304
+ "format": "int64"
34305
+ },
34306
+ "misses": {
34307
+ "type": "integer",
34308
+ "format": "int64"
34309
+ },
34310
+ "critical_hits": {
34311
+ "type": "integer",
34312
+ "format": "int64"
34313
+ },
34314
+ "rounds_fired": {
34315
+ "type": "integer",
34316
+ "format": "int64"
34317
+ },
34318
+ "money_mugged": {
34319
+ "type": "integer",
34320
+ "format": "int64"
34321
+ },
34322
+ "respect_gained": {
34323
+ "type": "integer",
34324
+ "format": "int64"
34325
+ }
34326
+ },
34327
+ "type": "object"
34328
+ },
34329
+ "jobs": {
34330
+ "required": [
34331
+ "army",
34332
+ "grocer",
34333
+ "casino",
34334
+ "education",
34335
+ "medical",
34336
+ "law",
34337
+ "company",
34338
+ "unemployed"
34339
+ ],
34340
+ "properties": {
34341
+ "army": {
34342
+ "type": "integer",
34343
+ "format": "int64"
34344
+ },
34345
+ "grocer": {
34346
+ "type": "integer",
34347
+ "format": "int64"
34348
+ },
34349
+ "casino": {
34350
+ "type": "integer",
34351
+ "format": "int64"
34352
+ },
34353
+ "education": {
34354
+ "type": "integer",
34355
+ "format": "int64"
34356
+ },
34357
+ "medical": {
34358
+ "type": "integer",
34359
+ "format": "int64"
34360
+ },
34361
+ "law": {
34362
+ "type": "integer",
34363
+ "format": "int64"
34364
+ },
34365
+ "company": {
34366
+ "type": "integer",
34367
+ "format": "int64"
34368
+ },
34369
+ "unemployed": {
34370
+ "type": "integer",
34371
+ "format": "int64"
34372
+ }
34373
+ },
34374
+ "type": "object"
34375
+ },
34376
+ "jail": {
34377
+ "required": [
34378
+ "jailings",
34379
+ "busts",
34380
+ "busts_failed",
34381
+ "bails",
34382
+ "bails_spent"
34383
+ ],
34384
+ "properties": {
34385
+ "jailings": {
34386
+ "type": "integer",
34387
+ "format": "int64"
34388
+ },
34389
+ "busts": {
34390
+ "type": "integer",
34391
+ "format": "int64"
34392
+ },
34393
+ "busts_failed": {
34394
+ "type": "integer",
34395
+ "format": "int64"
34396
+ },
34397
+ "bails": {
34398
+ "type": "integer",
34399
+ "format": "int64"
34400
+ },
34401
+ "bails_spent": {
34402
+ "type": "integer",
34403
+ "format": "int64"
34404
+ }
34405
+ },
34406
+ "type": "object"
34407
+ },
34408
+ "hospital": {
34409
+ "required": [
34410
+ "trips",
34411
+ "medical_items_used",
34412
+ "revives"
34413
+ ],
34414
+ "properties": {
34415
+ "trips": {
34416
+ "type": "integer",
34417
+ "format": "int64"
34418
+ },
34419
+ "medical_items_used": {
34420
+ "type": "integer",
34421
+ "format": "int64"
34422
+ },
34423
+ "revives": {
34424
+ "type": "integer",
34425
+ "format": "int64"
34426
+ }
34427
+ },
34428
+ "type": "object"
34429
+ },
34430
+ "drugs": {
34431
+ "required": [
34432
+ "total_used",
34433
+ "overdoses",
34434
+ "cannabis",
34435
+ "ecstasy",
34436
+ "ketamine",
34437
+ "lsd",
34438
+ "opium",
34439
+ "shrooms",
34440
+ "speed",
34441
+ "pcp",
34442
+ "xanax",
34443
+ "vicodin"
34444
+ ],
34445
+ "properties": {
34446
+ "total_used": {
34447
+ "type": "integer",
34448
+ "format": "int64"
34449
+ },
34450
+ "overdoses": {
34451
+ "type": "integer",
34452
+ "format": "int64"
34453
+ },
34454
+ "cannabis": {
34455
+ "type": "integer",
34456
+ "format": "int64"
34457
+ },
34458
+ "ecstasy": {
34459
+ "type": "integer",
34460
+ "format": "int64"
34461
+ },
34462
+ "ketamine": {
34463
+ "type": "integer",
34464
+ "format": "int64"
34465
+ },
34466
+ "lsd": {
34467
+ "type": "integer",
34468
+ "format": "int64"
34469
+ },
34470
+ "opium": {
34471
+ "type": "integer",
34472
+ "format": "int64"
34473
+ },
34474
+ "shrooms": {
34475
+ "type": "integer",
34476
+ "format": "int64"
34477
+ },
34478
+ "speed": {
34479
+ "type": "integer",
34480
+ "format": "int64"
34481
+ },
34482
+ "pcp": {
34483
+ "type": "integer",
34484
+ "format": "int64"
34485
+ },
34486
+ "xanax": {
34487
+ "type": "integer",
34488
+ "format": "int64"
34489
+ },
34490
+ "vicodin": {
34491
+ "type": "integer",
34492
+ "format": "int64"
34493
+ }
34494
+ },
34495
+ "type": "object"
34496
+ },
34497
+ "traveling": {
34498
+ "required": [
34499
+ "items_bought_abroad",
34500
+ "total_trips",
34501
+ "argentina",
34502
+ "mexico",
34503
+ "united_arab_emirates",
34504
+ "hawaii",
34505
+ "japan",
34506
+ "united_kingdom",
34507
+ "south_africa",
34508
+ "switzerland",
34509
+ "china",
34510
+ "cayman_islands"
34511
+ ],
34512
+ "properties": {
34513
+ "items_bought_abroad": {
34514
+ "type": "integer",
34515
+ "format": "int64"
34516
+ },
34517
+ "total_trips": {
34518
+ "type": "integer",
34519
+ "format": "int64"
34520
+ },
34521
+ "argentina": {
34522
+ "type": "integer",
34523
+ "format": "int64"
34524
+ },
34525
+ "mexico": {
34526
+ "type": "integer",
34527
+ "format": "int64"
34528
+ },
34529
+ "united_arab_emirates": {
34530
+ "type": "integer",
34531
+ "format": "int64"
34532
+ },
34533
+ "hawaii": {
34534
+ "type": "integer",
34535
+ "format": "int64"
34536
+ },
34537
+ "japan": {
34538
+ "type": "integer",
34539
+ "format": "int64"
34540
+ },
34541
+ "united_kingdom": {
34542
+ "type": "integer",
34543
+ "format": "int64"
34544
+ },
34545
+ "south_africa": {
34546
+ "type": "integer",
34547
+ "format": "int64"
34548
+ },
34549
+ "switzerland": {
34550
+ "type": "integer",
34551
+ "format": "int64"
34552
+ },
34553
+ "china": {
34554
+ "type": "integer",
34555
+ "format": "int64"
34556
+ },
34557
+ "cayman_islands": {
34558
+ "type": "integer",
34559
+ "format": "int64"
34560
+ }
34561
+ },
34562
+ "type": "object"
34563
+ },
34564
+ "bounties": {
34565
+ "required": [
34566
+ "placed",
34567
+ "money_spent"
34568
+ ],
34569
+ "properties": {
34570
+ "placed": {
34571
+ "type": "integer",
34572
+ "format": "int64"
34573
+ },
34574
+ "money_spent": {
34575
+ "type": "integer",
34576
+ "format": "int64"
34577
+ }
34578
+ },
34579
+ "type": "object"
34580
+ },
34581
+ "crimes": {
34582
+ "required": [
34583
+ "total",
34584
+ "jail_sentences"
34585
+ ],
34586
+ "properties": {
34587
+ "total": {
34588
+ "type": "integer",
34589
+ "format": "int64"
34590
+ },
34591
+ "jail_sentences": {
34592
+ "type": "integer",
34593
+ "format": "int64"
34594
+ }
34595
+ },
34596
+ "type": "object"
34597
+ },
34598
+ "communication": {
34599
+ "required": [
34600
+ "total_messages",
34601
+ "friends",
34602
+ "coworkers",
34603
+ "spouses",
34604
+ "classified_ads_placed",
34605
+ "personals_placed"
34606
+ ],
34607
+ "properties": {
34608
+ "total_messages": {
34609
+ "type": "integer",
34610
+ "format": "int64"
34611
+ },
34612
+ "friends": {
34613
+ "type": "integer",
34614
+ "format": "int64"
34615
+ },
34616
+ "coworkers": {
34617
+ "type": "integer",
34618
+ "format": "int64"
34619
+ },
34620
+ "spouses": {
34621
+ "type": "integer",
34622
+ "format": "int64"
34623
+ },
34624
+ "classified_ads_placed": {
34625
+ "type": "integer",
34626
+ "format": "int64"
34627
+ },
34628
+ "personals_placed": {
34629
+ "type": "integer",
34630
+ "format": "int64"
34631
+ }
34632
+ },
34633
+ "type": "object"
34634
+ },
34635
+ "other": {
34636
+ "required": [
34637
+ "logins",
34638
+ "years_played",
34639
+ "merits_bought",
34640
+ "energy_refills",
34641
+ "company_trains",
34642
+ "stat_enhancers_used"
34643
+ ],
34644
+ "properties": {
34645
+ "logins": {
34646
+ "type": "integer",
34647
+ "format": "int64"
34648
+ },
34649
+ "years_played": {
34650
+ "type": "integer",
34651
+ "format": "int64"
34652
+ },
34653
+ "merits_bought": {
34654
+ "type": "integer",
34655
+ "format": "int64"
34656
+ },
34657
+ "energy_refills": {
34658
+ "type": "integer",
34659
+ "format": "int64"
34660
+ },
34661
+ "company_trains": {
34662
+ "type": "integer",
34663
+ "format": "int64"
34664
+ },
34665
+ "stat_enhancers_used": {
34666
+ "type": "integer",
34667
+ "format": "int64"
34668
+ }
34669
+ },
34670
+ "type": "object"
34671
+ }
34672
+ },
34673
+ "type": "object"
34674
+ }
34675
+ },
34676
+ "type": "object"
34677
+ },
33793
34678
  "TornPokerTable": {
33794
34679
  "required": [
33795
34680
  "id",
@@ -36763,7 +37648,7 @@
36763
37648
  "TornSelectionName": {
36764
37649
  "oneOf": [
36765
37650
  {
36766
- "description": "The following selections will fallback to API v1 and may change at any time:'competition','itemstats','organisedcrimes','rockpaperscissors','stats'.\n * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.",
37651
+ "description": "The following selections will fallback to API v1 and may change at any time:'competition','organisedcrimes'.\n * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.",
36767
37652
  "type": "string",
36768
37653
  "enum": [
36769
37654
  "attacklog",
@@ -36785,6 +37670,7 @@
36785
37670
  "itemammo",
36786
37671
  "itemdetails",
36787
37672
  "itemmods",
37673
+ "itemstats",
36788
37674
  "items",
36789
37675
  "logcategories",
36790
37676
  "logtypes",
@@ -36795,17 +37681,16 @@
36795
37681
  "organizedcrimes",
36796
37682
  "pokertables",
36797
37683
  "properties",
37684
+ "rockpaperscissors",
36798
37685
  "searchforcash",
36799
37686
  "shoplifting",
37687
+ "stats",
36800
37688
  "stocks",
36801
37689
  "subcrimes",
36802
37690
  "territory",
36803
37691
  "timestamp",
36804
37692
  "competition",
36805
- "itemstats",
36806
- "organisedcrimes",
36807
- "rockpaperscissors",
36808
- "stats"
37693
+ "organisedcrimes"
36809
37694
  ]
36810
37695
  },
36811
37696
  {