@nuxx/torn-fetch 1.1.0 → 1.1.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 +190 -26
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -3114,6 +3114,46 @@ export interface paths {
|
|
|
3114
3114
|
patch?: never;
|
|
3115
3115
|
trace?: never;
|
|
3116
3116
|
};
|
|
3117
|
+
"/torn/elimination": {
|
|
3118
|
+
parameters: {
|
|
3119
|
+
query?: never;
|
|
3120
|
+
header?: never;
|
|
3121
|
+
path?: never;
|
|
3122
|
+
cookie?: never;
|
|
3123
|
+
};
|
|
3124
|
+
/**
|
|
3125
|
+
* Get current standings for all elimination teams
|
|
3126
|
+
* @description Requires public key.
|
|
3127
|
+
*/
|
|
3128
|
+
get: operations["a6ce3192de2a723c7eedef7951eeb258"];
|
|
3129
|
+
put?: never;
|
|
3130
|
+
post?: never;
|
|
3131
|
+
delete?: never;
|
|
3132
|
+
options?: never;
|
|
3133
|
+
head?: never;
|
|
3134
|
+
patch?: never;
|
|
3135
|
+
trace?: never;
|
|
3136
|
+
};
|
|
3137
|
+
"/torn/{id}/eliminationteam": {
|
|
3138
|
+
parameters: {
|
|
3139
|
+
query?: never;
|
|
3140
|
+
header?: never;
|
|
3141
|
+
path?: never;
|
|
3142
|
+
cookie?: never;
|
|
3143
|
+
};
|
|
3144
|
+
/**
|
|
3145
|
+
* Get players in a specific elimination team
|
|
3146
|
+
* @description Requires public key.
|
|
3147
|
+
*/
|
|
3148
|
+
get: operations["ccc5b888a920b5c707d97c29b38d6e43"];
|
|
3149
|
+
put?: never;
|
|
3150
|
+
post?: never;
|
|
3151
|
+
delete?: never;
|
|
3152
|
+
options?: never;
|
|
3153
|
+
head?: never;
|
|
3154
|
+
patch?: never;
|
|
3155
|
+
trace?: never;
|
|
3156
|
+
};
|
|
3117
3157
|
"/torn/factionhof": {
|
|
3118
3158
|
parameters: {
|
|
3119
3159
|
query?: never;
|
|
@@ -3726,6 +3766,8 @@ export interface components {
|
|
|
3726
3766
|
UserId: number;
|
|
3727
3767
|
DiscordId: string;
|
|
3728
3768
|
UserDiscordPathId: components["schemas"]["UserId"] | components["schemas"]["DiscordId"];
|
|
3769
|
+
/** Format: int32 */
|
|
3770
|
+
EliminationTeamId: number;
|
|
3729
3771
|
/** Format: int64 */
|
|
3730
3772
|
UserMessageId: number;
|
|
3731
3773
|
UserEventId: string;
|
|
@@ -4961,7 +5003,7 @@ export interface components {
|
|
|
4961
5003
|
rewards: components["schemas"]["UserCrimeRewards"];
|
|
4962
5004
|
attempts: components["schemas"]["UserCrimeAttempts"];
|
|
4963
5005
|
uniques: components["schemas"]["UserCrimeUniques"][];
|
|
4964
|
-
/** @description
|
|
5006
|
+
/** @description Miscellaneous stats for specific crime. Results differ based on the cat id. */
|
|
4965
5007
|
miscellaneous: components["schemas"]["UserCrimeDetailsBootlegging"] | components["schemas"]["UserCrimeDetailsGraffiti"] | components["schemas"]["UserCrimeDetailsShoplifting"] | components["schemas"]["UserCrimeDetailsCardSkimming"] | components["schemas"]["UserCrimeDetailsHustling"] | components["schemas"]["UserCrimeDetailsCracking"] | components["schemas"]["UserCrimeDetailsScamming"] | null;
|
|
4966
5008
|
};
|
|
4967
5009
|
UserRacesResponse: {
|
|
@@ -7446,6 +7488,47 @@ export interface components {
|
|
|
7446
7488
|
PropertyLookupResponse: {
|
|
7447
7489
|
selections: components["schemas"]["PropertySelectionName"][];
|
|
7448
7490
|
};
|
|
7491
|
+
TornEliminationTeamLeader: components["schemas"]["BasicUser"] & {
|
|
7492
|
+
active: boolean;
|
|
7493
|
+
};
|
|
7494
|
+
TornEliminationTeam: {
|
|
7495
|
+
id: components["schemas"]["EliminationTeamId"];
|
|
7496
|
+
name: string;
|
|
7497
|
+
/** Format: int32 */
|
|
7498
|
+
participants: number;
|
|
7499
|
+
/** Format: int32 */
|
|
7500
|
+
position: number;
|
|
7501
|
+
/** Format: int32 */
|
|
7502
|
+
score: number;
|
|
7503
|
+
/** Format: int32 */
|
|
7504
|
+
lives: number;
|
|
7505
|
+
/** Format: int32 */
|
|
7506
|
+
wins: number;
|
|
7507
|
+
/** Format: int32 */
|
|
7508
|
+
losses: number;
|
|
7509
|
+
eliminated: boolean;
|
|
7510
|
+
eliminated_timestamp: number | null;
|
|
7511
|
+
leaders: components["schemas"]["TornEliminationTeamLeader"][];
|
|
7512
|
+
};
|
|
7513
|
+
TornEliminationTeamsResponse: {
|
|
7514
|
+
elimination: components["schemas"]["TornEliminationTeam"][];
|
|
7515
|
+
};
|
|
7516
|
+
TornEliminationTeamPlayer: {
|
|
7517
|
+
id: components["schemas"]["UserId"];
|
|
7518
|
+
name: string;
|
|
7519
|
+
/** Format: int32 */
|
|
7520
|
+
level: number;
|
|
7521
|
+
last_action: components["schemas"]["UserLastAction"];
|
|
7522
|
+
status: components["schemas"]["UserStatus"];
|
|
7523
|
+
/** Format: int32 */
|
|
7524
|
+
attacks: number;
|
|
7525
|
+
/** Format: int32 */
|
|
7526
|
+
score: number;
|
|
7527
|
+
};
|
|
7528
|
+
TornEliminationTeamPlayersResponse: {
|
|
7529
|
+
eliminationteam: components["schemas"]["TornEliminationTeamPlayer"][];
|
|
7530
|
+
_metadata: components["schemas"]["RequestMetadataWithLinks"];
|
|
7531
|
+
};
|
|
7449
7532
|
TornItemDetails: components["schemas"]["ItemMarketListingItemDetails"] & {
|
|
7450
7533
|
id: components["schemas"]["ItemId"];
|
|
7451
7534
|
name: string;
|
|
@@ -7896,7 +7979,7 @@ export interface components {
|
|
|
7896
7979
|
TornFactionTreeResponse: {
|
|
7897
7980
|
factionTree: components["schemas"]["TornFactionTree"][];
|
|
7898
7981
|
};
|
|
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;
|
|
7982
|
+
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
7983
|
TornLookupResponse: {
|
|
7901
7984
|
selections: components["schemas"]["TornSelectionName"][];
|
|
7902
7985
|
};
|
|
@@ -7913,21 +7996,25 @@ export interface components {
|
|
|
7913
7996
|
ApiKeyFull: string;
|
|
7914
7997
|
/** @description Timestamp to bypass cache */
|
|
7915
7998
|
ApiTimestamp: string;
|
|
7916
|
-
/**
|
|
7917
|
-
*
|
|
7999
|
+
/**
|
|
8000
|
+
* @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.
|
|
8001
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8002
|
+
*/
|
|
7918
8003
|
ApiFiltersIncomingOutgoing: components["schemas"]["ApiFiltersAttacksRevivesEnum"][];
|
|
7919
8004
|
/** @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
8005
|
ApiFiltersUser: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
|
|
7921
8006
|
/** @description It's possible to use this query parameter to filter properties by the key owner or their spouse. */
|
|
7922
8007
|
ApiFiltersUserProperties: "ownedByUser" | "ownedBySpouse";
|
|
7923
|
-
/**
|
|
8008
|
+
/**
|
|
8009
|
+
* @description A filtering query parameter allowing a comma-separated list of filters. <br>
|
|
7924
8010
|
* * Each filter can be one of the following:
|
|
7925
8011
|
* * Fixed options: 'destroyed', 'notDestroyed', 'recruiting', 'notRecruiting'
|
|
7926
8012
|
* * Dynamic options: `fieldName`+`condition`+`number`, where:
|
|
7927
8013
|
* * * `fieldName` is one of: `id`, `respect`, `members`
|
|
7928
8014
|
* * * `condition` is one of: `Equal`, `NotEqual`, `Less`, `LessOrEqual`, `GreaterOrEqual`, `Greater`
|
|
7929
8015
|
* * * `number`: any integer value
|
|
7930
|
-
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
8016
|
+
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
8017
|
+
*/
|
|
7931
8018
|
ApiFactionSearchFilter: (("destroyed" | "notDestroyed" | "recruiting" | "notRecruiting") | string)[];
|
|
7932
8019
|
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
7933
8020
|
ApiComment: string;
|
|
@@ -7999,8 +8086,10 @@ export interface operations {
|
|
|
7999
8086
|
"3acc98a3016974b786cb01e04e1ced04": {
|
|
8000
8087
|
parameters: {
|
|
8001
8088
|
query?: {
|
|
8002
|
-
/**
|
|
8003
|
-
*
|
|
8089
|
+
/**
|
|
8090
|
+
* @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.
|
|
8091
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8092
|
+
*/
|
|
8004
8093
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
8005
8094
|
limit?: components["parameters"]["ApiLimit100"];
|
|
8006
8095
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -8036,8 +8125,10 @@ export interface operations {
|
|
|
8036
8125
|
e995691fd9845c8b4a91f065ac9c8420: {
|
|
8037
8126
|
parameters: {
|
|
8038
8127
|
query?: {
|
|
8039
|
-
/**
|
|
8040
|
-
*
|
|
8128
|
+
/**
|
|
8129
|
+
* @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.
|
|
8130
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
8131
|
+
*/
|
|
8041
8132
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
8042
8133
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
8043
8134
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -9817,8 +9908,10 @@ export interface operations {
|
|
|
9817
9908
|
"3c847eb1325040798f37a7492108e094": {
|
|
9818
9909
|
parameters: {
|
|
9819
9910
|
query?: {
|
|
9820
|
-
/**
|
|
9821
|
-
*
|
|
9911
|
+
/**
|
|
9912
|
+
* @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.
|
|
9913
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
9914
|
+
*/
|
|
9822
9915
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
9823
9916
|
limit?: components["parameters"]["ApiLimit100Default20"];
|
|
9824
9917
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -9856,8 +9949,10 @@ export interface operations {
|
|
|
9856
9949
|
"8820cd889afde899353037ca5a0f9a07": {
|
|
9857
9950
|
parameters: {
|
|
9858
9951
|
query?: {
|
|
9859
|
-
/**
|
|
9860
|
-
*
|
|
9952
|
+
/**
|
|
9953
|
+
* @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.
|
|
9954
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
9955
|
+
*/
|
|
9861
9956
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
9862
9957
|
limit?: components["parameters"]["ApiLimit1000Default20"];
|
|
9863
9958
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -10160,8 +10255,10 @@ export interface operations {
|
|
|
10160
10255
|
cb5b38ba64c389e706526df8bc8af9b6: {
|
|
10161
10256
|
parameters: {
|
|
10162
10257
|
query?: {
|
|
10163
|
-
/**
|
|
10164
|
-
*
|
|
10258
|
+
/**
|
|
10259
|
+
* @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.
|
|
10260
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10261
|
+
*/
|
|
10165
10262
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
10166
10263
|
limit?: components["parameters"]["ApiLimit100"];
|
|
10167
10264
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -10197,8 +10294,10 @@ export interface operations {
|
|
|
10197
10294
|
"8551280aaaf9819aa94be5c469a523de": {
|
|
10198
10295
|
parameters: {
|
|
10199
10296
|
query?: {
|
|
10200
|
-
/**
|
|
10201
|
-
*
|
|
10297
|
+
/**
|
|
10298
|
+
* @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.
|
|
10299
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
10300
|
+
*/
|
|
10202
10301
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
10203
10302
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
10204
10303
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -11045,8 +11144,10 @@ export interface operations {
|
|
|
11045
11144
|
"486fcda26ed1aa6aba8ec7091080723b": {
|
|
11046
11145
|
parameters: {
|
|
11047
11146
|
query?: {
|
|
11048
|
-
/**
|
|
11049
|
-
*
|
|
11147
|
+
/**
|
|
11148
|
+
* @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.
|
|
11149
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
11150
|
+
*/
|
|
11050
11151
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
11051
11152
|
limit?: components["parameters"]["ApiLimit100"];
|
|
11052
11153
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -11084,8 +11185,10 @@ export interface operations {
|
|
|
11084
11185
|
f17a4064779e8de5200238816c233c02: {
|
|
11085
11186
|
parameters: {
|
|
11086
11187
|
query?: {
|
|
11087
|
-
/**
|
|
11088
|
-
*
|
|
11188
|
+
/**
|
|
11189
|
+
* @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.
|
|
11190
|
+
* It's also possible to combine this with 'idFilter'. This filter allows using from/to to filter by ids instead of timestamps.
|
|
11191
|
+
*/
|
|
11089
11192
|
filters?: components["parameters"]["ApiFiltersIncomingOutgoing"];
|
|
11090
11193
|
limit?: components["parameters"]["ApiLimit1000"];
|
|
11091
11194
|
/** @description Sorted by the greatest timestamps */
|
|
@@ -11125,14 +11228,16 @@ export interface operations {
|
|
|
11125
11228
|
query?: {
|
|
11126
11229
|
/** @description Name to search for. */
|
|
11127
11230
|
name?: components["parameters"]["ApiName"];
|
|
11128
|
-
/**
|
|
11231
|
+
/**
|
|
11232
|
+
* @description A filtering query parameter allowing a comma-separated list of filters. <br>
|
|
11129
11233
|
* * Each filter can be one of the following:
|
|
11130
11234
|
* * Fixed options: 'destroyed', 'notDestroyed', 'recruiting', 'notRecruiting'
|
|
11131
11235
|
* * Dynamic options: `fieldName`+`condition`+`number`, where:
|
|
11132
11236
|
* * * `fieldName` is one of: `id`, `respect`, `members`
|
|
11133
11237
|
* * * `condition` is one of: `Equal`, `NotEqual`, `Less`, `LessOrEqual`, `GreaterOrEqual`, `Greater`
|
|
11134
11238
|
* * * `number`: any integer value
|
|
11135
|
-
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
11239
|
+
* * Examples: `filters=destroyed`, `filters=notDestroyed,recruiting`, `filters=respectLessOrEqual20000,idGreater100,notRecruiting`
|
|
11240
|
+
*/
|
|
11136
11241
|
filters?: components["parameters"]["ApiFactionSearchFilter"];
|
|
11137
11242
|
limit?: components["parameters"]["ApiLimit50Default20"];
|
|
11138
11243
|
offset?: components["parameters"]["ApiOffset"];
|
|
@@ -12733,6 +12838,65 @@ export interface operations {
|
|
|
12733
12838
|
};
|
|
12734
12839
|
};
|
|
12735
12840
|
};
|
|
12841
|
+
a6ce3192de2a723c7eedef7951eeb258: {
|
|
12842
|
+
parameters: {
|
|
12843
|
+
query?: {
|
|
12844
|
+
/** @description Timestamp to bypass cache */
|
|
12845
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
12846
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
12847
|
+
comment?: components["parameters"]["ApiComment"];
|
|
12848
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
12849
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
12850
|
+
};
|
|
12851
|
+
header?: never;
|
|
12852
|
+
path?: never;
|
|
12853
|
+
cookie?: never;
|
|
12854
|
+
};
|
|
12855
|
+
requestBody?: never;
|
|
12856
|
+
responses: {
|
|
12857
|
+
/** @description Successful operation */
|
|
12858
|
+
200: {
|
|
12859
|
+
headers: {
|
|
12860
|
+
[name: string]: unknown;
|
|
12861
|
+
};
|
|
12862
|
+
content: {
|
|
12863
|
+
"application/json": components["schemas"]["TornEliminationTeamsResponse"];
|
|
12864
|
+
};
|
|
12865
|
+
};
|
|
12866
|
+
};
|
|
12867
|
+
};
|
|
12868
|
+
ccc5b888a920b5c707d97c29b38d6e43: {
|
|
12869
|
+
parameters: {
|
|
12870
|
+
query?: {
|
|
12871
|
+
limit?: components["parameters"]["ApiLimit100"];
|
|
12872
|
+
offset?: components["parameters"]["ApiOffsetNoDefault"];
|
|
12873
|
+
/** @description Timestamp to bypass cache */
|
|
12874
|
+
timestamp?: components["parameters"]["ApiTimestamp"];
|
|
12875
|
+
/** @description Comment for your tool/service/bot/website to be visible in the logs. */
|
|
12876
|
+
comment?: components["parameters"]["ApiComment"];
|
|
12877
|
+
/** @description API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. */
|
|
12878
|
+
key?: components["parameters"]["ApiKeyPublic"];
|
|
12879
|
+
};
|
|
12880
|
+
header?: never;
|
|
12881
|
+
path: {
|
|
12882
|
+
/** @description Elimination team id */
|
|
12883
|
+
id: components["schemas"]["EliminationTeamId"];
|
|
12884
|
+
};
|
|
12885
|
+
cookie?: never;
|
|
12886
|
+
};
|
|
12887
|
+
requestBody?: never;
|
|
12888
|
+
responses: {
|
|
12889
|
+
/** @description Successful operation */
|
|
12890
|
+
200: {
|
|
12891
|
+
headers: {
|
|
12892
|
+
[name: string]: unknown;
|
|
12893
|
+
};
|
|
12894
|
+
content: {
|
|
12895
|
+
"application/json": components["schemas"]["TornEliminationTeamPlayersResponse"];
|
|
12896
|
+
};
|
|
12897
|
+
};
|
|
12898
|
+
};
|
|
12899
|
+
};
|
|
12736
12900
|
"2a67e4b84813ee97a398be48e544abf5": {
|
|
12737
12901
|
parameters: {
|
|
12738
12902
|
query: {
|
|
@@ -13373,7 +13537,7 @@ export interface operations {
|
|
|
13373
13537
|
/** @description Selection names */
|
|
13374
13538
|
selections?: components["schemas"]["TornSelectionName"][];
|
|
13375
13539
|
/** @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"][];
|
|
13540
|
+
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
13541
|
/** @description Legacy selection names for which you want or expect API v1 response */
|
|
13378
13542
|
legacy?: components["schemas"]["TornSelectionName"][];
|
|
13379
13543
|
/** @description Determines if fields include HTML or not ('Hospitalized by <a href=...>user</a>' vs 'Hospitalized by user'). */
|
|
@@ -13407,7 +13571,7 @@ export interface operations {
|
|
|
13407
13571
|
[name: string]: unknown;
|
|
13408
13572
|
};
|
|
13409
13573
|
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"];
|
|
13574
|
+
"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
13575
|
};
|
|
13412
13576
|
};
|
|
13413
13577
|
};
|
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.1",
|
|
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
|
".": {
|