tornapi-typescript 6.12.0 → 6.13.1
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 +167 -3
- package/dist/index.ts +193 -3
- package/dist/openapi.json +896 -10
- package/package.json +2 -2
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.
|
|
6
|
+
"version": "6.13.1"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -10679,14 +10679,14 @@
|
|
|
10679
10679
|
"tags": [
|
|
10680
10680
|
"Torn"
|
|
10681
10681
|
],
|
|
10682
|
-
"summary": "Get
|
|
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
|
-
"
|
|
17786
|
-
"
|
|
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
|
},
|
|
@@ -27413,6 +27609,7 @@
|
|
|
27413
27609
|
"format": "int32"
|
|
27414
27610
|
},
|
|
27415
27611
|
"uids": {
|
|
27612
|
+
"description": "Returns up to 250 uids.",
|
|
27416
27613
|
"type": "array",
|
|
27417
27614
|
"items": {
|
|
27418
27615
|
"$ref": "#/components/schemas/ItemUid"
|
|
@@ -33790,6 +33987,695 @@
|
|
|
33790
33987
|
},
|
|
33791
33988
|
"type": "object"
|
|
33792
33989
|
},
|
|
33990
|
+
"TornItemStat": {
|
|
33991
|
+
"required": [
|
|
33992
|
+
"id",
|
|
33993
|
+
"title",
|
|
33994
|
+
"value"
|
|
33995
|
+
],
|
|
33996
|
+
"properties": {
|
|
33997
|
+
"id": {
|
|
33998
|
+
"$ref": "#/components/schemas/ItemStatId"
|
|
33999
|
+
},
|
|
34000
|
+
"title": {
|
|
34001
|
+
"type": "string"
|
|
34002
|
+
},
|
|
34003
|
+
"value": {
|
|
34004
|
+
"type": "integer",
|
|
34005
|
+
"format": "int64"
|
|
34006
|
+
}
|
|
34007
|
+
},
|
|
34008
|
+
"type": "object"
|
|
34009
|
+
},
|
|
34010
|
+
"TornItemStats": {
|
|
34011
|
+
"required": [
|
|
34012
|
+
"id",
|
|
34013
|
+
"uid",
|
|
34014
|
+
"name",
|
|
34015
|
+
"type",
|
|
34016
|
+
"sub_type",
|
|
34017
|
+
"stats"
|
|
34018
|
+
],
|
|
34019
|
+
"properties": {
|
|
34020
|
+
"id": {
|
|
34021
|
+
"$ref": "#/components/schemas/ItemId"
|
|
34022
|
+
},
|
|
34023
|
+
"uid": {
|
|
34024
|
+
"$ref": "#/components/schemas/ItemUid"
|
|
34025
|
+
},
|
|
34026
|
+
"name": {
|
|
34027
|
+
"$ref": "#/components/schemas/TornItemStatTitleEnum"
|
|
34028
|
+
},
|
|
34029
|
+
"type": {
|
|
34030
|
+
"$ref": "#/components/schemas/TornItemTypeEnum"
|
|
34031
|
+
},
|
|
34032
|
+
"sub_type": {
|
|
34033
|
+
"oneOf": [
|
|
34034
|
+
{
|
|
34035
|
+
"$ref": "#/components/schemas/TornItemWeaponTypeEnum"
|
|
34036
|
+
},
|
|
34037
|
+
{
|
|
34038
|
+
"type": "null"
|
|
34039
|
+
}
|
|
34040
|
+
]
|
|
34041
|
+
},
|
|
34042
|
+
"stats": {
|
|
34043
|
+
"type": "array",
|
|
34044
|
+
"items": {
|
|
34045
|
+
"$ref": "#/components/schemas/TornItemStat"
|
|
34046
|
+
}
|
|
34047
|
+
}
|
|
34048
|
+
},
|
|
34049
|
+
"type": "object"
|
|
34050
|
+
},
|
|
34051
|
+
"TornItemStatsResponse": {
|
|
34052
|
+
"required": [
|
|
34053
|
+
"itemdetails"
|
|
34054
|
+
],
|
|
34055
|
+
"properties": {
|
|
34056
|
+
"itemdetails": {
|
|
34057
|
+
"type": "array",
|
|
34058
|
+
"items": {
|
|
34059
|
+
"$ref": "#/components/schemas/TornItemStats"
|
|
34060
|
+
}
|
|
34061
|
+
}
|
|
34062
|
+
},
|
|
34063
|
+
"type": "object"
|
|
34064
|
+
},
|
|
34065
|
+
"TornRockPaperScissorsResponse": {
|
|
34066
|
+
"required": [
|
|
34067
|
+
"rockpaperscissors"
|
|
34068
|
+
],
|
|
34069
|
+
"properties": {
|
|
34070
|
+
"rockpaperscissors": {
|
|
34071
|
+
"type": "array",
|
|
34072
|
+
"items": {
|
|
34073
|
+
"required": [
|
|
34074
|
+
"type",
|
|
34075
|
+
"count"
|
|
34076
|
+
],
|
|
34077
|
+
"properties": {
|
|
34078
|
+
"type": {
|
|
34079
|
+
"type": "string",
|
|
34080
|
+
"enum": [
|
|
34081
|
+
"rock",
|
|
34082
|
+
"paper",
|
|
34083
|
+
"scissors"
|
|
34084
|
+
]
|
|
34085
|
+
},
|
|
34086
|
+
"count": {
|
|
34087
|
+
"type": "integer",
|
|
34088
|
+
"format": "int64"
|
|
34089
|
+
}
|
|
34090
|
+
},
|
|
34091
|
+
"type": "object"
|
|
34092
|
+
}
|
|
34093
|
+
}
|
|
34094
|
+
},
|
|
34095
|
+
"type": "object"
|
|
34096
|
+
},
|
|
34097
|
+
"TornCityStatsResponse": {
|
|
34098
|
+
"required": [
|
|
34099
|
+
"stats"
|
|
34100
|
+
],
|
|
34101
|
+
"properties": {
|
|
34102
|
+
"stats": {
|
|
34103
|
+
"required": [
|
|
34104
|
+
"users",
|
|
34105
|
+
"items",
|
|
34106
|
+
"trading",
|
|
34107
|
+
"currency",
|
|
34108
|
+
"attacking",
|
|
34109
|
+
"jobs",
|
|
34110
|
+
"jail",
|
|
34111
|
+
"hospital",
|
|
34112
|
+
"drugs",
|
|
34113
|
+
"traveling",
|
|
34114
|
+
"bounties",
|
|
34115
|
+
"crimes",
|
|
34116
|
+
"communication",
|
|
34117
|
+
"other"
|
|
34118
|
+
],
|
|
34119
|
+
"properties": {
|
|
34120
|
+
"users": {
|
|
34121
|
+
"required": [
|
|
34122
|
+
"total",
|
|
34123
|
+
"male",
|
|
34124
|
+
"female",
|
|
34125
|
+
"enby",
|
|
34126
|
+
"married"
|
|
34127
|
+
],
|
|
34128
|
+
"properties": {
|
|
34129
|
+
"total": {
|
|
34130
|
+
"type": "integer",
|
|
34131
|
+
"format": "int64"
|
|
34132
|
+
},
|
|
34133
|
+
"male": {
|
|
34134
|
+
"type": "integer",
|
|
34135
|
+
"format": "int64"
|
|
34136
|
+
},
|
|
34137
|
+
"female": {
|
|
34138
|
+
"type": "integer",
|
|
34139
|
+
"format": "int64"
|
|
34140
|
+
},
|
|
34141
|
+
"enby": {
|
|
34142
|
+
"type": "integer",
|
|
34143
|
+
"format": "int64"
|
|
34144
|
+
},
|
|
34145
|
+
"married": {
|
|
34146
|
+
"type": "integer",
|
|
34147
|
+
"format": "int64"
|
|
34148
|
+
}
|
|
34149
|
+
},
|
|
34150
|
+
"type": "object"
|
|
34151
|
+
},
|
|
34152
|
+
"items": {
|
|
34153
|
+
"required": [
|
|
34154
|
+
"found_in_city",
|
|
34155
|
+
"found_in_dump",
|
|
34156
|
+
"trashed",
|
|
34157
|
+
"total"
|
|
34158
|
+
],
|
|
34159
|
+
"properties": {
|
|
34160
|
+
"found_in_city": {
|
|
34161
|
+
"type": "integer",
|
|
34162
|
+
"format": "int64"
|
|
34163
|
+
},
|
|
34164
|
+
"found_in_dump": {
|
|
34165
|
+
"type": "integer",
|
|
34166
|
+
"format": "int64"
|
|
34167
|
+
},
|
|
34168
|
+
"trashed": {
|
|
34169
|
+
"type": "integer",
|
|
34170
|
+
"format": "int64"
|
|
34171
|
+
},
|
|
34172
|
+
"total": {
|
|
34173
|
+
"type": "integer",
|
|
34174
|
+
"format": "int64"
|
|
34175
|
+
}
|
|
34176
|
+
},
|
|
34177
|
+
"type": "object"
|
|
34178
|
+
},
|
|
34179
|
+
"trading": {
|
|
34180
|
+
"required": [
|
|
34181
|
+
"sold_on_market",
|
|
34182
|
+
"sold_in_bazaar",
|
|
34183
|
+
"sold_points",
|
|
34184
|
+
"bazaar_profit",
|
|
34185
|
+
"auctions",
|
|
34186
|
+
"trades",
|
|
34187
|
+
"items_sent"
|
|
34188
|
+
],
|
|
34189
|
+
"properties": {
|
|
34190
|
+
"sold_on_market": {
|
|
34191
|
+
"type": "integer",
|
|
34192
|
+
"format": "int64"
|
|
34193
|
+
},
|
|
34194
|
+
"sold_in_bazaar": {
|
|
34195
|
+
"type": "integer",
|
|
34196
|
+
"format": "int64"
|
|
34197
|
+
},
|
|
34198
|
+
"sold_points": {
|
|
34199
|
+
"type": "integer",
|
|
34200
|
+
"format": "int64"
|
|
34201
|
+
},
|
|
34202
|
+
"bazaar_profit": {
|
|
34203
|
+
"type": "integer",
|
|
34204
|
+
"format": "int64"
|
|
34205
|
+
},
|
|
34206
|
+
"auctions": {
|
|
34207
|
+
"type": "integer",
|
|
34208
|
+
"format": "int64"
|
|
34209
|
+
},
|
|
34210
|
+
"trades": {
|
|
34211
|
+
"type": "integer",
|
|
34212
|
+
"format": "int64"
|
|
34213
|
+
},
|
|
34214
|
+
"items_sent": {
|
|
34215
|
+
"type": "integer",
|
|
34216
|
+
"format": "int64"
|
|
34217
|
+
}
|
|
34218
|
+
},
|
|
34219
|
+
"type": "object"
|
|
34220
|
+
},
|
|
34221
|
+
"currency": {
|
|
34222
|
+
"required": [
|
|
34223
|
+
"money_on_hand",
|
|
34224
|
+
"money_on_hand_average",
|
|
34225
|
+
"money_in_bank",
|
|
34226
|
+
"points_total",
|
|
34227
|
+
"points_players",
|
|
34228
|
+
"points_factions",
|
|
34229
|
+
"points_market",
|
|
34230
|
+
"points_used"
|
|
34231
|
+
],
|
|
34232
|
+
"properties": {
|
|
34233
|
+
"money_on_hand": {
|
|
34234
|
+
"type": "integer",
|
|
34235
|
+
"format": "int64"
|
|
34236
|
+
},
|
|
34237
|
+
"money_on_hand_average": {
|
|
34238
|
+
"type": "integer",
|
|
34239
|
+
"format": "int64"
|
|
34240
|
+
},
|
|
34241
|
+
"money_in_bank": {
|
|
34242
|
+
"type": "integer",
|
|
34243
|
+
"format": "int64"
|
|
34244
|
+
},
|
|
34245
|
+
"points_total": {
|
|
34246
|
+
"type": "integer",
|
|
34247
|
+
"format": "int64"
|
|
34248
|
+
},
|
|
34249
|
+
"points_players": {
|
|
34250
|
+
"type": "integer",
|
|
34251
|
+
"format": "int64"
|
|
34252
|
+
},
|
|
34253
|
+
"points_factions": {
|
|
34254
|
+
"type": "integer",
|
|
34255
|
+
"format": "int64"
|
|
34256
|
+
},
|
|
34257
|
+
"points_market": {
|
|
34258
|
+
"type": "integer",
|
|
34259
|
+
"format": "int64"
|
|
34260
|
+
},
|
|
34261
|
+
"points_used": {
|
|
34262
|
+
"type": "integer",
|
|
34263
|
+
"format": "int64"
|
|
34264
|
+
}
|
|
34265
|
+
},
|
|
34266
|
+
"type": "object"
|
|
34267
|
+
},
|
|
34268
|
+
"attacking": {
|
|
34269
|
+
"required": [
|
|
34270
|
+
"attacks_won",
|
|
34271
|
+
"attacks_lost",
|
|
34272
|
+
"attacks_stalemated",
|
|
34273
|
+
"attacks_stealthed",
|
|
34274
|
+
"escapes",
|
|
34275
|
+
"hits",
|
|
34276
|
+
"misses",
|
|
34277
|
+
"critical_hits",
|
|
34278
|
+
"rounds_fired",
|
|
34279
|
+
"money_mugged",
|
|
34280
|
+
"respect_gained"
|
|
34281
|
+
],
|
|
34282
|
+
"properties": {
|
|
34283
|
+
"attacks_won": {
|
|
34284
|
+
"type": "integer",
|
|
34285
|
+
"format": "int64"
|
|
34286
|
+
},
|
|
34287
|
+
"attacks_lost": {
|
|
34288
|
+
"type": "integer",
|
|
34289
|
+
"format": "int64"
|
|
34290
|
+
},
|
|
34291
|
+
"attacks_stalemated": {
|
|
34292
|
+
"type": "integer",
|
|
34293
|
+
"format": "int64"
|
|
34294
|
+
},
|
|
34295
|
+
"attacks_stealthed": {
|
|
34296
|
+
"type": "integer",
|
|
34297
|
+
"format": "int64"
|
|
34298
|
+
},
|
|
34299
|
+
"escapes": {
|
|
34300
|
+
"type": "integer",
|
|
34301
|
+
"format": "int64"
|
|
34302
|
+
},
|
|
34303
|
+
"hits": {
|
|
34304
|
+
"type": "integer",
|
|
34305
|
+
"format": "int64"
|
|
34306
|
+
},
|
|
34307
|
+
"misses": {
|
|
34308
|
+
"type": "integer",
|
|
34309
|
+
"format": "int64"
|
|
34310
|
+
},
|
|
34311
|
+
"critical_hits": {
|
|
34312
|
+
"type": "integer",
|
|
34313
|
+
"format": "int64"
|
|
34314
|
+
},
|
|
34315
|
+
"rounds_fired": {
|
|
34316
|
+
"type": "integer",
|
|
34317
|
+
"format": "int64"
|
|
34318
|
+
},
|
|
34319
|
+
"money_mugged": {
|
|
34320
|
+
"type": "integer",
|
|
34321
|
+
"format": "int64"
|
|
34322
|
+
},
|
|
34323
|
+
"respect_gained": {
|
|
34324
|
+
"type": "integer",
|
|
34325
|
+
"format": "int64"
|
|
34326
|
+
}
|
|
34327
|
+
},
|
|
34328
|
+
"type": "object"
|
|
34329
|
+
},
|
|
34330
|
+
"jobs": {
|
|
34331
|
+
"required": [
|
|
34332
|
+
"army",
|
|
34333
|
+
"grocer",
|
|
34334
|
+
"casino",
|
|
34335
|
+
"education",
|
|
34336
|
+
"medical",
|
|
34337
|
+
"law",
|
|
34338
|
+
"company",
|
|
34339
|
+
"unemployed"
|
|
34340
|
+
],
|
|
34341
|
+
"properties": {
|
|
34342
|
+
"army": {
|
|
34343
|
+
"type": "integer",
|
|
34344
|
+
"format": "int64"
|
|
34345
|
+
},
|
|
34346
|
+
"grocer": {
|
|
34347
|
+
"type": "integer",
|
|
34348
|
+
"format": "int64"
|
|
34349
|
+
},
|
|
34350
|
+
"casino": {
|
|
34351
|
+
"type": "integer",
|
|
34352
|
+
"format": "int64"
|
|
34353
|
+
},
|
|
34354
|
+
"education": {
|
|
34355
|
+
"type": "integer",
|
|
34356
|
+
"format": "int64"
|
|
34357
|
+
},
|
|
34358
|
+
"medical": {
|
|
34359
|
+
"type": "integer",
|
|
34360
|
+
"format": "int64"
|
|
34361
|
+
},
|
|
34362
|
+
"law": {
|
|
34363
|
+
"type": "integer",
|
|
34364
|
+
"format": "int64"
|
|
34365
|
+
},
|
|
34366
|
+
"company": {
|
|
34367
|
+
"type": "integer",
|
|
34368
|
+
"format": "int64"
|
|
34369
|
+
},
|
|
34370
|
+
"unemployed": {
|
|
34371
|
+
"type": "integer",
|
|
34372
|
+
"format": "int64"
|
|
34373
|
+
}
|
|
34374
|
+
},
|
|
34375
|
+
"type": "object"
|
|
34376
|
+
},
|
|
34377
|
+
"jail": {
|
|
34378
|
+
"required": [
|
|
34379
|
+
"jailings",
|
|
34380
|
+
"busts",
|
|
34381
|
+
"busts_failed",
|
|
34382
|
+
"bails",
|
|
34383
|
+
"bails_spent"
|
|
34384
|
+
],
|
|
34385
|
+
"properties": {
|
|
34386
|
+
"jailings": {
|
|
34387
|
+
"type": "integer",
|
|
34388
|
+
"format": "int64"
|
|
34389
|
+
},
|
|
34390
|
+
"busts": {
|
|
34391
|
+
"type": "integer",
|
|
34392
|
+
"format": "int64"
|
|
34393
|
+
},
|
|
34394
|
+
"busts_failed": {
|
|
34395
|
+
"type": "integer",
|
|
34396
|
+
"format": "int64"
|
|
34397
|
+
},
|
|
34398
|
+
"bails": {
|
|
34399
|
+
"type": "integer",
|
|
34400
|
+
"format": "int64"
|
|
34401
|
+
},
|
|
34402
|
+
"bails_spent": {
|
|
34403
|
+
"type": "integer",
|
|
34404
|
+
"format": "int64"
|
|
34405
|
+
}
|
|
34406
|
+
},
|
|
34407
|
+
"type": "object"
|
|
34408
|
+
},
|
|
34409
|
+
"hospital": {
|
|
34410
|
+
"required": [
|
|
34411
|
+
"trips",
|
|
34412
|
+
"medical_items_used",
|
|
34413
|
+
"revives"
|
|
34414
|
+
],
|
|
34415
|
+
"properties": {
|
|
34416
|
+
"trips": {
|
|
34417
|
+
"type": "integer",
|
|
34418
|
+
"format": "int64"
|
|
34419
|
+
},
|
|
34420
|
+
"medical_items_used": {
|
|
34421
|
+
"type": "integer",
|
|
34422
|
+
"format": "int64"
|
|
34423
|
+
},
|
|
34424
|
+
"revives": {
|
|
34425
|
+
"type": "integer",
|
|
34426
|
+
"format": "int64"
|
|
34427
|
+
}
|
|
34428
|
+
},
|
|
34429
|
+
"type": "object"
|
|
34430
|
+
},
|
|
34431
|
+
"drugs": {
|
|
34432
|
+
"required": [
|
|
34433
|
+
"total_used",
|
|
34434
|
+
"overdoses",
|
|
34435
|
+
"cannabis",
|
|
34436
|
+
"ecstasy",
|
|
34437
|
+
"ketamine",
|
|
34438
|
+
"lsd",
|
|
34439
|
+
"opium",
|
|
34440
|
+
"shrooms",
|
|
34441
|
+
"speed",
|
|
34442
|
+
"pcp",
|
|
34443
|
+
"xanax",
|
|
34444
|
+
"vicodin"
|
|
34445
|
+
],
|
|
34446
|
+
"properties": {
|
|
34447
|
+
"total_used": {
|
|
34448
|
+
"type": "integer",
|
|
34449
|
+
"format": "int64"
|
|
34450
|
+
},
|
|
34451
|
+
"overdoses": {
|
|
34452
|
+
"type": "integer",
|
|
34453
|
+
"format": "int64"
|
|
34454
|
+
},
|
|
34455
|
+
"cannabis": {
|
|
34456
|
+
"type": "integer",
|
|
34457
|
+
"format": "int64"
|
|
34458
|
+
},
|
|
34459
|
+
"ecstasy": {
|
|
34460
|
+
"type": "integer",
|
|
34461
|
+
"format": "int64"
|
|
34462
|
+
},
|
|
34463
|
+
"ketamine": {
|
|
34464
|
+
"type": "integer",
|
|
34465
|
+
"format": "int64"
|
|
34466
|
+
},
|
|
34467
|
+
"lsd": {
|
|
34468
|
+
"type": "integer",
|
|
34469
|
+
"format": "int64"
|
|
34470
|
+
},
|
|
34471
|
+
"opium": {
|
|
34472
|
+
"type": "integer",
|
|
34473
|
+
"format": "int64"
|
|
34474
|
+
},
|
|
34475
|
+
"shrooms": {
|
|
34476
|
+
"type": "integer",
|
|
34477
|
+
"format": "int64"
|
|
34478
|
+
},
|
|
34479
|
+
"speed": {
|
|
34480
|
+
"type": "integer",
|
|
34481
|
+
"format": "int64"
|
|
34482
|
+
},
|
|
34483
|
+
"pcp": {
|
|
34484
|
+
"type": "integer",
|
|
34485
|
+
"format": "int64"
|
|
34486
|
+
},
|
|
34487
|
+
"xanax": {
|
|
34488
|
+
"type": "integer",
|
|
34489
|
+
"format": "int64"
|
|
34490
|
+
},
|
|
34491
|
+
"vicodin": {
|
|
34492
|
+
"type": "integer",
|
|
34493
|
+
"format": "int64"
|
|
34494
|
+
}
|
|
34495
|
+
},
|
|
34496
|
+
"type": "object"
|
|
34497
|
+
},
|
|
34498
|
+
"traveling": {
|
|
34499
|
+
"required": [
|
|
34500
|
+
"items_bought_abroad",
|
|
34501
|
+
"total_trips",
|
|
34502
|
+
"argentina",
|
|
34503
|
+
"mexico",
|
|
34504
|
+
"united_arab_emirates",
|
|
34505
|
+
"hawaii",
|
|
34506
|
+
"japan",
|
|
34507
|
+
"united_kingdom",
|
|
34508
|
+
"south_africa",
|
|
34509
|
+
"switzerland",
|
|
34510
|
+
"china",
|
|
34511
|
+
"cayman_islands"
|
|
34512
|
+
],
|
|
34513
|
+
"properties": {
|
|
34514
|
+
"items_bought_abroad": {
|
|
34515
|
+
"type": "integer",
|
|
34516
|
+
"format": "int64"
|
|
34517
|
+
},
|
|
34518
|
+
"total_trips": {
|
|
34519
|
+
"type": "integer",
|
|
34520
|
+
"format": "int64"
|
|
34521
|
+
},
|
|
34522
|
+
"argentina": {
|
|
34523
|
+
"type": "integer",
|
|
34524
|
+
"format": "int64"
|
|
34525
|
+
},
|
|
34526
|
+
"mexico": {
|
|
34527
|
+
"type": "integer",
|
|
34528
|
+
"format": "int64"
|
|
34529
|
+
},
|
|
34530
|
+
"united_arab_emirates": {
|
|
34531
|
+
"type": "integer",
|
|
34532
|
+
"format": "int64"
|
|
34533
|
+
},
|
|
34534
|
+
"hawaii": {
|
|
34535
|
+
"type": "integer",
|
|
34536
|
+
"format": "int64"
|
|
34537
|
+
},
|
|
34538
|
+
"japan": {
|
|
34539
|
+
"type": "integer",
|
|
34540
|
+
"format": "int64"
|
|
34541
|
+
},
|
|
34542
|
+
"united_kingdom": {
|
|
34543
|
+
"type": "integer",
|
|
34544
|
+
"format": "int64"
|
|
34545
|
+
},
|
|
34546
|
+
"south_africa": {
|
|
34547
|
+
"type": "integer",
|
|
34548
|
+
"format": "int64"
|
|
34549
|
+
},
|
|
34550
|
+
"switzerland": {
|
|
34551
|
+
"type": "integer",
|
|
34552
|
+
"format": "int64"
|
|
34553
|
+
},
|
|
34554
|
+
"china": {
|
|
34555
|
+
"type": "integer",
|
|
34556
|
+
"format": "int64"
|
|
34557
|
+
},
|
|
34558
|
+
"cayman_islands": {
|
|
34559
|
+
"type": "integer",
|
|
34560
|
+
"format": "int64"
|
|
34561
|
+
}
|
|
34562
|
+
},
|
|
34563
|
+
"type": "object"
|
|
34564
|
+
},
|
|
34565
|
+
"bounties": {
|
|
34566
|
+
"required": [
|
|
34567
|
+
"placed",
|
|
34568
|
+
"money_spent"
|
|
34569
|
+
],
|
|
34570
|
+
"properties": {
|
|
34571
|
+
"placed": {
|
|
34572
|
+
"type": "integer",
|
|
34573
|
+
"format": "int64"
|
|
34574
|
+
},
|
|
34575
|
+
"money_spent": {
|
|
34576
|
+
"type": "integer",
|
|
34577
|
+
"format": "int64"
|
|
34578
|
+
}
|
|
34579
|
+
},
|
|
34580
|
+
"type": "object"
|
|
34581
|
+
},
|
|
34582
|
+
"crimes": {
|
|
34583
|
+
"required": [
|
|
34584
|
+
"total",
|
|
34585
|
+
"jail_sentences"
|
|
34586
|
+
],
|
|
34587
|
+
"properties": {
|
|
34588
|
+
"total": {
|
|
34589
|
+
"type": "integer",
|
|
34590
|
+
"format": "int64"
|
|
34591
|
+
},
|
|
34592
|
+
"jail_sentences": {
|
|
34593
|
+
"type": "integer",
|
|
34594
|
+
"format": "int64"
|
|
34595
|
+
}
|
|
34596
|
+
},
|
|
34597
|
+
"type": "object"
|
|
34598
|
+
},
|
|
34599
|
+
"communication": {
|
|
34600
|
+
"required": [
|
|
34601
|
+
"total_messages",
|
|
34602
|
+
"friends",
|
|
34603
|
+
"coworkers",
|
|
34604
|
+
"spouses",
|
|
34605
|
+
"classified_ads_placed",
|
|
34606
|
+
"personals_placed"
|
|
34607
|
+
],
|
|
34608
|
+
"properties": {
|
|
34609
|
+
"total_messages": {
|
|
34610
|
+
"type": "integer",
|
|
34611
|
+
"format": "int64"
|
|
34612
|
+
},
|
|
34613
|
+
"friends": {
|
|
34614
|
+
"type": "integer",
|
|
34615
|
+
"format": "int64"
|
|
34616
|
+
},
|
|
34617
|
+
"coworkers": {
|
|
34618
|
+
"type": "integer",
|
|
34619
|
+
"format": "int64"
|
|
34620
|
+
},
|
|
34621
|
+
"spouses": {
|
|
34622
|
+
"type": "integer",
|
|
34623
|
+
"format": "int64"
|
|
34624
|
+
},
|
|
34625
|
+
"classified_ads_placed": {
|
|
34626
|
+
"type": "integer",
|
|
34627
|
+
"format": "int64"
|
|
34628
|
+
},
|
|
34629
|
+
"personals_placed": {
|
|
34630
|
+
"type": "integer",
|
|
34631
|
+
"format": "int64"
|
|
34632
|
+
}
|
|
34633
|
+
},
|
|
34634
|
+
"type": "object"
|
|
34635
|
+
},
|
|
34636
|
+
"other": {
|
|
34637
|
+
"required": [
|
|
34638
|
+
"logins",
|
|
34639
|
+
"years_played",
|
|
34640
|
+
"merits_bought",
|
|
34641
|
+
"energy_refills",
|
|
34642
|
+
"company_trains",
|
|
34643
|
+
"stat_enhancers_used"
|
|
34644
|
+
],
|
|
34645
|
+
"properties": {
|
|
34646
|
+
"logins": {
|
|
34647
|
+
"type": "integer",
|
|
34648
|
+
"format": "int64"
|
|
34649
|
+
},
|
|
34650
|
+
"years_played": {
|
|
34651
|
+
"type": "integer",
|
|
34652
|
+
"format": "int64"
|
|
34653
|
+
},
|
|
34654
|
+
"merits_bought": {
|
|
34655
|
+
"type": "integer",
|
|
34656
|
+
"format": "int64"
|
|
34657
|
+
},
|
|
34658
|
+
"energy_refills": {
|
|
34659
|
+
"type": "integer",
|
|
34660
|
+
"format": "int64"
|
|
34661
|
+
},
|
|
34662
|
+
"company_trains": {
|
|
34663
|
+
"type": "integer",
|
|
34664
|
+
"format": "int64"
|
|
34665
|
+
},
|
|
34666
|
+
"stat_enhancers_used": {
|
|
34667
|
+
"type": "integer",
|
|
34668
|
+
"format": "int64"
|
|
34669
|
+
}
|
|
34670
|
+
},
|
|
34671
|
+
"type": "object"
|
|
34672
|
+
}
|
|
34673
|
+
},
|
|
34674
|
+
"type": "object"
|
|
34675
|
+
}
|
|
34676
|
+
},
|
|
34677
|
+
"type": "object"
|
|
34678
|
+
},
|
|
33793
34679
|
"TornPokerTable": {
|
|
33794
34680
|
"required": [
|
|
33795
34681
|
"id",
|
|
@@ -36763,7 +37649,7 @@
|
|
|
36763
37649
|
"TornSelectionName": {
|
|
36764
37650
|
"oneOf": [
|
|
36765
37651
|
{
|
|
36766
|
-
"description": "The following selections will fallback to API v1 and may change at any time:'competition','
|
|
37652
|
+
"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
37653
|
"type": "string",
|
|
36768
37654
|
"enum": [
|
|
36769
37655
|
"attacklog",
|
|
@@ -36785,6 +37671,7 @@
|
|
|
36785
37671
|
"itemammo",
|
|
36786
37672
|
"itemdetails",
|
|
36787
37673
|
"itemmods",
|
|
37674
|
+
"itemstats",
|
|
36788
37675
|
"items",
|
|
36789
37676
|
"logcategories",
|
|
36790
37677
|
"logtypes",
|
|
@@ -36795,17 +37682,16 @@
|
|
|
36795
37682
|
"organizedcrimes",
|
|
36796
37683
|
"pokertables",
|
|
36797
37684
|
"properties",
|
|
37685
|
+
"rockpaperscissors",
|
|
36798
37686
|
"searchforcash",
|
|
36799
37687
|
"shoplifting",
|
|
37688
|
+
"stats",
|
|
36800
37689
|
"stocks",
|
|
36801
37690
|
"subcrimes",
|
|
36802
37691
|
"territory",
|
|
36803
37692
|
"timestamp",
|
|
36804
37693
|
"competition",
|
|
36805
|
-
"
|
|
36806
|
-
"organisedcrimes",
|
|
36807
|
-
"rockpaperscissors",
|
|
36808
|
-
"stats"
|
|
37694
|
+
"organisedcrimes"
|
|
36809
37695
|
]
|
|
36810
37696
|
},
|
|
36811
37697
|
{
|