tornapi-typescript 6.0.3 → 6.0.4

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
@@ -755,6 +755,10 @@ export interface UserCooldownsResponse {
755
755
  export interface UserBar {
756
756
  current: number;
757
757
  maximum: number;
758
+ increment: number;
759
+ interval: number;
760
+ tick_time: number;
761
+ full_time: number;
758
762
  }
759
763
  export interface UserBars {
760
764
  energy: UserBar;
package/dist/index.ts CHANGED
@@ -5816,6 +5816,10 @@ export interface UserCooldownsResponse {
5816
5816
  export interface UserBar {
5817
5817
  current: number;
5818
5818
  maximum: number;
5819
+ increment: number;
5820
+ interval: number;
5821
+ tick_time: number;
5822
+ full_time: number;
5819
5823
  }
5820
5824
 
5821
5825
  export interface UserBars {
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": "6.0.3"
6
+ "version": "6.0.4"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -2380,7 +2380,7 @@
2380
2380
  "tags": [
2381
2381
  "User"
2382
2382
  ],
2383
- "summary": "Get available slots for organized crimes with status 'Recruiting'",
2383
+ "summary": "Get your available slots for organized crimes with status 'Recruiting'",
2384
2384
  "description": "Requires minimal access key. <br>Unlike 'faction' -> 'crimes', this selection only shows empty slots, and only for crimes with the 'Recruiting' status.",
2385
2385
  "operationId": "getMyAvailableOrganizedCrimes",
2386
2386
  "parameters": [
@@ -2851,7 +2851,7 @@
2851
2851
  "tags": [
2852
2852
  "User"
2853
2853
  ],
2854
- "summary": "Get user races",
2854
+ "summary": "Get your races",
2855
2855
  "description": "Requires minimal access key. <br>Returns a list of user races, ordered by race start timestamp.",
2856
2856
  "operationId": "getMyRaces",
2857
2857
  "parameters": [
@@ -19298,7 +19298,11 @@
19298
19298
  "UserBar": {
19299
19299
  "required": [
19300
19300
  "current",
19301
- "maximum"
19301
+ "maximum",
19302
+ "increment",
19303
+ "interval",
19304
+ "tick_time",
19305
+ "full_time"
19302
19306
  ],
19303
19307
  "properties": {
19304
19308
  "current": {
@@ -19308,6 +19312,22 @@
19308
19312
  "maximum": {
19309
19313
  "type": "integer",
19310
19314
  "format": "int32"
19315
+ },
19316
+ "increment": {
19317
+ "type": "integer",
19318
+ "format": "int32"
19319
+ },
19320
+ "interval": {
19321
+ "type": "integer",
19322
+ "format": "int32"
19323
+ },
19324
+ "tick_time": {
19325
+ "type": "integer",
19326
+ "format": "int32"
19327
+ },
19328
+ "full_time": {
19329
+ "type": "integer",
19330
+ "format": "int32"
19311
19331
  }
19312
19332
  },
19313
19333
  "type": "object"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "6.0.3",
4
+ "version": "6.0.4",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/Torn-Playground/tornapi-typescript.git"
7
7
  },