diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs
index 474cce4..38c8efd 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs
@@ -33,8 +33,7 @@ public sealed partial class ApiProfile
///
/// https://example.com/avatar.jpg
[global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string AvatarUrl { get; set; }
+ public string? AvatarUrl { get; set; }
///
/// Base64 encoded organization ID (only for ENTERPRISE profiles)
@@ -123,21 +122,21 @@ public sealed partial class ApiProfile
public ApiProfile(
global::Ideogram.ApiProfileType type,
string name,
- string avatarUrl,
string organizationId,
global::Ideogram.ApiProfileRole role,
global::System.Collections.Generic.IList apiKeys,
bool isMetronome2User,
- int maxNumInflightRequestsPermitted)
+ int maxNumInflightRequestsPermitted,
+ string? avatarUrl)
{
this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
- this.AvatarUrl = avatarUrl ?? throw new global::System.ArgumentNullException(nameof(avatarUrl));
this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId));
this.Role = role;
this.ApiKeys = apiKeys ?? throw new global::System.ArgumentNullException(nameof(apiKeys));
this.IsMetronome2User = isMetronome2User;
this.MaxNumInflightRequestsPermitted = maxNumInflightRequestsPermitted;
+ this.AvatarUrl = avatarUrl;
}
///
diff --git a/src/libs/Ideogram/openapi.yaml b/src/libs/Ideogram/openapi.yaml
index 3abbac2..169f348 100644
--- a/src/libs/Ideogram/openapi.yaml
+++ b/src/libs/Ideogram/openapi.yaml
@@ -3065,7 +3065,6 @@ components:
title: ApiProfile
required:
- api_keys
- - avatar_url
- is_metronome_2_user
- max_num_inflight_requests_permitted
- name