mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
core: bump openapitools/openapi-generator-cli from v7.20.0 to v7.23.0 in /packages/client-rust (#22574)
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Generated
+1
@@ -12,6 +12,7 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
aws-lc-rs.workspace = true
|
||||
chrono.workspace = true
|
||||
serde.workspace = true
|
||||
serde_with.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
||||
Generated
+1
-1
@@ -1,7 +1,7 @@
|
||||
---
|
||||
services:
|
||||
gen:
|
||||
image: docker.io/openapitools/openapi-generator-cli:v7.20.0
|
||||
image: docker.io/openapitools/openapi-generator-cli:v7.23.0
|
||||
restart: never
|
||||
network_mode: none
|
||||
volumes:
|
||||
|
||||
+9
-9
@@ -385,9 +385,9 @@ pub async fn core_groups_list(
|
||||
pub async fn core_users_list(
|
||||
configuration: &configuration::Configuration,
|
||||
attributes: Option<&str>,
|
||||
date_joined: Option<String>,
|
||||
date_joined__gt: Option<String>,
|
||||
date_joined__lt: Option<String>,
|
||||
date_joined: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
date_joined__gt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
date_joined__lt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
email: Option<&str>,
|
||||
groups_by_name: Option<Vec<String>>,
|
||||
groups_by_pk: Option<Vec<uuid::Uuid>>,
|
||||
@@ -395,13 +395,13 @@ pub async fn core_users_list(
|
||||
include_roles: Option<bool>,
|
||||
is_active: Option<bool>,
|
||||
is_superuser: Option<bool>,
|
||||
last_login: Option<String>,
|
||||
last_login__gt: Option<String>,
|
||||
last_login: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
last_login__gt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
last_login__isnull: Option<bool>,
|
||||
last_login__lt: Option<String>,
|
||||
last_updated: Option<String>,
|
||||
last_updated__gt: Option<String>,
|
||||
last_updated__lt: Option<String>,
|
||||
last_login__lt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
last_updated: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
last_updated__gt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
last_updated__lt: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
name: Option<&str>,
|
||||
ordering: Option<&str>,
|
||||
page: Option<i32>,
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ pub struct CertificateKeyPair {
|
||||
pub fingerprint_sha1: Option<String>,
|
||||
/// Certificate expiry date
|
||||
#[serde(rename = "cert_expiry", deserialize_with = "Option::deserialize")]
|
||||
pub cert_expiry: Option<String>,
|
||||
pub cert_expiry: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
/// Certificate subject as RFC4514 string
|
||||
#[serde(rename = "cert_subject", deserialize_with = "Option::deserialize")]
|
||||
pub cert_subject: Option<String>,
|
||||
@@ -58,7 +58,7 @@ impl CertificateKeyPair {
|
||||
name: String,
|
||||
fingerprint_sha256: Option<String>,
|
||||
fingerprint_sha1: Option<String>,
|
||||
cert_expiry: Option<String>,
|
||||
cert_expiry: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
cert_subject: Option<String>,
|
||||
private_key_available: bool,
|
||||
key_type: Option<models::CertificateKeyPairKeyTypeEnum>,
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ pub struct DeviceChallenge {
|
||||
#[serde(rename = "challenge")]
|
||||
pub challenge: std::collections::HashMap<String, serde_json::Value>,
|
||||
#[serde(rename = "last_used", deserialize_with = "Option::deserialize")]
|
||||
pub last_used: Option<String>,
|
||||
pub last_used: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
}
|
||||
|
||||
impl DeviceChallenge {
|
||||
@@ -29,7 +29,7 @@ impl DeviceChallenge {
|
||||
device_class: models::DeviceClassesEnum,
|
||||
device_uid: String,
|
||||
challenge: std::collections::HashMap<String, serde_json::Value>,
|
||||
last_used: Option<String>,
|
||||
last_used: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
) -> DeviceChallenge {
|
||||
DeviceChallenge {
|
||||
device_class,
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ pub struct DeviceChallengeRequest {
|
||||
#[serde(rename = "challenge")]
|
||||
pub challenge: std::collections::HashMap<String, serde_json::Value>,
|
||||
#[serde(rename = "last_used", deserialize_with = "Option::deserialize")]
|
||||
pub last_used: Option<String>,
|
||||
pub last_used: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
}
|
||||
|
||||
impl DeviceChallengeRequest {
|
||||
@@ -29,7 +29,7 @@ impl DeviceChallengeRequest {
|
||||
device_class: models::DeviceClassesEnum,
|
||||
device_uid: String,
|
||||
challenge: std::collections::HashMap<String, serde_json::Value>,
|
||||
last_used: Option<String>,
|
||||
last_used: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
) -> DeviceChallengeRequest {
|
||||
DeviceChallengeRequest {
|
||||
device_class,
|
||||
|
||||
Generated
+3
-3
@@ -31,9 +31,9 @@ pub struct Event {
|
||||
)]
|
||||
pub client_ip: Option<Option<String>>,
|
||||
#[serde(rename = "created")]
|
||||
pub created: String,
|
||||
pub created: chrono::DateTime<chrono::FixedOffset>,
|
||||
#[serde(rename = "expires", skip_serializing_if = "Option::is_none")]
|
||||
pub expires: Option<String>,
|
||||
pub expires: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
#[serde(rename = "brand", skip_serializing_if = "Option::is_none")]
|
||||
pub brand: Option<std::collections::HashMap<String, serde_json::Value>>,
|
||||
}
|
||||
@@ -44,7 +44,7 @@ impl Event {
|
||||
pk: uuid::Uuid,
|
||||
action: models::EventActions,
|
||||
app: String,
|
||||
created: String,
|
||||
created: chrono::DateTime<chrono::FixedOffset>,
|
||||
) -> Event {
|
||||
Event {
|
||||
pk,
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ pub struct EventRequest {
|
||||
)]
|
||||
pub client_ip: Option<Option<String>>,
|
||||
#[serde(rename = "expires", skip_serializing_if = "Option::is_none")]
|
||||
pub expires: Option<String>,
|
||||
pub expires: Option<chrono::DateTime<chrono::FixedOffset>>,
|
||||
#[serde(rename = "brand", skip_serializing_if = "Option::is_none")]
|
||||
pub brand: Option<std::collections::HashMap<String, serde_json::Value>>,
|
||||
}
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ use crate::models;
|
||||
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct LogEvent {
|
||||
#[serde(rename = "timestamp")]
|
||||
pub timestamp: String,
|
||||
pub timestamp: chrono::DateTime<chrono::FixedOffset>,
|
||||
#[serde(rename = "log_level")]
|
||||
pub log_level: models::LogLevelEnum,
|
||||
#[serde(rename = "logger")]
|
||||
@@ -28,7 +28,7 @@ pub struct LogEvent {
|
||||
impl LogEvent {
|
||||
/// Single log message with all context logged.
|
||||
pub fn new(
|
||||
timestamp: String,
|
||||
timestamp: chrono::DateTime<chrono::FixedOffset>,
|
||||
log_level: models::LogLevelEnum,
|
||||
logger: String,
|
||||
event: String,
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ pub struct PartialUser {
|
||||
with = "::serde_with::rust::double_option",
|
||||
skip_serializing_if = "Option::is_none"
|
||||
)]
|
||||
pub last_login: Option<Option<String>>,
|
||||
pub last_login: Option<Option<chrono::DateTime<chrono::FixedOffset>>>,
|
||||
#[serde(rename = "email", skip_serializing_if = "Option::is_none")]
|
||||
pub email: Option<String>,
|
||||
#[serde(rename = "attributes", skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Generated
+7
-7
@@ -30,9 +30,9 @@ pub struct User {
|
||||
with = "::serde_with::rust::double_option",
|
||||
skip_serializing_if = "Option::is_none"
|
||||
)]
|
||||
pub last_login: Option<Option<String>>,
|
||||
pub last_login: Option<Option<chrono::DateTime<chrono::FixedOffset>>>,
|
||||
#[serde(rename = "date_joined")]
|
||||
pub date_joined: String,
|
||||
pub date_joined: chrono::DateTime<chrono::FixedOffset>,
|
||||
#[serde(rename = "is_superuser")]
|
||||
pub is_superuser: bool,
|
||||
#[serde(rename = "groups", skip_serializing_if = "Option::is_none")]
|
||||
@@ -59,9 +59,9 @@ pub struct User {
|
||||
#[serde(rename = "uuid")]
|
||||
pub uuid: uuid::Uuid,
|
||||
#[serde(rename = "password_change_date")]
|
||||
pub password_change_date: String,
|
||||
pub password_change_date: chrono::DateTime<chrono::FixedOffset>,
|
||||
#[serde(rename = "last_updated")]
|
||||
pub last_updated: String,
|
||||
pub last_updated: chrono::DateTime<chrono::FixedOffset>,
|
||||
}
|
||||
|
||||
impl User {
|
||||
@@ -70,15 +70,15 @@ impl User {
|
||||
pk: i32,
|
||||
username: String,
|
||||
name: String,
|
||||
date_joined: String,
|
||||
date_joined: chrono::DateTime<chrono::FixedOffset>,
|
||||
is_superuser: bool,
|
||||
groups_obj: Option<Vec<models::PartialGroup>>,
|
||||
roles_obj: Option<Vec<models::Role>>,
|
||||
avatar: String,
|
||||
uid: String,
|
||||
uuid: uuid::Uuid,
|
||||
password_change_date: String,
|
||||
last_updated: String,
|
||||
password_change_date: chrono::DateTime<chrono::FixedOffset>,
|
||||
last_updated: chrono::DateTime<chrono::FixedOffset>,
|
||||
) -> User {
|
||||
User {
|
||||
pk,
|
||||
|
||||
Reference in New Issue
Block a user