chore(api): updated schema

This commit is contained in:
pyrite 2025-09-09 14:06:38 +02:00
parent 793e7d8b51
commit f15c44adb6
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
4 changed files with 2645 additions and 29 deletions

2
Cargo.lock generated
View file

@ -2294,7 +2294,7 @@ dependencies = [
[[package]]
name = "torn-api"
version = "1.7.3"
version = "1.7.4"
dependencies = [
"bon",
"bytes",

View file

@ -1,6 +1,6 @@
[package]
name = "torn-api"
version = "1.7.4"
version = "1.7.5"
edition = "2021"
description = "Auto-generated bindings for the v2 torn api"
license = { workspace = true }

File diff suppressed because it is too large Load diff

View file

@ -872,6 +872,18 @@ pub(super) mod test {
.list(|b| b.cat(UserListEnum::Friends))
.await
.unwrap();
client
.user()
.list(|b| b.cat(UserListEnum::Enemies))
.await
.unwrap();
client
.user()
.list(|b| b.cat(UserListEnum::Targets))
.await
.unwrap();
}
#[tokio::test]
@ -1127,6 +1139,13 @@ pub(super) mod test {
client.user().reports(|b| b).await.unwrap();
}
#[tokio::test]
async fn user_profile() {
let client = test_client().await;
client.user().profile(|b| b).await.unwrap();
}
#[tokio::test]
async fn key_info() {
let client = test_client().await;