tornapi-typescript 3.0.8 → 3.0.10
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 +105 -4
- package/dist/index.ts +165 -4
- package/dist/openapi.json +763 -13
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ export type FactionCrimeUserOutcome = "Successful" | "Failed" | "Jailed" | "Inju
|
|
|
44
44
|
export type FactionCrimeUserItemOutcomeEnum = "user" | "faction";
|
|
45
45
|
export type FactionCrimeItemOutcomeEnum = "lost" | "used";
|
|
46
46
|
export type RaceId = number;
|
|
47
|
+
export type HonorId = number;
|
|
48
|
+
export type MedalId = number;
|
|
49
|
+
export type MeritId = number;
|
|
47
50
|
export type OrganizedCrimeName = string;
|
|
48
51
|
export type PropertyTypeId = number;
|
|
49
52
|
export type PropertyId = number;
|
|
@@ -102,6 +105,7 @@ export interface RequestMetadataWithLinksAndTotal {
|
|
|
102
105
|
*/
|
|
103
106
|
export type ForumFeedTypeEnum = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
104
107
|
export type UserGenderEnum = "Male" | "Female" | "Enby";
|
|
108
|
+
export type HonorRarityEnum = "Extremely Rare" | "Very Rare" | "Rare" | "Limited" | "Uncommon" | "Common" | "Very Common" | "Unknown";
|
|
105
109
|
export type Parameters = string;
|
|
106
110
|
export type ReviveSetting = "Everyone" | "Friends & faction" | "No one" | "Unknown";
|
|
107
111
|
export type FactionWarfareTypeEnum = "ranked" | "territory" | "raid" | "chain" | "db";
|
|
@@ -112,6 +116,8 @@ export type AttackActionEnum = "attackerhosp" | "busy" | "critical hit" | "attac
|
|
|
112
116
|
export type TornItemAmmoTypeEnum = "Standard" | "Hollow Point" | "Piercing" | "Tracer" | "Incendiary";
|
|
113
117
|
export type TornItemWeaponTypeEnum = "Heavy artillery" | "Machine gun" | "Pistol" | "Rifle" | "Shotgun" | "SMG" | "Temporary" | "Clubbing" | "Piercing" | "Slashing" | "Mechanical";
|
|
114
118
|
export type TornItemWeaponCategoryEnum = "Melee" | "Secondary" | "Primary" | "Temporary";
|
|
119
|
+
export type MedalTypeEnum = "combat" | "commitment" | "crime" | "level" | "miscellaneous" | "networth" | "rank";
|
|
120
|
+
export type HonorTypeEnum = "attacking" | "camo" | "weapons" | "education" | "crimes" | "drugs" | "jail" | "hospital" | "travel" | "gym" | "level" | "competitions" | "money" | "items" | "commitment" | "casino" | "missions" | "misc" | "default";
|
|
115
121
|
export type TornItemTypeEnum = "Alcohol" | "Armor" | "Artifact" | "Book" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Other" | "Plushie" | "Special" | "Supply Pack" | "Tool" | "Unused" | "Weapon";
|
|
116
122
|
export type TornItemCategory = "All" | "Alcohol" | "Armor" | "Artifact" | "Book" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Defensive" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Melee" | "Other" | "Plushie" | "Primary" | "Secondary" | "Special" | "Supply Pack" | "Temporary" | "Tool" | "Unused" | "Weapon";
|
|
117
123
|
export type TornItemArmorCoveragePartEnum = "Full Body" | "Heart" | "Stomach" | "Chest" | "Arm" | "Groin" | "Leg" | "Throat" | "Hand" | "Foot" | "Head";
|
|
@@ -472,6 +478,11 @@ export interface UserPropertyDetailsExtendedRented extends UserPropertyBasicDeta
|
|
|
472
478
|
rental_period: number;
|
|
473
479
|
rental_period_remaining: number;
|
|
474
480
|
rented_by: BasicUser;
|
|
481
|
+
lease_extension: {
|
|
482
|
+
cost: number;
|
|
483
|
+
period: number;
|
|
484
|
+
created_at: number;
|
|
485
|
+
} | null;
|
|
475
486
|
}
|
|
476
487
|
export interface UserPropertyDetailsExtendedForRent extends UserPropertyBasicDetails {
|
|
477
488
|
used_by: BasicUser[];
|
|
@@ -786,11 +797,39 @@ export interface UserListResponse {
|
|
|
786
797
|
list: UserList[];
|
|
787
798
|
_metadata: RequestMetadataWithLinks;
|
|
788
799
|
}
|
|
789
|
-
/** The following selections will fallback to API v1 and may change at any time: 'ammo','bars','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','
|
|
800
|
+
/** The following selections will fallback to API v1 and may change at any time: 'ammo','bars','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','icons','inventory','messages','missions','networth','newevents','newmessages','notifications','perks','profile','refills','stocks','travel','weaponexp'. */
|
|
790
801
|
export type UserSelectionName = string;
|
|
791
802
|
export interface UserLookupResponse {
|
|
792
803
|
selections: UserSelectionName[];
|
|
793
804
|
}
|
|
805
|
+
export interface UserHonor {
|
|
806
|
+
id: HonorId;
|
|
807
|
+
timestamp: number;
|
|
808
|
+
}
|
|
809
|
+
export interface UserHonorsResponse {
|
|
810
|
+
honors: UserHonor[];
|
|
811
|
+
}
|
|
812
|
+
export interface UserMedal {
|
|
813
|
+
id: MedalId;
|
|
814
|
+
timestamp: number;
|
|
815
|
+
}
|
|
816
|
+
export interface UserMedalsResponse {
|
|
817
|
+
medals: UserMedal[];
|
|
818
|
+
}
|
|
819
|
+
export interface UserMeritUpgrade {
|
|
820
|
+
id: MeritId;
|
|
821
|
+
level: number;
|
|
822
|
+
}
|
|
823
|
+
export interface UserMerits {
|
|
824
|
+
upgrades: UserMeritUpgrade[];
|
|
825
|
+
available: number;
|
|
826
|
+
used: number;
|
|
827
|
+
medals: number;
|
|
828
|
+
honors: number;
|
|
829
|
+
}
|
|
830
|
+
export interface UserMeritsResponse {
|
|
831
|
+
merits: UserMerits;
|
|
832
|
+
}
|
|
794
833
|
export interface PersonalStatsOther {
|
|
795
834
|
other: {
|
|
796
835
|
activity: {
|
|
@@ -2458,6 +2497,44 @@ export type PropertySelectionName = string;
|
|
|
2458
2497
|
export interface PropertyLookupResponse {
|
|
2459
2498
|
selections: PropertySelectionName[];
|
|
2460
2499
|
}
|
|
2500
|
+
export interface TornMerit {
|
|
2501
|
+
id: MeritId;
|
|
2502
|
+
name: string;
|
|
2503
|
+
description: string;
|
|
2504
|
+
}
|
|
2505
|
+
export interface TornMeritsResponse {
|
|
2506
|
+
merits: TornMerit[];
|
|
2507
|
+
}
|
|
2508
|
+
/** Properties 'circulation', 'equipped' & 'rarity' are only populated for honors which do not have type.id value 1. */
|
|
2509
|
+
export interface TornHonor {
|
|
2510
|
+
id: HonorId;
|
|
2511
|
+
name: string;
|
|
2512
|
+
description: string;
|
|
2513
|
+
type: {
|
|
2514
|
+
id: number;
|
|
2515
|
+
title: HonorTypeEnum;
|
|
2516
|
+
};
|
|
2517
|
+
circulation?: number;
|
|
2518
|
+
equipped?: number;
|
|
2519
|
+
rarity?: HonorRarityEnum;
|
|
2520
|
+
}
|
|
2521
|
+
export interface TornHonorsResponse {
|
|
2522
|
+
honors: TornHonor[];
|
|
2523
|
+
}
|
|
2524
|
+
export interface TornMedal {
|
|
2525
|
+
id: MedalId;
|
|
2526
|
+
name: string;
|
|
2527
|
+
description: string;
|
|
2528
|
+
type: {
|
|
2529
|
+
id: string;
|
|
2530
|
+
title: MedalTypeEnum;
|
|
2531
|
+
};
|
|
2532
|
+
circulation: number;
|
|
2533
|
+
rarity: HonorRarityEnum;
|
|
2534
|
+
}
|
|
2535
|
+
export interface TornMedalsResponse {
|
|
2536
|
+
medals: TornMedal[];
|
|
2537
|
+
}
|
|
2461
2538
|
export interface TornOrganizedCrimeResponse {
|
|
2462
2539
|
organizedcrimes: TornOrganizedCrime[];
|
|
2463
2540
|
}
|
|
@@ -2791,7 +2868,7 @@ export interface TornFactionTreeResponse {
|
|
|
2791
2868
|
factionTree: TornFactionTree[];
|
|
2792
2869
|
}
|
|
2793
2870
|
/**
|
|
2794
|
-
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','
|
|
2871
|
+
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.
|
|
2795
2872
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.
|
|
2796
2873
|
*/
|
|
2797
2874
|
export type TornSelectionName = string;
|
|
@@ -6115,6 +6192,10 @@ export interface UserV2 extends BaseSchema {
|
|
|
6115
6192
|
response: UserHofResponse;
|
|
6116
6193
|
params: "timestamp";
|
|
6117
6194
|
};
|
|
6195
|
+
honors: {
|
|
6196
|
+
response: UserHonorsResponse;
|
|
6197
|
+
params: "timestamp";
|
|
6198
|
+
};
|
|
6118
6199
|
itemmarket: {
|
|
6119
6200
|
response: UserItemMarketResponse;
|
|
6120
6201
|
params: "offset" | "timestamp";
|
|
@@ -6135,6 +6216,14 @@ export interface UserV2 extends BaseSchema {
|
|
|
6135
6216
|
response: UserLogsResponse;
|
|
6136
6217
|
params: "log" | "cat" | "limit" | "to" | "from" | "timestamp";
|
|
6137
6218
|
};
|
|
6219
|
+
medals: {
|
|
6220
|
+
response: UserMedalsResponse;
|
|
6221
|
+
params: "timestamp";
|
|
6222
|
+
};
|
|
6223
|
+
merits: {
|
|
6224
|
+
response: UserMeritsResponse;
|
|
6225
|
+
params: "timestamp";
|
|
6226
|
+
};
|
|
6138
6227
|
money: {
|
|
6139
6228
|
response: UserMoneyResponse;
|
|
6140
6229
|
params: "timestamp";
|
|
@@ -6149,7 +6238,7 @@ export interface UserV2 extends BaseSchema {
|
|
|
6149
6238
|
};
|
|
6150
6239
|
properties: {
|
|
6151
6240
|
response: UserPropertiesResponse;
|
|
6152
|
-
params: "offset" | "limit" | "timestamp";
|
|
6241
|
+
params: "filters" | "offset" | "limit" | "timestamp";
|
|
6153
6242
|
};
|
|
6154
6243
|
property: {
|
|
6155
6244
|
response: UserPropertyResponse;
|
|
@@ -6341,7 +6430,7 @@ export interface ForumV2 extends BaseSchema {
|
|
|
6341
6430
|
};
|
|
6342
6431
|
posts: {
|
|
6343
6432
|
response: ForumPostsResponse;
|
|
6344
|
-
params: "offset" | "
|
|
6433
|
+
params: "striptags" | "offset" | "sort" | "from" | "to" | "threadId" | "timestamp";
|
|
6345
6434
|
};
|
|
6346
6435
|
thread: {
|
|
6347
6436
|
response: ForumThreadResponse;
|
|
@@ -6483,6 +6572,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
6483
6572
|
response: TornFactionTreeResponse;
|
|
6484
6573
|
params: "timestamp";
|
|
6485
6574
|
};
|
|
6575
|
+
honors: {
|
|
6576
|
+
response: TornHonorsResponse;
|
|
6577
|
+
params: "timestamp";
|
|
6578
|
+
};
|
|
6486
6579
|
hof: {
|
|
6487
6580
|
response: TornHofResponse;
|
|
6488
6581
|
params: "limit" | "offset" | "cat" | "timestamp";
|
|
@@ -6507,6 +6600,14 @@ export interface TornV2 extends BaseSchema {
|
|
|
6507
6600
|
response: TornLogTypesResponse;
|
|
6508
6601
|
params: "timestamp";
|
|
6509
6602
|
};
|
|
6603
|
+
medals: {
|
|
6604
|
+
response: TornMedalsResponse;
|
|
6605
|
+
params: "timestamp";
|
|
6606
|
+
};
|
|
6607
|
+
merits: {
|
|
6608
|
+
response: TornMeritsResponse;
|
|
6609
|
+
params: "timestamp";
|
|
6610
|
+
};
|
|
6510
6611
|
organizedcrimes: {
|
|
6511
6612
|
response: TornOrganizedCrimeResponse;
|
|
6512
6613
|
params: "timestamp";
|
package/dist/index.ts
CHANGED
|
@@ -4578,6 +4578,12 @@ export type FactionCrimeItemOutcomeEnum = "lost" | "used";
|
|
|
4578
4578
|
|
|
4579
4579
|
export type RaceId = number;
|
|
4580
4580
|
|
|
4581
|
+
export type HonorId = number;
|
|
4582
|
+
|
|
4583
|
+
export type MedalId = number;
|
|
4584
|
+
|
|
4585
|
+
export type MeritId = number;
|
|
4586
|
+
|
|
4581
4587
|
export type OrganizedCrimeName = string;
|
|
4582
4588
|
|
|
4583
4589
|
export type PropertyTypeId = number;
|
|
@@ -4674,6 +4680,16 @@ export type ForumFeedTypeEnum = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
|
4674
4680
|
|
|
4675
4681
|
export type UserGenderEnum = "Male" | "Female" | "Enby";
|
|
4676
4682
|
|
|
4683
|
+
export type HonorRarityEnum =
|
|
4684
|
+
| "Extremely Rare"
|
|
4685
|
+
| "Very Rare"
|
|
4686
|
+
| "Rare"
|
|
4687
|
+
| "Limited"
|
|
4688
|
+
| "Uncommon"
|
|
4689
|
+
| "Common"
|
|
4690
|
+
| "Very Common"
|
|
4691
|
+
| "Unknown";
|
|
4692
|
+
|
|
4677
4693
|
export type Parameters = string;
|
|
4678
4694
|
|
|
4679
4695
|
export type ReviveSetting =
|
|
@@ -4777,6 +4793,36 @@ export type TornItemWeaponCategoryEnum =
|
|
|
4777
4793
|
| "Primary"
|
|
4778
4794
|
| "Temporary";
|
|
4779
4795
|
|
|
4796
|
+
export type MedalTypeEnum =
|
|
4797
|
+
| "combat"
|
|
4798
|
+
| "commitment"
|
|
4799
|
+
| "crime"
|
|
4800
|
+
| "level"
|
|
4801
|
+
| "miscellaneous"
|
|
4802
|
+
| "networth"
|
|
4803
|
+
| "rank";
|
|
4804
|
+
|
|
4805
|
+
export type HonorTypeEnum =
|
|
4806
|
+
| "attacking"
|
|
4807
|
+
| "camo"
|
|
4808
|
+
| "weapons"
|
|
4809
|
+
| "education"
|
|
4810
|
+
| "crimes"
|
|
4811
|
+
| "drugs"
|
|
4812
|
+
| "jail"
|
|
4813
|
+
| "hospital"
|
|
4814
|
+
| "travel"
|
|
4815
|
+
| "gym"
|
|
4816
|
+
| "level"
|
|
4817
|
+
| "competitions"
|
|
4818
|
+
| "money"
|
|
4819
|
+
| "items"
|
|
4820
|
+
| "commitment"
|
|
4821
|
+
| "casino"
|
|
4822
|
+
| "missions"
|
|
4823
|
+
| "misc"
|
|
4824
|
+
| "default";
|
|
4825
|
+
|
|
4780
4826
|
export type TornItemTypeEnum =
|
|
4781
4827
|
| "Alcohol"
|
|
4782
4828
|
| "Armor"
|
|
@@ -5266,6 +5312,11 @@ export interface UserPropertyDetailsExtendedRented
|
|
|
5266
5312
|
rental_period: number;
|
|
5267
5313
|
rental_period_remaining: number;
|
|
5268
5314
|
rented_by: BasicUser;
|
|
5315
|
+
lease_extension: {
|
|
5316
|
+
cost: number;
|
|
5317
|
+
period: number;
|
|
5318
|
+
created_at: number;
|
|
5319
|
+
} | null;
|
|
5269
5320
|
}
|
|
5270
5321
|
|
|
5271
5322
|
export interface UserPropertyDetailsExtendedForRent
|
|
@@ -5649,13 +5700,48 @@ export interface UserListResponse {
|
|
|
5649
5700
|
_metadata: RequestMetadataWithLinks;
|
|
5650
5701
|
}
|
|
5651
5702
|
|
|
5652
|
-
/** The following selections will fallback to API v1 and may change at any time: 'ammo','bars','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','
|
|
5703
|
+
/** The following selections will fallback to API v1 and may change at any time: 'ammo','bars','bazaar','cooldowns','criminalrecord','discord','display','education','equipment','events','gym','icons','inventory','messages','missions','networth','newevents','newmessages','notifications','perks','profile','refills','stocks','travel','weaponexp'. */
|
|
5653
5704
|
export type UserSelectionName = string;
|
|
5654
5705
|
|
|
5655
5706
|
export interface UserLookupResponse {
|
|
5656
5707
|
selections: UserSelectionName[];
|
|
5657
5708
|
}
|
|
5658
5709
|
|
|
5710
|
+
export interface UserHonor {
|
|
5711
|
+
id: HonorId;
|
|
5712
|
+
timestamp: number;
|
|
5713
|
+
}
|
|
5714
|
+
|
|
5715
|
+
export interface UserHonorsResponse {
|
|
5716
|
+
honors: UserHonor[];
|
|
5717
|
+
}
|
|
5718
|
+
|
|
5719
|
+
export interface UserMedal {
|
|
5720
|
+
id: MedalId;
|
|
5721
|
+
timestamp: number;
|
|
5722
|
+
}
|
|
5723
|
+
|
|
5724
|
+
export interface UserMedalsResponse {
|
|
5725
|
+
medals: UserMedal[];
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
export interface UserMeritUpgrade {
|
|
5729
|
+
id: MeritId;
|
|
5730
|
+
level: number;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
export interface UserMerits {
|
|
5734
|
+
upgrades: UserMeritUpgrade[];
|
|
5735
|
+
available: number;
|
|
5736
|
+
used: number;
|
|
5737
|
+
medals: number;
|
|
5738
|
+
honors: number;
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
export interface UserMeritsResponse {
|
|
5742
|
+
merits: UserMerits;
|
|
5743
|
+
}
|
|
5744
|
+
|
|
5659
5745
|
export interface PersonalStatsOther {
|
|
5660
5746
|
other: {
|
|
5661
5747
|
activity: {
|
|
@@ -7830,6 +7916,50 @@ export interface PropertyLookupResponse {
|
|
|
7830
7916
|
selections: PropertySelectionName[];
|
|
7831
7917
|
}
|
|
7832
7918
|
|
|
7919
|
+
export interface TornMerit {
|
|
7920
|
+
id: MeritId;
|
|
7921
|
+
name: string;
|
|
7922
|
+
description: string;
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7925
|
+
export interface TornMeritsResponse {
|
|
7926
|
+
merits: TornMerit[];
|
|
7927
|
+
}
|
|
7928
|
+
|
|
7929
|
+
/** Properties 'circulation', 'equipped' & 'rarity' are only populated for honors which do not have type.id value 1. */
|
|
7930
|
+
export interface TornHonor {
|
|
7931
|
+
id: HonorId;
|
|
7932
|
+
name: string;
|
|
7933
|
+
description: string;
|
|
7934
|
+
type: {
|
|
7935
|
+
id: number;
|
|
7936
|
+
title: HonorTypeEnum;
|
|
7937
|
+
};
|
|
7938
|
+
circulation?: number;
|
|
7939
|
+
equipped?: number;
|
|
7940
|
+
rarity?: HonorRarityEnum;
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7943
|
+
export interface TornHonorsResponse {
|
|
7944
|
+
honors: TornHonor[];
|
|
7945
|
+
}
|
|
7946
|
+
|
|
7947
|
+
export interface TornMedal {
|
|
7948
|
+
id: MedalId;
|
|
7949
|
+
name: string;
|
|
7950
|
+
description: string;
|
|
7951
|
+
type: {
|
|
7952
|
+
id: string;
|
|
7953
|
+
title: MedalTypeEnum;
|
|
7954
|
+
};
|
|
7955
|
+
circulation: number;
|
|
7956
|
+
rarity: HonorRarityEnum;
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7959
|
+
export interface TornMedalsResponse {
|
|
7960
|
+
medals: TornMedal[];
|
|
7961
|
+
}
|
|
7962
|
+
|
|
7833
7963
|
export interface TornOrganizedCrimeResponse {
|
|
7834
7964
|
organizedcrimes: TornOrganizedCrime[];
|
|
7835
7965
|
}
|
|
@@ -8218,7 +8348,7 @@ export interface TornFactionTreeResponse {
|
|
|
8218
8348
|
}
|
|
8219
8349
|
|
|
8220
8350
|
/**
|
|
8221
|
-
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','
|
|
8351
|
+
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','gyms','itemdetails','itemstats','organisedcrimes','pawnshop','pokertables','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.
|
|
8222
8352
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.
|
|
8223
8353
|
*/
|
|
8224
8354
|
export type TornSelectionName = string;
|
|
@@ -11614,6 +11744,10 @@ export interface UserV2 extends BaseSchema {
|
|
|
11614
11744
|
response: UserHofResponse;
|
|
11615
11745
|
params: "timestamp";
|
|
11616
11746
|
};
|
|
11747
|
+
honors: {
|
|
11748
|
+
response: UserHonorsResponse;
|
|
11749
|
+
params: "timestamp";
|
|
11750
|
+
};
|
|
11617
11751
|
itemmarket: {
|
|
11618
11752
|
response: UserItemMarketResponse;
|
|
11619
11753
|
params: "offset" | "timestamp";
|
|
@@ -11634,6 +11768,14 @@ export interface UserV2 extends BaseSchema {
|
|
|
11634
11768
|
response: UserLogsResponse;
|
|
11635
11769
|
params: "log" | "cat" | "limit" | "to" | "from" | "timestamp";
|
|
11636
11770
|
};
|
|
11771
|
+
medals: {
|
|
11772
|
+
response: UserMedalsResponse;
|
|
11773
|
+
params: "timestamp";
|
|
11774
|
+
};
|
|
11775
|
+
merits: {
|
|
11776
|
+
response: UserMeritsResponse;
|
|
11777
|
+
params: "timestamp";
|
|
11778
|
+
};
|
|
11637
11779
|
money: {
|
|
11638
11780
|
response: UserMoneyResponse;
|
|
11639
11781
|
params: "timestamp";
|
|
@@ -11648,7 +11790,7 @@ export interface UserV2 extends BaseSchema {
|
|
|
11648
11790
|
};
|
|
11649
11791
|
properties: {
|
|
11650
11792
|
response: UserPropertiesResponse;
|
|
11651
|
-
params: "offset" | "limit" | "timestamp";
|
|
11793
|
+
params: "filters" | "offset" | "limit" | "timestamp";
|
|
11652
11794
|
};
|
|
11653
11795
|
property: {
|
|
11654
11796
|
response: UserPropertyResponse;
|
|
@@ -11882,7 +12024,14 @@ export interface ForumV2 extends BaseSchema {
|
|
|
11882
12024
|
};
|
|
11883
12025
|
posts: {
|
|
11884
12026
|
response: ForumPostsResponse;
|
|
11885
|
-
params:
|
|
12027
|
+
params:
|
|
12028
|
+
| "striptags"
|
|
12029
|
+
| "offset"
|
|
12030
|
+
| "sort"
|
|
12031
|
+
| "from"
|
|
12032
|
+
| "to"
|
|
12033
|
+
| "threadId"
|
|
12034
|
+
| "timestamp";
|
|
11886
12035
|
};
|
|
11887
12036
|
thread: {
|
|
11888
12037
|
response: ForumThreadResponse;
|
|
@@ -12034,6 +12183,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
12034
12183
|
response: TornFactionTreeResponse;
|
|
12035
12184
|
params: "timestamp";
|
|
12036
12185
|
};
|
|
12186
|
+
honors: {
|
|
12187
|
+
response: TornHonorsResponse;
|
|
12188
|
+
params: "timestamp";
|
|
12189
|
+
};
|
|
12037
12190
|
hof: {
|
|
12038
12191
|
response: TornHofResponse;
|
|
12039
12192
|
params: "limit" | "offset" | "cat" | "timestamp";
|
|
@@ -12058,6 +12211,14 @@ export interface TornV2 extends BaseSchema {
|
|
|
12058
12211
|
response: TornLogTypesResponse;
|
|
12059
12212
|
params: "timestamp";
|
|
12060
12213
|
};
|
|
12214
|
+
medals: {
|
|
12215
|
+
response: TornMedalsResponse;
|
|
12216
|
+
params: "timestamp";
|
|
12217
|
+
};
|
|
12218
|
+
merits: {
|
|
12219
|
+
response: TornMeritsResponse;
|
|
12220
|
+
params: "timestamp";
|
|
12221
|
+
};
|
|
12061
12222
|
organizedcrimes: {
|
|
12062
12223
|
response: TornOrganizedCrimeResponse;
|
|
12063
12224
|
params: "timestamp";
|