tornapi-typescript 5.7.0 → 5.7.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 +2 -1
- package/dist/index.ts +2 -1
- package/dist/openapi.json +7 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2290,6 +2290,7 @@ export interface FactionBasic {
|
|
|
2290
2290
|
name: string;
|
|
2291
2291
|
tag: string;
|
|
2292
2292
|
tag_image: string;
|
|
2293
|
+
banner_image: string;
|
|
2293
2294
|
leader_id: UserId;
|
|
2294
2295
|
co_leader_id: UserId;
|
|
2295
2296
|
respect: number;
|
|
@@ -2308,7 +2309,7 @@ export interface FactionPact {
|
|
|
2308
2309
|
faction_id: FactionId;
|
|
2309
2310
|
faction_name: string;
|
|
2310
2311
|
/** The duration until when is the non-aggression pact valid. */
|
|
2311
|
-
until:
|
|
2312
|
+
until: number;
|
|
2312
2313
|
}
|
|
2313
2314
|
export interface FactionRankedWarParticipant {
|
|
2314
2315
|
id: FactionId;
|
package/dist/index.ts
CHANGED
|
@@ -7920,6 +7920,7 @@ export interface FactionBasic {
|
|
|
7920
7920
|
name: string;
|
|
7921
7921
|
tag: string;
|
|
7922
7922
|
tag_image: string;
|
|
7923
|
+
banner_image: string;
|
|
7923
7924
|
leader_id: UserId;
|
|
7924
7925
|
co_leader_id: UserId;
|
|
7925
7926
|
respect: number;
|
|
@@ -7940,7 +7941,7 @@ export interface FactionPact {
|
|
|
7940
7941
|
faction_id: FactionId;
|
|
7941
7942
|
faction_name: string;
|
|
7942
7943
|
/** The duration until when is the non-aggression pact valid. */
|
|
7943
|
-
until:
|
|
7944
|
+
until: number;
|
|
7944
7945
|
}
|
|
7945
7946
|
|
|
7946
7947
|
export interface FactionRankedWarParticipant {
|
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.7.
|
|
6
|
+
"version": "5.7.1"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -26129,6 +26129,7 @@
|
|
|
26129
26129
|
"name",
|
|
26130
26130
|
"tag",
|
|
26131
26131
|
"tag_image",
|
|
26132
|
+
"banner_image",
|
|
26132
26133
|
"leader_id",
|
|
26133
26134
|
"co_leader_id",
|
|
26134
26135
|
"respect",
|
|
@@ -26152,6 +26153,9 @@
|
|
|
26152
26153
|
"tag_image": {
|
|
26153
26154
|
"type": "string"
|
|
26154
26155
|
},
|
|
26156
|
+
"banner_image": {
|
|
26157
|
+
"type": "string"
|
|
26158
|
+
},
|
|
26155
26159
|
"leader_id": {
|
|
26156
26160
|
"$ref": "#/components/schemas/UserId"
|
|
26157
26161
|
},
|
|
@@ -26224,7 +26228,8 @@
|
|
|
26224
26228
|
},
|
|
26225
26229
|
"until": {
|
|
26226
26230
|
"description": "The duration until when is the non-aggression pact valid.",
|
|
26227
|
-
"type": "
|
|
26231
|
+
"type": "integer",
|
|
26232
|
+
"format": "int32"
|
|
26228
26233
|
}
|
|
26229
26234
|
},
|
|
26230
26235
|
"type": "object"
|