getstream-ruby 1.0.0 → 1.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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/getstream_ruby/client.rb +81 -0
  3. data/lib/getstream_ruby/generated/common_client.rb +67 -0
  4. data/lib/getstream_ruby/generated/feeds_client.rb +6 -2
  5. data/lib/getstream_ruby/generated/models/activity_request.rb +11 -1
  6. data/lib/getstream_ruby/generated/models/activity_response.rb +5 -0
  7. data/lib/getstream_ruby/generated/models/add_activity_request.rb +11 -1
  8. data/lib/getstream_ruby/generated/models/add_activity_response.rb +6 -1
  9. data/lib/getstream_ruby/generated/models/add_comment_reaction_response.rb +6 -1
  10. data/lib/getstream_ruby/generated/models/add_comment_response.rb +11 -1
  11. data/lib/getstream_ruby/generated/models/add_reaction_response.rb +6 -1
  12. data/lib/getstream_ruby/generated/models/appeal_accepted_event.rb +51 -0
  13. data/lib/getstream_ruby/generated/models/appeal_created_event.rb +51 -0
  14. data/lib/getstream_ruby/generated/models/appeal_item_response.rb +81 -0
  15. data/lib/getstream_ruby/generated/models/appeal_rejected_event.rb +51 -0
  16. data/lib/getstream_ruby/generated/models/appeal_request.rb +56 -0
  17. data/lib/getstream_ruby/generated/models/appeal_response.rb +36 -0
  18. data/lib/getstream_ruby/generated/models/call_recording_failed_event.rb +5 -0
  19. data/lib/getstream_ruby/generated/models/call_recording_ready_event.rb +5 -0
  20. data/lib/getstream_ruby/generated/models/call_recording_started_event.rb +5 -0
  21. data/lib/getstream_ruby/generated/models/call_recording_stopped_event.rb +5 -0
  22. data/lib/getstream_ruby/generated/models/call_response.rb +5 -0
  23. data/lib/getstream_ruby/generated/models/call_settings.rb +10 -0
  24. data/lib/getstream_ruby/generated/models/call_settings_request.rb +10 -0
  25. data/lib/getstream_ruby/generated/models/call_settings_response.rb +10 -0
  26. data/lib/getstream_ruby/generated/models/call_stats_participant_counts.rb +6 -1
  27. data/lib/getstream_ruby/generated/models/channel_batch_completed_event.rb +81 -0
  28. data/lib/getstream_ruby/generated/models/channel_batch_started_event.rb +81 -0
  29. data/lib/getstream_ruby/generated/models/comment_response.rb +5 -0
  30. data/lib/getstream_ruby/generated/models/composite_recording_response.rb +31 -0
  31. data/lib/getstream_ruby/generated/models/create_import_v2_task_request.rb +46 -0
  32. data/lib/getstream_ruby/generated/models/create_import_v2_task_response.rb +66 -0
  33. data/lib/getstream_ruby/generated/models/delete_import_v2_task_response.rb +31 -0
  34. data/lib/getstream_ruby/generated/models/egress_response.rb +16 -1
  35. data/lib/getstream_ruby/generated/models/enrichment_options.rb +23 -18
  36. data/lib/getstream_ruby/generated/models/event_hook.rb +5 -0
  37. data/lib/getstream_ruby/generated/models/feed_own_data.rb +5 -0
  38. data/lib/getstream_ruby/generated/models/feed_response.rb +5 -0
  39. data/lib/getstream_ruby/generated/models/feed_suggestion_response.rb +5 -0
  40. data/lib/getstream_ruby/generated/models/future_channel_ban_response.rb +56 -0
  41. data/lib/getstream_ruby/generated/models/get_appeal_response.rb +36 -0
  42. data/lib/getstream_ruby/generated/models/get_import_v2_task_response.rb +66 -0
  43. data/lib/getstream_ruby/generated/models/go_live_request.rb +15 -0
  44. data/lib/getstream_ruby/generated/models/import_v2_task_item.rb +61 -0
  45. data/lib/getstream_ruby/generated/models/import_v2_task_settings.rb +36 -0
  46. data/lib/getstream_ruby/generated/models/import_v2_task_settings_s3.rb +41 -0
  47. data/lib/getstream_ruby/generated/models/individual_record_settings.rb +31 -0
  48. data/lib/getstream_ruby/generated/models/individual_recording_response.rb +31 -0
  49. data/lib/getstream_ruby/generated/models/individual_recording_settings_request.rb +31 -0
  50. data/lib/getstream_ruby/generated/models/individual_recording_settings_response.rb +31 -0
  51. data/lib/getstream_ruby/generated/models/ingress_error_event.rb +61 -0
  52. data/lib/getstream_ruby/generated/models/ingress_started_event.rb +71 -0
  53. data/lib/getstream_ruby/generated/models/ingress_stopped_event.rb +51 -0
  54. data/lib/getstream_ruby/generated/models/list_import_v2_tasks_response.rb +46 -0
  55. data/lib/getstream_ruby/generated/models/mark_reviewed_request.rb +5 -0
  56. data/lib/getstream_ruby/generated/models/message_new_event.rb +1 -1
  57. data/lib/getstream_ruby/generated/models/own_batch_request.rb +2 -2
  58. data/lib/getstream_ruby/generated/models/participant_session_details.rb +61 -0
  59. data/lib/getstream_ruby/generated/models/poll_vote_response.rb +5 -0
  60. data/lib/getstream_ruby/generated/models/query_appeals_request.rb +61 -0
  61. data/lib/getstream_ruby/generated/models/query_appeals_response.rb +46 -0
  62. data/lib/getstream_ruby/generated/models/query_call_participant_sessions_response.rb +76 -0
  63. data/lib/getstream_ruby/generated/models/query_channels_request.rb +15 -0
  64. data/lib/getstream_ruby/generated/models/query_future_channel_bans_payload.rb +56 -0
  65. data/lib/getstream_ruby/generated/models/query_future_channel_bans_response.rb +36 -0
  66. data/lib/getstream_ruby/generated/models/ranking_config.rb +1 -1
  67. data/lib/getstream_ruby/generated/models/raw_record_settings.rb +31 -0
  68. data/lib/getstream_ruby/generated/models/raw_recording_response.rb +31 -0
  69. data/lib/getstream_ruby/generated/models/raw_recording_settings_request.rb +31 -0
  70. data/lib/getstream_ruby/generated/models/raw_recording_settings_response.rb +31 -0
  71. data/lib/getstream_ruby/generated/models/reject_appeal_request.rb +31 -0
  72. data/lib/getstream_ruby/generated/models/resolve_sip_inbound_request.rb +5 -0
  73. data/lib/getstream_ruby/generated/models/restore_action_request.rb +18 -1
  74. data/lib/getstream_ruby/generated/models/review_queue_item_response.rb +5 -0
  75. data/lib/getstream_ruby/generated/models/rule_builder_condition.rb +10 -0
  76. data/lib/getstream_ruby/generated/models/search_payload.rb +5 -0
  77. data/lib/getstream_ruby/generated/models/single_follow_response.rb +6 -1
  78. data/lib/getstream_ruby/generated/models/stop_live_request.rb +15 -0
  79. data/lib/getstream_ruby/generated/models/submit_action_request.rb +21 -1
  80. data/lib/getstream_ruby/generated/models/submit_action_response.rb +5 -0
  81. data/lib/getstream_ruby/generated/models/text_rule_parameters.rb +10 -0
  82. data/lib/getstream_ruby/generated/models/threaded_comment_response.rb +5 -0
  83. data/lib/getstream_ruby/generated/models/unban_action_request.rb +18 -1
  84. data/lib/getstream_ruby/generated/models/unblock_action_request.rb +18 -1
  85. data/lib/getstream_ruby/generated/models/update_activity_partial_request.rb +2 -2
  86. data/lib/getstream_ruby/generated/models/update_activity_request.rb +10 -0
  87. data/lib/getstream_ruby/generated/models/update_comment_request.rb +5 -0
  88. data/lib/getstream_ruby/generated/models/update_feed_request.rb +15 -0
  89. data/lib/getstream_ruby/generated/models/upsert_activities_response.rb +6 -1
  90. data/lib/getstream_ruby/generated/models/user_identical_content_count_parameters.rb +36 -0
  91. data/lib/getstream_ruby/generated/models/user_role_parameters.rb +36 -0
  92. data/lib/getstream_ruby/generated/moderation_client.rb +50 -0
  93. data/lib/getstream_ruby/version.rb +1 -1
  94. metadata +55 -2
@@ -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
+ # This event is sent when an appeal is rejected
9
+ class AppealRejectedEvent < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute created_at
13
+ # @return [DateTime]
14
+ attr_accessor :created_at
15
+ # @!attribute custom
16
+ # @return [Object]
17
+ attr_accessor :custom
18
+ # @!attribute type
19
+ # @return [String]
20
+ attr_accessor :type
21
+ # @!attribute received_at
22
+ # @return [DateTime]
23
+ attr_accessor :received_at
24
+ # @!attribute appeal
25
+ # @return [AppealItemResponse]
26
+ attr_accessor :appeal
27
+
28
+ # Initialize with attributes
29
+ def initialize(attributes = {})
30
+ super(attributes)
31
+ @created_at = attributes[:created_at] || attributes['created_at']
32
+ @custom = attributes[:custom] || attributes['custom']
33
+ @type = attributes[:type] || attributes['type'] || "appeal.rejected"
34
+ @received_at = attributes[:received_at] || attributes['received_at'] || nil
35
+ @appeal = attributes[:appeal] || attributes['appeal'] || nil
36
+ end
37
+
38
+ # Override field mappings for JSON serialization
39
+ def self.json_field_mappings
40
+ {
41
+ created_at: 'created_at',
42
+ custom: 'custom',
43
+ type: 'type',
44
+ received_at: 'received_at',
45
+ appeal: 'appeal'
46
+ }
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,56 @@
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 AppealRequest < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute appeal_reason
13
+ # @return [String] Explanation for why the content is being appealed
14
+ attr_accessor :appeal_reason
15
+ # @!attribute entity_id
16
+ # @return [String] Unique identifier of the entity being appealed
17
+ attr_accessor :entity_id
18
+ # @!attribute entity_type
19
+ # @return [String] Type of entity being appealed (e.g., message, user)
20
+ attr_accessor :entity_type
21
+ # @!attribute user_id
22
+ # @return [String]
23
+ attr_accessor :user_id
24
+ # @!attribute attachments
25
+ # @return [Array<String>] Array of Attachment URLs(e.g., images)
26
+ attr_accessor :attachments
27
+ # @!attribute user
28
+ # @return [UserRequest]
29
+ attr_accessor :user
30
+
31
+ # Initialize with attributes
32
+ def initialize(attributes = {})
33
+ super(attributes)
34
+ @appeal_reason = attributes[:appeal_reason] || attributes['appeal_reason']
35
+ @entity_id = attributes[:entity_id] || attributes['entity_id']
36
+ @entity_type = attributes[:entity_type] || attributes['entity_type']
37
+ @user_id = attributes[:user_id] || attributes['user_id'] || nil
38
+ @attachments = attributes[:attachments] || attributes['attachments'] || nil
39
+ @user = attributes[:user] || attributes['user'] || nil
40
+ end
41
+
42
+ # Override field mappings for JSON serialization
43
+ def self.json_field_mappings
44
+ {
45
+ appeal_reason: 'appeal_reason',
46
+ entity_id: 'entity_id',
47
+ entity_type: 'entity_type',
48
+ user_id: 'user_id',
49
+ attachments: 'attachments',
50
+ user: 'user'
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
56
+ 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 AppealResponse < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute appeal_id
13
+ # @return [String] Unique identifier of the created Appeal item
14
+ attr_accessor :appeal_id
15
+ # @!attribute duration
16
+ # @return [String]
17
+ attr_accessor :duration
18
+
19
+ # Initialize with attributes
20
+ def initialize(attributes = {})
21
+ super(attributes)
22
+ @appeal_id = attributes[:appeal_id] || attributes['appeal_id']
23
+ @duration = attributes[:duration] || attributes['duration']
24
+ end
25
+
26
+ # Override field mappings for JSON serialization
27
+ def self.json_field_mappings
28
+ {
29
+ appeal_id: 'appeal_id',
30
+ duration: 'duration'
31
+ }
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute egress_id
19
19
  # @return [String]
20
20
  attr_accessor :egress_id
21
+ # @!attribute recording_type
22
+ # @return [String] The type of recording
23
+ attr_accessor :recording_type
21
24
  # @!attribute type
22
25
  # @return [String] The type of event: "call.recording_failed" in this case
23
26
  attr_accessor :type
@@ -28,6 +31,7 @@ module GetStream
28
31
  @call_cid = attributes[:call_cid] || attributes['call_cid']
29
32
  @created_at = attributes[:created_at] || attributes['created_at']
30
33
  @egress_id = attributes[:egress_id] || attributes['egress_id']
34
+ @recording_type = attributes[:recording_type] || attributes['recording_type']
31
35
  @type = attributes[:type] || attributes['type'] || "call.recording_failed"
32
36
  end
33
37
 
@@ -37,6 +41,7 @@ module GetStream
37
41
  call_cid: 'call_cid',
38
42
  created_at: 'created_at',
39
43
  egress_id: 'egress_id',
44
+ recording_type: 'recording_type',
40
45
  type: 'type'
41
46
  }
42
47
  end
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute egress_id
19
19
  # @return [String]
20
20
  attr_accessor :egress_id
21
+ # @!attribute recording_type
22
+ # @return [String] The type of recording
23
+ attr_accessor :recording_type
21
24
  # @!attribute call_recording
22
25
  # @return [CallRecording]
23
26
  attr_accessor :call_recording
@@ -31,6 +34,7 @@ module GetStream
31
34
  @call_cid = attributes[:call_cid] || attributes['call_cid']
32
35
  @created_at = attributes[:created_at] || attributes['created_at']
33
36
  @egress_id = attributes[:egress_id] || attributes['egress_id']
37
+ @recording_type = attributes[:recording_type] || attributes['recording_type']
34
38
  @call_recording = attributes[:call_recording] || attributes['call_recording']
35
39
  @type = attributes[:type] || attributes['type'] || "call.recording_ready"
36
40
  end
@@ -41,6 +45,7 @@ module GetStream
41
45
  call_cid: 'call_cid',
42
46
  created_at: 'created_at',
43
47
  egress_id: 'egress_id',
48
+ recording_type: 'recording_type',
44
49
  call_recording: 'call_recording',
45
50
  type: 'type'
46
51
  }
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute egress_id
19
19
  # @return [String]
20
20
  attr_accessor :egress_id
21
+ # @!attribute recording_type
22
+ # @return [String] The type of recording
23
+ attr_accessor :recording_type
21
24
  # @!attribute type
22
25
  # @return [String] The type of event: "call.recording_started" in this case
23
26
  attr_accessor :type
@@ -28,6 +31,7 @@ module GetStream
28
31
  @call_cid = attributes[:call_cid] || attributes['call_cid']
29
32
  @created_at = attributes[:created_at] || attributes['created_at']
30
33
  @egress_id = attributes[:egress_id] || attributes['egress_id']
34
+ @recording_type = attributes[:recording_type] || attributes['recording_type']
31
35
  @type = attributes[:type] || attributes['type'] || "call.recording_started"
32
36
  end
33
37
 
@@ -37,6 +41,7 @@ module GetStream
37
41
  call_cid: 'call_cid',
38
42
  created_at: 'created_at',
39
43
  egress_id: 'egress_id',
44
+ recording_type: 'recording_type',
40
45
  type: 'type'
41
46
  }
42
47
  end
@@ -18,6 +18,9 @@ module GetStream
18
18
  # @!attribute egress_id
19
19
  # @return [String]
20
20
  attr_accessor :egress_id
21
+ # @!attribute recording_type
22
+ # @return [String] The type of recording
23
+ attr_accessor :recording_type
21
24
  # @!attribute type
22
25
  # @return [String] The type of event: "call.recording_stopped" in this case
23
26
  attr_accessor :type
@@ -28,6 +31,7 @@ module GetStream
28
31
  @call_cid = attributes[:call_cid] || attributes['call_cid']
29
32
  @created_at = attributes[:created_at] || attributes['created_at']
30
33
  @egress_id = attributes[:egress_id] || attributes['egress_id']
34
+ @recording_type = attributes[:recording_type] || attributes['recording_type']
31
35
  @type = attributes[:type] || attributes['type'] || "call.recording_stopped"
32
36
  end
33
37
 
@@ -37,6 +41,7 @@ module GetStream
37
41
  call_cid: 'call_cid',
38
42
  created_at: 'created_at',
39
43
  egress_id: 'egress_id',
44
+ recording_type: 'recording_type',
40
45
  type: 'type'
41
46
  }
42
47
  end
@@ -69,6 +69,9 @@ module GetStream
69
69
  # @!attribute join_ahead_time_seconds
70
70
  # @return [Integer]
71
71
  attr_accessor :join_ahead_time_seconds
72
+ # @!attribute routing_number
73
+ # @return [String] 10-digit routing number for SIP routing
74
+ attr_accessor :routing_number
72
75
  # @!attribute starts_at
73
76
  # @return [DateTime] Date/time when the call will start
74
77
  attr_accessor :starts_at
@@ -105,6 +108,7 @@ module GetStream
105
108
  @channel_cid = attributes[:channel_cid] || attributes['channel_cid'] || nil
106
109
  @ended_at = attributes[:ended_at] || attributes['ended_at'] || nil
107
110
  @join_ahead_time_seconds = attributes[:join_ahead_time_seconds] || attributes['join_ahead_time_seconds'] || nil
111
+ @routing_number = attributes[:routing_number] || attributes['routing_number'] || nil
108
112
  @starts_at = attributes[:starts_at] || attributes['starts_at'] || nil
109
113
  @team = attributes[:team] || attributes['team'] || nil
110
114
  @session = attributes[:session] || attributes['session'] || nil
@@ -134,6 +138,7 @@ module GetStream
134
138
  channel_cid: 'channel_cid',
135
139
  ended_at: 'ended_at',
136
140
  join_ahead_time_seconds: 'join_ahead_time_seconds',
141
+ routing_number: 'routing_number',
137
142
  starts_at: 'starts_at',
138
143
  team: 'team',
139
144
  session: 'session',
@@ -24,12 +24,18 @@ module GetStream
24
24
  # @!attribute geofencing
25
25
  # @return [GeofenceSettings]
26
26
  attr_accessor :geofencing
27
+ # @!attribute individual_recording
28
+ # @return [IndividualRecordSettings]
29
+ attr_accessor :individual_recording
27
30
  # @!attribute ingress
28
31
  # @return [IngressSettings]
29
32
  attr_accessor :ingress
30
33
  # @!attribute limits
31
34
  # @return [LimitsSettings]
32
35
  attr_accessor :limits
36
+ # @!attribute raw_recording
37
+ # @return [RawRecordSettings]
38
+ attr_accessor :raw_recording
33
39
  # @!attribute recording
34
40
  # @return [RecordSettings]
35
41
  attr_accessor :recording
@@ -60,8 +66,10 @@ module GetStream
60
66
  @broadcasting = attributes[:broadcasting] || attributes['broadcasting'] || nil
61
67
  @frame_recording = attributes[:frame_recording] || attributes['frame_recording'] || nil
62
68
  @geofencing = attributes[:geofencing] || attributes['geofencing'] || nil
69
+ @individual_recording = attributes[:individual_recording] || attributes['individual_recording'] || nil
63
70
  @ingress = attributes[:ingress] || attributes['ingress'] || nil
64
71
  @limits = attributes[:limits] || attributes['limits'] || nil
72
+ @raw_recording = attributes[:raw_recording] || attributes['raw_recording'] || nil
65
73
  @recording = attributes[:recording] || attributes['recording'] || nil
66
74
  @ring = attributes[:ring] || attributes['ring'] || nil
67
75
  @screensharing = attributes[:screensharing] || attributes['screensharing'] || nil
@@ -79,8 +87,10 @@ module GetStream
79
87
  broadcasting: 'broadcasting',
80
88
  frame_recording: 'frame_recording',
81
89
  geofencing: 'geofencing',
90
+ individual_recording: 'individual_recording',
82
91
  ingress: 'ingress',
83
92
  limits: 'limits',
93
+ raw_recording: 'raw_recording',
84
94
  recording: 'recording',
85
95
  ring: 'ring',
86
96
  screensharing: 'screensharing',
@@ -24,12 +24,18 @@ module GetStream
24
24
  # @!attribute geofencing
25
25
  # @return [GeofenceSettingsRequest]
26
26
  attr_accessor :geofencing
27
+ # @!attribute individual_recording
28
+ # @return [IndividualRecordingSettingsRequest]
29
+ attr_accessor :individual_recording
27
30
  # @!attribute ingress
28
31
  # @return [IngressSettingsRequest]
29
32
  attr_accessor :ingress
30
33
  # @!attribute limits
31
34
  # @return [LimitsSettingsRequest]
32
35
  attr_accessor :limits
36
+ # @!attribute raw_recording
37
+ # @return [RawRecordingSettingsRequest]
38
+ attr_accessor :raw_recording
33
39
  # @!attribute recording
34
40
  # @return [RecordSettingsRequest]
35
41
  attr_accessor :recording
@@ -60,8 +66,10 @@ module GetStream
60
66
  @broadcasting = attributes[:broadcasting] || attributes['broadcasting'] || nil
61
67
  @frame_recording = attributes[:frame_recording] || attributes['frame_recording'] || nil
62
68
  @geofencing = attributes[:geofencing] || attributes['geofencing'] || nil
69
+ @individual_recording = attributes[:individual_recording] || attributes['individual_recording'] || nil
63
70
  @ingress = attributes[:ingress] || attributes['ingress'] || nil
64
71
  @limits = attributes[:limits] || attributes['limits'] || nil
72
+ @raw_recording = attributes[:raw_recording] || attributes['raw_recording'] || nil
65
73
  @recording = attributes[:recording] || attributes['recording'] || nil
66
74
  @ring = attributes[:ring] || attributes['ring'] || nil
67
75
  @screensharing = attributes[:screensharing] || attributes['screensharing'] || nil
@@ -79,8 +87,10 @@ module GetStream
79
87
  broadcasting: 'broadcasting',
80
88
  frame_recording: 'frame_recording',
81
89
  geofencing: 'geofencing',
90
+ individual_recording: 'individual_recording',
82
91
  ingress: 'ingress',
83
92
  limits: 'limits',
93
+ raw_recording: 'raw_recording',
84
94
  recording: 'recording',
85
95
  ring: 'ring',
86
96
  screensharing: 'screensharing',
@@ -24,9 +24,15 @@ module GetStream
24
24
  # @!attribute geofencing
25
25
  # @return [GeofenceSettingsResponse]
26
26
  attr_accessor :geofencing
27
+ # @!attribute individual_recording
28
+ # @return [IndividualRecordingSettingsResponse]
29
+ attr_accessor :individual_recording
27
30
  # @!attribute limits
28
31
  # @return [LimitsSettingsResponse]
29
32
  attr_accessor :limits
33
+ # @!attribute raw_recording
34
+ # @return [RawRecordingSettingsResponse]
35
+ attr_accessor :raw_recording
30
36
  # @!attribute recording
31
37
  # @return [RecordSettingsResponse]
32
38
  attr_accessor :recording
@@ -60,7 +66,9 @@ module GetStream
60
66
  @broadcasting = attributes[:broadcasting] || attributes['broadcasting']
61
67
  @frame_recording = attributes[:frame_recording] || attributes['frame_recording']
62
68
  @geofencing = attributes[:geofencing] || attributes['geofencing']
69
+ @individual_recording = attributes[:individual_recording] || attributes['individual_recording']
63
70
  @limits = attributes[:limits] || attributes['limits']
71
+ @raw_recording = attributes[:raw_recording] || attributes['raw_recording']
64
72
  @recording = attributes[:recording] || attributes['recording']
65
73
  @ring = attributes[:ring] || attributes['ring']
66
74
  @screensharing = attributes[:screensharing] || attributes['screensharing']
@@ -79,7 +87,9 @@ module GetStream
79
87
  broadcasting: 'broadcasting',
80
88
  frame_recording: 'frame_recording',
81
89
  geofencing: 'geofencing',
90
+ individual_recording: 'individual_recording',
82
91
  limits: 'limits',
92
+ raw_recording: 'raw_recording',
83
93
  recording: 'recording',
84
94
  ring: 'ring',
85
95
  screensharing: 'screensharing',
@@ -27,6 +27,9 @@ module GetStream
27
27
  # @!attribute sessions
28
28
  # @return [Integer]
29
29
  attr_accessor :sessions
30
+ # @!attribute total_participant_duration
31
+ # @return [Integer]
32
+ attr_accessor :total_participant_duration
30
33
 
31
34
  # Initialize with attributes
32
35
  def initialize(attributes = {})
@@ -37,6 +40,7 @@ module GetStream
37
40
  @peak_concurrent_users = attributes[:peak_concurrent_users] || attributes['peak_concurrent_users']
38
41
  @publishers = attributes[:publishers] || attributes['publishers']
39
42
  @sessions = attributes[:sessions] || attributes['sessions']
43
+ @total_participant_duration = attributes[:total_participant_duration] || attributes['total_participant_duration'] || nil
40
44
  end
41
45
 
42
46
  # Override field mappings for JSON serialization
@@ -47,7 +51,8 @@ module GetStream
47
51
  peak_concurrent_sessions: 'peak_concurrent_sessions',
48
52
  peak_concurrent_users: 'peak_concurrent_users',
49
53
  publishers: 'publishers',
50
- sessions: 'sessions'
54
+ sessions: 'sessions',
55
+ total_participant_duration: 'total_participant_duration'
51
56
  }
52
57
  end
53
58
  end
@@ -0,0 +1,81 @@
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 ChannelBatchCompletedEvent < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute batch_created_at
13
+ # @return [DateTime]
14
+ attr_accessor :batch_created_at
15
+ # @!attribute created_at
16
+ # @return [DateTime]
17
+ attr_accessor :created_at
18
+ # @!attribute finished_at
19
+ # @return [DateTime]
20
+ attr_accessor :finished_at
21
+ # @!attribute operation
22
+ # @return [String]
23
+ attr_accessor :operation
24
+ # @!attribute status
25
+ # @return [String]
26
+ attr_accessor :status
27
+ # @!attribute success_channels_count
28
+ # @return [Integer]
29
+ attr_accessor :success_channels_count
30
+ # @!attribute task_id
31
+ # @return [String]
32
+ attr_accessor :task_id
33
+ # @!attribute failed_channels
34
+ # @return [Array<FailedChannelUpdates>]
35
+ attr_accessor :failed_channels
36
+ # @!attribute custom
37
+ # @return [Object]
38
+ attr_accessor :custom
39
+ # @!attribute type
40
+ # @return [String]
41
+ attr_accessor :type
42
+ # @!attribute received_at
43
+ # @return [DateTime]
44
+ attr_accessor :received_at
45
+
46
+ # Initialize with attributes
47
+ def initialize(attributes = {})
48
+ super(attributes)
49
+ @batch_created_at = attributes[:batch_created_at] || attributes['batch_created_at']
50
+ @created_at = attributes[:created_at] || attributes['created_at']
51
+ @finished_at = attributes[:finished_at] || attributes['finished_at']
52
+ @operation = attributes[:operation] || attributes['operation']
53
+ @status = attributes[:status] || attributes['status']
54
+ @success_channels_count = attributes[:success_channels_count] || attributes['success_channels_count']
55
+ @task_id = attributes[:task_id] || attributes['task_id']
56
+ @failed_channels = attributes[:failed_channels] || attributes['failed_channels']
57
+ @custom = attributes[:custom] || attributes['custom']
58
+ @type = attributes[:type] || attributes['type'] || "channel_batch_update.completed"
59
+ @received_at = attributes[:received_at] || attributes['received_at'] || nil
60
+ end
61
+
62
+ # Override field mappings for JSON serialization
63
+ def self.json_field_mappings
64
+ {
65
+ batch_created_at: 'batch_created_at',
66
+ created_at: 'created_at',
67
+ finished_at: 'finished_at',
68
+ operation: 'operation',
69
+ status: 'status',
70
+ success_channels_count: 'success_channels_count',
71
+ task_id: 'task_id',
72
+ failed_channels: 'failed_channels',
73
+ custom: 'custom',
74
+ type: 'type',
75
+ received_at: 'received_at'
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,81 @@
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 ChannelBatchStartedEvent < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute batch_created_at
13
+ # @return [DateTime]
14
+ attr_accessor :batch_created_at
15
+ # @!attribute created_at
16
+ # @return [DateTime]
17
+ attr_accessor :created_at
18
+ # @!attribute finished_at
19
+ # @return [DateTime]
20
+ attr_accessor :finished_at
21
+ # @!attribute operation
22
+ # @return [String]
23
+ attr_accessor :operation
24
+ # @!attribute status
25
+ # @return [String]
26
+ attr_accessor :status
27
+ # @!attribute success_channels_count
28
+ # @return [Integer]
29
+ attr_accessor :success_channels_count
30
+ # @!attribute task_id
31
+ # @return [String]
32
+ attr_accessor :task_id
33
+ # @!attribute failed_channels
34
+ # @return [Array<FailedChannelUpdates>]
35
+ attr_accessor :failed_channels
36
+ # @!attribute custom
37
+ # @return [Object]
38
+ attr_accessor :custom
39
+ # @!attribute type
40
+ # @return [String]
41
+ attr_accessor :type
42
+ # @!attribute received_at
43
+ # @return [DateTime]
44
+ attr_accessor :received_at
45
+
46
+ # Initialize with attributes
47
+ def initialize(attributes = {})
48
+ super(attributes)
49
+ @batch_created_at = attributes[:batch_created_at] || attributes['batch_created_at']
50
+ @created_at = attributes[:created_at] || attributes['created_at']
51
+ @finished_at = attributes[:finished_at] || attributes['finished_at']
52
+ @operation = attributes[:operation] || attributes['operation']
53
+ @status = attributes[:status] || attributes['status']
54
+ @success_channels_count = attributes[:success_channels_count] || attributes['success_channels_count']
55
+ @task_id = attributes[:task_id] || attributes['task_id']
56
+ @failed_channels = attributes[:failed_channels] || attributes['failed_channels']
57
+ @custom = attributes[:custom] || attributes['custom']
58
+ @type = attributes[:type] || attributes['type'] || "channel_batch_update.started"
59
+ @received_at = attributes[:received_at] || attributes['received_at'] || nil
60
+ end
61
+
62
+ # Override field mappings for JSON serialization
63
+ def self.json_field_mappings
64
+ {
65
+ batch_created_at: 'batch_created_at',
66
+ created_at: 'created_at',
67
+ finished_at: 'finished_at',
68
+ operation: 'operation',
69
+ status: 'status',
70
+ success_channels_count: 'success_channels_count',
71
+ task_id: 'task_id',
72
+ failed_channels: 'failed_channels',
73
+ custom: 'custom',
74
+ type: 'type',
75
+ received_at: 'received_at'
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
81
+ end
@@ -60,6 +60,9 @@ module GetStream
60
60
  # @!attribute deleted_at
61
61
  # @return [DateTime] When the comment was deleted
62
62
  attr_accessor :deleted_at
63
+ # @!attribute edited_at
64
+ # @return [DateTime] When the comment was last edited
65
+ attr_accessor :edited_at
63
66
  # @!attribute parent_id
64
67
  # @return [String] ID of parent comment for nested replies
65
68
  attr_accessor :parent_id
@@ -102,6 +105,7 @@ module GetStream
102
105
  @user = attributes[:user] || attributes['user']
103
106
  @controversy_score = attributes[:controversy_score] || attributes['controversy_score'] || nil
104
107
  @deleted_at = attributes[:deleted_at] || attributes['deleted_at'] || nil
108
+ @edited_at = attributes[:edited_at] || attributes['edited_at'] || nil
105
109
  @parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
106
110
  @text = attributes[:text] || attributes['text'] || nil
107
111
  @attachments = attributes[:attachments] || attributes['attachments'] || nil
@@ -131,6 +135,7 @@ module GetStream
131
135
  user: 'user',
132
136
  controversy_score: 'controversy_score',
133
137
  deleted_at: 'deleted_at',
138
+ edited_at: 'edited_at',
134
139
  parent_id: 'parent_id',
135
140
  text: 'text',
136
141
  attachments: 'attachments',
@@ -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 CompositeRecordingResponse < GetStream::BaseModel
10
+
11
+ # Model attributes
12
+ # @!attribute status
13
+ # @return [String]
14
+ attr_accessor :status
15
+
16
+ # Initialize with attributes
17
+ def initialize(attributes = {})
18
+ super(attributes)
19
+ @status = attributes[:status] || attributes['status']
20
+ end
21
+
22
+ # Override field mappings for JSON serialization
23
+ def self.json_field_mappings
24
+ {
25
+ status: 'status'
26
+ }
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end