getstream-ruby 6.0.0 → 6.1.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.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/lib/getstream_ruby/generated/chat_client.rb +70 -0
- data/lib/getstream_ruby/generated/feed.rb +10 -0
- data/lib/getstream_ruby/generated/feeds_client.rb +41 -2
- data/lib/getstream_ruby/generated/models/action_log_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/{coordinates.rb → activity_filter_config.rb} +6 -11
- data/lib/getstream_ruby/generated/models/activity_selector_config.rb +1 -1
- data/lib/getstream_ruby/generated/models/activity_selector_config_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/app_response_fields.rb +5 -0
- data/lib/getstream_ruby/generated/models/async_export_error_event.rb +1 -1
- data/lib/getstream_ruby/generated/models/{delete_moderation_template_request.rb → bodyguard_profile_summary.rb} +8 -3
- data/lib/getstream_ruby/generated/models/{delete_bookmark_folder_request.rb → bulk_delete_action_config_request.rb} +6 -1
- data/lib/getstream_ruby/generated/models/{block_action_request.rb → bulk_delete_action_config_response.rb} +10 -5
- data/lib/getstream_ruby/generated/models/bulk_upsert_action_config_request.rb +41 -0
- data/lib/getstream_ruby/generated/models/bulk_upsert_action_config_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/call_stats_participant_session.rb +5 -0
- data/lib/getstream_ruby/generated/models/campaign_channel_template.rb +6 -6
- data/lib/getstream_ruby/generated/models/campaign_message_template.rb +8 -8
- data/lib/getstream_ruby/generated/models/change_feed_visibility_request.rb +36 -0
- data/lib/getstream_ruby/generated/models/{reject_appeal_request.rb → change_feed_visibility_response.rb} +10 -5
- data/lib/getstream_ruby/generated/models/{custom_action_request.rb → channel_message_count_rule_parameters.rb} +10 -10
- data/lib/getstream_ruby/generated/models/{message.rb → chat_message_response.rb} +23 -58
- data/lib/getstream_ruby/generated/models/config_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/create_campaign_request.rb +96 -0
- data/lib/getstream_ruby/generated/models/create_campaign_response.rb +41 -0
- data/lib/getstream_ruby/generated/models/create_feed_group_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/{any_event.rb → delete_action_config_response.rb} +10 -10
- data/lib/getstream_ruby/generated/models/{delivery_receipts.rb → delete_campaign_response.rb} +7 -7
- data/lib/getstream_ruby/generated/models/enrichment_options.rb +5 -0
- data/lib/getstream_ruby/generated/models/error_result.rb +5 -0
- data/lib/getstream_ruby/generated/models/event_hook.rb +6 -1
- data/lib/getstream_ruby/generated/models/feed_group.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_group_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/get_action_config_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/get_or_create_feed_group_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/grouped_channels_bucket.rb +36 -0
- data/lib/getstream_ruby/generated/models/{delete_collections_request.rb → grouped_query_channels_request.rb} +6 -1
- data/lib/getstream_ruby/generated/models/grouped_query_channels_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/insert_action_log_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/label_result_response.rb +101 -0
- data/lib/getstream_ruby/generated/models/labels_request.rb +56 -0
- data/lib/getstream_ruby/generated/models/labels_response.rb +71 -0
- data/lib/getstream_ruby/generated/models/message_new_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/moderation_action_config_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb +5 -0
- data/lib/getstream_ruby/generated/models/notification_mark_unread_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/query_label_results_request.rb +61 -0
- data/lib/getstream_ruby/generated/models/query_label_results_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/query_review_queue_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/query_review_queue_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/query_revision_history_request.rb +51 -0
- data/lib/getstream_ruby/generated/models/query_revision_history_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/review_queue_item_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/revision_history_response.rb +66 -0
- data/lib/getstream_ruby/generated/models/rule_builder_condition.rb +5 -0
- data/lib/getstream_ruby/generated/models/update_campaign_request.rb +96 -0
- data/lib/getstream_ruby/generated/models/update_feed_group_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/{moderation_action_config.rb → upsert_action_config_item.rb} +22 -12
- data/lib/getstream_ruby/generated/models/upsert_action_config_request.rb +76 -0
- data/lib/getstream_ruby/generated/models/upsert_action_config_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/webhook_failover_config.rb +46 -0
- data/lib/getstream_ruby/generated/moderation_client.rb +132 -0
- data/lib/getstream_ruby/version.rb +1 -1
- metadata +33 -94
- data/lib/getstream_ruby/generated/models/activity_location.rb +0 -36
- data/lib/getstream_ruby/generated/models/activity_marked_event.rb +0 -66
- data/lib/getstream_ruby/generated/models/automod_details.rb +0 -51
- data/lib/getstream_ruby/generated/models/ban.rb +0 -61
- data/lib/getstream_ruby/generated/models/ban_action_request.rb +0 -56
- data/lib/getstream_ruby/generated/models/channel.rb +0 -161
- data/lib/getstream_ruby/generated/models/channel_batch_updated_completed_event.rb +0 -81
- data/lib/getstream_ruby/generated/models/channel_batch_updated_started_event.rb +0 -81
- data/lib/getstream_ruby/generated/models/channel_member.rb +0 -141
- data/lib/getstream_ruby/generated/models/channel_member_lookup.rb +0 -66
- data/lib/getstream_ruby/generated/models/channel_messages.rb +0 -36
- data/lib/getstream_ruby/generated/models/channel_push_preferences.rb +0 -36
- data/lib/getstream_ruby/generated/models/config_overrides.rb +0 -96
- data/lib/getstream_ruby/generated/models/delete_activity_reaction_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_activity_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_block_list_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_bookmark_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_call_type_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_channel_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_command_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_comment_reaction_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_comment_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_custom_role_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_device_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_draft_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_external_storage_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_feed_group_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_feed_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_feed_view_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_import_v2_task_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_membership_level_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_message_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_moderation_config_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_poll_option_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_poll_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_poll_vote_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_push_provider_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_reaction_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_recording_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_reminder_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_segment_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_sip_inbound_routing_rule_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_sip_trunk_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_transcription_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_user_group_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/delete_user_request.rb +0 -51
- data/lib/getstream_ruby/generated/models/denormalized_channel_fields.rb +0 -81
- data/lib/getstream_ruby/generated/models/device.rb +0 -66
- data/lib/getstream_ruby/generated/models/feeds_moderation_template_config.rb +0 -36
- data/lib/getstream_ruby/generated/models/file_delete_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/flag.rb +0 -96
- data/lib/getstream_ruby/generated/models/flag_details.rb +0 -41
- data/lib/getstream_ruby/generated/models/flag_feedback.rb +0 -41
- data/lib/getstream_ruby/generated/models/flag_message_details.rb +0 -46
- data/lib/getstream_ruby/generated/models/follow_pair.rb +0 -36
- data/lib/getstream_ruby/generated/models/get_channel_type_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/label.rb +0 -41
- data/lib/getstream_ruby/generated/models/limit_info.rb +0 -41
- data/lib/getstream_ruby/generated/models/mark_reviewed_request.rb +0 -41
- data/lib/getstream_ruby/generated/models/message_reminder.rb +0 -76
- data/lib/getstream_ruby/generated/models/own_user.rb +0 -166
- data/lib/getstream_ruby/generated/models/poll.rb +0 -131
- data/lib/getstream_ruby/generated/models/poll_option.rb +0 -41
- data/lib/getstream_ruby/generated/models/poll_vote.rb +0 -71
- data/lib/getstream_ruby/generated/models/privacy_settings.rb +0 -41
- data/lib/getstream_ruby/generated/models/push_preferences.rb +0 -51
- data/lib/getstream_ruby/generated/models/read_receipts.rb +0 -31
- data/lib/getstream_ruby/generated/models/restore_action_request.rb +0 -31
- data/lib/getstream_ruby/generated/models/retention_cleanup_run.rb +0 -76
- data/lib/getstream_ruby/generated/models/shadow_block_action_request.rb +0 -31
- data/lib/getstream_ruby/generated/models/sip_challenge.rb +0 -106
- data/lib/getstream_ruby/generated/models/sort_param.rb +0 -41
- data/lib/getstream_ruby/generated/models/typing_indicators.rb +0 -31
- data/lib/getstream_ruby/generated/models/unban_action_request.rb +0 -31
- data/lib/getstream_ruby/generated/models/unblock_action_request.rb +0 -31
- data/lib/getstream_ruby/generated/models/unfollow_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/unpin_activity_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/user_mute.rb +0 -51
- data/lib/getstream_ruby/generated/models/video_end_call_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/video_kick_user_request.rb +0 -14
- data/lib/getstream_ruby/generated/models/webhook_event.rb +0 -31
|
@@ -6,23 +6,28 @@ module GetStream
|
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
class
|
|
9
|
+
class ChangeFeedVisibilityResponse < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute
|
|
12
|
+
# @!attribute duration
|
|
13
13
|
# @return [String]
|
|
14
|
-
attr_accessor :
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute feed
|
|
16
|
+
# @return [FeedResponse]
|
|
17
|
+
attr_accessor :feed
|
|
15
18
|
|
|
16
19
|
# Initialize with attributes
|
|
17
20
|
def initialize(attributes = {})
|
|
18
21
|
super(attributes)
|
|
19
|
-
@
|
|
22
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
23
|
+
@feed = attributes[:feed] || attributes['feed']
|
|
20
24
|
end
|
|
21
25
|
|
|
22
26
|
# Override field mappings for JSON serialization
|
|
23
27
|
def self.json_field_mappings
|
|
24
28
|
{
|
|
25
|
-
|
|
29
|
+
duration: 'duration',
|
|
30
|
+
feed: 'feed'
|
|
26
31
|
}
|
|
27
32
|
end
|
|
28
33
|
end
|
|
@@ -6,28 +6,28 @@ module GetStream
|
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
class
|
|
9
|
+
class ChannelMessageCountRuleParameters < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute
|
|
12
|
+
# @!attribute operator
|
|
13
13
|
# @return [String]
|
|
14
|
-
attr_accessor :
|
|
15
|
-
# @!attribute
|
|
16
|
-
# @return [
|
|
17
|
-
attr_accessor :
|
|
14
|
+
attr_accessor :operator
|
|
15
|
+
# @!attribute threshold
|
|
16
|
+
# @return [Integer]
|
|
17
|
+
attr_accessor :threshold
|
|
18
18
|
|
|
19
19
|
# Initialize with attributes
|
|
20
20
|
def initialize(attributes = {})
|
|
21
21
|
super(attributes)
|
|
22
|
-
@
|
|
23
|
-
@
|
|
22
|
+
@operator = attributes[:operator] || attributes['operator'] || nil
|
|
23
|
+
@threshold = attributes[:threshold] || attributes['threshold'] || nil
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
# Override field mappings for JSON serialization
|
|
27
27
|
def self.json_field_mappings
|
|
28
28
|
{
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
operator: 'operator',
|
|
30
|
+
threshold: 'threshold'
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
end
|
|
@@ -6,7 +6,7 @@ module GetStream
|
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
class
|
|
9
|
+
class ChatMessageResponse < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
12
|
# @!attribute cid
|
|
@@ -24,6 +24,12 @@ module GetStream
|
|
|
24
24
|
# @!attribute id
|
|
25
25
|
# @return [String]
|
|
26
26
|
attr_accessor :id
|
|
27
|
+
# @!attribute mentioned_channel
|
|
28
|
+
# @return [Boolean]
|
|
29
|
+
attr_accessor :mentioned_channel
|
|
30
|
+
# @!attribute mentioned_here
|
|
31
|
+
# @return [Boolean]
|
|
32
|
+
attr_accessor :mentioned_here
|
|
27
33
|
# @!attribute pinned
|
|
28
34
|
# @return [Boolean]
|
|
29
35
|
attr_accessor :pinned
|
|
@@ -46,16 +52,16 @@ module GetStream
|
|
|
46
52
|
# @return [DateTime]
|
|
47
53
|
attr_accessor :updated_at
|
|
48
54
|
# @!attribute attachments
|
|
49
|
-
# @return [Array
|
|
55
|
+
# @return [Array]
|
|
50
56
|
attr_accessor :attachments
|
|
51
57
|
# @!attribute latest_reactions
|
|
52
|
-
# @return [Array
|
|
58
|
+
# @return [Array]
|
|
53
59
|
attr_accessor :latest_reactions
|
|
54
60
|
# @!attribute mentioned_users
|
|
55
|
-
# @return [Array<
|
|
61
|
+
# @return [Array<UserResponse>]
|
|
56
62
|
attr_accessor :mentioned_users
|
|
57
63
|
# @!attribute own_reactions
|
|
58
|
-
# @return [Array
|
|
64
|
+
# @return [Array]
|
|
59
65
|
attr_accessor :own_reactions
|
|
60
66
|
# @!attribute restricted_visibility
|
|
61
67
|
# @return [Array<String>]
|
|
@@ -66,24 +72,18 @@ module GetStream
|
|
|
66
72
|
# @!attribute reaction_counts
|
|
67
73
|
# @return [Hash<String, Integer>]
|
|
68
74
|
attr_accessor :reaction_counts
|
|
69
|
-
# @!attribute reaction_groups
|
|
70
|
-
# @return [Hash<String, ReactionGroupResponse>]
|
|
71
|
-
attr_accessor :reaction_groups
|
|
72
75
|
# @!attribute reaction_scores
|
|
73
76
|
# @return [Hash<String, Integer>]
|
|
74
77
|
attr_accessor :reaction_scores
|
|
75
|
-
# @!attribute
|
|
76
|
-
# @return [
|
|
77
|
-
attr_accessor :
|
|
78
|
+
# @!attribute user
|
|
79
|
+
# @return [UserResponse]
|
|
80
|
+
attr_accessor :user
|
|
78
81
|
# @!attribute command
|
|
79
82
|
# @return [String]
|
|
80
83
|
attr_accessor :command
|
|
81
84
|
# @!attribute deleted_at
|
|
82
85
|
# @return [DateTime]
|
|
83
86
|
attr_accessor :deleted_at
|
|
84
|
-
# @!attribute deleted_for_me
|
|
85
|
-
# @return [Boolean]
|
|
86
|
-
attr_accessor :deleted_for_me
|
|
87
87
|
# @!attribute message_text_updated_at
|
|
88
88
|
# @return [DateTime]
|
|
89
89
|
attr_accessor :message_text_updated_at
|
|
@@ -108,39 +108,18 @@ module GetStream
|
|
|
108
108
|
# @!attribute show_in_channel
|
|
109
109
|
# @return [Boolean]
|
|
110
110
|
attr_accessor :show_in_channel
|
|
111
|
-
# @!attribute thread_participants
|
|
112
|
-
# @return [Array<User>]
|
|
113
|
-
attr_accessor :thread_participants
|
|
114
111
|
# @!attribute i18n
|
|
115
112
|
# @return [Hash<String, String>]
|
|
116
113
|
attr_accessor :i18n
|
|
117
114
|
# @!attribute image_labels
|
|
118
115
|
# @return [Hash<String, Array<String>>]
|
|
119
116
|
attr_accessor :image_labels
|
|
120
|
-
# @!attribute member
|
|
121
|
-
# @return [ChannelMember]
|
|
122
|
-
attr_accessor :member
|
|
123
|
-
# @!attribute moderation
|
|
124
|
-
# @return [ModerationV2Response]
|
|
125
|
-
attr_accessor :moderation
|
|
126
117
|
# @!attribute pinned_by
|
|
127
|
-
# @return [
|
|
118
|
+
# @return [UserResponse]
|
|
128
119
|
attr_accessor :pinned_by
|
|
129
|
-
# @!attribute poll
|
|
130
|
-
# @return [Poll]
|
|
131
|
-
attr_accessor :poll
|
|
132
120
|
# @!attribute quoted_message
|
|
133
|
-
# @return [
|
|
121
|
+
# @return [ChatMessageResponse]
|
|
134
122
|
attr_accessor :quoted_message
|
|
135
|
-
# @!attribute reminder
|
|
136
|
-
# @return [MessageReminder]
|
|
137
|
-
attr_accessor :reminder
|
|
138
|
-
# @!attribute shared_location
|
|
139
|
-
# @return [SharedLocation]
|
|
140
|
-
attr_accessor :shared_location
|
|
141
|
-
# @!attribute user
|
|
142
|
-
# @return [User]
|
|
143
|
-
attr_accessor :user
|
|
144
123
|
|
|
145
124
|
# Initialize with attributes
|
|
146
125
|
def initialize(attributes = {})
|
|
@@ -150,6 +129,8 @@ module GetStream
|
|
|
150
129
|
@deleted_reply_count = attributes[:deleted_reply_count] || attributes['deleted_reply_count']
|
|
151
130
|
@html = attributes[:html] || attributes['html']
|
|
152
131
|
@id = attributes[:id] || attributes['id']
|
|
132
|
+
@mentioned_channel = attributes[:mentioned_channel] || attributes['mentioned_channel']
|
|
133
|
+
@mentioned_here = attributes[:mentioned_here] || attributes['mentioned_here']
|
|
153
134
|
@pinned = attributes[:pinned] || attributes['pinned']
|
|
154
135
|
@reply_count = attributes[:reply_count] || attributes['reply_count']
|
|
155
136
|
@shadowed = attributes[:shadowed] || attributes['shadowed']
|
|
@@ -164,12 +145,10 @@ module GetStream
|
|
|
164
145
|
@restricted_visibility = attributes[:restricted_visibility] || attributes['restricted_visibility']
|
|
165
146
|
@custom = attributes[:custom] || attributes['custom']
|
|
166
147
|
@reaction_counts = attributes[:reaction_counts] || attributes['reaction_counts']
|
|
167
|
-
@reaction_groups = attributes[:reaction_groups] || attributes['reaction_groups']
|
|
168
148
|
@reaction_scores = attributes[:reaction_scores] || attributes['reaction_scores']
|
|
169
|
-
@
|
|
149
|
+
@user = attributes[:user] || attributes['user']
|
|
170
150
|
@command = attributes[:command] || attributes['command'] || nil
|
|
171
151
|
@deleted_at = attributes[:deleted_at] || attributes['deleted_at'] || nil
|
|
172
|
-
@deleted_for_me = attributes[:deleted_for_me] || attributes['deleted_for_me'] || nil
|
|
173
152
|
@message_text_updated_at = attributes[:message_text_updated_at] || attributes['message_text_updated_at'] || nil
|
|
174
153
|
@mml = attributes[:mml] || attributes['mml'] || nil
|
|
175
154
|
@parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
|
|
@@ -178,17 +157,10 @@ module GetStream
|
|
|
178
157
|
@poll_id = attributes[:poll_id] || attributes['poll_id'] || nil
|
|
179
158
|
@quoted_message_id = attributes[:quoted_message_id] || attributes['quoted_message_id'] || nil
|
|
180
159
|
@show_in_channel = attributes[:show_in_channel] || attributes['show_in_channel'] || nil
|
|
181
|
-
@thread_participants = attributes[:thread_participants] || attributes['thread_participants'] || nil
|
|
182
160
|
@i18n = attributes[:i18n] || attributes['i18n'] || nil
|
|
183
161
|
@image_labels = attributes[:image_labels] || attributes['image_labels'] || nil
|
|
184
|
-
@member = attributes[:member] || attributes['member'] || nil
|
|
185
|
-
@moderation = attributes[:moderation] || attributes['moderation'] || nil
|
|
186
162
|
@pinned_by = attributes[:pinned_by] || attributes['pinned_by'] || nil
|
|
187
|
-
@poll = attributes[:poll] || attributes['poll'] || nil
|
|
188
163
|
@quoted_message = attributes[:quoted_message] || attributes['quoted_message'] || nil
|
|
189
|
-
@reminder = attributes[:reminder] || attributes['reminder'] || nil
|
|
190
|
-
@shared_location = attributes[:shared_location] || attributes['shared_location'] || nil
|
|
191
|
-
@user = attributes[:user] || attributes['user'] || nil
|
|
192
164
|
end
|
|
193
165
|
|
|
194
166
|
# Override field mappings for JSON serialization
|
|
@@ -199,6 +171,8 @@ module GetStream
|
|
|
199
171
|
deleted_reply_count: 'deleted_reply_count',
|
|
200
172
|
html: 'html',
|
|
201
173
|
id: 'id',
|
|
174
|
+
mentioned_channel: 'mentioned_channel',
|
|
175
|
+
mentioned_here: 'mentioned_here',
|
|
202
176
|
pinned: 'pinned',
|
|
203
177
|
reply_count: 'reply_count',
|
|
204
178
|
shadowed: 'shadowed',
|
|
@@ -213,12 +187,10 @@ module GetStream
|
|
|
213
187
|
restricted_visibility: 'restricted_visibility',
|
|
214
188
|
custom: 'custom',
|
|
215
189
|
reaction_counts: 'reaction_counts',
|
|
216
|
-
reaction_groups: 'reaction_groups',
|
|
217
190
|
reaction_scores: 'reaction_scores',
|
|
218
|
-
|
|
191
|
+
user: 'user',
|
|
219
192
|
command: 'command',
|
|
220
193
|
deleted_at: 'deleted_at',
|
|
221
|
-
deleted_for_me: 'deleted_for_me',
|
|
222
194
|
message_text_updated_at: 'message_text_updated_at',
|
|
223
195
|
mml: 'mml',
|
|
224
196
|
parent_id: 'parent_id',
|
|
@@ -227,17 +199,10 @@ module GetStream
|
|
|
227
199
|
poll_id: 'poll_id',
|
|
228
200
|
quoted_message_id: 'quoted_message_id',
|
|
229
201
|
show_in_channel: 'show_in_channel',
|
|
230
|
-
thread_participants: 'thread_participants',
|
|
231
202
|
i18n: 'i18n',
|
|
232
203
|
image_labels: 'image_labels',
|
|
233
|
-
member: 'member',
|
|
234
|
-
moderation: 'moderation',
|
|
235
204
|
pinned_by: 'pinned_by',
|
|
236
|
-
|
|
237
|
-
quoted_message: 'quoted_message',
|
|
238
|
-
reminder: 'reminder',
|
|
239
|
-
shared_location: 'shared_location',
|
|
240
|
-
user: 'user'
|
|
205
|
+
quoted_message: 'quoted_message'
|
|
241
206
|
}
|
|
242
207
|
end
|
|
243
208
|
end
|
|
@@ -30,6 +30,9 @@ module GetStream
|
|
|
30
30
|
# @!attribute ai_image_label_definitions
|
|
31
31
|
# @return [Array<AIImageLabelDefinition>] Configurable image moderation label definitions for dashboard rendering
|
|
32
32
|
attr_accessor :ai_image_label_definitions
|
|
33
|
+
# @!attribute available_bodyguard_profiles
|
|
34
|
+
# @return [Array<BodyguardProfileSummary>] Names of Bodyguard credential profiles registered on this app. The dashboard uses this list to render the profile picker on the AI Text section.
|
|
35
|
+
attr_accessor :available_bodyguard_profiles
|
|
33
36
|
# @!attribute ai_image_config
|
|
34
37
|
# @return [AIImageConfig]
|
|
35
38
|
attr_accessor :ai_image_config
|
|
@@ -74,6 +77,7 @@ module GetStream
|
|
|
74
77
|
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
75
78
|
@supported_video_call_harm_types = attributes[:supported_video_call_harm_types] || attributes['supported_video_call_harm_types']
|
|
76
79
|
@ai_image_label_definitions = attributes[:ai_image_label_definitions] || attributes['ai_image_label_definitions'] || nil
|
|
80
|
+
@available_bodyguard_profiles = attributes[:available_bodyguard_profiles] || attributes['available_bodyguard_profiles'] || nil
|
|
77
81
|
@ai_image_config = attributes[:ai_image_config] || attributes['ai_image_config'] || nil
|
|
78
82
|
@ai_image_subclassifications = attributes[:ai_image_subclassifications] || attributes['ai_image_subclassifications'] || nil
|
|
79
83
|
@ai_text_config = attributes[:ai_text_config] || attributes['ai_text_config'] || nil
|
|
@@ -97,6 +101,7 @@ module GetStream
|
|
|
97
101
|
updated_at: 'updated_at',
|
|
98
102
|
supported_video_call_harm_types: 'supported_video_call_harm_types',
|
|
99
103
|
ai_image_label_definitions: 'ai_image_label_definitions',
|
|
104
|
+
available_bodyguard_profiles: 'available_bodyguard_profiles',
|
|
100
105
|
ai_image_config: 'ai_image_config',
|
|
101
106
|
ai_image_subclassifications: 'ai_image_subclassifications',
|
|
102
107
|
ai_text_config: 'ai_text_config',
|
|
@@ -0,0 +1,96 @@
|
|
|
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 CreateCampaignRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute sender_id
|
|
13
|
+
# @return [String] The user ID of the sender
|
|
14
|
+
attr_accessor :sender_id
|
|
15
|
+
# @!attribute message_template
|
|
16
|
+
# @return [CampaignMessageTemplate]
|
|
17
|
+
attr_accessor :message_template
|
|
18
|
+
# @!attribute create_channels
|
|
19
|
+
# @return [Boolean] Whether to create channels for the campaign, if they don't exist
|
|
20
|
+
attr_accessor :create_channels
|
|
21
|
+
# @!attribute description
|
|
22
|
+
# @return [String] The description of the campaign
|
|
23
|
+
attr_accessor :description
|
|
24
|
+
# @!attribute id
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :id
|
|
27
|
+
# @!attribute name
|
|
28
|
+
# @return [String] The name of the campaign
|
|
29
|
+
attr_accessor :name
|
|
30
|
+
# @!attribute sender_mode
|
|
31
|
+
# @return [String] The sender mode of the campaign
|
|
32
|
+
attr_accessor :sender_mode
|
|
33
|
+
# @!attribute sender_visibility
|
|
34
|
+
# @return [String] The visibility of the created channels for the sender
|
|
35
|
+
attr_accessor :sender_visibility
|
|
36
|
+
# @!attribute show_channels
|
|
37
|
+
# @return [Boolean] Whether the campaign should show channels, if they are hidden
|
|
38
|
+
attr_accessor :show_channels
|
|
39
|
+
# @!attribute skip_push
|
|
40
|
+
# @return [Boolean] Whether to skip push notifications
|
|
41
|
+
attr_accessor :skip_push
|
|
42
|
+
# @!attribute skip_webhook
|
|
43
|
+
# @return [Boolean] Whether to skip webhooks
|
|
44
|
+
attr_accessor :skip_webhook
|
|
45
|
+
# @!attribute segment_ids
|
|
46
|
+
# @return [Array<String>] The IDs of the segments to send the campaign to. Duplicate user IDs are removed. Use either user_ids or segment_ids, not both
|
|
47
|
+
attr_accessor :segment_ids
|
|
48
|
+
# @!attribute user_ids
|
|
49
|
+
# @return [Array<String>] The userIDs to send the campaign to. Use either segment ids or user ids not both
|
|
50
|
+
attr_accessor :user_ids
|
|
51
|
+
# @!attribute channel_template
|
|
52
|
+
# @return [CampaignChannelTemplate]
|
|
53
|
+
attr_accessor :channel_template
|
|
54
|
+
|
|
55
|
+
# Initialize with attributes
|
|
56
|
+
def initialize(attributes = {})
|
|
57
|
+
super(attributes)
|
|
58
|
+
@sender_id = attributes[:sender_id] || attributes['sender_id']
|
|
59
|
+
@message_template = attributes[:message_template] || attributes['message_template']
|
|
60
|
+
@create_channels = attributes[:create_channels] || attributes['create_channels'] || nil
|
|
61
|
+
@description = attributes[:description] || attributes['description'] || nil
|
|
62
|
+
@id = attributes[:id] || attributes['id'] || nil
|
|
63
|
+
@name = attributes[:name] || attributes['name'] || nil
|
|
64
|
+
@sender_mode = attributes[:sender_mode] || attributes['sender_mode'] || nil
|
|
65
|
+
@sender_visibility = attributes[:sender_visibility] || attributes['sender_visibility'] || nil
|
|
66
|
+
@show_channels = attributes[:show_channels] || attributes['show_channels'] || nil
|
|
67
|
+
@skip_push = attributes[:skip_push] || attributes['skip_push'] || nil
|
|
68
|
+
@skip_webhook = attributes[:skip_webhook] || attributes['skip_webhook'] || nil
|
|
69
|
+
@segment_ids = attributes[:segment_ids] || attributes['segment_ids'] || nil
|
|
70
|
+
@user_ids = attributes[:user_ids] || attributes['user_ids'] || nil
|
|
71
|
+
@channel_template = attributes[:channel_template] || attributes['channel_template'] || nil
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Override field mappings for JSON serialization
|
|
75
|
+
def self.json_field_mappings
|
|
76
|
+
{
|
|
77
|
+
sender_id: 'sender_id',
|
|
78
|
+
message_template: 'message_template',
|
|
79
|
+
create_channels: 'create_channels',
|
|
80
|
+
description: 'description',
|
|
81
|
+
id: 'id',
|
|
82
|
+
name: 'name',
|
|
83
|
+
sender_mode: 'sender_mode',
|
|
84
|
+
sender_visibility: 'sender_visibility',
|
|
85
|
+
show_channels: 'show_channels',
|
|
86
|
+
skip_push: 'skip_push',
|
|
87
|
+
skip_webhook: 'skip_webhook',
|
|
88
|
+
segment_ids: 'segment_ids',
|
|
89
|
+
user_ids: 'user_ids',
|
|
90
|
+
channel_template: 'channel_template'
|
|
91
|
+
}
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
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
|
+
# Basic response information
|
|
9
|
+
class CreateCampaignResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute campaign
|
|
16
|
+
# @return [CampaignResponse]
|
|
17
|
+
attr_accessor :campaign
|
|
18
|
+
# @!attribute users
|
|
19
|
+
# @return [PagerResponse]
|
|
20
|
+
attr_accessor :users
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
26
|
+
@campaign = attributes[:campaign] || attributes['campaign'] || nil
|
|
27
|
+
@users = attributes[:users] || attributes['users'] || nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
duration: 'duration',
|
|
34
|
+
campaign: 'campaign',
|
|
35
|
+
users: 'users'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -21,6 +21,9 @@ module GetStream
|
|
|
21
21
|
# @!attribute activity_selectors
|
|
22
22
|
# @return [Array<ActivitySelectorConfig>] Configuration for activity selectors
|
|
23
23
|
attr_accessor :activity_selectors
|
|
24
|
+
# @!attribute activity_filter
|
|
25
|
+
# @return [ActivityFilterConfig]
|
|
26
|
+
attr_accessor :activity_filter
|
|
24
27
|
# @!attribute aggregation
|
|
25
28
|
# @return [AggregationConfig]
|
|
26
29
|
attr_accessor :aggregation
|
|
@@ -47,6 +50,7 @@ module GetStream
|
|
|
47
50
|
@default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
|
|
48
51
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
49
52
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
53
|
+
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
50
54
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
51
55
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
52
56
|
@notification = attributes[:notification] || attributes['notification'] || nil
|
|
@@ -62,6 +66,7 @@ module GetStream
|
|
|
62
66
|
default_visibility: 'default_visibility',
|
|
63
67
|
activity_processors: 'activity_processors',
|
|
64
68
|
activity_selectors: 'activity_selectors',
|
|
69
|
+
activity_filter: 'activity_filter',
|
|
65
70
|
aggregation: 'aggregation',
|
|
66
71
|
custom: 'custom',
|
|
67
72
|
notification: 'notification',
|
|
@@ -6,28 +6,28 @@ module GetStream
|
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
class
|
|
9
|
+
class DeleteActionConfigResponse < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute
|
|
13
|
-
# @return [
|
|
14
|
-
attr_accessor :
|
|
15
|
-
# @!attribute
|
|
12
|
+
# @!attribute deleted
|
|
13
|
+
# @return [Integer] Number of action configs deleted (0 or 1)
|
|
14
|
+
attr_accessor :deleted
|
|
15
|
+
# @!attribute duration
|
|
16
16
|
# @return [String]
|
|
17
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :duration
|
|
18
18
|
|
|
19
19
|
# Initialize with attributes
|
|
20
20
|
def initialize(attributes = {})
|
|
21
21
|
super(attributes)
|
|
22
|
-
@
|
|
23
|
-
@
|
|
22
|
+
@deleted = attributes[:deleted] || attributes['deleted']
|
|
23
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
# Override field mappings for JSON serialization
|
|
27
27
|
def self.json_field_mappings
|
|
28
28
|
{
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
deleted: 'deleted',
|
|
30
|
+
duration: 'duration'
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
end
|
data/lib/getstream_ruby/generated/models/{delivery_receipts.rb → delete_campaign_response.rb}
RENAMED
|
@@ -5,24 +5,24 @@
|
|
|
5
5
|
module GetStream
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
|
-
#
|
|
9
|
-
class
|
|
8
|
+
# Basic response information
|
|
9
|
+
class DeleteCampaignResponse < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute
|
|
13
|
-
# @return [
|
|
14
|
-
attr_accessor :
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
15
|
|
|
16
16
|
# Initialize with attributes
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
super(attributes)
|
|
19
|
-
@
|
|
19
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
# Override field mappings for JSON serialization
|
|
23
23
|
def self.json_field_mappings
|
|
24
24
|
{
|
|
25
|
-
|
|
25
|
+
duration: 'duration'
|
|
26
26
|
}
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -12,6 +12,9 @@ module GetStream
|
|
|
12
12
|
# @!attribute enrich_own_followings
|
|
13
13
|
# @return [Boolean] Default: false. When true, includes fetching and enriching own_followings (follows where activity author's feeds follow current user's feeds).
|
|
14
14
|
attr_accessor :enrich_own_followings
|
|
15
|
+
# @!attribute include_flat_activities
|
|
16
|
+
# @return [Boolean] Controls the top-level flat 'activities' array for aggregated feeds. For new apps, defaults to false (excluded); set to true to include. For older apps, defaults to true (included) for backward compatibility; set to false to exclude.
|
|
17
|
+
attr_accessor :include_flat_activities
|
|
15
18
|
# @!attribute include_score_vars
|
|
16
19
|
# @return [Boolean] Default: false. When true, includes score_vars in activity responses containing variable values used at ranking time.
|
|
17
20
|
attr_accessor :include_score_vars
|
|
@@ -71,6 +74,7 @@ module GetStream
|
|
|
71
74
|
def initialize(attributes = {})
|
|
72
75
|
super(attributes)
|
|
73
76
|
@enrich_own_followings = attributes[:enrich_own_followings] || attributes['enrich_own_followings'] || nil
|
|
77
|
+
@include_flat_activities = attributes[:include_flat_activities] || attributes['include_flat_activities'] || nil
|
|
74
78
|
@include_score_vars = attributes[:include_score_vars] || attributes['include_score_vars'] || nil
|
|
75
79
|
@skip_activity = attributes[:skip_activity] || attributes['skip_activity'] || nil
|
|
76
80
|
@skip_activity_collections = attributes[:skip_activity_collections] || attributes['skip_activity_collections'] || nil
|
|
@@ -95,6 +99,7 @@ module GetStream
|
|
|
95
99
|
def self.json_field_mappings
|
|
96
100
|
{
|
|
97
101
|
enrich_own_followings: 'enrich_own_followings',
|
|
102
|
+
include_flat_activities: 'include_flat_activities',
|
|
98
103
|
include_score_vars: 'include_score_vars',
|
|
99
104
|
skip_activity: 'skip_activity',
|
|
100
105
|
skip_activity_collections: 'skip_activity_collections',
|
|
@@ -9,6 +9,9 @@ module GetStream
|
|
|
9
9
|
class ErrorResult < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute description
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :description
|
|
12
15
|
# @!attribute type
|
|
13
16
|
# @return [String]
|
|
14
17
|
attr_accessor :type
|
|
@@ -22,6 +25,7 @@ module GetStream
|
|
|
22
25
|
# Initialize with attributes
|
|
23
26
|
def initialize(attributes = {})
|
|
24
27
|
super(attributes)
|
|
28
|
+
@description = attributes[:description] || attributes['description']
|
|
25
29
|
@type = attributes[:type] || attributes['type']
|
|
26
30
|
@stacktrace = attributes[:stacktrace] || attributes['stacktrace'] || nil
|
|
27
31
|
@version = attributes[:version] || attributes['version'] || nil
|
|
@@ -30,6 +34,7 @@ module GetStream
|
|
|
30
34
|
# Override field mappings for JSON serialization
|
|
31
35
|
def self.json_field_mappings
|
|
32
36
|
{
|
|
37
|
+
description: 'description',
|
|
33
38
|
type: 'type',
|
|
34
39
|
stacktrace: 'stacktrace',
|
|
35
40
|
version: 'version'
|
|
@@ -81,6 +81,9 @@ module GetStream
|
|
|
81
81
|
# @!attribute callback
|
|
82
82
|
# @return [AsyncModerationCallbackConfig]
|
|
83
83
|
attr_accessor :callback
|
|
84
|
+
# @!attribute failover_config
|
|
85
|
+
# @return [WebhookFailoverConfig]
|
|
86
|
+
attr_accessor :failover_config
|
|
84
87
|
|
|
85
88
|
# Initialize with attributes
|
|
86
89
|
def initialize(attributes = {})
|
|
@@ -109,6 +112,7 @@ module GetStream
|
|
|
109
112
|
@webhook_url = attributes[:webhook_url] || attributes['webhook_url'] || nil
|
|
110
113
|
@event_types = attributes[:event_types] || attributes['event_types'] || nil
|
|
111
114
|
@callback = attributes[:callback] || attributes['callback'] || nil
|
|
115
|
+
@failover_config = attributes[:failover_config] || attributes['failover_config'] || nil
|
|
112
116
|
end
|
|
113
117
|
|
|
114
118
|
# Override field mappings for JSON serialization
|
|
@@ -137,7 +141,8 @@ module GetStream
|
|
|
137
141
|
updated_at: 'updated_at',
|
|
138
142
|
webhook_url: 'webhook_url',
|
|
139
143
|
event_types: 'event_types',
|
|
140
|
-
callback: 'callback'
|
|
144
|
+
callback: 'callback',
|
|
145
|
+
failover_config: 'failover_config'
|
|
141
146
|
}
|
|
142
147
|
end
|
|
143
148
|
end
|
|
@@ -42,6 +42,9 @@ module GetStream
|
|
|
42
42
|
# @!attribute last_feed_get_at
|
|
43
43
|
# @return [DateTime]
|
|
44
44
|
attr_accessor :last_feed_get_at
|
|
45
|
+
# @!attribute activity_filter
|
|
46
|
+
# @return [ActivityFilterConfig]
|
|
47
|
+
attr_accessor :activity_filter
|
|
45
48
|
# @!attribute aggregation
|
|
46
49
|
# @return [AggregationConfig]
|
|
47
50
|
attr_accessor :aggregation
|
|
@@ -72,6 +75,7 @@ module GetStream
|
|
|
72
75
|
@custom = attributes[:custom] || attributes['custom']
|
|
73
76
|
@deleted_at = attributes[:deleted_at] || attributes['deleted_at'] || nil
|
|
74
77
|
@last_feed_get_at = attributes[:last_feed_get_at] || attributes['last_feed_get_at'] || nil
|
|
78
|
+
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
75
79
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
76
80
|
@notification = attributes[:notification] || attributes['notification'] || nil
|
|
77
81
|
@push_notification = attributes[:push_notification] || attributes['push_notification'] || nil
|
|
@@ -93,6 +97,7 @@ module GetStream
|
|
|
93
97
|
custom: 'custom',
|
|
94
98
|
deleted_at: 'deleted_at',
|
|
95
99
|
last_feed_get_at: 'last_feed_get_at',
|
|
100
|
+
activity_filter: 'activity_filter',
|
|
96
101
|
aggregation: 'aggregation',
|
|
97
102
|
notification: 'notification',
|
|
98
103
|
push_notification: 'push_notification',
|
|
@@ -30,6 +30,9 @@ module GetStream
|
|
|
30
30
|
# @!attribute activity_selectors
|
|
31
31
|
# @return [Array<ActivitySelectorConfigResponse>] Configuration for activity selectors
|
|
32
32
|
attr_accessor :activity_selectors
|
|
33
|
+
# @!attribute activity_filter
|
|
34
|
+
# @return [ActivityFilterConfig]
|
|
35
|
+
attr_accessor :activity_filter
|
|
33
36
|
# @!attribute aggregation
|
|
34
37
|
# @return [AggregationConfig]
|
|
35
38
|
attr_accessor :aggregation
|
|
@@ -59,6 +62,7 @@ module GetStream
|
|
|
59
62
|
@deleted_at = attributes[:deleted_at] || attributes['deleted_at'] || nil
|
|
60
63
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
61
64
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
65
|
+
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
62
66
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
63
67
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
64
68
|
@notification = attributes[:notification] || attributes['notification'] || nil
|
|
@@ -77,6 +81,7 @@ module GetStream
|
|
|
77
81
|
deleted_at: 'deleted_at',
|
|
78
82
|
activity_processors: 'activity_processors',
|
|
79
83
|
activity_selectors: 'activity_selectors',
|
|
84
|
+
activity_filter: 'activity_filter',
|
|
80
85
|
aggregation: 'aggregation',
|
|
81
86
|
custom: 'custom',
|
|
82
87
|
notification: 'notification',
|