From 416c0de08e81d3491434f0b0a9a1f8b1feec8ca7 Mon Sep 17 00:00:00 2001 From: "getstream-sdk-bot[bot]" <352448594+getstream-sdk-bot[bot]@users.noreply.github.com> Date: Fri, 27 Nov 2026 21:14:45 +0000 Subject: [PATCH] feat: regenerate client from openapi-v241.26.2 --- .spec-version | 4 ++-- .../generated/models/export_users_request.rb | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.spec-version b/.spec-version index d305fa74..8d1556e3 100644 --- a/.spec-version +++ b/.spec-version @@ -1,2 +1,2 @@ -spec: openapi-v241.26.1 -generator: chat v241.26.1 +spec: openapi-v241.26.2 +generator: chat v241.26.2 diff --git a/lib/getstream_ruby/generated/models/export_users_request.rb b/lib/getstream_ruby/generated/models/export_users_request.rb index d10be643..52ed127c 100644 --- a/lib/getstream_ruby/generated/models/export_users_request.rb +++ b/lib/getstream_ruby/generated/models/export_users_request.rb @@ -12,17 +12,32 @@ class ExportUsersRequest < GetStream::BaseModel # @!attribute user_ids # @return [Array] attr_accessor :user_ids + # @!attribute messages_from + # @return [DateTime] Start of the message window, inclusive: messages with created_at >= messages_from are exported. Unlike export_channels' messages_since, which is exclusive. Reactions are selected by the time they were added, in the same window. + attr_accessor :messages_from + # @!attribute messages_to + # @return [DateTime] End of the message window, exclusive: messages with created_at < messages_to are exported. Unlike export_channels' messages_until, which is inclusive. Must be after messages_from. When any of channel_cids, messages_from or messages_to is set, calls are omitted from the export. + attr_accessor :messages_to + # @!attribute channel_cids + # @return [Array] Limit the export to these channels, in type:id form (at most 100, not empty). Without it every channel of the users is exported. + attr_accessor :channel_cids # Initialize with attributes def initialize(attributes = {}) super(attributes) @user_ids = attributes.fetch(:user_ids) { attributes.fetch('user_ids', nil) } + @messages_from = attributes.fetch(:messages_from) { attributes.fetch('messages_from', nil) } + @messages_to = attributes.fetch(:messages_to) { attributes.fetch('messages_to', nil) } + @channel_cids = attributes.fetch(:channel_cids) { attributes.fetch('channel_cids', nil) } end # Override field mappings for JSON serialization def self.json_field_mappings { - user_ids: 'user_ids' + user_ids: 'user_ids', + messages_from: 'messages_from', + messages_to: 'messages_to', + channel_cids: 'channel_cids' } end end