getstream-ruby 4.1.0 → 6.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.
- checksums.yaml +4 -4
- data/lib/getstream_ruby/generated/chat_client.rb +7 -10
- data/lib/getstream_ruby/generated/common_client.rb +56 -0
- data/lib/getstream_ruby/generated/feeds_client.rb +130 -7
- data/lib/getstream_ruby/generated/models/activity_request.rb +3 -2
- data/lib/getstream_ruby/generated/models/activity_response.rb +7 -2
- data/lib/getstream_ruby/generated/models/add_activity_request.rb +8 -2
- data/lib/getstream_ruby/generated/models/add_comment_bookmark_request.rb +51 -0
- data/lib/getstream_ruby/generated/models/add_comment_bookmark_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/add_comment_reaction_request.rb +2 -1
- data/lib/getstream_ruby/generated/models/add_comment_request.rb +7 -1
- data/lib/getstream_ruby/generated/models/add_reaction_request.rb +2 -1
- data/lib/getstream_ruby/generated/models/add_user_group_members_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/aggregation_config.rb +11 -1
- data/lib/getstream_ruby/generated/models/async_export_error_event.rb +1 -1
- data/lib/getstream_ruby/generated/models/ban_action_request_payload.rb +5 -0
- data/lib/getstream_ruby/generated/models/bookmark_response.rb +20 -0
- data/lib/getstream_ruby/generated/models/bypass_action_request.rb +31 -0
- data/lib/getstream_ruby/generated/models/bypass_request.rb +36 -0
- data/lib/getstream_ruby/generated/models/bypass_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/call_level_event_payload.rb +46 -0
- data/lib/getstream_ruby/generated/models/call_stats_participant_counts.rb +30 -0
- data/lib/getstream_ruby/generated/models/call_stats_participant_session.rb +15 -0
- data/lib/getstream_ruby/generated/models/call_stats_report_ready_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_stats_session_response.rb +61 -0
- data/lib/getstream_ruby/generated/models/check_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/comment_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/comment_restored_event.rb +66 -0
- data/lib/getstream_ruby/generated/models/delete_comment_bookmark_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/delete_retention_policy_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/emau_stats_response.rb +41 -0
- data/lib/getstream_ruby/generated/models/enriched_collection.rb +61 -0
- data/lib/getstream_ruby/generated/models/enrichment_options.rb +5 -0
- data/lib/getstream_ruby/generated/models/entity_creator_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/escalate_payload.rb +41 -0
- data/lib/getstream_ruby/generated/models/escalation_metadata.rb +41 -0
- data/lib/getstream_ruby/generated/models/feed_input.rb +6 -1
- data/lib/getstream_ruby/generated/models/feed_request.rb +6 -1
- data/lib/getstream_ruby/generated/models/feed_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_suggestion_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/feeds_preferences.rb +6 -1
- data/lib/getstream_ruby/generated/models/feeds_preferences_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/feeds_reaction_group.rb +41 -0
- data/lib/getstream_ruby/generated/models/feeds_v3_activity_response.rb +206 -0
- data/lib/getstream_ruby/generated/models/feeds_v3_comment_response.rb +141 -0
- data/lib/getstream_ruby/generated/models/follow_batch_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/follow_request.rb +12 -1
- data/lib/getstream_ruby/generated/models/full_user_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/get_external_storage_awss3_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/get_external_storage_response.rb +51 -0
- data/lib/getstream_ruby/generated/models/get_flag_count_request.rb +36 -0
- data/lib/getstream_ruby/generated/models/get_flag_count_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/get_import_v2_task_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/get_retention_policy_runs_request.rb +51 -0
- data/lib/getstream_ruby/generated/models/get_retention_policy_runs_response.rb +12 -2
- data/lib/getstream_ruby/generated/models/image_content_parameters.rb +5 -0
- data/lib/getstream_ruby/generated/models/import_v2_task_item.rb +6 -1
- data/lib/getstream_ruby/generated/models/import_v2_task_settings.rb +5 -0
- data/lib/getstream_ruby/generated/models/insert_action_log_request.rb +56 -0
- data/lib/getstream_ruby/generated/models/insert_action_log_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/location.rb +10 -15
- data/lib/getstream_ruby/generated/models/moderation_action_config_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb +10 -0
- data/lib/getstream_ruby/generated/models/notification_target.rb +5 -0
- data/lib/getstream_ruby/generated/models/notification_trigger.rb +6 -1
- data/lib/getstream_ruby/generated/models/query_activities_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/query_banned_users_payload.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_call_members_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_call_participants_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/query_call_session_stats_request.rb +51 -0
- data/lib/getstream_ruby/generated/models/query_call_session_stats_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/query_call_stats_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_calls_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_channels_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_comments_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_feeds_usage_stats_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/query_members_payload.rb +3 -3
- data/lib/getstream_ruby/generated/models/query_message_flags_payload.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_reactions_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_threads_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_user_feedback_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/query_users_payload.rb +3 -3
- data/lib/getstream_ruby/generated/models/raw_record_settings.rb +6 -1
- data/lib/getstream_ruby/generated/models/raw_recording_settings_request.rb +6 -1
- data/lib/getstream_ruby/generated/models/raw_recording_settings_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/reaction_group_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/reaction_group_user_response.rb +41 -0
- data/lib/getstream_ruby/generated/models/restore_comment_request.rb +36 -0
- data/lib/getstream_ruby/generated/models/restore_comment_response.rb +41 -0
- data/lib/getstream_ruby/generated/models/retention_run_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/review_queue_item_response.rb +22 -2
- data/lib/getstream_ruby/generated/models/set_retention_policy_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/submit_action_request.rb +11 -1
- data/lib/getstream_ruby/generated/models/text_content_parameters.rb +5 -0
- data/lib/getstream_ruby/generated/models/threaded_comment_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/triggered_rule_response.rb +2 -2
- data/lib/getstream_ruby/generated/models/unban_action_request_payload.rb +6 -1
- data/lib/getstream_ruby/generated/models/unfollow_batch_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/unfollow_pair.rb +41 -0
- data/lib/getstream_ruby/generated/models/update_activities_partial_batch_request.rb +6 -1
- data/lib/getstream_ruby/generated/models/update_activity_partial_change_request.rb +2 -1
- data/lib/getstream_ruby/generated/models/update_activity_partial_request.rb +7 -1
- data/lib/getstream_ruby/generated/models/update_activity_request.rb +8 -2
- data/lib/getstream_ruby/generated/models/update_bookmark_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/update_comment_bookmark_request.rb +56 -0
- data/lib/getstream_ruby/generated/models/update_comment_bookmark_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/update_comment_partial_request.rb +72 -0
- data/lib/getstream_ruby/generated/models/update_comment_partial_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/update_comment_request.rb +7 -1
- data/lib/getstream_ruby/generated/models/update_feed_request.rb +11 -1
- data/lib/getstream_ruby/generated/models/update_follow_request.rb +12 -1
- data/lib/getstream_ruby/generated/models/upsert_activities_request.rb +6 -1
- data/lib/getstream_ruby/generated/models/upsert_config_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/upsert_external_storage_awss3_request.rb +46 -0
- data/lib/getstream_ruby/generated/models/upsert_external_storage_request.rb +36 -0
- data/lib/getstream_ruby/generated/models/upsert_external_storage_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/upsert_moderation_rule_request.rb +22 -12
- data/lib/getstream_ruby/generated/models/user_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/validate_external_storage_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/video_content_parameters.rb +5 -0
- data/lib/getstream_ruby/generated/moderation_client.rb +61 -3
- data/lib/getstream_ruby/generated/video_client.rb +17 -0
- data/lib/getstream_ruby/generated/webhook.rb +4 -0
- data/lib/getstream_ruby/version.rb +1 -1
- metadata +40 -2
|
@@ -9,6 +9,9 @@ module GetStream
|
|
|
9
9
|
class BanActionRequestPayload < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute ban_from_future_channels
|
|
13
|
+
# @return [Boolean] Also ban user from all channels this moderator creates in the future
|
|
14
|
+
attr_accessor :ban_from_future_channels
|
|
12
15
|
# @!attribute channel_ban_only
|
|
13
16
|
# @return [Boolean] Ban only from specific channel
|
|
14
17
|
attr_accessor :channel_ban_only
|
|
@@ -37,6 +40,7 @@ module GetStream
|
|
|
37
40
|
# Initialize with attributes
|
|
38
41
|
def initialize(attributes = {})
|
|
39
42
|
super(attributes)
|
|
43
|
+
@ban_from_future_channels = attributes[:ban_from_future_channels] || attributes['ban_from_future_channels'] || nil
|
|
40
44
|
@channel_ban_only = attributes[:channel_ban_only] || attributes['channel_ban_only'] || nil
|
|
41
45
|
@channel_cid = attributes[:channel_cid] || attributes['channel_cid'] || nil
|
|
42
46
|
@delete_messages = attributes[:delete_messages] || attributes['delete_messages'] || nil
|
|
@@ -50,6 +54,7 @@ module GetStream
|
|
|
50
54
|
# Override field mappings for JSON serialization
|
|
51
55
|
def self.json_field_mappings
|
|
52
56
|
{
|
|
57
|
+
ban_from_future_channels: 'ban_from_future_channels',
|
|
53
58
|
channel_ban_only: 'channel_ban_only',
|
|
54
59
|
channel_cid: 'channel_cid',
|
|
55
60
|
delete_messages: 'delete_messages',
|
|
@@ -9,9 +9,15 @@ module GetStream
|
|
|
9
9
|
class BookmarkResponse < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute _object_id
|
|
13
|
+
# @return [String] ID of the bookmarked object
|
|
14
|
+
attr_accessor :_object_id
|
|
12
15
|
# @!attribute created_at
|
|
13
16
|
# @return [DateTime] When the bookmark was created
|
|
14
17
|
attr_accessor :created_at
|
|
18
|
+
# @!attribute object_type
|
|
19
|
+
# @return [String] Type of the bookmarked object (activity or comment)
|
|
20
|
+
attr_accessor :object_type
|
|
15
21
|
# @!attribute updated_at
|
|
16
22
|
# @return [DateTime] When the bookmark was last updated
|
|
17
23
|
attr_accessor :updated_at
|
|
@@ -21,6 +27,12 @@ module GetStream
|
|
|
21
27
|
# @!attribute user
|
|
22
28
|
# @return [UserResponse]
|
|
23
29
|
attr_accessor :user
|
|
30
|
+
# @!attribute activity_id
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :activity_id
|
|
33
|
+
# @!attribute comment
|
|
34
|
+
# @return [CommentResponse]
|
|
35
|
+
attr_accessor :comment
|
|
24
36
|
# @!attribute custom
|
|
25
37
|
# @return [Object] Custom data for the bookmark
|
|
26
38
|
attr_accessor :custom
|
|
@@ -31,10 +43,14 @@ module GetStream
|
|
|
31
43
|
# Initialize with attributes
|
|
32
44
|
def initialize(attributes = {})
|
|
33
45
|
super(attributes)
|
|
46
|
+
@_object_id = attributes[:_object_id] || attributes['object_id']
|
|
34
47
|
@created_at = attributes[:created_at] || attributes['created_at']
|
|
48
|
+
@object_type = attributes[:object_type] || attributes['object_type']
|
|
35
49
|
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
36
50
|
@activity = attributes[:activity] || attributes['activity']
|
|
37
51
|
@user = attributes[:user] || attributes['user']
|
|
52
|
+
@activity_id = attributes[:activity_id] || attributes['activity_id'] || nil
|
|
53
|
+
@comment = attributes[:comment] || attributes['comment'] || nil
|
|
38
54
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
39
55
|
@folder = attributes[:folder] || attributes['folder'] || nil
|
|
40
56
|
end
|
|
@@ -42,10 +58,14 @@ module GetStream
|
|
|
42
58
|
# Override field mappings for JSON serialization
|
|
43
59
|
def self.json_field_mappings
|
|
44
60
|
{
|
|
61
|
+
_object_id: 'object_id',
|
|
45
62
|
created_at: 'created_at',
|
|
63
|
+
object_type: 'object_type',
|
|
46
64
|
updated_at: 'updated_at',
|
|
47
65
|
activity: 'activity',
|
|
48
66
|
user: 'user',
|
|
67
|
+
activity_id: 'activity_id',
|
|
68
|
+
comment: 'comment',
|
|
49
69
|
custom: 'custom',
|
|
50
70
|
folder: 'folder'
|
|
51
71
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 BypassActionRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute enabled
|
|
13
|
+
# @return [Boolean]
|
|
14
|
+
attr_accessor :enabled
|
|
15
|
+
|
|
16
|
+
# Initialize with attributes
|
|
17
|
+
def initialize(attributes = {})
|
|
18
|
+
super(attributes)
|
|
19
|
+
@enabled = attributes[:enabled] || attributes['enabled'] || nil
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Override field mappings for JSON serialization
|
|
23
|
+
def self.json_field_mappings
|
|
24
|
+
{
|
|
25
|
+
enabled: 'enabled'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
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
|
+
#
|
|
9
|
+
class BypassRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute enabled
|
|
13
|
+
# @return [Boolean] Whether to enable moderation bypass for this user
|
|
14
|
+
attr_accessor :enabled
|
|
15
|
+
# @!attribute target_user_id
|
|
16
|
+
# @return [String] ID of the user to update
|
|
17
|
+
attr_accessor :target_user_id
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@enabled = attributes[:enabled] || attributes['enabled']
|
|
23
|
+
@target_user_id = attributes[:target_user_id] || attributes['target_user_id']
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
enabled: 'enabled',
|
|
30
|
+
target_user_id: 'target_user_id'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
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 BypassResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
|
|
16
|
+
# Initialize with attributes
|
|
17
|
+
def initialize(attributes = {})
|
|
18
|
+
super(attributes)
|
|
19
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Override field mappings for JSON serialization
|
|
23
|
+
def self.json_field_mappings
|
|
24
|
+
{
|
|
25
|
+
duration: 'duration'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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 CallLevelEventPayload < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute event_type
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :event_type
|
|
15
|
+
# @!attribute timestamp
|
|
16
|
+
# @return [Integer]
|
|
17
|
+
attr_accessor :timestamp
|
|
18
|
+
# @!attribute user_id
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :user_id
|
|
21
|
+
# @!attribute payload
|
|
22
|
+
# @return [Object]
|
|
23
|
+
attr_accessor :payload
|
|
24
|
+
|
|
25
|
+
# Initialize with attributes
|
|
26
|
+
def initialize(attributes = {})
|
|
27
|
+
super(attributes)
|
|
28
|
+
@event_type = attributes[:event_type] || attributes['event_type']
|
|
29
|
+
@timestamp = attributes[:timestamp] || attributes['timestamp']
|
|
30
|
+
@user_id = attributes[:user_id] || attributes['user_id']
|
|
31
|
+
@payload = attributes[:payload] || attributes['payload'] || nil
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Override field mappings for JSON serialization
|
|
35
|
+
def self.json_field_mappings
|
|
36
|
+
{
|
|
37
|
+
event_type: 'event_type',
|
|
38
|
+
timestamp: 'timestamp',
|
|
39
|
+
user_id: 'user_id',
|
|
40
|
+
payload: 'payload'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -27,6 +27,24 @@ module GetStream
|
|
|
27
27
|
# @!attribute sessions
|
|
28
28
|
# @return [Integer]
|
|
29
29
|
attr_accessor :sessions
|
|
30
|
+
# @!attribute sfus_used
|
|
31
|
+
# @return [Integer]
|
|
32
|
+
attr_accessor :sfus_used
|
|
33
|
+
# @!attribute average_jitter_ms
|
|
34
|
+
# @return [Integer]
|
|
35
|
+
attr_accessor :average_jitter_ms
|
|
36
|
+
# @!attribute average_latency_ms
|
|
37
|
+
# @return [Integer]
|
|
38
|
+
attr_accessor :average_latency_ms
|
|
39
|
+
# @!attribute call_event_count
|
|
40
|
+
# @return [Integer]
|
|
41
|
+
attr_accessor :call_event_count
|
|
42
|
+
# @!attribute cq_score
|
|
43
|
+
# @return [Integer]
|
|
44
|
+
attr_accessor :cq_score
|
|
45
|
+
# @!attribute max_freezes_duration_ms
|
|
46
|
+
# @return [Integer]
|
|
47
|
+
attr_accessor :max_freezes_duration_ms
|
|
30
48
|
# @!attribute total_participant_duration
|
|
31
49
|
# @return [Integer]
|
|
32
50
|
attr_accessor :total_participant_duration
|
|
@@ -40,6 +58,12 @@ module GetStream
|
|
|
40
58
|
@peak_concurrent_users = attributes[:peak_concurrent_users] || attributes['peak_concurrent_users']
|
|
41
59
|
@publishers = attributes[:publishers] || attributes['publishers']
|
|
42
60
|
@sessions = attributes[:sessions] || attributes['sessions']
|
|
61
|
+
@sfus_used = attributes[:sfus_used] || attributes['sfus_used']
|
|
62
|
+
@average_jitter_ms = attributes[:average_jitter_ms] || attributes['average_jitter_ms'] || nil
|
|
63
|
+
@average_latency_ms = attributes[:average_latency_ms] || attributes['average_latency_ms'] || nil
|
|
64
|
+
@call_event_count = attributes[:call_event_count] || attributes['call_event_count'] || nil
|
|
65
|
+
@cq_score = attributes[:cq_score] || attributes['cq_score'] || nil
|
|
66
|
+
@max_freezes_duration_ms = attributes[:max_freezes_duration_ms] || attributes['max_freezes_duration_ms'] || nil
|
|
43
67
|
@total_participant_duration = attributes[:total_participant_duration] || attributes['total_participant_duration'] || nil
|
|
44
68
|
end
|
|
45
69
|
|
|
@@ -52,6 +76,12 @@ module GetStream
|
|
|
52
76
|
peak_concurrent_users: 'peak_concurrent_users',
|
|
53
77
|
publishers: 'publishers',
|
|
54
78
|
sessions: 'sessions',
|
|
79
|
+
sfus_used: 'sfus_used',
|
|
80
|
+
average_jitter_ms: 'average_jitter_ms',
|
|
81
|
+
average_latency_ms: 'average_latency_ms',
|
|
82
|
+
call_event_count: 'call_event_count',
|
|
83
|
+
cq_score: 'cq_score',
|
|
84
|
+
max_freezes_duration_ms: 'max_freezes_duration_ms',
|
|
55
85
|
total_participant_duration: 'total_participant_duration'
|
|
56
86
|
}
|
|
57
87
|
end
|
|
@@ -39,6 +39,15 @@ module GetStream
|
|
|
39
39
|
# @!attribute ended_at
|
|
40
40
|
# @return [DateTime]
|
|
41
41
|
attr_accessor :ended_at
|
|
42
|
+
# @!attribute freezes_duration_ms
|
|
43
|
+
# @return [Integer]
|
|
44
|
+
attr_accessor :freezes_duration_ms
|
|
45
|
+
# @!attribute jitter_ms
|
|
46
|
+
# @return [Integer]
|
|
47
|
+
attr_accessor :jitter_ms
|
|
48
|
+
# @!attribute latency_ms
|
|
49
|
+
# @return [Integer]
|
|
50
|
+
attr_accessor :latency_ms
|
|
42
51
|
# @!attribute os
|
|
43
52
|
# @return [String]
|
|
44
53
|
attr_accessor :os
|
|
@@ -77,6 +86,9 @@ module GetStream
|
|
|
77
86
|
@current_sfu = attributes[:current_sfu] || attributes['current_sfu'] || nil
|
|
78
87
|
@distance_to_sfu_kilometers = attributes[:distance_to_sfu_kilometers] || attributes['distance_to_sfu_kilometers'] || nil
|
|
79
88
|
@ended_at = attributes[:ended_at] || attributes['ended_at'] || nil
|
|
89
|
+
@freezes_duration_ms = attributes[:freezes_duration_ms] || attributes['freezes_duration_ms'] || nil
|
|
90
|
+
@jitter_ms = attributes[:jitter_ms] || attributes['jitter_ms'] || nil
|
|
91
|
+
@latency_ms = attributes[:latency_ms] || attributes['latency_ms'] || nil
|
|
80
92
|
@os = attributes[:os] || attributes['os'] || nil
|
|
81
93
|
@publisher_type = attributes[:publisher_type] || attributes['publisher_type'] || nil
|
|
82
94
|
@sdk = attributes[:sdk] || attributes['sdk'] || nil
|
|
@@ -100,6 +112,9 @@ module GetStream
|
|
|
100
112
|
current_sfu: 'current_sfu',
|
|
101
113
|
distance_to_sfu_kilometers: 'distance_to_sfu_kilometers',
|
|
102
114
|
ended_at: 'ended_at',
|
|
115
|
+
freezes_duration_ms: 'freezes_duration_ms',
|
|
116
|
+
jitter_ms: 'jitter_ms',
|
|
117
|
+
latency_ms: 'latency_ms',
|
|
103
118
|
os: 'os',
|
|
104
119
|
publisher_type: 'publisher_type',
|
|
105
120
|
sdk: 'sdk',
|
|
@@ -18,6 +18,9 @@ module GetStream
|
|
|
18
18
|
# @!attribute session_id
|
|
19
19
|
# @return [String] Call session ID
|
|
20
20
|
attr_accessor :session_id
|
|
21
|
+
# @!attribute counts
|
|
22
|
+
# @return [CallStatsParticipantCounts]
|
|
23
|
+
attr_accessor :counts
|
|
21
24
|
# @!attribute type
|
|
22
25
|
# @return [String] The type of event, "call.report_ready" in this case
|
|
23
26
|
attr_accessor :type
|
|
@@ -34,6 +37,7 @@ module GetStream
|
|
|
34
37
|
@call_cid = attributes[:call_cid] || attributes['call_cid']
|
|
35
38
|
@created_at = attributes[:created_at] || attributes['created_at']
|
|
36
39
|
@session_id = attributes[:session_id] || attributes['session_id']
|
|
40
|
+
@counts = attributes[:counts] || attributes['counts']
|
|
37
41
|
@type = attributes[:type] || attributes['type'] || "call.stats_report_ready"
|
|
38
42
|
@is_trimmed = attributes[:is_trimmed] || attributes['is_trimmed'] || nil
|
|
39
43
|
@participants_overview = attributes[:participants_overview] || attributes['participants_overview'] || nil
|
|
@@ -45,6 +49,7 @@ module GetStream
|
|
|
45
49
|
call_cid: 'call_cid',
|
|
46
50
|
created_at: 'created_at',
|
|
47
51
|
session_id: 'session_id',
|
|
52
|
+
counts: 'counts',
|
|
48
53
|
type: 'type',
|
|
49
54
|
is_trimmed: 'is_trimmed',
|
|
50
55
|
participants_overview: 'participants_overview'
|
|
@@ -0,0 +1,61 @@
|
|
|
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 CallStatsSessionResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute call_id
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :call_id
|
|
15
|
+
# @!attribute call_session_id
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :call_session_id
|
|
18
|
+
# @!attribute call_type
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :call_type
|
|
21
|
+
# @!attribute generated_at
|
|
22
|
+
# @return [DateTime]
|
|
23
|
+
attr_accessor :generated_at
|
|
24
|
+
# @!attribute counts
|
|
25
|
+
# @return [CallStatsParticipantCounts]
|
|
26
|
+
attr_accessor :counts
|
|
27
|
+
# @!attribute call_ended_at
|
|
28
|
+
# @return [DateTime]
|
|
29
|
+
attr_accessor :call_ended_at
|
|
30
|
+
# @!attribute call_started_at
|
|
31
|
+
# @return [DateTime]
|
|
32
|
+
attr_accessor :call_started_at
|
|
33
|
+
|
|
34
|
+
# Initialize with attributes
|
|
35
|
+
def initialize(attributes = {})
|
|
36
|
+
super(attributes)
|
|
37
|
+
@call_id = attributes[:call_id] || attributes['call_id']
|
|
38
|
+
@call_session_id = attributes[:call_session_id] || attributes['call_session_id']
|
|
39
|
+
@call_type = attributes[:call_type] || attributes['call_type']
|
|
40
|
+
@generated_at = attributes[:generated_at] || attributes['generated_at']
|
|
41
|
+
@counts = attributes[:counts] || attributes['counts']
|
|
42
|
+
@call_ended_at = attributes[:call_ended_at] || attributes['call_ended_at'] || nil
|
|
43
|
+
@call_started_at = attributes[:call_started_at] || attributes['call_started_at'] || nil
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Override field mappings for JSON serialization
|
|
47
|
+
def self.json_field_mappings
|
|
48
|
+
{
|
|
49
|
+
call_id: 'call_id',
|
|
50
|
+
call_session_id: 'call_session_id',
|
|
51
|
+
call_type: 'call_type',
|
|
52
|
+
generated_at: 'generated_at',
|
|
53
|
+
counts: 'counts',
|
|
54
|
+
call_ended_at: 'call_ended_at',
|
|
55
|
+
call_started_at: 'call_started_at'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute config_team
|
|
25
25
|
# @return [String] Team associated with the configuration
|
|
26
26
|
attr_accessor :config_team
|
|
27
|
+
# @!attribute content_published_at
|
|
28
|
+
# @return [DateTime] Original timestamp when the content was produced (for correlating flagged content with source video timeline)
|
|
29
|
+
attr_accessor :content_published_at
|
|
27
30
|
# @!attribute test_mode
|
|
28
31
|
# @return [Boolean] Whether to run moderation in test mode
|
|
29
32
|
attr_accessor :test_mode
|
|
@@ -51,6 +54,7 @@ module GetStream
|
|
|
51
54
|
@entity_type = attributes[:entity_type] || attributes['entity_type']
|
|
52
55
|
@config_key = attributes[:config_key] || attributes['config_key'] || nil
|
|
53
56
|
@config_team = attributes[:config_team] || attributes['config_team'] || nil
|
|
57
|
+
@content_published_at = attributes[:content_published_at] || attributes['content_published_at'] || nil
|
|
54
58
|
@test_mode = attributes[:test_mode] || attributes['test_mode'] || nil
|
|
55
59
|
@user_id = attributes[:user_id] || attributes['user_id'] || nil
|
|
56
60
|
@config = attributes[:config] || attributes['config'] || nil
|
|
@@ -67,6 +71,7 @@ module GetStream
|
|
|
67
71
|
entity_type: 'entity_type',
|
|
68
72
|
config_key: 'config_key',
|
|
69
73
|
config_team: 'config_team',
|
|
74
|
+
content_published_at: 'content_published_at',
|
|
70
75
|
test_mode: 'test_mode',
|
|
71
76
|
user_id: 'user_id',
|
|
72
77
|
config: 'config',
|
|
@@ -12,6 +12,9 @@ module GetStream
|
|
|
12
12
|
# @!attribute _object_id
|
|
13
13
|
# @return [String] ID of the object this comment is associated with
|
|
14
14
|
attr_accessor :_object_id
|
|
15
|
+
# @!attribute bookmark_count
|
|
16
|
+
# @return [Integer]
|
|
17
|
+
attr_accessor :bookmark_count
|
|
15
18
|
# @!attribute confidence_score
|
|
16
19
|
# @return [Float] Confidence score of the comment
|
|
17
20
|
attr_accessor :confidence_score
|
|
@@ -89,6 +92,7 @@ module GetStream
|
|
|
89
92
|
def initialize(attributes = {})
|
|
90
93
|
super(attributes)
|
|
91
94
|
@_object_id = attributes[:_object_id] || attributes['object_id']
|
|
95
|
+
@bookmark_count = attributes[:bookmark_count] || attributes['bookmark_count']
|
|
92
96
|
@confidence_score = attributes[:confidence_score] || attributes['confidence_score']
|
|
93
97
|
@created_at = attributes[:created_at] || attributes['created_at']
|
|
94
98
|
@downvote_count = attributes[:downvote_count] || attributes['downvote_count']
|
|
@@ -119,6 +123,7 @@ module GetStream
|
|
|
119
123
|
def self.json_field_mappings
|
|
120
124
|
{
|
|
121
125
|
_object_id: 'object_id',
|
|
126
|
+
bookmark_count: 'bookmark_count',
|
|
122
127
|
confidence_score: 'confidence_score',
|
|
123
128
|
created_at: 'created_at',
|
|
124
129
|
downvote_count: 'downvote_count',
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
# Emitted when a soft-deleted comment is restored.
|
|
9
|
+
class CommentRestoredEvent < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute created_at
|
|
13
|
+
# @return [DateTime] Date/time of creation
|
|
14
|
+
attr_accessor :created_at
|
|
15
|
+
# @!attribute fid
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :fid
|
|
18
|
+
# @!attribute comment
|
|
19
|
+
# @return [CommentResponse]
|
|
20
|
+
attr_accessor :comment
|
|
21
|
+
# @!attribute custom
|
|
22
|
+
# @return [Object]
|
|
23
|
+
attr_accessor :custom
|
|
24
|
+
# @!attribute type
|
|
25
|
+
# @return [String] The type of event: "feeds.comment.restored" in this case
|
|
26
|
+
attr_accessor :type
|
|
27
|
+
# @!attribute feed_visibility
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :feed_visibility
|
|
30
|
+
# @!attribute received_at
|
|
31
|
+
# @return [DateTime]
|
|
32
|
+
attr_accessor :received_at
|
|
33
|
+
# @!attribute user
|
|
34
|
+
# @return [UserResponseCommonFields]
|
|
35
|
+
attr_accessor :user
|
|
36
|
+
|
|
37
|
+
# Initialize with attributes
|
|
38
|
+
def initialize(attributes = {})
|
|
39
|
+
super(attributes)
|
|
40
|
+
@created_at = attributes[:created_at] || attributes['created_at']
|
|
41
|
+
@fid = attributes[:fid] || attributes['fid']
|
|
42
|
+
@comment = attributes[:comment] || attributes['comment']
|
|
43
|
+
@custom = attributes[:custom] || attributes['custom']
|
|
44
|
+
@type = attributes[:type] || attributes['type'] || "feeds.comment.restored"
|
|
45
|
+
@feed_visibility = attributes[:feed_visibility] || attributes['feed_visibility'] || nil
|
|
46
|
+
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
47
|
+
@user = attributes[:user] || attributes['user'] || nil
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Override field mappings for JSON serialization
|
|
51
|
+
def self.json_field_mappings
|
|
52
|
+
{
|
|
53
|
+
created_at: 'created_at',
|
|
54
|
+
fid: 'fid',
|
|
55
|
+
comment: 'comment',
|
|
56
|
+
custom: 'custom',
|
|
57
|
+
type: 'type',
|
|
58
|
+
feed_visibility: 'feed_visibility',
|
|
59
|
+
received_at: 'received_at',
|
|
60
|
+
user: 'user'
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
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
|
+
#
|
|
9
|
+
class DeleteCommentBookmarkResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute bookmark
|
|
16
|
+
# @return [BookmarkResponse]
|
|
17
|
+
attr_accessor :bookmark
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
23
|
+
@bookmark = attributes[:bookmark] || attributes['bookmark']
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
duration: 'duration',
|
|
30
|
+
bookmark: 'bookmark'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -16,7 +16,7 @@ module GetStream
|
|
|
16
16
|
# Initialize with attributes
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
super(attributes)
|
|
19
|
-
@policy = attributes[:policy] || attributes['policy']
|
|
19
|
+
@policy = attributes[:policy] || attributes['policy']
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
# Override field mappings for JSON serialization
|
|
@@ -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 EMAUStatsResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute daily
|
|
13
|
+
# @return [Array<DailyMetricResponse>] Per-day unique engaged user counts
|
|
14
|
+
attr_accessor :daily
|
|
15
|
+
# @!attribute last_30_days
|
|
16
|
+
# @return [Array<DailyMetricResponse>] Rolling 30-day engaged user count snapshots
|
|
17
|
+
attr_accessor :last_30_days
|
|
18
|
+
# @!attribute month_to_date
|
|
19
|
+
# @return [Array<DailyMetricResponse>] Calendar month-to-date engaged user count snapshots
|
|
20
|
+
attr_accessor :month_to_date
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@daily = attributes[:daily] || attributes['daily']
|
|
26
|
+
@last_30_days = attributes[:last_30_days] || attributes['last_30_days']
|
|
27
|
+
@month_to_date = attributes[:month_to_date] || attributes['month_to_date']
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
daily: 'daily',
|
|
34
|
+
last_30_days: 'last_30_days',
|
|
35
|
+
month_to_date: 'month_to_date'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
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 EnrichedCollection < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute created_at
|
|
13
|
+
# @return [DateTime]
|
|
14
|
+
attr_accessor :created_at
|
|
15
|
+
# @!attribute id
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
# @!attribute name
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
# @!attribute status
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :status
|
|
24
|
+
# @!attribute updated_at
|
|
25
|
+
# @return [DateTime]
|
|
26
|
+
attr_accessor :updated_at
|
|
27
|
+
# @!attribute user_id
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :user_id
|
|
30
|
+
# @!attribute custom
|
|
31
|
+
# @return [Object]
|
|
32
|
+
attr_accessor :custom
|
|
33
|
+
|
|
34
|
+
# Initialize with attributes
|
|
35
|
+
def initialize(attributes = {})
|
|
36
|
+
super(attributes)
|
|
37
|
+
@created_at = attributes[:created_at] || attributes['created_at']
|
|
38
|
+
@id = attributes[:id] || attributes['id']
|
|
39
|
+
@name = attributes[:name] || attributes['name']
|
|
40
|
+
@status = attributes[:status] || attributes['status']
|
|
41
|
+
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
42
|
+
@user_id = attributes[:user_id] || attributes['user_id']
|
|
43
|
+
@custom = attributes[:custom] || attributes['custom']
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Override field mappings for JSON serialization
|
|
47
|
+
def self.json_field_mappings
|
|
48
|
+
{
|
|
49
|
+
created_at: 'created_at',
|
|
50
|
+
id: 'id',
|
|
51
|
+
name: 'name',
|
|
52
|
+
status: 'status',
|
|
53
|
+
updated_at: 'updated_at',
|
|
54
|
+
user_id: 'user_id',
|
|
55
|
+
custom: 'custom'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|