getstream-ruby 11.1.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/getstream_ruby/generated/chat_client.rb +2 -2
  3. data/lib/getstream_ruby/generated/feeds_client.rb +2 -2
  4. data/lib/getstream_ruby/generated/models/accept_follow_request.rb +1 -1
  5. data/lib/getstream_ruby/generated/models/activity_processing_config.rb +36 -0
  6. data/lib/getstream_ruby/generated/models/ai_video_config.rb +5 -0
  7. data/lib/getstream_ruby/generated/models/ai_video_config_request.rb +41 -0
  8. data/lib/getstream_ruby/generated/models/ai_video_config_response.rb +41 -0
  9. data/lib/getstream_ruby/generated/models/analyze_response.rb +1 -1
  10. data/lib/getstream_ruby/generated/models/app_response_fields.rb +15 -0
  11. data/lib/getstream_ruby/generated/models/async_export_error_event.rb +1 -1
  12. data/lib/getstream_ruby/generated/models/channel_batch_update_request.rb +10 -0
  13. data/lib/getstream_ruby/generated/models/channel_member_request.rb +6 -6
  14. data/lib/getstream_ruby/generated/models/config_response.rb +1 -1
  15. data/lib/getstream_ruby/generated/models/create_feed_group_request.rb +10 -0
  16. data/lib/getstream_ruby/generated/models/create_feeds_batch_request.rb +5 -0
  17. data/lib/getstream_ruby/generated/models/create_reminder_response.rb +36 -0
  18. data/lib/getstream_ruby/generated/models/feed_group.rb +5 -0
  19. data/lib/getstream_ruby/generated/models/feed_group_response.rb +10 -0
  20. data/lib/getstream_ruby/generated/models/follow_response.rb +1 -1
  21. data/lib/getstream_ruby/generated/models/get_or_create_feed_group_request.rb +10 -0
  22. data/lib/getstream_ruby/generated/models/member_user_request.rb +76 -0
  23. data/lib/getstream_ruby/generated/models/message_response.rb +5 -0
  24. data/lib/getstream_ruby/generated/models/message_with_channel_response.rb +5 -0
  25. data/lib/getstream_ruby/generated/models/moderation_flag_response.rb +5 -0
  26. data/lib/getstream_ruby/generated/models/poll_response_data.rb +1 -1
  27. data/lib/getstream_ruby/generated/models/query_members_payload.rb +5 -5
  28. data/lib/getstream_ruby/generated/models/reminder_created_event.rb +6 -6
  29. data/lib/getstream_ruby/generated/models/reminder_deleted_event.rb +6 -6
  30. data/lib/getstream_ruby/generated/models/reminder_notification_event.rb +6 -6
  31. data/lib/getstream_ruby/generated/models/reminder_updated_event.rb +6 -6
  32. data/lib/getstream_ruby/generated/models/search_result_message.rb +5 -0
  33. data/lib/getstream_ruby/generated/models/translate_message_response.rb +36 -0
  34. data/lib/getstream_ruby/generated/models/unban_request.rb +2 -1
  35. data/lib/getstream_ruby/generated/models/update_app_request.rb +10 -0
  36. data/lib/getstream_ruby/generated/models/update_feed_group_request.rb +11 -1
  37. data/lib/getstream_ruby/generated/models/update_follow_request.rb +1 -1
  38. data/lib/getstream_ruby/generated/models/upsert_config_request.rb +1 -1
  39. data/lib/getstream_ruby/generated/video_client.rb +3 -3
  40. data/lib/getstream_ruby/version.rb +1 -1
  41. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13ad474f2087bc33af5a85570b1b0ed6b981040edf420ff1dfa1355983626aff
4
- data.tar.gz: c0e29e7e6cad4cbee6983d06358d7f03b09822902cf6555537b1ad96a0faae2b
3
+ metadata.gz: 83d6f2c57a008a2e74f8151217a55384fa820c36b4eed172178a93d0ca1308e5
4
+ data.tar.gz: d33e677be509ba5f99cf63d130eec4178cd9cc81556fc4ad7ab6186cbbdaaffe
5
5
  SHA512:
6
- metadata.gz: 7bf60c039529217a57f09929f53af978660dabe27673e691e85d59c14400db9d57c879fdde14b78ea3c67a348da10892dea64c8e174c1ef2c90e67a7136f41a4
7
- data.tar.gz: 1fa85c952aa9f7d961aa49dda1a2c2a1cb090624ac69ec2e1efb792ddfbd9cf4014c734472682b07b7da5737de744fe9819539974777828da631f3fe4f787bfb
6
+ metadata.gz: 5542ddee6e3da4e191a9c5afb6e4018b97338ed9310e36acd436ac79307f7eddfd9da1783dc05f8197e03e782b289f1ac2b2c8da4c987e5313cb2eb8a28c077e
7
+ data.tar.gz: 9ac98fc6f713f3c6e3d5c97f119a481f27b0a1531c007ddcdabc79cb94a00ecf4c07c2cdd2f2d44531aceca191a73266491d07fd40b3720a6b2f6d14acc9abc8
@@ -1270,7 +1270,7 @@ module GetStream
1270
1270
  #
1271
1271
  # @param _id [String]
1272
1272
  # @param translate_message_request [TranslateMessageRequest]
1273
- # @return [Models::MessageActionResponse]
1273
+ # @return [Models::TranslateMessageResponse]
1274
1274
  def translate_message(_id, translate_message_request)
1275
1275
  path = '/api/v2/chat/messages/{id}/translate'
1276
1276
  # Replace path parameters
@@ -1398,7 +1398,7 @@ module GetStream
1398
1398
  #
1399
1399
  # @param message_id [String]
1400
1400
  # @param create_reminder_request [CreateReminderRequest]
1401
- # @return [Models::ReminderResponseData]
1401
+ # @return [Models::CreateReminderResponse]
1402
1402
  def create_reminder(message_id, create_reminder_request)
1403
1403
  path = '/api/v2/chat/messages/{message_id}/reminders'
1404
1404
  # Replace path parameters
@@ -1550,7 +1550,7 @@ module GetStream
1550
1550
  )
1551
1551
  end
1552
1552
 
1553
- # List all feed views for a feed group
1553
+ # List persisted feed views for the application.
1554
1554
  #
1555
1555
  # @return [Models::ListFeedViewsResponse]
1556
1556
  def list_feed_views()
@@ -1831,7 +1831,7 @@ module GetStream
1831
1831
  )
1832
1832
  end
1833
1833
 
1834
- # Accepts a pending follow request
1834
+ # Accepts a pending follow request. Follower role can only be set via server-side requests.
1835
1835
  #
1836
1836
  # @param accept_follow_request [AcceptFollowRequest]
1837
1837
  # @return [Models::AcceptFollowResponse]
@@ -16,7 +16,7 @@ module GetStream
16
16
  # @return [String] Fully qualified ID of the target feed
17
17
  attr_accessor :target
18
18
  # @!attribute follower_role
19
- # @return [String] Optional role for the follower in the follow relationship
19
+ # @return [String] Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
20
20
  attr_accessor :follower_role
21
21
 
22
22
  # Initialize with attributes
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
4
+
5
+ module GetStream
6
+ module Generated
7
+ module Models
8
+ #
9
+ class ActivityProcessingConfig < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute allowed_tags
13
+ # @return [Array<String>] When set, the LLM activity processors may only write interest tags from this list. Tags are matched literally after lower-casing and trimming, so a generic vocabulary matches more often than in-house terms. Mutually exclusive with blocked_tags.
14
+ attr_accessor :allowed_tags
15
+ # @!attribute blocked_tags
16
+ # @return [Array<String>] Interest tags the LLM activity processors are never allowed to write. Mutually exclusive with allowed_tags.
17
+ attr_accessor :blocked_tags
18
+
19
+ # Initialize with attributes
20
+ def initialize(attributes = {})
21
+ super(attributes)
22
+ @allowed_tags = attributes[:allowed_tags] || attributes['allowed_tags'] || nil
23
+ @blocked_tags = attributes[:blocked_tags] || attributes['blocked_tags'] || nil
24
+ end
25
+
26
+ # Override field mappings for JSON serialization
27
+ def self.json_field_mappings
28
+ {
29
+ allowed_tags: 'allowed_tags',
30
+ blocked_tags: 'blocked_tags'
31
+ }
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -15,6 +15,9 @@ module GetStream
15
15
  # @!attribute enabled
16
16
  # @return [Boolean]
17
17
  attr_accessor :enabled
18
+ # @!attribute provider
19
+ # @return [String]
20
+ attr_accessor :provider
18
21
  # @!attribute rules
19
22
  # @return [Array<AWSRekognitionRule>]
20
23
  attr_accessor :rules
@@ -24,6 +27,7 @@ module GetStream
24
27
  super(attributes)
25
28
  @async = attributes[:async] || attributes['async'] || nil
26
29
  @enabled = attributes[:enabled] || attributes['enabled'] || nil
30
+ @provider = attributes[:provider] || attributes['provider'] || nil
27
31
  @rules = attributes[:rules] || attributes['rules'] || nil
28
32
  end
29
33
 
@@ -32,6 +36,7 @@ module GetStream
32
36
  {
33
37
  async: 'async',
34
38
  enabled: 'enabled',
39
+ provider: 'provider',
35
40
  rules: 'rules'
36
41
  }
37
42
  end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
4
+
5
+ module GetStream
6
+ module Generated
7
+ module Models
8
+ #
9
+ class AIVideoConfigRequest < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute async
13
+ # @return [Boolean]
14
+ attr_accessor :async
15
+ # @!attribute enabled
16
+ # @return [Boolean]
17
+ attr_accessor :enabled
18
+ # @!attribute rules
19
+ # @return [Array<AWSRekognitionRule>]
20
+ attr_accessor :rules
21
+
22
+ # Initialize with attributes
23
+ def initialize(attributes = {})
24
+ super(attributes)
25
+ @async = attributes[:async] || attributes['async'] || nil
26
+ @enabled = attributes[:enabled] || attributes['enabled'] || nil
27
+ @rules = attributes[:rules] || attributes['rules'] || nil
28
+ end
29
+
30
+ # Override field mappings for JSON serialization
31
+ def self.json_field_mappings
32
+ {
33
+ async: 'async',
34
+ enabled: 'enabled',
35
+ rules: 'rules'
36
+ }
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
4
+
5
+ module GetStream
6
+ module Generated
7
+ module Models
8
+ #
9
+ class AIVideoConfigResponse < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute enabled
13
+ # @return [Boolean]
14
+ attr_accessor :enabled
15
+ # @!attribute rules
16
+ # @return [Array<AWSRekognitionRule>]
17
+ attr_accessor :rules
18
+ # @!attribute async
19
+ # @return [Boolean]
20
+ attr_accessor :async
21
+
22
+ # Initialize with attributes
23
+ def initialize(attributes = {})
24
+ super(attributes)
25
+ @enabled = attributes[:enabled] || attributes['enabled']
26
+ @rules = attributes[:rules] || attributes['rules']
27
+ @async = attributes[:async] || attributes['async'] || nil
28
+ end
29
+
30
+ # Override field mappings for JSON serialization
31
+ def self.json_field_mappings
32
+ {
33
+ enabled: 'enabled',
34
+ rules: 'rules',
35
+ async: 'async'
36
+ }
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -13,7 +13,7 @@ module GetStream
13
13
  # @return [String]
14
14
  attr_accessor :duration
15
15
  # @!attribute status
16
- # @return [String] Always `complete` /analyze is sync-only and the full verdict is in the response.
16
+ # @return [String] `complete` (all fields screened), `partial` (mix of verdicts and per-field errors), or `pending` (async).
17
17
  attr_accessor :status
18
18
  # @!attribute images
19
19
  # @return [Hash<String, AnalyzeImageField>] Per-image moderation verdicts keyed by caller label.
@@ -51,15 +51,24 @@ module GetStream
51
51
  # @!attribute max_aggregated_activities_length
52
52
  # @return [Integer]
53
53
  attr_accessor :max_aggregated_activities_length
54
+ # @!attribute member_custom_on_mentioned_users_enabled
55
+ # @return [Boolean]
56
+ attr_accessor :member_custom_on_mentioned_users_enabled
54
57
  # @!attribute member_custom_on_messages_enabled
55
58
  # @return [Boolean]
56
59
  attr_accessor :member_custom_on_messages_enabled
60
+ # @!attribute member_custom_on_typing_events_enabled
61
+ # @return [Boolean]
62
+ attr_accessor :member_custom_on_typing_events_enabled
57
63
  # @!attribute moderation_audio_call_moderation_enabled
58
64
  # @return [Boolean]
59
65
  attr_accessor :moderation_audio_call_moderation_enabled
60
66
  # @!attribute moderation_enabled
61
67
  # @return [Boolean]
62
68
  attr_accessor :moderation_enabled
69
+ # @!attribute moderation_keyframe_video_enabled
70
+ # @return [Boolean]
71
+ attr_accessor :moderation_keyframe_video_enabled
63
72
  # @!attribute moderation_llm_configurability_enabled
64
73
  # @return [Boolean]
65
74
  attr_accessor :moderation_llm_configurability_enabled
@@ -210,9 +219,12 @@ module GetStream
210
219
  @id = attributes[:id] || attributes['id']
211
220
  @image_moderation_enabled = attributes[:image_moderation_enabled] || attributes['image_moderation_enabled']
212
221
  @max_aggregated_activities_length = attributes[:max_aggregated_activities_length] || attributes['max_aggregated_activities_length']
222
+ @member_custom_on_mentioned_users_enabled = attributes[:member_custom_on_mentioned_users_enabled] || attributes['member_custom_on_mentioned_users_enabled']
213
223
  @member_custom_on_messages_enabled = attributes[:member_custom_on_messages_enabled] || attributes['member_custom_on_messages_enabled']
224
+ @member_custom_on_typing_events_enabled = attributes[:member_custom_on_typing_events_enabled] || attributes['member_custom_on_typing_events_enabled']
214
225
  @moderation_audio_call_moderation_enabled = attributes[:moderation_audio_call_moderation_enabled] || attributes['moderation_audio_call_moderation_enabled']
215
226
  @moderation_enabled = attributes[:moderation_enabled] || attributes['moderation_enabled']
227
+ @moderation_keyframe_video_enabled = attributes[:moderation_keyframe_video_enabled] || attributes['moderation_keyframe_video_enabled']
216
228
  @moderation_llm_configurability_enabled = attributes[:moderation_llm_configurability_enabled] || attributes['moderation_llm_configurability_enabled']
217
229
  @moderation_multitenant_blocklist_enabled = attributes[:moderation_multitenant_blocklist_enabled] || attributes['moderation_multitenant_blocklist_enabled']
218
230
  @moderation_video_call_moderation_enabled = attributes[:moderation_video_call_moderation_enabled] || attributes['moderation_video_call_moderation_enabled']
@@ -276,9 +288,12 @@ module GetStream
276
288
  id: 'id',
277
289
  image_moderation_enabled: 'image_moderation_enabled',
278
290
  max_aggregated_activities_length: 'max_aggregated_activities_length',
291
+ member_custom_on_mentioned_users_enabled: 'member_custom_on_mentioned_users_enabled',
279
292
  member_custom_on_messages_enabled: 'member_custom_on_messages_enabled',
293
+ member_custom_on_typing_events_enabled: 'member_custom_on_typing_events_enabled',
280
294
  moderation_audio_call_moderation_enabled: 'moderation_audio_call_moderation_enabled',
281
295
  moderation_enabled: 'moderation_enabled',
296
+ moderation_keyframe_video_enabled: 'moderation_keyframe_video_enabled',
282
297
  moderation_llm_configurability_enabled: 'moderation_llm_configurability_enabled',
283
298
  moderation_multitenant_blocklist_enabled: 'moderation_multitenant_blocklist_enabled',
284
299
  moderation_video_call_moderation_enabled: 'moderation_video_call_moderation_enabled',
@@ -43,7 +43,7 @@ module GetStream
43
43
  @started_at = attributes[:started_at] || attributes['started_at']
44
44
  @task_id = attributes[:task_id] || attributes['task_id']
45
45
  @custom = attributes[:custom] || attributes['custom']
46
- @type = attributes[:type] || attributes['type'] || "export.users.error"
46
+ @type = attributes[:type] || attributes['type'] || "export.review_queue.error"
47
47
  @received_at = attributes[:received_at] || attributes['received_at'] || nil
48
48
  end
49
49
 
@@ -15,9 +15,15 @@ module GetStream
15
15
  # @!attribute filter
16
16
  # @return [Object] Filter to apply to the query
17
17
  attr_accessor :filter
18
+ # @!attribute custom_unset
19
+ # @return [Array<String>] `updateData` only. Deletes these keys from each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Cannot be combined with `data.custom`
20
+ attr_accessor :custom_unset
18
21
  # @!attribute members
19
22
  # @return [Array<ChannelBatchMemberRequest>]
20
23
  attr_accessor :members
24
+ # @!attribute custom_set
25
+ # @return [Object] `updateData` only. Merges these keys into each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, so `a.b` sets key `b` inside object `a` (the parent object must already exist). Cannot be combined with `data.custom`
26
+ attr_accessor :custom_set
21
27
  # @!attribute data
22
28
  # @return [ChannelDataUpdate]
23
29
  attr_accessor :data
@@ -27,7 +33,9 @@ module GetStream
27
33
  super(attributes)
28
34
  @operation = attributes[:operation] || attributes['operation']
29
35
  @filter = attributes[:filter] || attributes['filter']
36
+ @custom_unset = attributes[:custom_unset] || attributes['custom_unset'] || nil
30
37
  @members = attributes[:members] || attributes['members'] || nil
38
+ @custom_set = attributes[:custom_set] || attributes['custom_set'] || nil
31
39
  @data = attributes[:data] || attributes['data'] || nil
32
40
  end
33
41
 
@@ -36,7 +44,9 @@ module GetStream
36
44
  {
37
45
  operation: 'operation',
38
46
  filter: 'filter',
47
+ custom_unset: 'custom_unset',
39
48
  members: 'members',
49
+ custom_set: 'custom_set',
40
50
  data: 'data'
41
51
  }
42
52
  end
@@ -9,24 +9,24 @@ module GetStream
9
9
  class ChannelMemberRequest < GetStream::BaseModel
10
10
 
11
11
  # Model attributes
12
- # @!attribute user_id
13
- # @return [String]
14
- attr_accessor :user_id
15
12
  # @!attribute channel_role
16
13
  # @return [String] Role of the member in the channel
17
14
  attr_accessor :channel_role
15
+ # @!attribute user_id
16
+ # @return [String]
17
+ attr_accessor :user_id
18
18
  # @!attribute custom
19
19
  # @return [Object]
20
20
  attr_accessor :custom
21
21
  # @!attribute user
22
- # @return [UserResponse] User response object
22
+ # @return [MemberUserRequest]
23
23
  attr_accessor :user
24
24
 
25
25
  # Initialize with attributes
26
26
  def initialize(attributes = {})
27
27
  super(attributes)
28
- @user_id = attributes[:user_id] || attributes['user_id']
29
28
  @channel_role = attributes[:channel_role] || attributes['channel_role'] || nil
29
+ @user_id = attributes[:user_id] || attributes['user_id'] || nil
30
30
  @custom = attributes[:custom] || attributes['custom'] || nil
31
31
  @user = attributes[:user] || attributes['user'] || nil
32
32
  end
@@ -34,8 +34,8 @@ module GetStream
34
34
  # Override field mappings for JSON serialization
35
35
  def self.json_field_mappings
36
36
  {
37
- user_id: 'user_id',
38
37
  channel_role: 'channel_role',
38
+ user_id: 'user_id',
39
39
  custom: 'custom',
40
40
  user: 'user'
41
41
  }
@@ -46,7 +46,7 @@ module GetStream
46
46
  # @return [AITextConfig]
47
47
  attr_accessor :ai_text_config
48
48
  # @!attribute ai_video_config
49
- # @return [AIVideoConfig]
49
+ # @return [AIVideoConfigResponse]
50
50
  attr_accessor :ai_video_config
51
51
  # @!attribute automod_platform_circumvention_config
52
52
  # @return [AutomodPlatformCircumventionConfig]
@@ -12,6 +12,9 @@ module GetStream
12
12
  # @!attribute id
13
13
  # @return [String] Unique identifier for the feed group
14
14
  attr_accessor :id
15
+ # @!attribute default_follower_role
16
+ # @return [String] Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
17
+ attr_accessor :default_follower_role
15
18
  # @!attribute default_visibility
16
19
  # @return [String] Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided.
17
20
  attr_accessor :default_visibility
@@ -24,6 +27,9 @@ module GetStream
24
27
  # @!attribute activity_filter
25
28
  # @return [ActivityFilterConfig]
26
29
  attr_accessor :activity_filter
30
+ # @!attribute activity_processing
31
+ # @return [ActivityProcessingConfig]
32
+ attr_accessor :activity_processing
27
33
  # @!attribute aggregation
28
34
  # @return [AggregationConfig]
29
35
  attr_accessor :aggregation
@@ -47,10 +53,12 @@ module GetStream
47
53
  def initialize(attributes = {})
48
54
  super(attributes)
49
55
  @id = attributes[:id] || attributes['id']
56
+ @default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role'] || nil
50
57
  @default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
51
58
  @activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
52
59
  @activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
53
60
  @activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
61
+ @activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
54
62
  @aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
55
63
  @custom = attributes[:custom] || attributes['custom'] || nil
56
64
  @notification = attributes[:notification] || attributes['notification'] || nil
@@ -63,10 +71,12 @@ module GetStream
63
71
  def self.json_field_mappings
64
72
  {
65
73
  id: 'id',
74
+ default_follower_role: 'default_follower_role',
66
75
  default_visibility: 'default_visibility',
67
76
  activity_processors: 'activity_processors',
68
77
  activity_selectors: 'activity_selectors',
69
78
  activity_filter: 'activity_filter',
79
+ activity_processing: 'activity_processing',
70
80
  aggregation: 'aggregation',
71
81
  custom: 'custom',
72
82
  notification: 'notification',
@@ -12,6 +12,9 @@ module GetStream
12
12
  # @!attribute feeds
13
13
  # @return [Array<FeedRequest>] List of feeds to create
14
14
  attr_accessor :feeds
15
+ # @!attribute create_users
16
+ # @return [Boolean] Server-side only. If true, auto-creates users referenced by feeds[].created_by_id that don't already exist. Default: false.
17
+ attr_accessor :create_users
15
18
  # @!attribute enrich_own_fields
16
19
  # @return [Boolean] If true, enriches the created feeds with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance.
17
20
  attr_accessor :enrich_own_fields
@@ -20,6 +23,7 @@ module GetStream
20
23
  def initialize(attributes = {})
21
24
  super(attributes)
22
25
  @feeds = attributes[:feeds] || attributes['feeds']
26
+ @create_users = attributes[:create_users] || attributes['create_users'] || nil
23
27
  @enrich_own_fields = attributes[:enrich_own_fields] || attributes['enrich_own_fields'] || nil
24
28
  end
25
29
 
@@ -27,6 +31,7 @@ module GetStream
27
31
  def self.json_field_mappings
28
32
  {
29
33
  feeds: 'feeds',
34
+ create_users: 'create_users',
30
35
  enrich_own_fields: 'enrich_own_fields'
31
36
  }
32
37
  end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
4
+
5
+ module GetStream
6
+ module Generated
7
+ module Models
8
+ # Basic response information
9
+ class CreateReminderResponse < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute duration
13
+ # @return [String] Duration of the request in milliseconds
14
+ attr_accessor :duration
15
+ # @!attribute reminder
16
+ # @return [ReminderResponseData]
17
+ attr_accessor :reminder
18
+
19
+ # Initialize with attributes
20
+ def initialize(attributes = {})
21
+ super(attributes)
22
+ @duration = attributes[:duration] || attributes['duration']
23
+ @reminder = attributes[:reminder] || attributes['reminder']
24
+ end
25
+
26
+ # Override field mappings for JSON serialization
27
+ def self.json_field_mappings
28
+ {
29
+ duration: 'duration',
30
+ reminder: 'reminder'
31
+ }
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute created_at
19
19
  # @return [DateTime]
20
20
  attr_accessor :created_at
21
+ # @!attribute default_follower_role
22
+ # @return [String]
23
+ attr_accessor :default_follower_role
21
24
  # @!attribute default_visibility
22
25
  # @return [String]
23
26
  attr_accessor :default_visibility
@@ -67,6 +70,7 @@ module GetStream
67
70
  @aggregation_version = attributes[:aggregation_version] || attributes['aggregation_version']
68
71
  @app_pk = attributes[:app_pk] || attributes['app_pk']
69
72
  @created_at = attributes[:created_at] || attributes['created_at']
73
+ @default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role']
70
74
  @default_visibility = attributes[:default_visibility] || attributes['default_visibility']
71
75
  @group_id = attributes[:group_id] || attributes['group_id']
72
76
  @updated_at = attributes[:updated_at] || attributes['updated_at']
@@ -89,6 +93,7 @@ module GetStream
89
93
  aggregation_version: 'aggregation_version',
90
94
  app_pk: 'app_pk',
91
95
  created_at: 'created_at',
96
+ default_follower_role: 'default_follower_role',
92
97
  default_visibility: 'default_visibility',
93
98
  group_id: 'group_id',
94
99
  updated_at: 'updated_at',
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute updated_at
19
19
  # @return [DateTime] When the feed group was last updated
20
20
  attr_accessor :updated_at
21
+ # @!attribute default_follower_role
22
+ # @return [String] Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
23
+ attr_accessor :default_follower_role
21
24
  # @!attribute default_visibility
22
25
  # @return [String] Default visibility for activities. One of: public, visible, followers, members, private
23
26
  attr_accessor :default_visibility
@@ -33,6 +36,9 @@ module GetStream
33
36
  # @!attribute activity_filter
34
37
  # @return [ActivityFilterConfig]
35
38
  attr_accessor :activity_filter
39
+ # @!attribute activity_processing
40
+ # @return [ActivityProcessingConfig]
41
+ attr_accessor :activity_processing
36
42
  # @!attribute aggregation
37
43
  # @return [AggregationConfig]
38
44
  attr_accessor :aggregation
@@ -58,11 +64,13 @@ module GetStream
58
64
  @created_at = attributes[:created_at] || attributes['created_at']
59
65
  @id = attributes[:id] || attributes['id']
60
66
  @updated_at = attributes[:updated_at] || attributes['updated_at']
67
+ @default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role'] || nil
61
68
  @default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
62
69
  @deleted_at = attributes[:deleted_at] || attributes['deleted_at'] || nil
63
70
  @activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
64
71
  @activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
65
72
  @activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
73
+ @activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
66
74
  @aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
67
75
  @custom = attributes[:custom] || attributes['custom'] || nil
68
76
  @notification = attributes[:notification] || attributes['notification'] || nil
@@ -77,11 +85,13 @@ module GetStream
77
85
  created_at: 'created_at',
78
86
  id: 'id',
79
87
  updated_at: 'updated_at',
88
+ default_follower_role: 'default_follower_role',
80
89
  default_visibility: 'default_visibility',
81
90
  deleted_at: 'deleted_at',
82
91
  activity_processors: 'activity_processors',
83
92
  activity_selectors: 'activity_selectors',
84
93
  activity_filter: 'activity_filter',
94
+ activity_processing: 'activity_processing',
85
95
  aggregation: 'aggregation',
86
96
  custom: 'custom',
87
97
  notification: 'notification',
@@ -13,7 +13,7 @@ module GetStream
13
13
  # @return [DateTime] When the follow relationship was created
14
14
  attr_accessor :created_at
15
15
  # @!attribute follower_role
16
- # @return [String] Role of the follower (source user) in the follow relationship
16
+ # @return [String] Role of the follower (source user) in the follow relationship, as stored. A reserved name, or a role your app no longer defines, is reported as stored but evaluated as 'feed_follower'.
17
17
  attr_accessor :follower_role
18
18
  # @!attribute push_preference
19
19
  # @return [String] Push preference for notifications. One of: all, none
@@ -9,6 +9,9 @@ module GetStream
9
9
  class GetOrCreateFeedGroupRequest < GetStream::BaseModel
10
10
 
11
11
  # Model attributes
12
+ # @!attribute default_follower_role
13
+ # @return [String] Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
14
+ attr_accessor :default_follower_role
12
15
  # @!attribute default_visibility
13
16
  # @return [String] Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided.
14
17
  attr_accessor :default_visibility
@@ -21,6 +24,9 @@ module GetStream
21
24
  # @!attribute activity_filter
22
25
  # @return [ActivityFilterConfig]
23
26
  attr_accessor :activity_filter
27
+ # @!attribute activity_processing
28
+ # @return [ActivityProcessingConfig]
29
+ attr_accessor :activity_processing
24
30
  # @!attribute aggregation
25
31
  # @return [AggregationConfig]
26
32
  attr_accessor :aggregation
@@ -43,10 +49,12 @@ module GetStream
43
49
  # Initialize with attributes
44
50
  def initialize(attributes = {})
45
51
  super(attributes)
52
+ @default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role'] || nil
46
53
  @default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
47
54
  @activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
48
55
  @activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
49
56
  @activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
57
+ @activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
50
58
  @aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
51
59
  @custom = attributes[:custom] || attributes['custom'] || nil
52
60
  @notification = attributes[:notification] || attributes['notification'] || nil
@@ -58,10 +66,12 @@ module GetStream
58
66
  # Override field mappings for JSON serialization
59
67
  def self.json_field_mappings
60
68
  {
69
+ default_follower_role: 'default_follower_role',
61
70
  default_visibility: 'default_visibility',
62
71
  activity_processors: 'activity_processors',
63
72
  activity_selectors: 'activity_selectors',
64
73
  activity_filter: 'activity_filter',
74
+ activity_processing: 'activity_processing',
65
75
  aggregation: 'aggregation',
66
76
  custom: 'custom',
67
77
  notification: 'notification',