tornapi-typescript 3.0.0 → 3.0.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
@@ -360,6 +360,7 @@ export interface UserPropertyDetailsExtendedRented extends UserPropertyBasicDeta
360
360
  cost_per_day: number;
361
361
  rental_period: number;
362
362
  rental_period_remaining: number;
363
+ rented_by: BasicUser;
363
364
  }
364
365
  export interface UserPropertyDetailsExtendedForRent extends UserPropertyBasicDetails {
365
366
  used_by: BasicUser[];
package/dist/index.ts CHANGED
@@ -5117,6 +5117,7 @@ export interface UserPropertyDetailsExtendedRented
5117
5117
  cost_per_day: number;
5118
5118
  rental_period: number;
5119
5119
  rental_period_remaining: number;
5120
+ rented_by: BasicUser;
5120
5121
  }
5121
5122
 
5122
5123
  export interface UserPropertyDetailsExtendedForRent
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": "3.0.0"
6
+ "version": "3.0.1"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -13570,6 +13570,7 @@
13570
13570
  {
13571
13571
  "required": [
13572
13572
  "status",
13573
+ "rented_by",
13573
13574
  "used_by",
13574
13575
  "cost",
13575
13576
  "cost_per_day",
@@ -13604,6 +13605,9 @@
13604
13605
  "rental_period_remaining": {
13605
13606
  "type": "integer",
13606
13607
  "format": "int32"
13608
+ },
13609
+ "rented_by": {
13610
+ "$ref": "#/components/schemas/BasicUser"
13607
13611
  }
13608
13612
  },
13609
13613
  "type": "object"
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },
8
8
  "devDependencies": {
9
- "@scalar/openapi-types": "^0.3.5",
10
- "@types/node": "^22.16.4",
9
+ "@scalar/openapi-types": "^0.3.6",
10
+ "@types/node": "^22.16.5",
11
11
  "prettier": "^3.6.2",
12
12
  "typeconv": "^2.3.1",
13
13
  "typescript": "^5.8.3"