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
|
@@ -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
|
+
# Response after inserting a moderation action log
|
|
9
|
+
class InsertActionLogResponse < 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
|
|
@@ -9,30 +9,25 @@ module GetStream
|
|
|
9
9
|
class Location < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute
|
|
13
|
-
# @return [
|
|
14
|
-
attr_accessor :
|
|
15
|
-
# @!attribute
|
|
16
|
-
# @return [
|
|
17
|
-
attr_accessor :
|
|
18
|
-
# @!attribute subdivision_iso_code
|
|
19
|
-
# @return [String]
|
|
20
|
-
attr_accessor :subdivision_iso_code
|
|
12
|
+
# @!attribute lat
|
|
13
|
+
# @return [Float] Latitude coordinate
|
|
14
|
+
attr_accessor :lat
|
|
15
|
+
# @!attribute lng
|
|
16
|
+
# @return [Float] Longitude coordinate
|
|
17
|
+
attr_accessor :lng
|
|
21
18
|
|
|
22
19
|
# Initialize with attributes
|
|
23
20
|
def initialize(attributes = {})
|
|
24
21
|
super(attributes)
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@subdivision_iso_code = attributes[:subdivision_iso_code] || attributes['subdivision_iso_code']
|
|
22
|
+
@lat = attributes[:lat] || attributes['lat']
|
|
23
|
+
@lng = attributes[:lng] || attributes['lng']
|
|
28
24
|
end
|
|
29
25
|
|
|
30
26
|
# Override field mappings for JSON serialization
|
|
31
27
|
def self.json_field_mappings
|
|
32
28
|
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
subdivision_iso_code: 'subdivision_iso_code'
|
|
29
|
+
lat: 'lat',
|
|
30
|
+
lng: 'lng'
|
|
36
31
|
}
|
|
37
32
|
end
|
|
38
33
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute order
|
|
25
25
|
# @return [Integer] Display order (lower numbers shown first)
|
|
26
26
|
attr_accessor :order
|
|
27
|
+
# @!attribute queue_type
|
|
28
|
+
# @return [String] Queue type this action config belongs to
|
|
29
|
+
attr_accessor :queue_type
|
|
27
30
|
# @!attribute custom
|
|
28
31
|
# @return [Object] Custom data for the action
|
|
29
32
|
attr_accessor :custom
|
|
@@ -36,6 +39,7 @@ module GetStream
|
|
|
36
39
|
@entity_type = attributes[:entity_type] || attributes['entity_type']
|
|
37
40
|
@icon = attributes[:icon] || attributes['icon']
|
|
38
41
|
@order = attributes[:order] || attributes['order']
|
|
42
|
+
@queue_type = attributes[:queue_type] || attributes['queue_type'] || nil
|
|
39
43
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
40
44
|
end
|
|
41
45
|
|
|
@@ -47,6 +51,7 @@ module GetStream
|
|
|
47
51
|
entity_type: 'entity_type',
|
|
48
52
|
icon: 'icon',
|
|
49
53
|
order: 'order',
|
|
54
|
+
queue_type: 'queue_type',
|
|
50
55
|
custom: 'custom'
|
|
51
56
|
}
|
|
52
57
|
end
|
|
@@ -18,6 +18,9 @@ module GetStream
|
|
|
18
18
|
# @!attribute disable_flagging_reviewed_entity
|
|
19
19
|
# @return [Boolean]
|
|
20
20
|
attr_accessor :disable_flagging_reviewed_entity
|
|
21
|
+
# @!attribute escalation_queue_enabled
|
|
22
|
+
# @return [Boolean]
|
|
23
|
+
attr_accessor :escalation_queue_enabled
|
|
21
24
|
# @!attribute flag_user_on_flagged_content
|
|
22
25
|
# @return [Boolean]
|
|
23
26
|
attr_accessor :flag_user_on_flagged_content
|
|
@@ -27,6 +30,9 @@ module GetStream
|
|
|
27
30
|
# @!attribute allowed_moderation_action_reasons
|
|
28
31
|
# @return [Array<String>]
|
|
29
32
|
attr_accessor :allowed_moderation_action_reasons
|
|
33
|
+
# @!attribute escalation_reasons
|
|
34
|
+
# @return [Array<String>]
|
|
35
|
+
attr_accessor :escalation_reasons
|
|
30
36
|
# @!attribute keyframe_classifications_map
|
|
31
37
|
# @return [Hash<String, Hash<String, Boolean>>]
|
|
32
38
|
attr_accessor :keyframe_classifications_map
|
|
@@ -40,9 +46,11 @@ module GetStream
|
|
|
40
46
|
@async_review_queue_upsert = attributes[:async_review_queue_upsert] || attributes['async_review_queue_upsert'] || nil
|
|
41
47
|
@disable_audit_logs = attributes[:disable_audit_logs] || attributes['disable_audit_logs'] || nil
|
|
42
48
|
@disable_flagging_reviewed_entity = attributes[:disable_flagging_reviewed_entity] || attributes['disable_flagging_reviewed_entity'] || nil
|
|
49
|
+
@escalation_queue_enabled = attributes[:escalation_queue_enabled] || attributes['escalation_queue_enabled'] || nil
|
|
43
50
|
@flag_user_on_flagged_content = attributes[:flag_user_on_flagged_content] || attributes['flag_user_on_flagged_content'] || nil
|
|
44
51
|
@media_queue_blur_enabled = attributes[:media_queue_blur_enabled] || attributes['media_queue_blur_enabled'] || nil
|
|
45
52
|
@allowed_moderation_action_reasons = attributes[:allowed_moderation_action_reasons] || attributes['allowed_moderation_action_reasons'] || nil
|
|
53
|
+
@escalation_reasons = attributes[:escalation_reasons] || attributes['escalation_reasons'] || nil
|
|
46
54
|
@keyframe_classifications_map = attributes[:keyframe_classifications_map] || attributes['keyframe_classifications_map'] || nil
|
|
47
55
|
@overview_dashboard = attributes[:overview_dashboard] || attributes['overview_dashboard'] || nil
|
|
48
56
|
end
|
|
@@ -53,9 +61,11 @@ module GetStream
|
|
|
53
61
|
async_review_queue_upsert: 'async_review_queue_upsert',
|
|
54
62
|
disable_audit_logs: 'disable_audit_logs',
|
|
55
63
|
disable_flagging_reviewed_entity: 'disable_flagging_reviewed_entity',
|
|
64
|
+
escalation_queue_enabled: 'escalation_queue_enabled',
|
|
56
65
|
flag_user_on_flagged_content: 'flag_user_on_flagged_content',
|
|
57
66
|
media_queue_blur_enabled: 'media_queue_blur_enabled',
|
|
58
67
|
allowed_moderation_action_reasons: 'allowed_moderation_action_reasons',
|
|
68
|
+
escalation_reasons: 'escalation_reasons',
|
|
59
69
|
keyframe_classifications_map: 'keyframe_classifications_map',
|
|
60
70
|
overview_dashboard: 'overview_dashboard'
|
|
61
71
|
}
|
|
@@ -30,6 +30,9 @@ module GetStream
|
|
|
30
30
|
# @!attribute comment
|
|
31
31
|
# @return [NotificationComment]
|
|
32
32
|
attr_accessor :comment
|
|
33
|
+
# @!attribute custom
|
|
34
|
+
# @return [Object] Custom data from the target activity
|
|
35
|
+
attr_accessor :custom
|
|
33
36
|
# @!attribute parent_activity
|
|
34
37
|
# @return [NotificationParentActivity]
|
|
35
38
|
attr_accessor :parent_activity
|
|
@@ -44,6 +47,7 @@ module GetStream
|
|
|
44
47
|
@user_id = attributes[:user_id] || attributes['user_id'] || nil
|
|
45
48
|
@attachments = attributes[:attachments] || attributes['attachments'] || nil
|
|
46
49
|
@comment = attributes[:comment] || attributes['comment'] || nil
|
|
50
|
+
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
47
51
|
@parent_activity = attributes[:parent_activity] || attributes['parent_activity'] || nil
|
|
48
52
|
end
|
|
49
53
|
|
|
@@ -57,6 +61,7 @@ module GetStream
|
|
|
57
61
|
user_id: 'user_id',
|
|
58
62
|
attachments: 'attachments',
|
|
59
63
|
comment: 'comment',
|
|
64
|
+
custom: 'custom',
|
|
60
65
|
parent_activity: 'parent_activity'
|
|
61
66
|
}
|
|
62
67
|
end
|
|
@@ -18,6 +18,9 @@ module GetStream
|
|
|
18
18
|
# @!attribute comment
|
|
19
19
|
# @return [NotificationComment]
|
|
20
20
|
attr_accessor :comment
|
|
21
|
+
# @!attribute custom
|
|
22
|
+
# @return [Object] Custom data from the trigger object (comment, reaction, etc.)
|
|
23
|
+
attr_accessor :custom
|
|
21
24
|
|
|
22
25
|
# Initialize with attributes
|
|
23
26
|
def initialize(attributes = {})
|
|
@@ -25,6 +28,7 @@ module GetStream
|
|
|
25
28
|
@text = attributes[:text] || attributes['text']
|
|
26
29
|
@type = attributes[:type] || attributes['type']
|
|
27
30
|
@comment = attributes[:comment] || attributes['comment'] || nil
|
|
31
|
+
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
28
32
|
end
|
|
29
33
|
|
|
30
34
|
# Override field mappings for JSON serialization
|
|
@@ -32,7 +36,8 @@ module GetStream
|
|
|
32
36
|
{
|
|
33
37
|
text: 'text',
|
|
34
38
|
type: 'type',
|
|
35
|
-
comment: 'comment'
|
|
39
|
+
comment: 'comment',
|
|
40
|
+
custom: 'custom'
|
|
36
41
|
}
|
|
37
42
|
end
|
|
38
43
|
end
|
|
@@ -18,6 +18,9 @@ module GetStream
|
|
|
18
18
|
# @!attribute include_private_activities
|
|
19
19
|
# @return [Boolean]
|
|
20
20
|
attr_accessor :include_private_activities
|
|
21
|
+
# @!attribute include_soft_deleted_activities
|
|
22
|
+
# @return [Boolean] When true, include soft-deleted activities in the result.
|
|
23
|
+
attr_accessor :include_soft_deleted_activities
|
|
21
24
|
# @!attribute limit
|
|
22
25
|
# @return [Integer]
|
|
23
26
|
attr_accessor :limit
|
|
@@ -46,6 +49,7 @@ module GetStream
|
|
|
46
49
|
@enrich_own_fields = attributes[:enrich_own_fields] || attributes['enrich_own_fields'] || nil
|
|
47
50
|
@include_expired_activities = attributes[:include_expired_activities] || attributes['include_expired_activities'] || nil
|
|
48
51
|
@include_private_activities = attributes[:include_private_activities] || attributes['include_private_activities'] || nil
|
|
52
|
+
@include_soft_deleted_activities = attributes[:include_soft_deleted_activities] || attributes['include_soft_deleted_activities'] || nil
|
|
49
53
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
50
54
|
@next = attributes[:next] || attributes['next'] || nil
|
|
51
55
|
@prev = attributes[:prev] || attributes['prev'] || nil
|
|
@@ -61,6 +65,7 @@ module GetStream
|
|
|
61
65
|
enrich_own_fields: 'enrich_own_fields',
|
|
62
66
|
include_expired_activities: 'include_expired_activities',
|
|
63
67
|
include_private_activities: 'include_private_activities',
|
|
68
|
+
include_soft_deleted_activities: 'include_soft_deleted_activities',
|
|
64
69
|
limit: 'limit',
|
|
65
70
|
next: 'next',
|
|
66
71
|
prev: 'prev',
|
|
@@ -10,7 +10,7 @@ module GetStream
|
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
12
|
# @!attribute filter_conditions
|
|
13
|
-
# @return [Object]
|
|
13
|
+
# @return [Object] Filter conditions to apply to the query
|
|
14
14
|
attr_accessor :filter_conditions
|
|
15
15
|
# @!attribute exclude_expired_bans
|
|
16
16
|
# @return [Boolean] Whether to exclude expired bans or not
|
|
@@ -25,10 +25,10 @@ module GetStream
|
|
|
25
25
|
# @return [String]
|
|
26
26
|
attr_accessor :prev
|
|
27
27
|
# @!attribute sort
|
|
28
|
-
# @return [Array<SortParamRequest>]
|
|
28
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
29
29
|
attr_accessor :sort
|
|
30
30
|
# @!attribute filter_conditions
|
|
31
|
-
# @return [Object]
|
|
31
|
+
# @return [Object] Filter conditions to apply to the query
|
|
32
32
|
attr_accessor :filter_conditions
|
|
33
33
|
|
|
34
34
|
# Initialize with attributes
|
|
@@ -42,6 +42,9 @@ module GetStream
|
|
|
42
42
|
# @!attribute tmp_data_source
|
|
43
43
|
# @return [String]
|
|
44
44
|
attr_accessor :tmp_data_source
|
|
45
|
+
# @!attribute call_events
|
|
46
|
+
# @return [Array<CallLevelEventPayload>]
|
|
47
|
+
attr_accessor :call_events
|
|
45
48
|
|
|
46
49
|
# Initialize with attributes
|
|
47
50
|
def initialize(attributes = {})
|
|
@@ -57,6 +60,7 @@ module GetStream
|
|
|
57
60
|
@next = attributes[:next] || attributes['next'] || nil
|
|
58
61
|
@prev = attributes[:prev] || attributes['prev'] || nil
|
|
59
62
|
@tmp_data_source = attributes[:tmp_data_source] || attributes['tmp_data_source'] || nil
|
|
63
|
+
@call_events = attributes[:call_events] || attributes['call_events'] || nil
|
|
60
64
|
end
|
|
61
65
|
|
|
62
66
|
# Override field mappings for JSON serialization
|
|
@@ -72,7 +76,8 @@ module GetStream
|
|
|
72
76
|
call_started_at: 'call_started_at',
|
|
73
77
|
next: 'next',
|
|
74
78
|
prev: 'prev',
|
|
75
|
-
tmp_data_source: 'tmp_data_source'
|
|
79
|
+
tmp_data_source: 'tmp_data_source',
|
|
80
|
+
call_events: 'call_events'
|
|
76
81
|
}
|
|
77
82
|
end
|
|
78
83
|
end
|
|
@@ -0,0 +1,51 @@
|
|
|
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 QueryCallSessionStatsRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute limit
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :limit
|
|
15
|
+
# @!attribute next
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :next
|
|
18
|
+
# @!attribute prev
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :prev
|
|
21
|
+
# @!attribute sort
|
|
22
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
23
|
+
attr_accessor :sort
|
|
24
|
+
# @!attribute filter_conditions
|
|
25
|
+
# @return [Object] Filter conditions to apply to the query
|
|
26
|
+
attr_accessor :filter_conditions
|
|
27
|
+
|
|
28
|
+
# Initialize with attributes
|
|
29
|
+
def initialize(attributes = {})
|
|
30
|
+
super(attributes)
|
|
31
|
+
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
32
|
+
@next = attributes[:next] || attributes['next'] || nil
|
|
33
|
+
@prev = attributes[:prev] || attributes['prev'] || nil
|
|
34
|
+
@sort = attributes[:sort] || attributes['sort'] || nil
|
|
35
|
+
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions'] || nil
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Override field mappings for JSON serialization
|
|
39
|
+
def self.json_field_mappings
|
|
40
|
+
{
|
|
41
|
+
limit: 'limit',
|
|
42
|
+
next: 'next',
|
|
43
|
+
prev: 'prev',
|
|
44
|
+
sort: 'sort',
|
|
45
|
+
filter_conditions: 'filter_conditions'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
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
|
+
# Basic response information
|
|
9
|
+
class QueryCallSessionStatsResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute call_stats
|
|
16
|
+
# @return [Array<CallStatsSessionResponse>]
|
|
17
|
+
attr_accessor :call_stats
|
|
18
|
+
# @!attribute next
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :next
|
|
21
|
+
# @!attribute prev
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :prev
|
|
24
|
+
|
|
25
|
+
# Initialize with attributes
|
|
26
|
+
def initialize(attributes = {})
|
|
27
|
+
super(attributes)
|
|
28
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
29
|
+
@call_stats = attributes[:call_stats] || attributes['call_stats']
|
|
30
|
+
@next = attributes[:next] || attributes['next'] || nil
|
|
31
|
+
@prev = attributes[:prev] || attributes['prev'] || nil
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Override field mappings for JSON serialization
|
|
35
|
+
def self.json_field_mappings
|
|
36
|
+
{
|
|
37
|
+
duration: 'duration',
|
|
38
|
+
call_stats: 'call_stats',
|
|
39
|
+
next: 'next',
|
|
40
|
+
prev: 'prev'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -19,10 +19,10 @@ module GetStream
|
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :prev
|
|
21
21
|
# @!attribute sort
|
|
22
|
-
# @return [Array<SortParamRequest>]
|
|
22
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
23
23
|
attr_accessor :sort
|
|
24
24
|
# @!attribute filter_conditions
|
|
25
|
-
# @return [Object]
|
|
25
|
+
# @return [Object] Filter conditions to apply to the query
|
|
26
26
|
attr_accessor :filter_conditions
|
|
27
27
|
|
|
28
28
|
# Initialize with attributes
|
|
@@ -22,7 +22,7 @@ module GetStream
|
|
|
22
22
|
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
23
23
|
attr_accessor :sort
|
|
24
24
|
# @!attribute filter_conditions
|
|
25
|
-
# @return [Object]
|
|
25
|
+
# @return [Object] Filter conditions to apply to the query
|
|
26
26
|
attr_accessor :filter_conditions
|
|
27
27
|
|
|
28
28
|
# Initialize with attributes
|
|
@@ -34,7 +34,7 @@ module GetStream
|
|
|
34
34
|
# @return [Array<SortParamRequest>] List of sort parameters
|
|
35
35
|
attr_accessor :sort
|
|
36
36
|
# @!attribute filter_conditions
|
|
37
|
-
# @return [Object]
|
|
37
|
+
# @return [Object] Filter conditions to apply to the query
|
|
38
38
|
attr_accessor :filter_conditions
|
|
39
39
|
# @!attribute filter_values
|
|
40
40
|
# @return [Object] Values to interpolate into the predefined filter template
|
|
@@ -10,7 +10,7 @@ module GetStream
|
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
12
|
# @!attribute filter
|
|
13
|
-
# @return [Object]
|
|
13
|
+
# @return [Object] Filter to apply to the query
|
|
14
14
|
attr_accessor :filter
|
|
15
15
|
# @!attribute id_around
|
|
16
16
|
# @return [String] Returns the comment with the specified ID along with surrounding comments for context
|
|
@@ -25,7 +25,7 @@ module GetStream
|
|
|
25
25
|
# @return [String]
|
|
26
26
|
attr_accessor :prev
|
|
27
27
|
# @!attribute sort
|
|
28
|
-
# @return [String]
|
|
28
|
+
# @return [String] Array of sort parameters
|
|
29
29
|
attr_accessor :sort
|
|
30
30
|
# @!attribute user_id
|
|
31
31
|
# @return [String]
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute openai_requests
|
|
25
25
|
# @return [DailyMetricStatsResponse]
|
|
26
26
|
attr_accessor :openai_requests
|
|
27
|
+
# @!attribute emau
|
|
28
|
+
# @return [EMAUStatsResponse]
|
|
29
|
+
attr_accessor :emau
|
|
27
30
|
|
|
28
31
|
# Initialize with attributes
|
|
29
32
|
def initialize(attributes = {})
|
|
@@ -33,6 +36,7 @@ module GetStream
|
|
|
33
36
|
@api_requests = attributes[:api_requests] || attributes['api_requests']
|
|
34
37
|
@follows = attributes[:follows] || attributes['follows']
|
|
35
38
|
@openai_requests = attributes[:openai_requests] || attributes['openai_requests']
|
|
39
|
+
@emau = attributes[:emau] || attributes['emau'] || nil
|
|
36
40
|
end
|
|
37
41
|
|
|
38
42
|
# Override field mappings for JSON serialization
|
|
@@ -42,7 +46,8 @@ module GetStream
|
|
|
42
46
|
activities: 'activities',
|
|
43
47
|
api_requests: 'api_requests',
|
|
44
48
|
follows: 'follows',
|
|
45
|
-
openai_requests: 'openai_requests'
|
|
49
|
+
openai_requests: 'openai_requests',
|
|
50
|
+
emau: 'emau'
|
|
46
51
|
}
|
|
47
52
|
end
|
|
48
53
|
end
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
module GetStream
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
class QueryMembersPayload < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
@@ -13,7 +13,7 @@ module GetStream
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :type
|
|
15
15
|
# @!attribute filter_conditions
|
|
16
|
-
# @return [Object]
|
|
16
|
+
# @return [Object] Filter conditions to apply to the query
|
|
17
17
|
attr_accessor :filter_conditions
|
|
18
18
|
# @!attribute id
|
|
19
19
|
# @return [String]
|
|
@@ -31,7 +31,7 @@ module GetStream
|
|
|
31
31
|
# @return [Array<ChannelMemberRequest>]
|
|
32
32
|
attr_accessor :members
|
|
33
33
|
# @!attribute sort
|
|
34
|
-
# @return [Array<SortParamRequest>]
|
|
34
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
35
35
|
attr_accessor :sort
|
|
36
36
|
# @!attribute user
|
|
37
37
|
# @return [UserRequest]
|
|
@@ -22,10 +22,10 @@ module GetStream
|
|
|
22
22
|
# @return [String]
|
|
23
23
|
attr_accessor :user_id
|
|
24
24
|
# @!attribute sort
|
|
25
|
-
# @return [Array<SortParamRequest>]
|
|
25
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
26
26
|
attr_accessor :sort
|
|
27
27
|
# @!attribute filter_conditions
|
|
28
|
-
# @return [Object]
|
|
28
|
+
# @return [Object] Filter conditions to apply to the query
|
|
29
29
|
attr_accessor :filter_conditions
|
|
30
30
|
# @!attribute user
|
|
31
31
|
# @return [UserRequest]
|
|
@@ -22,10 +22,10 @@ module GetStream
|
|
|
22
22
|
# @return [String]
|
|
23
23
|
attr_accessor :user_id
|
|
24
24
|
# @!attribute sort
|
|
25
|
-
# @return [Array<SortParamRequest>]
|
|
25
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
26
26
|
attr_accessor :sort
|
|
27
27
|
# @!attribute filter
|
|
28
|
-
# @return [Object]
|
|
28
|
+
# @return [Object] Filter to apply to the query
|
|
29
29
|
attr_accessor :filter
|
|
30
30
|
# @!attribute user
|
|
31
31
|
# @return [UserRequest]
|
|
@@ -31,10 +31,10 @@ module GetStream
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :user_id
|
|
33
33
|
# @!attribute sort
|
|
34
|
-
# @return [Array<SortParamRequest>]
|
|
34
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
35
35
|
attr_accessor :sort
|
|
36
36
|
# @!attribute filter
|
|
37
|
-
# @return [Object] Filter
|
|
37
|
+
# @return [Object] Filter to apply to the query
|
|
38
38
|
attr_accessor :filter
|
|
39
39
|
# @!attribute user
|
|
40
40
|
# @return [UserRequest]
|
|
@@ -19,10 +19,10 @@ module GetStream
|
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :prev
|
|
21
21
|
# @!attribute sort
|
|
22
|
-
# @return [Array<SortParamRequest>]
|
|
22
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
23
23
|
attr_accessor :sort
|
|
24
24
|
# @!attribute filter_conditions
|
|
25
|
-
# @return [Object]
|
|
25
|
+
# @return [Object] Filter conditions to apply to the query
|
|
26
26
|
attr_accessor :filter_conditions
|
|
27
27
|
|
|
28
28
|
# Initialize with attributes
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
module GetStream
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
|
-
#
|
|
8
|
+
#
|
|
9
9
|
class QueryUsersPayload < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
12
|
# @!attribute filter_conditions
|
|
13
|
-
# @return [Object]
|
|
13
|
+
# @return [Object] Filter conditions to apply to the query
|
|
14
14
|
attr_accessor :filter_conditions
|
|
15
15
|
# @!attribute include_deactivated_users
|
|
16
16
|
# @return [Boolean]
|
|
@@ -28,7 +28,7 @@ module GetStream
|
|
|
28
28
|
# @return [String]
|
|
29
29
|
attr_accessor :user_id
|
|
30
30
|
# @!attribute sort
|
|
31
|
-
# @return [Array<SortParamRequest>]
|
|
31
|
+
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
32
32
|
attr_accessor :sort
|
|
33
33
|
# @!attribute user
|
|
34
34
|
# @return [UserRequest]
|
|
@@ -12,17 +12,22 @@ module GetStream
|
|
|
12
12
|
# @!attribute mode
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :mode
|
|
15
|
+
# @!attribute audio_only
|
|
16
|
+
# @return [Boolean]
|
|
17
|
+
attr_accessor :audio_only
|
|
15
18
|
|
|
16
19
|
# Initialize with attributes
|
|
17
20
|
def initialize(attributes = {})
|
|
18
21
|
super(attributes)
|
|
19
22
|
@mode = attributes[:mode] || attributes['mode']
|
|
23
|
+
@audio_only = attributes[:audio_only] || attributes['audio_only'] || nil
|
|
20
24
|
end
|
|
21
25
|
|
|
22
26
|
# Override field mappings for JSON serialization
|
|
23
27
|
def self.json_field_mappings
|
|
24
28
|
{
|
|
25
|
-
mode: 'mode'
|
|
29
|
+
mode: 'mode',
|
|
30
|
+
audio_only: 'audio_only'
|
|
26
31
|
}
|
|
27
32
|
end
|
|
28
33
|
end
|
|
@@ -12,17 +12,22 @@ module GetStream
|
|
|
12
12
|
# @!attribute mode
|
|
13
13
|
# @return [String] Recording mode. One of: available, disabled, auto-on
|
|
14
14
|
attr_accessor :mode
|
|
15
|
+
# @!attribute audio_only
|
|
16
|
+
# @return [Boolean] If true, only audio tracks will be recorded
|
|
17
|
+
attr_accessor :audio_only
|
|
15
18
|
|
|
16
19
|
# Initialize with attributes
|
|
17
20
|
def initialize(attributes = {})
|
|
18
21
|
super(attributes)
|
|
19
22
|
@mode = attributes[:mode] || attributes['mode']
|
|
23
|
+
@audio_only = attributes[:audio_only] || attributes['audio_only'] || nil
|
|
20
24
|
end
|
|
21
25
|
|
|
22
26
|
# Override field mappings for JSON serialization
|
|
23
27
|
def self.json_field_mappings
|
|
24
28
|
{
|
|
25
|
-
mode: 'mode'
|
|
29
|
+
mode: 'mode',
|
|
30
|
+
audio_only: 'audio_only'
|
|
26
31
|
}
|
|
27
32
|
end
|
|
28
33
|
end
|
|
@@ -12,17 +12,22 @@ module GetStream
|
|
|
12
12
|
# @!attribute mode
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :mode
|
|
15
|
+
# @!attribute audio_only
|
|
16
|
+
# @return [Boolean]
|
|
17
|
+
attr_accessor :audio_only
|
|
15
18
|
|
|
16
19
|
# Initialize with attributes
|
|
17
20
|
def initialize(attributes = {})
|
|
18
21
|
super(attributes)
|
|
19
22
|
@mode = attributes[:mode] || attributes['mode']
|
|
23
|
+
@audio_only = attributes[:audio_only] || attributes['audio_only'] || nil
|
|
20
24
|
end
|
|
21
25
|
|
|
22
26
|
# Override field mappings for JSON serialization
|
|
23
27
|
def self.json_field_mappings
|
|
24
28
|
{
|
|
25
|
-
mode: 'mode'
|
|
29
|
+
mode: 'mode',
|
|
30
|
+
audio_only: 'audio_only'
|
|
26
31
|
}
|
|
27
32
|
end
|
|
28
33
|
end
|