From 45909bb6941c221218868f58797b23d157b760a1 Mon Sep 17 00:00:00 2001 From: "getstream-sdk-bot[bot]" <352448594+getstream-sdk-bot[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 22:16:42 +0000 Subject: [PATCH] feat: regenerate client from openapi-v241.37.1 --- .spec-version | 4 ++-- src/GeneratedModels/ChannelConfig.php | 2 ++ src/GeneratedModels/ChannelConfigWithInfo.php | 2 ++ src/GeneratedModels/ChannelTypeConfig.php | 2 ++ src/GeneratedModels/CreateChannelTypeRequest.php | 2 ++ src/GeneratedModels/CreateChannelTypeResponse.php | 2 ++ src/GeneratedModels/GetChannelTypeResponse.php | 2 ++ src/GeneratedModels/UpdateChannelTypeRequest.php | 2 ++ src/GeneratedModels/UpdateChannelTypeResponse.php | 2 ++ 9 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.spec-version b/.spec-version index 76b9da9..2259e2d 100644 --- a/.spec-version +++ b/.spec-version @@ -1,2 +1,2 @@ -spec: openapi-v241.37.0 -generator: chat v241.37.0 +spec: openapi-v241.37.1 +generator: chat v241.37.1 diff --git a/src/GeneratedModels/ChannelConfig.php b/src/GeneratedModels/ChannelConfig.php index 8ea3f8b..24f353d 100644 --- a/src/GeneratedModels/ChannelConfig.php +++ b/src/GeneratedModels/ChannelConfig.php @@ -45,6 +45,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, public ?\DateTime $createdAt = null, public ?\DateTime $updatedAt = null, public ?array $commands = null, // List of commands that channel supports diff --git a/src/GeneratedModels/ChannelConfigWithInfo.php b/src/GeneratedModels/ChannelConfigWithInfo.php index 7445024..3a91b90 100644 --- a/src/GeneratedModels/ChannelConfigWithInfo.php +++ b/src/GeneratedModels/ChannelConfigWithInfo.php @@ -47,6 +47,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, /** @var array|null */ #[ArrayOf(Command::class)] public ?array $commands = null, diff --git a/src/GeneratedModels/ChannelTypeConfig.php b/src/GeneratedModels/ChannelTypeConfig.php index f69df2c..938b845 100644 --- a/src/GeneratedModels/ChannelTypeConfig.php +++ b/src/GeneratedModels/ChannelTypeConfig.php @@ -51,6 +51,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, /** @var array|null */ #[ArrayOf(Command::class)] public ?array $commands = null, diff --git a/src/GeneratedModels/CreateChannelTypeRequest.php b/src/GeneratedModels/CreateChannelTypeRequest.php index 91929da..23aafc8 100644 --- a/src/GeneratedModels/CreateChannelTypeRequest.php +++ b/src/GeneratedModels/CreateChannelTypeRequest.php @@ -49,6 +49,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, // Transcribe voice recording attachments. public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, // Seconds after creation during which the author can edit their own message, 0 means no limit + public ?int $messageDeleteWindow = null, // Seconds after creation during which the author can delete their own message, 0 means no limit ) { } diff --git a/src/GeneratedModels/CreateChannelTypeResponse.php b/src/GeneratedModels/CreateChannelTypeResponse.php index 194d8cb..8e70b9b 100644 --- a/src/GeneratedModels/CreateChannelTypeResponse.php +++ b/src/GeneratedModels/CreateChannelTypeResponse.php @@ -48,6 +48,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, public ?\DateTime $createdAt = null, public ?\DateTime $updatedAt = null, public ?array $commands = null, diff --git a/src/GeneratedModels/GetChannelTypeResponse.php b/src/GeneratedModels/GetChannelTypeResponse.php index 385cf20..f78dc84 100644 --- a/src/GeneratedModels/GetChannelTypeResponse.php +++ b/src/GeneratedModels/GetChannelTypeResponse.php @@ -54,6 +54,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, /** @var array|null */ #[ArrayOf(Command::class)] public ?array $commands = null, diff --git a/src/GeneratedModels/UpdateChannelTypeRequest.php b/src/GeneratedModels/UpdateChannelTypeRequest.php index 095f88a..384c84e 100644 --- a/src/GeneratedModels/UpdateChannelTypeRequest.php +++ b/src/GeneratedModels/UpdateChannelTypeRequest.php @@ -48,6 +48,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, public ?array $commands = null, // List of commands that channel supports ) { } diff --git a/src/GeneratedModels/UpdateChannelTypeResponse.php b/src/GeneratedModels/UpdateChannelTypeResponse.php index f2d8064..717dfc3 100644 --- a/src/GeneratedModels/UpdateChannelTypeResponse.php +++ b/src/GeneratedModels/UpdateChannelTypeResponse.php @@ -52,6 +52,8 @@ public function __construct( public ?ChatPreferences $chatPreferences = null, public ?bool $voiceTranscription = null, public ?AutoTranslationConfig $autoTranslation = null, // Auto translation settings. Unset fields take the default on a channel type and keep the channel type's value in config overrides. + public ?int $messageEditWindow = null, + public ?int $messageDeleteWindow = null, public ?\DateTime $createdAt = null, public ?\DateTime $updatedAt = null, public ?array $commands = null,