@nuxx/torn-fetch 1.1.0 → 1.1.2
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 +402 -41
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -2167,7 +2167,7 @@ export interface paths {
|
|
|
2167
2167
|
cookie?: never;
|
|
2168
2168
|
};
|
|
2169
2169
|
/**
|
|
2170
|
-
* Get a list
|
|
2170
|
+
* Get a list territory ownership
|
|
2171
2171
|
* @description Requires public access key. <br>
|
|
2172
2172
|
*/
|
|
2173
2173
|
get: operations["bf56fb8aba4d6810e9b96402e25b931d"];
|
|
@@ -2594,6 +2594,66 @@ export interface paths {
|
|
|
2594
2594
|
patch?: never;
|
|
2595
2595
|
trace?: never;
|
|
2596
2596
|
};
|
|
2597
|
+
"/market/{id}/auctionhouselisting": {
|
|
2598
|
+
parameters: {
|
|
2599
|
+
query?: never;
|
|
2600
|
+
header?: never;
|
|
2601
|
+
path?: never;
|
|
2602
|
+
cookie?: never;
|
|
2603
|
+
};
|
|
2604
|
+
/**
|
|
2605
|
+
* Get specific item auction house listings
|
|
2606
|
+
* @description Requires public access key. <br>
|
|
2607
|
+
*/
|
|
2608
|
+
get: operations["c28901b60d97e6ddf7d07d7a195f022a"];
|
|
2609
|
+
put?: never;
|
|
2610
|
+
post?: never;
|
|
2611
|
+
delete?: never;
|
|
2612
|
+
options?: never;
|
|
2613
|
+
head?: never;
|
|
2614
|
+
patch?: never;
|
|
2615
|
+
trace?: never;
|
|
2616
|
+
};
|
|
2617
|
+
"/market/{id}/auctionhouse": {
|
|
2618
|
+
parameters: {
|
|
2619
|
+
query?: never;
|
|
2620
|
+
header?: never;
|
|
2621
|
+
path?: never;
|
|
2622
|
+
cookie?: never;
|
|
2623
|
+
};
|
|
2624
|
+
/**
|
|
2625
|
+
* Get specific item auction house listings
|
|
2626
|
+
* @description Requires public access key. <br>
|
|
2627
|
+
*/
|
|
2628
|
+
get: operations["54c84ce84920ff49fac183f7ab7480cb"];
|
|
2629
|
+
put?: never;
|
|
2630
|
+
post?: never;
|
|
2631
|
+
delete?: never;
|
|
2632
|
+
options?: never;
|
|
2633
|
+
head?: never;
|
|
2634
|
+
patch?: never;
|
|
2635
|
+
trace?: never;
|
|
2636
|
+
};
|
|
2637
|
+
"/market/auctionhouse": {
|
|
2638
|
+
parameters: {
|
|
2639
|
+
query?: never;
|
|
2640
|
+
header?: never;
|
|
2641
|
+
path?: never;
|
|
2642
|
+
cookie?: never;
|
|
2643
|
+
};
|
|
2644
|
+
/**
|
|
2645
|
+
* Get auction house listings
|
|
2646
|
+
* @description Requires public access key. <br>
|
|
2647
|
+
*/
|
|
2648
|
+
get: operations["635ca1ff9b7062b8d8e0bf00252479cd"];
|
|
2649
|
+
put?: never;
|
|
2650
|
+
post?: never;
|
|
2651
|
+
delete?: never;
|
|
2652
|
+
options?: never;
|
|
2653
|
+
head?: never;
|
|
2654
|
+
patch?: never;
|
|
2655
|
+
trace?: never;
|
|
2656
|
+
};
|
|
2597
2657
|
"/market/bazaar": {
|
|
2598
2658
|
parameters: {
|
|
2599
2659
|
query?: never;
|
|
@@ -3114,6 +3174,46 @@ export interface paths {
|
|
|
3114
3174
|
patch?: never;
|
|
3115
3175
|
trace?: never;
|
|
3116
3176
|
};
|
|
3177
|
+
"/torn/elimination": {
|
|
3178
|
+
parameters: {
|
|
3179
|
+
query?: never;
|
|
3180
|
+
header?: never;
|
|
3181
|
+
path?: never;
|
|
3182
|
+
cookie?: never;
|
|
3183
|
+
};
|
|
3184
|
+
/**
|
|
3185
|
+
* Get current standings for all elimination teams
|
|
3186
|
+
* @description Requires public key.
|
|
3187
|
+
*/
|
|
3188
|
+
get: operations["a6ce3192de2a723c7eedef7951eeb258"];
|
|
3189
|
+
put?: never;
|
|
3190
|
+
post?: never;
|
|
3191
|
+
delete?: never;
|
|
3192
|
+
options?: never;
|
|
3193
|
+
head?: never;
|
|
3194
|
+
patch?: never;
|
|
3195
|
+
trace?: never;
|
|
3196
|
+
};
|
|
3197
|
+
"/torn/{id}/eliminationteam": {
|
|
3198
|
+
parameters: {
|
|
3199
|
+
query?: never;
|
|
3200
|
+
header?: never;
|
|
3201
|
+
path?: never;
|
|
3202
|
+
cookie?: never;
|
|
3203
|
+
};
|
|
3204
|
+
/**
|
|
3205
|
+
* Get players in a specific elimination team
|
|
3206
|
+
* @description Requires public key.
|
|
3207
|
+
*/
|
|
3208
|
+
get: operations["ccc5b888a920b5c707d97c29b38d6e43"];
|
|
3209
|
+
put?: never;
|
|
3210
|
+
post?: never;
|
|
3211
|
+
delete?: never;
|
|
3212
|
+
options?: never;
|
|
3213
|
+
head?: never;
|
|
3214
|
+
patch?: never;
|
|
3215
|
+
trace?: never;
|
|
3216
|
+
};
|
|
3117
3217
|
"/torn/factionhof": {
|
|
3118
3218
|
parameters: {
|
|
3119
3219
|
query?: never;
|
|
@@ -3711,6 +3811,8 @@ export interface components {
|
|
|
3711
3811
|
/** Format: int64 */
|
|
3712
3812
|
ItemId: number;
|
|
3713
3813
|
/** Format: int32 */
|
|
3814
|
+
AuctionListingId: number;
|
|
3815
|
+
/** Format: int32 */
|
|
3714
3816
|
ItemModId: number;
|
|
3715
3817
|
/** Format: int32 */
|
|
3716
3818
|
AmmoId: number;
|
|
@@ -3726,6 +3828,8 @@ export interface components {
|
|
|
3726
3828
|
UserId: number;
|
|
3727
3829
|
DiscordId: string;
|
|
3728
3830
|
UserDiscordPathId: components["schemas"]["UserId"] | components["schemas"]["DiscordId"];
|
|
3831
|
+
/** Format: int32 */
|
|
3832
|
+
EliminationTeamId: number;
|
|
3729
3833
|
/** Format: int64 */
|
|
3730
3834
|
UserMessageId: number;
|
|
3731
3835
|
UserEventId: string;
|
|
@@ -4459,13 +4563,13 @@ export interface components {
|
|
|
4459
4563
|
until: number;
|
|
4460
4564
|
/** Format: int32 */
|
|
4461
4565
|
invested_at: number;
|
|
4462
|
-
};
|
|
4566
|
+
} | null;
|
|
4463
4567
|
faction: {
|
|
4464
4568
|
/** Format: int64 */
|
|
4465
4569
|
money: number;
|
|
4466
4570
|
/** Format: int64 */
|
|
4467
4571
|
points: number;
|
|
4468
|
-
};
|
|
4572
|
+
} | null;
|
|
4469
4573
|
/** Format: int64 */
|
|
4470
4574
|
daily_networth: number;
|
|
4471
4575
|
};
|
|
@@ -4961,11 +5065,11 @@ export interface components {
|
|
|
4961
5065
|
rewards: components["schemas"]["UserCrimeRewards"];
|
|
4962
5066
|
attempts: components["schemas"]["UserCrimeAttempts"];
|
|
4963
5067
|
uniques: components["schemas"]["UserCrimeUniques"][];
|
|
4964
|
-
/** @description
|
|
5068
|
+
/** @description Miscellaneous stats for specific crime. Results differ based on the cat id. */
|
|
4965
5069
|
miscellaneous: components["schemas"]["UserCrimeDetailsBootlegging"] | components["schemas"]["UserCrimeDetailsGraffiti"] | components["schemas"]["UserCrimeDetailsShoplifting"] | components["schemas"]["UserCrimeDetailsCardSkimming"] | components["schemas"]["UserCrimeDetailsHustling"] | components["schemas"]["UserCrimeDetailsCracking"] | components["schemas"]["UserCrimeDetailsScamming"] | null;
|
|
4966
5070
|
};
|
|
4967
5071
|
UserRacesResponse: {
|
|
4968
|
-
races: components["schemas"]["
|
|
5072
|
+
races: components["schemas"]["UserRaceDetails"][];
|
|
4969
5073
|
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
4970
5074
|
};
|
|
4971
5075
|
UserRaceCarDetails: components["schemas"]["RaceCar"] & {
|
|
@@ -6459,6 +6563,7 @@ export interface components {
|
|
|
6459
6563
|
rank: components["schemas"]["FactionRank"];
|
|
6460
6564
|
/** Format: int32 */
|
|
6461
6565
|
best_chain: number;
|
|
6566
|
+
note?: string;
|
|
6462
6567
|
};
|
|
6463
6568
|
FactionBasicResponse: {
|
|
6464
6569
|
basic: components["schemas"]["FactionBasic"];
|
|
@@ -6568,11 +6673,11 @@ export interface components {
|
|
|
6568
6673
|
raids: components["schemas"]["FactionRaidWarfare"][];
|
|
6569
6674
|
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
6570
6675
|
};
|
|
6571
|
-
|
|
6676
|
+
AttacksResponse: {
|
|
6572
6677
|
attacks: components["schemas"]["Attack"][];
|
|
6573
6678
|
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
6574
6679
|
};
|
|
6575
|
-
|
|
6680
|
+
AttacksFullResponse: {
|
|
6576
6681
|
attacks: components["schemas"]["AttackSimplified"][];
|
|
6577
6682
|
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
6578
6683
|
};
|
|
@@ -7132,6 +7237,31 @@ export interface components {
|
|
|
7132
7237
|
};
|
|
7133
7238
|
};
|
|
7134
7239
|
KeySelectionName: ("info" | "log") | string;
|
|
7240
|
+
AuctionHouseStackableItem: {
|
|
7241
|
+
id: components["schemas"]["ItemId"];
|
|
7242
|
+
uid: components["schemas"]["ItemUid"];
|
|
7243
|
+
name: string;
|
|
7244
|
+
type: components["schemas"]["TornItemTypeEnum"];
|
|
7245
|
+
};
|
|
7246
|
+
AuctionHouseListing: {
|
|
7247
|
+
id: components["schemas"]["AuctionListingId"];
|
|
7248
|
+
seller: components["schemas"]["BasicUser"];
|
|
7249
|
+
buyer: components["schemas"]["BasicUser"];
|
|
7250
|
+
/**
|
|
7251
|
+
* Format: int32
|
|
7252
|
+
* @description Timestamp when the auction ended.
|
|
7253
|
+
*/
|
|
7254
|
+
timestamp: number;
|
|
7255
|
+
/** Format: int32 */
|
|
7256
|
+
price: number;
|
|
7257
|
+
/** Format: int32 */
|
|
7258
|
+
bids: number;
|
|
7259
|
+
item: components["schemas"]["AuctionHouseStackableItem"] | components["schemas"]["TornItemDetails"];
|
|
7260
|
+
};
|
|
7261
|
+
AuctionHouseResponse: {
|
|
7262
|
+
auctionhouse: components["schemas"]["AuctionHouseListing"][];
|
|
7263
|
+
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
7264
|
+
};
|
|
7135
7265
|
BasicProperty: {
|
|
7136
7266
|
id: components["schemas"]["PropertyTypeId"];
|
|
7137
7267
|
name: string;
|
|
@@ -7287,7 +7417,7 @@ export interface components {
|
|
|
7287
7417
|
itemmarket: components["schemas"]["ItemMarket"];
|
|
7288
7418
|
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
7289
7419
|
};
|
|
7290
|
-
MarketSelectionName: ("bazaar" | "itemmarket" | "properties" | "rentals" | "lookup" | "timestamp" | "pointsmarket") | string;
|
|
7420
|
+
MarketSelectionName: ("bazaar" | "itemmarket" | "properties" | "rentals" | "lookup" | "timestamp" | "pointsmarket" | "auctionhouse" | "auctionhouselisting") | string;
|
|
7291
7421
|
MarketLookupResponse: {
|
|
7292
7422
|
selections: components["schemas"]["MarketSelectionName"][];
|
|
7293
7423
|
};
|
|
@@ -7435,6 +7565,10 @@ export interface components {
|
|
|
7435
7565
|
results: components["schemas"]["RacerDetails"][];
|
|
7436
7566
|
is_official: boolean;
|
|
7437
7567
|
};
|
|
7568
|
+
UserRaceDetails: components["schemas"]["RacingRaceDetails"] & {
|
|
7569
|
+
/** Format: float */
|
|
7570
|
+
skill_gain: number;
|
|
7571
|
+
};
|
|
7438
7572
|
RacingRaceDetailsResponse: {
|
|
7439
7573
|
race: components["schemas"]["RacingRaceDetails"];
|
|
7440
7574
|
};
|
|
@@ -7446,6 +7580,47 @@ export interface components {
|
|
|
7446
7580
|
PropertyLookupResponse: {
|
|
7447
7581
|
selections: components["schemas"]["PropertySelectionName"][];
|
|
7448
7582
|
};
|
|
7583
|
+
TornEliminationTeamLeader: components["schemas"]["BasicUser"] & {
|
|
7584
|
+
active: boolean;
|
|
7585
|
+
};
|
|
7586
|
+
TornEliminationTeam: {
|
|
7587
|
+
id: components["schemas"]["EliminationTeamId"];
|
|
7588
|
+
name: string;
|
|
7589
|
+
/** Format: int32 */
|
|
7590
|
+
participants: number;
|
|
7591
|
+
/** Format: int32 */
|
|
7592
|
+
position: number;
|
|
7593
|
+
/** Format: int32 */
|
|
7594
|
+
score: number;
|
|
7595
|
+
/** Format: int32 */
|
|
7596
|
+
lives: number;
|
|
7597
|
+
/** Format: int32 */
|
|
7598
|
+
wins: number;
|
|
7599
|
+
/** Format: int32 */
|
|
7600
|
+
losses: number;
|
|
7601
|
+
eliminated: boolean;
|
|
7602
|
+
eliminated_timestamp: number | null;
|
|
7603
|
+
leaders: components["schemas"]["TornEliminationTeamLeader"][];
|
|
7604
|
+
};
|
|
7605
|
+
TornEliminationTeamsResponse: {
|
|
7606
|
+
elimination: components["schemas"]["TornEliminationTeam"][];
|
|
7607
|
+
};
|
|
7608
|
+
TornEliminationTeamPlayer: {
|
|
7609
|
+
id: components["schemas"]["UserId"];
|
|
7610
|
+
name: string;
|
|
7611
|
+
/** Format: int32 */
|
|
7612
|
+
level: number;
|
|
7613
|
+
last_action: components["schemas"]["UserLastAction"];
|
|
7614
|
+
status: components["schemas"]["UserStatus"];
|
|
7615
|
+
/** Format: int32 */
|
|
7616
|
+
attacks: number;
|
|
7617
|
+
/** Format: int32 */
|
|
7618
|
+
score: number;
|
|
7619
|
+
};
|
|
7620
|
+
TornEliminationTeamPlayersResponse: {
|
|
7621
|
+
eliminationteam: components["schemas"]["TornEliminationTeamPlayer"][];
|
|
7622
|
+
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
7623
|
+
};
|
|
7449
7624
|
TornItemDetails: components["schemas"]["ItemMarketListingItemDetails"] & {
|
|
7450
7625
|
id: components["schemas"]["ItemId"];
|
|
7451
7626
|
name: string;
|
|
@@ -7896,7 +8071,7 @@ export interface components {
|
|
|
7896
8071
|
TornFactionTreeResponse: {
|
|
7897
8072
|
factionTree: components["schemas"]["TornFactionTree"][];
|
|
7898
8073
|
};
|
|
7899
|
-
TornSelectionName: ("attacklog" | "bounties" | "calendar" | "crimes" | "education" | "factionhof" | "factiontree" | "hof" | "honors" | "itemammo" | "itemmods" | "items" | "logcategories" | "logtypes" | "lookup" | "medals" | "merits" | "organizedcrimes" | "properties" | "subcrimes" | "territory" | "timestamp" | "bank" | "cards" | "cityshops" | "companies" | "competition" | "gyms" | "itemdetails" | "itemstats" | "organisedcrimes" | "pawnshop" | "pokertables" | "rockpaperscissors" | "searchforcash" | "shoplifting" | "stats" | "stocks") | string;
|
|
8074
|
+
TornSelectionName: ("attacklog" | "bounties" | "calendar" | "crimes" | "education" | "elimination" | "eliminationteam" | "factionhof" | "factiontree" | "hof" | "honors" | "itemammo" | "itemmods" | "items" | "logcategories" | "logtypes" | "lookup" | "medals" | "merits" | "organizedcrimes" | "properties" | "subcrimes" | "territory" | "timestamp" | "bank" | "cards" | "cityshops" | "companies" | "competition" | "gyms" | "itemdetails" | "itemstats" | "organisedcrimes" | "pawnshop" | "pokertables" | "rockpaperscissors" | "searchforcash" | "shoplifting" | "stats" | "stocks") | string;
|
|
7900
8075
|
TornLookupResponse: {
|
|
7901
8076
|
selections: components["schemas"]["TornSelectionName"][];
|
|
7902
8077
|
};
|
|
@@ -7913,21 +8088,25 @@ export interface components {
|
|
|
7913
8088
|
ApiKeyFull: string;
|
|
7914
8089
|
/** @description Timestamp to bypass cache */
|
|
7915
8090
|
ApiTimestamp: string;
|
|
7916
|
-
/**
|
|
7917
|
-
*
|
|
8091
|
+
/**
|
|
8092
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
8093
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8094
|
+
*/
|
|
7918
8095
|
ApiFiltersIncomingOutgoing: components["schemas"]["ApiFiltersAttacksRevivesEnum"][];
|
|
7919
8096
|
/** @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives. */
|
|
7920
8097
|
ApiFiltersUser: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
|
|
7921
8098
|
/** @description It's possible to use this query parameter to filter properties by the key owner or their spouse. */
|
|
7922
8099
|
ApiFiltersUserProperties: "ownedByUser" | "ownedBySpouse";
|
|
7923
|
-
/**
|
|
8100
|
+
/**
|
|
8101
|
+
* @description A filtering query parameter allowing a comma-separated list of filters. <br>
|
|
7924
8102
|
* * Each filter can be one of the following:
|
|
7925
8103
|
* * Fixed options: 'destroyed', 'notDestroyed', 'recruiting', 'notRecruiting'
|
|
7926
8104
|
* * Dynamic options: `fieldName`+`condition`+`number`, where:
|
|
7927
8105
|
* * * `fieldName` is one of: `id`, `respect`, `members`
|
|
7928
8106
|
* * * `condition` is one of: `Equal`, `NotEqual`, `Less`, `LessOrEqual`, `GreaterOrEqual`, `Greater`
|
|
7929
8107
|
* * * `number`: any integer value
|
|
7930
|
-
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
8108
|
+
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
8109
|
+
*/
|
|
7931
8110
|
ApiFactionSearchFilter: (("destroyed" | "notDestroyed" | "recruiting" | "notRecruiting") | string)[];
|
|
7932
8111
|
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
7933
8112
|
ApiComment: string;
|
|
@@ -7999,8 +8178,10 @@ export interface operations {
|
|
|
7999
8178
|
"3acc98a3016974b786cb01e04e1ced04": {
|
|
8000
8179
|
parameters: {
|
|
8001
8180
|
query?: {
|
|
8002
|
-
/**
|
|
8003
|
-
*
|
|
8181
|
+
/**
|
|
8182
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
8183
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8184
|
+
*/
|
|
8004
8185
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
8005
8186
|
limit?: components["parameters"]["ApiLimit100"];
|
|
8006
8187
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -8028,7 +8209,7 @@ export interface operations {
|
|
|
8028
8209
|
[name: string]: unknown;
|
|
8029
8210
|
};
|
|
8030
8211
|
content: {
|
|
8031
|
-
"application/json": components["schemas"]["
|
|
8212
|
+
"application/json": components["schemas"]["AttacksResponse"];
|
|
8032
8213
|
};
|
|
8033
8214
|
};
|
|
8034
8215
|
};
|
|
@@ -8036,8 +8217,10 @@ export interface operations {
|
|
|
8036
8217
|
e995691fd9845c8b4a91f065ac9c8420: {
|
|
8037
8218
|
parameters: {
|
|
8038
8219
|
query?: {
|
|
8039
|
-
/**
|
|
8040
|
-
*
|
|
8220
|
+
/**
|
|
8221
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
8222
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8223
|
+
*/
|
|
8041
8224
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
8042
8225
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
8043
8226
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -8065,7 +8248,7 @@ export interface operations {
|
|
|
8065
8248
|
[name: string]: unknown;
|
|
8066
8249
|
};
|
|
8067
8250
|
content: {
|
|
8068
|
-
"application/json": components["schemas"]["
|
|
8251
|
+
"application/json": components["schemas"]["AttacksFullResponse"];
|
|
8069
8252
|
};
|
|
8070
8253
|
};
|
|
8071
8254
|
};
|
|
@@ -9790,6 +9973,8 @@ export interface operations {
|
|
|
9790
9973
|
target?: components["schemas"]["UserId"];
|
|
9791
9974
|
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
9792
9975
|
offset?: components["parameters"]["ApiOffset"];
|
|
9976
|
+
/** @description Sorted by the greatest timestamps */
|
|
9977
|
+
sort?: components["parameters"]["ApiSortDesc"];
|
|
9793
9978
|
/** @description Timestamp to bypass cache */
|
|
9794
9979
|
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
9795
9980
|
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
@@ -9817,8 +10002,10 @@ export interface operations {
|
|
|
9817
10002
|
"3c847eb1325040798f37a7492108e094": {
|
|
9818
10003
|
parameters: {
|
|
9819
10004
|
query?: {
|
|
9820
|
-
/**
|
|
9821
|
-
*
|
|
10005
|
+
/**
|
|
10006
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
10007
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10008
|
+
*/
|
|
9822
10009
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
9823
10010
|
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
9824
10011
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -9856,8 +10043,10 @@ export interface operations {
|
|
|
9856
10043
|
"8820cd889afde899353037ca5a0f9a07": {
|
|
9857
10044
|
parameters: {
|
|
9858
10045
|
query?: {
|
|
9859
|
-
/**
|
|
9860
|
-
*
|
|
10046
|
+
/**
|
|
10047
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
10048
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10049
|
+
*/
|
|
9861
10050
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
9862
10051
|
limit?: components["parameters"]["ApiLimit1000Default20"];
|
|
9863
10052
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -10125,7 +10314,7 @@ export interface operations {
|
|
|
10125
10314
|
[name: string]: unknown;
|
|
10126
10315
|
};
|
|
10127
10316
|
content: {
|
|
10128
|
-
"application/json": components["schemas"]["UserCrimesResponse"] | components["schemas"]["UserWeaponExpResponse"] | components["schemas"]["UserAmmoResponse"] | components["schemas"]["UserDiscordResponse"] | components["schemas"]["UserRacesResponse"] | components["schemas"]["UserEnlistedCarsResponse"] | components["schemas"]["UserForumPostsResponse"] | components["schemas"]["UserForumThreadsResponse"] | components["schemas"]["UserForumSubscribedThreadsResponse"] | components["schemas"]["UserForumFeedResponse"] | components["schemas"]["UserForumFriendsResponse"] | components["schemas"]["UserPropertyResponse"] | components["schemas"]["ReportsResponse"] | components["schemas"]["UserHofResponse"] | components["schemas"]["UserCalendarResponse"] | components["schemas"]["UserRacingRecordsResponse"] | components["schemas"]["UserEducationResponse"] | components["schemas"]["UserBountiesResponse"] | components["schemas"]["UserJobRanksResponse"] | components["schemas"]["UserPropertiesResponse"] | components["schemas"]["UserFactionBalanceResponse"] | components["schemas"]["UserBasicResponse"] | components["schemas"]["RevivesResponse"] | components["schemas"]["UserHonorsResponse"] | components["schemas"]["UserMedalsResponse"] | components["schemas"]["UserMeritsResponse"] | components["schemas"]["RevivesFullResponse"] | components["schemas"]["UserProfileResponse"] | components["schemas"]["UserJobResponse"] | components["schemas"]["UserFactionResponse"] | components["schemas"]["UserCompetitionResponse"] | components["schemas"]["UserIconsResponse"] | components["schemas"]["UserItemMarketResponse"] | components["schemas"]["UserListResponse"] | components["schemas"]["UserEquipmentResponse"] | components["schemas"]["UserMissionsResponse"] | components["schemas"]["UserPersonalStatsResponse"] | components["schemas"]["UserOrganizedCrimeResponse"] | components["schemas"]["
|
|
10317
|
+
"application/json": components["schemas"]["UserCrimesResponse"] | components["schemas"]["UserWeaponExpResponse"] | components["schemas"]["UserAmmoResponse"] | components["schemas"]["UserDiscordResponse"] | components["schemas"]["UserRacesResponse"] | components["schemas"]["UserEnlistedCarsResponse"] | components["schemas"]["UserForumPostsResponse"] | components["schemas"]["UserForumThreadsResponse"] | components["schemas"]["UserForumSubscribedThreadsResponse"] | components["schemas"]["UserForumFeedResponse"] | components["schemas"]["UserForumFriendsResponse"] | components["schemas"]["UserPropertyResponse"] | components["schemas"]["ReportsResponse"] | components["schemas"]["UserHofResponse"] | components["schemas"]["UserCalendarResponse"] | components["schemas"]["UserRacingRecordsResponse"] | components["schemas"]["UserEducationResponse"] | components["schemas"]["UserBountiesResponse"] | components["schemas"]["UserJobRanksResponse"] | components["schemas"]["UserPropertiesResponse"] | components["schemas"]["UserFactionBalanceResponse"] | components["schemas"]["UserBasicResponse"] | components["schemas"]["RevivesResponse"] | components["schemas"]["UserHonorsResponse"] | components["schemas"]["UserMedalsResponse"] | components["schemas"]["UserMeritsResponse"] | components["schemas"]["RevivesFullResponse"] | components["schemas"]["UserProfileResponse"] | components["schemas"]["UserJobResponse"] | components["schemas"]["UserFactionResponse"] | components["schemas"]["UserCompetitionResponse"] | components["schemas"]["UserIconsResponse"] | components["schemas"]["UserItemMarketResponse"] | components["schemas"]["UserListResponse"] | components["schemas"]["UserEquipmentResponse"] | components["schemas"]["UserMissionsResponse"] | components["schemas"]["UserPersonalStatsResponse"] | components["schemas"]["UserOrganizedCrimeResponse"] | components["schemas"]["AttacksResponse"] | components["schemas"]["UserBarsResponse"] | components["schemas"]["UserCooldownsResponse"] | components["schemas"]["UserNotificationsResponse"] | components["schemas"]["UserRefillsResponse"] | components["schemas"]["UserTravelResponse"] | components["schemas"]["UserVirusResponse"] | components["schemas"]["AttacksFullResponse"] | components["schemas"]["UserMoneyResponse"] | components["schemas"]["UserJobPointsResponse"] | components["schemas"]["UserWorkStatsResponse"] | components["schemas"]["UserSkillsResponse"] | components["schemas"]["UserBattleStatsResponse"] | components["schemas"]["UserNewEventsResponse"] | components["schemas"]["UserEventsResponse"] | components["schemas"]["UserMessagesResponse"] | components["schemas"]["UserNewMessagesResponse"] | components["schemas"]["UserLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
10129
10318
|
};
|
|
10130
10319
|
};
|
|
10131
10320
|
};
|
|
@@ -10160,8 +10349,10 @@ export interface operations {
|
|
|
10160
10349
|
cb5b38ba64c389e706526df8bc8af9b6: {
|
|
10161
10350
|
parameters: {
|
|
10162
10351
|
query?: {
|
|
10163
|
-
/**
|
|
10164
|
-
*
|
|
10352
|
+
/**
|
|
10353
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
10354
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10355
|
+
*/
|
|
10165
10356
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
10166
10357
|
limit?: components["parameters"]["ApiLimit100"];
|
|
10167
10358
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -10189,7 +10380,7 @@ export interface operations {
|
|
|
10189
10380
|
[name: string]: unknown;
|
|
10190
10381
|
};
|
|
10191
10382
|
content: {
|
|
10192
|
-
"application/json": components["schemas"]["
|
|
10383
|
+
"application/json": components["schemas"]["AttacksResponse"];
|
|
10193
10384
|
};
|
|
10194
10385
|
};
|
|
10195
10386
|
};
|
|
@@ -10197,8 +10388,10 @@ export interface operations {
|
|
|
10197
10388
|
"8551280aaaf9819aa94be5c469a523de": {
|
|
10198
10389
|
parameters: {
|
|
10199
10390
|
query?: {
|
|
10200
|
-
/**
|
|
10201
|
-
*
|
|
10391
|
+
/**
|
|
10392
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
10393
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10394
|
+
*/
|
|
10202
10395
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
10203
10396
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
10204
10397
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -10226,7 +10419,7 @@ export interface operations {
|
|
|
10226
10419
|
[name: string]: unknown;
|
|
10227
10420
|
};
|
|
10228
10421
|
content: {
|
|
10229
|
-
"application/json": components["schemas"]["
|
|
10422
|
+
"application/json": components["schemas"]["AttacksFullResponse"];
|
|
10230
10423
|
};
|
|
10231
10424
|
};
|
|
10232
10425
|
};
|
|
@@ -11018,6 +11211,8 @@ export interface operations {
|
|
|
11018
11211
|
target?: components["schemas"]["UserId"];
|
|
11019
11212
|
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
11020
11213
|
offset?: components["parameters"]["ApiOffset"];
|
|
11214
|
+
/** @description Sorted by the greatest timestamps */
|
|
11215
|
+
sort?: components["parameters"]["ApiSortDesc"];
|
|
11021
11216
|
/** @description Timestamp to bypass cache */
|
|
11022
11217
|
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
11023
11218
|
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
@@ -11045,8 +11240,10 @@ export interface operations {
|
|
|
11045
11240
|
"486fcda26ed1aa6aba8ec7091080723b": {
|
|
11046
11241
|
parameters: {
|
|
11047
11242
|
query?: {
|
|
11048
|
-
/**
|
|
11049
|
-
*
|
|
11243
|
+
/**
|
|
11244
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
11245
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
11246
|
+
*/
|
|
11050
11247
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
11051
11248
|
limit?: components["parameters"]["ApiLimit100"];
|
|
11052
11249
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -11084,8 +11281,10 @@ export interface operations {
|
|
|
11084
11281
|
f17a4064779e8de5200238816c233c02: {
|
|
11085
11282
|
parameters: {
|
|
11086
11283
|
query?: {
|
|
11087
|
-
/**
|
|
11088
|
-
*
|
|
11284
|
+
/**
|
|
11285
|
+
* @description It's possible to use this query parameter to only get incoming or outgoing attacks / revives. If not specified, this selection will return both incoming and outgoing attacks / revives.
|
|
11286
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
11287
|
+
*/
|
|
11089
11288
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
11090
11289
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
11091
11290
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -11125,14 +11324,16 @@ export interface operations {
|
|
|
11125
11324
|
query?: {
|
|
11126
11325
|
/** @description Name to search for. */
|
|
11127
11326
|
name?: components["parameters"]["ApiName"];
|
|
11128
|
-
/**
|
|
11327
|
+
/**
|
|
11328
|
+
* @description A filtering query parameter allowing a comma-separated list of filters. <br>
|
|
11129
11329
|
* * Each filter can be one of the following:
|
|
11130
11330
|
* * Fixed options: 'destroyed', 'notDestroyed', 'recruiting', 'notRecruiting'
|
|
11131
11331
|
* * Dynamic options: `fieldName`+`condition`+`number`, where:
|
|
11132
11332
|
* * * `fieldName` is one of: `id`, `respect`, `members`
|
|
11133
11333
|
* * * `condition` is one of: `Equal`, `NotEqual`, `Less`, `LessOrEqual`, `GreaterOrEqual`, `Greater`
|
|
11134
11334
|
* * * `number`: any integer value
|
|
11135
|
-
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
11335
|
+
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
11336
|
+
*/
|
|
11136
11337
|
filters?: components["parameters"]["ApiFactionSearchFilter"];
|
|
11137
11338
|
limit?: components["parameters"]["ApiLimit50Default20"];
|
|
11138
11339
|
offset?: components["parameters"]["ApiOffset"];
|
|
@@ -11590,7 +11791,7 @@ export interface operations {
|
|
|
11590
11791
|
[name: string]: unknown;
|
|
11591
11792
|
};
|
|
11592
11793
|
content: {
|
|
11593
|
-
"application/json": components["schemas"]["FactionHofResponse"] | components["schemas"]["FactionMembersResponse"] | components["schemas"]["FactionBasicResponse"] | components["schemas"]["FactionWarsResponse"] | components["schemas"]["FactionNewsResponse"] | components["schemas"]["RevivesResponse"] | components["schemas"]["FactionTerritoryWarsHistoryResponse"] | components["schemas"]["
|
|
11794
|
+
"application/json": components["schemas"]["FactionHofResponse"] | components["schemas"]["FactionMembersResponse"] | components["schemas"]["FactionBasicResponse"] | components["schemas"]["FactionWarsResponse"] | components["schemas"]["FactionNewsResponse"] | components["schemas"]["RevivesResponse"] | components["schemas"]["FactionTerritoryWarsHistoryResponse"] | components["schemas"]["AttacksResponse"] | components["schemas"]["FactionBalanceResponse"] | components["schemas"]["FactionRaidWarReportResponse"] | components["schemas"]["FactionTerritoriesOwnershipResponse"] | components["schemas"]["FactionPositionsResponse"] | components["schemas"]["RevivesFullResponse"] | components["schemas"]["AttacksFullResponse"] | components["schemas"]["FactionApplicationsResponse"] | components["schemas"]["FactionOngoingChainResponse"] | components["schemas"]["FactionChainsResponse"] | components["schemas"]["FactionChainReportResponse"] | components["schemas"]["FactionCrimesResponse"] | components["schemas"]["FactionCrimeResponse"] | components["schemas"]["FactionRaidsResponse"] | components["schemas"]["FactionWarfareResponse"] | components["schemas"]["FactionRankedWarReportResponse"] | components["schemas"]["FactionTerritoryWarReportResponse"] | components["schemas"]["FactionTerritoriesResponse"] | components["schemas"]["FactionUpgradesResponse"] | components["schemas"]["FactionStatsResponse"] | components["schemas"]["FactionContributorsResponse"] | components["schemas"]["FactionRacketsResponse"] | components["schemas"]["FactionRankedWarResponse"] | components["schemas"]["FactionLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
11594
11795
|
};
|
|
11595
11796
|
};
|
|
11596
11797
|
};
|
|
@@ -11944,6 +12145,107 @@ export interface operations {
|
|
|
11944
12145
|
};
|
|
11945
12146
|
};
|
|
11946
12147
|
};
|
|
12148
|
+
c28901b60d97e6ddf7d07d7a195f022a: {
|
|
12149
|
+
parameters: {
|
|
12150
|
+
query?: {
|
|
12151
|
+
/** @description Timestamp to bypass cache */
|
|
12152
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
12153
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
12154
|
+
comment?: components["parameters"]["ApiComment"];
|
|
12155
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
12156
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
12157
|
+
};
|
|
12158
|
+
header?: never;
|
|
12159
|
+
path: {
|
|
12160
|
+
/** @description Listing id */
|
|
12161
|
+
id: components["schemas"]["AuctionListingId"];
|
|
12162
|
+
};
|
|
12163
|
+
cookie?: never;
|
|
12164
|
+
};
|
|
12165
|
+
requestBody?: never;
|
|
12166
|
+
responses: {
|
|
12167
|
+
/** @description Successful operation */
|
|
12168
|
+
200: {
|
|
12169
|
+
headers: {
|
|
12170
|
+
[name: string]: unknown;
|
|
12171
|
+
};
|
|
12172
|
+
content: {
|
|
12173
|
+
"application/json": components["schemas"]["AuctionHouseListing"];
|
|
12174
|
+
};
|
|
12175
|
+
};
|
|
12176
|
+
};
|
|
12177
|
+
};
|
|
12178
|
+
"54c84ce84920ff49fac183f7ab7480cb": {
|
|
12179
|
+
parameters: {
|
|
12180
|
+
query?: {
|
|
12181
|
+
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
12182
|
+
/** @description Sorted by the greatest timestamps */
|
|
12183
|
+
sort?: components["parameters"]["ApiSort"];
|
|
12184
|
+
/** @description Timestamp that sets the lower limit for the data returned. Data returned will be after this time */
|
|
12185
|
+
from?: components["parameters"]["ApiFrom"];
|
|
12186
|
+
/** @description Timestamp that sets the upper limit for the data returned. Data returned will be up to and including this time */
|
|
12187
|
+
to?: components["parameters"]["ApiTo"];
|
|
12188
|
+
/** @description Timestamp to bypass cache */
|
|
12189
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
12190
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
12191
|
+
comment?: components["parameters"]["ApiComment"];
|
|
12192
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
12193
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
12194
|
+
};
|
|
12195
|
+
header?: never;
|
|
12196
|
+
path: {
|
|
12197
|
+
/** @description Item id */
|
|
12198
|
+
id: components["schemas"]["ItemId"];
|
|
12199
|
+
};
|
|
12200
|
+
cookie?: never;
|
|
12201
|
+
};
|
|
12202
|
+
requestBody?: never;
|
|
12203
|
+
responses: {
|
|
12204
|
+
/** @description Successful operation */
|
|
12205
|
+
200: {
|
|
12206
|
+
headers: {
|
|
12207
|
+
[name: string]: unknown;
|
|
12208
|
+
};
|
|
12209
|
+
content: {
|
|
12210
|
+
"application/json": components["schemas"]["AuctionHouseResponse"];
|
|
12211
|
+
};
|
|
12212
|
+
};
|
|
12213
|
+
};
|
|
12214
|
+
};
|
|
12215
|
+
"635ca1ff9b7062b8d8e0bf00252479cd": {
|
|
12216
|
+
parameters: {
|
|
12217
|
+
query?: {
|
|
12218
|
+
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
12219
|
+
/** @description Sorted by the greatest timestamps */
|
|
12220
|
+
sort?: components["parameters"]["ApiSort"];
|
|
12221
|
+
/** @description Timestamp that sets the lower limit for the data returned. Data returned will be after this time */
|
|
12222
|
+
from?: components["parameters"]["ApiFrom"];
|
|
12223
|
+
/** @description Timestamp that sets the upper limit for the data returned. Data returned will be up to and including this time */
|
|
12224
|
+
to?: components["parameters"]["ApiTo"];
|
|
12225
|
+
/** @description Timestamp to bypass cache */
|
|
12226
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
12227
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
12228
|
+
comment?: components["parameters"]["ApiComment"];
|
|
12229
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
12230
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
12231
|
+
};
|
|
12232
|
+
header?: never;
|
|
12233
|
+
path?: never;
|
|
12234
|
+
cookie?: never;
|
|
12235
|
+
};
|
|
12236
|
+
requestBody?: never;
|
|
12237
|
+
responses: {
|
|
12238
|
+
/** @description Successful operation */
|
|
12239
|
+
200: {
|
|
12240
|
+
headers: {
|
|
12241
|
+
[name: string]: unknown;
|
|
12242
|
+
};
|
|
12243
|
+
content: {
|
|
12244
|
+
"application/json": components["schemas"]["AuctionHouseResponse"];
|
|
12245
|
+
};
|
|
12246
|
+
};
|
|
12247
|
+
};
|
|
12248
|
+
};
|
|
11947
12249
|
"422876deda064e2f3a2cc3c4bf6d73a9": {
|
|
11948
12250
|
parameters: {
|
|
11949
12251
|
query?: {
|
|
@@ -12165,7 +12467,7 @@ export interface operations {
|
|
|
12165
12467
|
/** @description Selection names */
|
|
12166
12468
|
selections?: components["schemas"]["MarketSelectionName"][];
|
|
12167
12469
|
/** @description selection id */
|
|
12168
|
-
id?: components["schemas"]["ItemId"] | components["schemas"]["PropertyTypeId"];
|
|
12470
|
+
id?: components["schemas"]["ItemId"] | components["schemas"]["AuctionListingId"] | components["schemas"]["PropertyTypeId"];
|
|
12169
12471
|
/** @description Legacy selection names for which you want or expect API v1 response */
|
|
12170
12472
|
legacy?: components["schemas"]["MarketSelectionName"][];
|
|
12171
12473
|
/** @description Category of specialized bazaars returned */
|
|
@@ -12195,7 +12497,7 @@ export interface operations {
|
|
|
12195
12497
|
[name: string]: unknown;
|
|
12196
12498
|
};
|
|
12197
12499
|
content: {
|
|
12198
|
-
"application/json": components["schemas"]["BazaarResponse"] | components["schemas"]["BazaarResponseSpecialized"] | components["schemas"]["MarketItemMarketResponse"] | components["schemas"]["MarketRentalsResponse"] | components["schemas"]["MarketPropertiesResponse"] | components["schemas"]["MarketLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
12500
|
+
"application/json": components["schemas"]["BazaarResponse"] | components["schemas"]["BazaarResponseSpecialized"] | components["schemas"]["MarketItemMarketResponse"] | components["schemas"]["MarketRentalsResponse"] | components["schemas"]["AuctionHouseResponse"] | components["schemas"]["AuctionHouseListing"] | components["schemas"]["MarketPropertiesResponse"] | components["schemas"]["MarketLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
12199
12501
|
};
|
|
12200
12502
|
};
|
|
12201
12503
|
};
|
|
@@ -12733,6 +13035,65 @@ export interface operations {
|
|
|
12733
13035
|
};
|
|
12734
13036
|
};
|
|
12735
13037
|
};
|
|
13038
|
+
a6ce3192de2a723c7eedef7951eeb258: {
|
|
13039
|
+
parameters: {
|
|
13040
|
+
query?: {
|
|
13041
|
+
/** @description Timestamp to bypass cache */
|
|
13042
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
13043
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
13044
|
+
comment?: components["parameters"]["ApiComment"];
|
|
13045
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
13046
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
13047
|
+
};
|
|
13048
|
+
header?: never;
|
|
13049
|
+
path?: never;
|
|
13050
|
+
cookie?: never;
|
|
13051
|
+
};
|
|
13052
|
+
requestBody?: never;
|
|
13053
|
+
responses: {
|
|
13054
|
+
/** @description Successful operation */
|
|
13055
|
+
200: {
|
|
13056
|
+
headers: {
|
|
13057
|
+
[name: string]: unknown;
|
|
13058
|
+
};
|
|
13059
|
+
content: {
|
|
13060
|
+
"application/json": components["schemas"]["TornEliminationTeamsResponse"];
|
|
13061
|
+
};
|
|
13062
|
+
};
|
|
13063
|
+
};
|
|
13064
|
+
};
|
|
13065
|
+
ccc5b888a920b5c707d97c29b38d6e43: {
|
|
13066
|
+
parameters: {
|
|
13067
|
+
query?: {
|
|
13068
|
+
limit?: components["parameters"]["ApiLimit100"];
|
|
13069
|
+
offset?: components["parameters"]["ApiOffsetNoDefault"];
|
|
13070
|
+
/** @description Timestamp to bypass cache */
|
|
13071
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
13072
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
13073
|
+
comment?: components["parameters"]["ApiComment"];
|
|
13074
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
13075
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
13076
|
+
};
|
|
13077
|
+
header?: never;
|
|
13078
|
+
path: {
|
|
13079
|
+
/** @description Elimination team id */
|
|
13080
|
+
id: components["schemas"]["EliminationTeamId"];
|
|
13081
|
+
};
|
|
13082
|
+
cookie?: never;
|
|
13083
|
+
};
|
|
13084
|
+
requestBody?: never;
|
|
13085
|
+
responses: {
|
|
13086
|
+
/** @description Successful operation */
|
|
13087
|
+
200: {
|
|
13088
|
+
headers: {
|
|
13089
|
+
[name: string]: unknown;
|
|
13090
|
+
};
|
|
13091
|
+
content: {
|
|
13092
|
+
"application/json": components["schemas"]["TornEliminationTeamPlayersResponse"];
|
|
13093
|
+
};
|
|
13094
|
+
};
|
|
13095
|
+
};
|
|
13096
|
+
};
|
|
12736
13097
|
"2a67e4b84813ee97a398be48e544abf5": {
|
|
12737
13098
|
parameters: {
|
|
12738
13099
|
query: {
|
|
@@ -13373,7 +13734,7 @@ export interface operations {
|
|
|
13373
13734
|
/** @description Selection names */
|
|
13374
13735
|
selections?: components["schemas"]["TornSelectionName"][];
|
|
13375
13736
|
/** @description selection id */
|
|
13376
|
-
id?: components["schemas"]["LogCategoryId"] | components["schemas"]["TornCrimeId"] | components["schemas"]["ItemUid"] | components["schemas"]["ItemId"][] | components["schemas"]["MedalId"][] | components["schemas"]["HonorId"][] | components["schemas"]["FactionTerritoryEnum"][];
|
|
13737
|
+
id?: components["schemas"]["LogCategoryId"] | components["schemas"]["TornCrimeId"] | components["schemas"]["EliminationTeamId"] | components["schemas"]["ItemUid"] | components["schemas"]["ItemId"][] | components["schemas"]["MedalId"][] | components["schemas"]["HonorId"][] | components["schemas"]["FactionTerritoryEnum"][];
|
|
13377
13738
|
/** @description Legacy selection names for which you want or expect API v1 response */
|
|
13378
13739
|
legacy?: components["schemas"]["TornSelectionName"][];
|
|
13379
13740
|
/** @description Determines if fields include HTML or not ('Hospitalized by <a href=...>user</a>' vs 'Hospitalized by user'). */
|
|
@@ -13407,7 +13768,7 @@ export interface operations {
|
|
|
13407
13768
|
[name: string]: unknown;
|
|
13408
13769
|
};
|
|
13409
13770
|
content: {
|
|
13410
|
-
"application/json": components["schemas"]["TornSubcrimesResponse"] | components["schemas"]["TornCrimesResponse"] | components["schemas"]["TornCalendarResponse"] | components["schemas"]["TornHofResponse"] | components["schemas"]["TornFactionHofResponse"] | components["schemas"]["TornLogTypesResponse"] | components["schemas"]["TornItemsResponse"] | components["schemas"]["TornLogCategoriesResponse"] | components["schemas"]["TornEducationResponse"] | components["schemas"]["TornMeritsResponse"] | components["schemas"]["TornOrganizedCrimeResponse"] | components["schemas"]["TornHonorsResponse"] | components["schemas"]["TornItemDetailsResponse"] | components["schemas"]["TornMedalsResponse"] | components["schemas"]["TornBountiesResponse"] | components["schemas"]["TornItemAmmoResponse"] | components["schemas"]["TornProperties"] | components["schemas"]["TornFactionTreeResponse"] | components["schemas"]["AttackLogResponse"] | components["schemas"]["TornTerritoriesResponse"] | components["schemas"]["TornTerritoriesNoLinksResponse"] | components["schemas"]["TornItemModsResponse"] | components["schemas"]["TornLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
13771
|
+
"application/json": components["schemas"]["TornSubcrimesResponse"] | components["schemas"]["TornCrimesResponse"] | components["schemas"]["TornCalendarResponse"] | components["schemas"]["TornHofResponse"] | components["schemas"]["TornFactionHofResponse"] | components["schemas"]["TornLogTypesResponse"] | components["schemas"]["TornItemsResponse"] | components["schemas"]["TornLogCategoriesResponse"] | components["schemas"]["TornEducationResponse"] | components["schemas"]["TornMeritsResponse"] | components["schemas"]["TornOrganizedCrimeResponse"] | components["schemas"]["TornHonorsResponse"] | components["schemas"]["TornItemDetailsResponse"] | components["schemas"]["TornEliminationTeamsResponse"] | components["schemas"]["TornEliminationTeamPlayersResponse"] | components["schemas"]["TornMedalsResponse"] | components["schemas"]["TornBountiesResponse"] | components["schemas"]["TornItemAmmoResponse"] | components["schemas"]["TornProperties"] | components["schemas"]["TornFactionTreeResponse"] | components["schemas"]["AttackLogResponse"] | components["schemas"]["TornTerritoriesResponse"] | components["schemas"]["TornTerritoriesNoLinksResponse"] | components["schemas"]["TornItemModsResponse"] | components["schemas"]["TornLookupResponse"] | components["schemas"]["TimestampResponse"];
|
|
13411
13772
|
};
|
|
13412
13773
|
};
|
|
13413
13774
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxx/torn-fetch",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"packageManager": "bun@1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"packageManager": "bun@1.3.5",
|
|
5
5
|
"description": "provides a wrapper around openapi-fetch that throws an error when Torn's API returns an error",
|
|
6
6
|
"license": "Unlicense",
|
|
7
7
|
"author": "nuxx [3054747]",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"prepack": "bun run build"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"openapi-fetch": "^0.
|
|
50
|
+
"openapi-fetch": "^0.15.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@types/bun": "
|
|
53
|
+
"@types/bun": "1.3.4",
|
|
54
54
|
"bun-plugin-dts": "^0.3.0",
|
|
55
|
-
"globals": "^16.
|
|
56
|
-
"openapi-typescript": "^7.
|
|
57
|
-
"oxfmt": "^0.
|
|
58
|
-
"oxlint": "^1.
|
|
59
|
-
"oxlint-tsgolint": "^0.
|
|
55
|
+
"globals": "^16.5.0",
|
|
56
|
+
"openapi-typescript": "^7.10.1",
|
|
57
|
+
"oxfmt": "^0.20.0",
|
|
58
|
+
"oxlint": "^1.35.0",
|
|
59
|
+
"oxlint-tsgolint": "^0.10.0",
|
|
60
60
|
"typescript": "^5.9.3",
|
|
61
|
-
"typescript-eslint": "^8.
|
|
61
|
+
"typescript-eslint": "^8.50.1"
|
|
62
62
|
},
|
|
63
63
|
"exports": {
|
|
64
64
|
".": {
|