tornapi-typescript 6.2.0 → 6.3.0

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
@@ -7280,6 +7280,10 @@ export interface UserV2 extends BaseSchema {
7280
7280
  response: UserSkillsResponse;
7281
7281
  params: "timestamp";
7282
7282
  };
7283
+ snapshot: {
7284
+ response: null;
7285
+ params: "timestamp";
7286
+ };
7283
7287
  stocks: {
7284
7288
  response: UserStocksResponse;
7285
7289
  params: "timestamp";
package/dist/index.ts CHANGED
@@ -13189,6 +13189,10 @@ export interface UserV2 extends BaseSchema {
13189
13189
  response: UserSkillsResponse;
13190
13190
  params: "timestamp";
13191
13191
  };
13192
+ snapshot: {
13193
+ response: null;
13194
+ params: "timestamp";
13195
+ };
13192
13196
  stocks: {
13193
13197
  response: UserStocksResponse;
13194
13198
  params: "timestamp";
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.2.0"
6
+ "version": "6.3.0"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -3203,6 +3203,46 @@
3203
3203
  "x-stability": "Stable"
3204
3204
  }
3205
3205
  },
3206
+ "/user/snapshot": {
3207
+ "get": {
3208
+ "tags": [
3209
+ "User"
3210
+ ],
3211
+ "summary": "Get daily active players snapshot CSV",
3212
+ "description": "Requires public access key.<br>Returns a CSV daily snapshot of active players.<br>This selection is standalone and cannot be used together with other selections.<br>\nCSV columns: id, name, gender, role, signed_up, last_action, level, rank, donator, networth, faction, company, spouse, display_case, bazaar, location, fed, fed_reason",
3213
+ "operationId": "getUsersSnapshot",
3214
+ "parameters": [
3215
+ {
3216
+ "$ref": "#/components/parameters/ApiTimestamp"
3217
+ },
3218
+ {
3219
+ "$ref": "#/components/parameters/ApiComment"
3220
+ },
3221
+ {
3222
+ "$ref": "#/components/parameters/ApiKeyPublic"
3223
+ }
3224
+ ],
3225
+ "responses": {
3226
+ "200": {
3227
+ "description": "Successful CSV response",
3228
+ "content": {
3229
+ "text/csv": {
3230
+ "schema": {
3231
+ "type": "string",
3232
+ "example": "id,name,gender,role,signed_up,last_action,level,rank,donator,networth,faction,company,spouse,display_case,bazaar,location,fed,fed_reason\\n33,1,Chedburn,Male,Admin,1100521336,1785154349,15,Outstanding,1,299829600590,40992,79286,2103253,1,1,Torn,0,"
3233
+ }
3234
+ }
3235
+ }
3236
+ }
3237
+ },
3238
+ "security": [
3239
+ {
3240
+ "api_key": []
3241
+ }
3242
+ ],
3243
+ "x-stability": "Unstable"
3244
+ }
3245
+ },
3206
3246
  "/user/stocks": {
3207
3247
  "get": {
3208
3248
  "tags": [
@@ -22596,6 +22636,7 @@
22596
22636
  "revives",
22597
22637
  "revivesfull",
22598
22638
  "skills",
22639
+ "snapshot",
22599
22640
  "stocks",
22600
22641
  "trades",
22601
22642
  "trade",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "6.2.0",
4
+ "version": "6.3.0",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/Torn-Playground/tornapi-typescript.git"
7
7
  },