tornapi-typescript 4.2.2 → 4.2.3

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
@@ -25,7 +25,7 @@ export type FactionStatEnum = "medicalitemsused" | "criminaloffences" | "organis
25
25
  export type FactionBranchStateEnum = "war" | "peace";
26
26
  export type RacingRaceTypeEnum = "official" | "custom";
27
27
  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";
28
- 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";
28
+ 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";
29
29
  export type FactionOrganizedCrimePayoutType = "balance" | "wallet" | "inventory";
30
30
  export type TornRacketType = "Item" | "Points" | "Money";
31
31
  export type FactionNewsCategory = "main" | "attack" | "armoryDeposit" | "armoryAction" | "territoryWar" | "rankedWar" | "territoryGain" | "chain" | "crime" | "membership" | "depositFunds" | "giveFunds";
package/dist/index.ts CHANGED
@@ -4403,7 +4403,9 @@ export type FactionPositionAbilityEnum =
4403
4403
  | "Upgrade Management"
4404
4404
  | "Newsletter Sending"
4405
4405
  | "Announcement Changes"
4406
- | "Description Changes";
4406
+ | "Description Changes"
4407
+ | "Utility Item Loaning"
4408
+ | "Consumable Item Usage";
4407
4409
 
4408
4410
  export type FactionOrganizedCrimePayoutType =
4409
4411
  | "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": "4.2.2"
6
+ "version": "4.2.3"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -13478,7 +13478,10 @@
13478
13478
  "Upgrade Management",
13479
13479
  "Newsletter Sending",
13480
13480
  "Announcement Changes",
13481
- "Description Changes"
13481
+ "Description Changes",
13482
+ "Organised Crimes",
13483
+ "Utility Item Loaning",
13484
+ "Consumable Item Usage"
13482
13485
  ]
13483
13486
  },
13484
13487
  "FactionOrganizedCrimePayoutType": {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "4.2.2",
4
+ "version": "4.2.3",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },
8
8
  "devDependencies": {
9
- "@scalar/openapi-types": "^0.4.1",
9
+ "@scalar/openapi-types": "^0.5.0",
10
10
  "@types/node": "^22.18.10",
11
11
  "prettier": "^3.6.2",
12
12
  "typeconv": "^2.3.1",