tornapi-typescript 5.5.2 → 5.5.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
@@ -7029,7 +7029,7 @@ export interface UserV2 extends BaseSchema {
7029
7029
  };
7030
7030
  trade: {
7031
7031
  response: UserTradeResponse;
7032
- params: "id" | "timestamp";
7032
+ params: "tradeId" | "timestamp";
7033
7033
  };
7034
7034
  travel: {
7035
7035
  response: UserTravelResponse;
package/dist/index.ts CHANGED
@@ -12922,7 +12922,7 @@ export interface UserV2 extends BaseSchema {
12922
12922
  };
12923
12923
  trade: {
12924
12924
  response: UserTradeResponse;
12925
- params: "id" | "timestamp";
12925
+ params: "tradeId" | "timestamp";
12926
12926
  };
12927
12927
  travel: {
12928
12928
  response: UserTravelResponse;
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.5.2"
6
+ "version": "5.5.3"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -3180,7 +3180,7 @@
3180
3180
  "operationId": "getMyDetailedTrade",
3181
3181
  "parameters": [
3182
3182
  {
3183
- "name": "id",
3183
+ "name": "tradeId",
3184
3184
  "in": "path",
3185
3185
  "description": "Trade id",
3186
3186
  "required": true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "5.5.2",
4
+ "version": "5.5.3",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },