tornapi-typescript 5.6.0 → 5.6.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 CHANGED
@@ -29,7 +29,7 @@ export type FactionStatEnum = "medicalitemsused" | "criminaloffences" | "organis
29
29
  export type FactionBranchStateEnum = "war" | "peace";
30
30
  export type RacingRaceTypeEnum = "official" | "custom";
31
31
  export type MarketSpecializedBazaarCategoryEnum = "Alcohol" | "Artifact" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Defensive" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Melee" | "Other" | "Plushie" | "Primary" | "Secondary" | "Special" | "Supply Pack" | "Temporary" | "Tool";
32
- export type FactionPositionAbilityEnum = "Medical Item Usage" | "Booster Item Usage" | "Drug Item Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Item Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes" | "Utility Item Loaning" | "Consumable Item Usage";
32
+ export type FactionPositionAbilityEnum = "Medical Usage" | "Booster Usage" | "Drug Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes" | "Utility Loaning" | "Consumable Usage" | "Medical Loaning" | "Consumable Loaning" | "Drug Loaning" | "Booster Loaning";
33
33
  export type FactionOrganizedCrimePayoutType = "balance" | "wallet" | "inventory";
34
34
  export type TornRacketType = "Item" | "Points" | "Money";
35
35
  export type FactionNewsCategory = "main" | "attack" | "armoryDeposit" | "armoryAction" | "territoryWar" | "rankedWar" | "territoryGain" | "chain" | "crime" | "membership" | "depositFunds" | "giveFunds";
package/dist/index.ts CHANGED
@@ -4397,12 +4397,12 @@ export type MarketSpecializedBazaarCategoryEnum =
4397
4397
  | "Tool";
4398
4398
 
4399
4399
  export type FactionPositionAbilityEnum =
4400
- | "Medical Item Usage"
4401
- | "Booster Item Usage"
4402
- | "Drug Item Usage"
4400
+ | "Medical Usage"
4401
+ | "Booster Usage"
4402
+ | "Drug Usage"
4403
4403
  | "Energy Refill Usage"
4404
4404
  | "Nerve Refill Usage"
4405
- | "Temporary Item Loaning"
4405
+ | "Temporary Loaning"
4406
4406
  | "Weapon & Armor Loaning"
4407
4407
  | "Item Retrieving"
4408
4408
  | "Organised Crimes"
@@ -4419,8 +4419,12 @@ export type FactionPositionAbilityEnum =
4419
4419
  | "Newsletter Sending"
4420
4420
  | "Announcement Changes"
4421
4421
  | "Description Changes"
4422
- | "Utility Item Loaning"
4423
- | "Consumable Item Usage";
4422
+ | "Utility Loaning"
4423
+ | "Consumable Usage"
4424
+ | "Medical Loaning"
4425
+ | "Consumable Loaning"
4426
+ | "Drug Loaning"
4427
+ | "Booster Loaning";
4424
4428
 
4425
4429
  export type FactionOrganizedCrimePayoutType =
4426
4430
  | "balance"
package/dist/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Torn API",
5
5
  "description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
6
- "version": "5.6.0"
6
+ "version": "5.6.1"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -14429,12 +14429,12 @@
14429
14429
  "FactionPositionAbilityEnum": {
14430
14430
  "type": "string",
14431
14431
  "enum": [
14432
- "Medical Item Usage",
14433
- "Booster Item Usage",
14434
- "Drug Item Usage",
14432
+ "Medical Usage",
14433
+ "Booster Usage",
14434
+ "Drug Usage",
14435
14435
  "Energy Refill Usage",
14436
14436
  "Nerve Refill Usage",
14437
- "Temporary Item Loaning",
14437
+ "Temporary Loaning",
14438
14438
  "Weapon & Armor Loaning",
14439
14439
  "Item Retrieving",
14440
14440
  "Organised Crimes",
@@ -14451,8 +14451,12 @@
14451
14451
  "Newsletter Sending",
14452
14452
  "Announcement Changes",
14453
14453
  "Description Changes",
14454
- "Utility Item Loaning",
14455
- "Consumable Item Usage"
14454
+ "Utility Loaning",
14455
+ "Consumable Usage",
14456
+ "Medical Loaning",
14457
+ "Consumable Loaning",
14458
+ "Drug Loaning",
14459
+ "Booster Loaning"
14456
14460
  ]
14457
14461
  },
14458
14462
  "FactionOrganizedCrimePayoutType": {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "5.6.0",
4
+ "version": "5.6.1",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@scalar/openapi-types": "^0.7.0",
10
10
  "@types/node": "^24.12.2",
11
- "prettier": "^3.8.2",
11
+ "prettier": "^3.8.3",
12
12
  "typeconv": "^2.3.1",
13
13
  "typescript": "^6.0.2"
14
14
  },