getstream-ruby 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/getstream_ruby/generated/chat_client.rb +2 -2
- data/lib/getstream_ruby/generated/feeds_client.rb +2 -2
- data/lib/getstream_ruby/generated/models/accept_follow_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/activity_processing_config.rb +36 -0
- data/lib/getstream_ruby/generated/models/ai_video_config.rb +5 -0
- data/lib/getstream_ruby/generated/models/ai_video_config_request.rb +41 -0
- data/lib/getstream_ruby/generated/models/ai_video_config_response.rb +41 -0
- data/lib/getstream_ruby/generated/models/analyze_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/app_response_fields.rb +15 -0
- data/lib/getstream_ruby/generated/models/async_export_error_event.rb +1 -1
- data/lib/getstream_ruby/generated/models/channel_batch_update_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/channel_member_request.rb +6 -6
- data/lib/getstream_ruby/generated/models/config_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/create_feed_group_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/create_feeds_batch_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/create_reminder_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/feed_group.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_group_response.rb +10 -0
- data/lib/getstream_ruby/generated/models/follow_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/get_or_create_feed_group_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/member_user_request.rb +76 -0
- data/lib/getstream_ruby/generated/models/message_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/message_with_channel_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/moderation_flag_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/poll_response_data.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_members_payload.rb +5 -5
- data/lib/getstream_ruby/generated/models/reminder_created_event.rb +6 -6
- data/lib/getstream_ruby/generated/models/reminder_deleted_event.rb +6 -6
- data/lib/getstream_ruby/generated/models/reminder_notification_event.rb +6 -6
- data/lib/getstream_ruby/generated/models/reminder_updated_event.rb +6 -6
- data/lib/getstream_ruby/generated/models/search_result_message.rb +5 -0
- data/lib/getstream_ruby/generated/models/translate_message_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/unban_request.rb +2 -1
- data/lib/getstream_ruby/generated/models/update_app_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/update_feed_group_request.rb +11 -1
- data/lib/getstream_ruby/generated/models/update_follow_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/upsert_config_request.rb +1 -1
- data/lib/getstream_ruby/generated/video_client.rb +3 -3
- data/lib/getstream_ruby/version.rb +1 -1
- metadata +8 -2
|
@@ -0,0 +1,76 @@
|
|
|
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 MemberUserRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute id
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :id
|
|
15
|
+
# @!attribute image
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :image
|
|
18
|
+
# @!attribute invisible
|
|
19
|
+
# @return [Boolean]
|
|
20
|
+
attr_accessor :invisible
|
|
21
|
+
# @!attribute language
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :language
|
|
24
|
+
# @!attribute name
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :name
|
|
27
|
+
# @!attribute role
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :role
|
|
30
|
+
# @!attribute teams
|
|
31
|
+
# @return [Array<String>]
|
|
32
|
+
attr_accessor :teams
|
|
33
|
+
# @!attribute custom
|
|
34
|
+
# @return [Object]
|
|
35
|
+
attr_accessor :custom
|
|
36
|
+
# @!attribute privacy_settings
|
|
37
|
+
# @return [PrivacySettingsResponse]
|
|
38
|
+
attr_accessor :privacy_settings
|
|
39
|
+
# @!attribute teams_role
|
|
40
|
+
# @return [Hash<String, String>]
|
|
41
|
+
attr_accessor :teams_role
|
|
42
|
+
|
|
43
|
+
# Initialize with attributes
|
|
44
|
+
def initialize(attributes = {})
|
|
45
|
+
super(attributes)
|
|
46
|
+
@id = attributes[:id] || attributes['id']
|
|
47
|
+
@image = attributes[:image] || attributes['image'] || nil
|
|
48
|
+
@invisible = attributes[:invisible] || attributes['invisible'] || nil
|
|
49
|
+
@language = attributes[:language] || attributes['language'] || nil
|
|
50
|
+
@name = attributes[:name] || attributes['name'] || nil
|
|
51
|
+
@role = attributes[:role] || attributes['role'] || nil
|
|
52
|
+
@teams = attributes[:teams] || attributes['teams'] || nil
|
|
53
|
+
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
54
|
+
@privacy_settings = attributes[:privacy_settings] || attributes['privacy_settings'] || nil
|
|
55
|
+
@teams_role = attributes[:teams_role] || attributes['teams_role'] || nil
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Override field mappings for JSON serialization
|
|
59
|
+
def self.json_field_mappings
|
|
60
|
+
{
|
|
61
|
+
id: 'id',
|
|
62
|
+
image: 'image',
|
|
63
|
+
invisible: 'invisible',
|
|
64
|
+
language: 'language',
|
|
65
|
+
name: 'name',
|
|
66
|
+
role: 'role',
|
|
67
|
+
teams: 'teams',
|
|
68
|
+
custom: 'custom',
|
|
69
|
+
privacy_settings: 'privacy_settings',
|
|
70
|
+
teams_role: 'teams_role'
|
|
71
|
+
}
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -135,6 +135,9 @@ module GetStream
|
|
|
135
135
|
# @!attribute member
|
|
136
136
|
# @return [ChannelMemberPartialResponse]
|
|
137
137
|
attr_accessor :member
|
|
138
|
+
# @!attribute mentioned_channel_members
|
|
139
|
+
# @return [Hash<String, ChannelMemberPartialResponse>] Channel member data for the users mentioned in the message, keyed by user id. Only present when the app has member custom on mentioned users enabled, and only for the first two mentioned users of each message
|
|
140
|
+
attr_accessor :mentioned_channel_members
|
|
138
141
|
# @!attribute moderation
|
|
139
142
|
# @return [ModerationV2Response]
|
|
140
143
|
attr_accessor :moderation
|
|
@@ -202,6 +205,7 @@ module GetStream
|
|
|
202
205
|
@i18n = attributes[:i18n] || attributes['i18n'] || nil
|
|
203
206
|
@image_labels = attributes[:image_labels] || attributes['image_labels'] || nil
|
|
204
207
|
@member = attributes[:member] || attributes['member'] || nil
|
|
208
|
+
@mentioned_channel_members = attributes[:mentioned_channel_members] || attributes['mentioned_channel_members'] || nil
|
|
205
209
|
@moderation = attributes[:moderation] || attributes['moderation'] || nil
|
|
206
210
|
@pinned_by = attributes[:pinned_by] || attributes['pinned_by'] || nil
|
|
207
211
|
@poll = attributes[:poll] || attributes['poll'] || nil
|
|
@@ -256,6 +260,7 @@ module GetStream
|
|
|
256
260
|
i18n: 'i18n',
|
|
257
261
|
image_labels: 'image_labels',
|
|
258
262
|
member: 'member',
|
|
263
|
+
mentioned_channel_members: 'mentioned_channel_members',
|
|
259
264
|
moderation: 'moderation',
|
|
260
265
|
pinned_by: 'pinned_by',
|
|
261
266
|
poll: 'poll',
|
|
@@ -138,6 +138,9 @@ module GetStream
|
|
|
138
138
|
# @!attribute member
|
|
139
139
|
# @return [ChannelMemberPartialResponse]
|
|
140
140
|
attr_accessor :member
|
|
141
|
+
# @!attribute mentioned_channel_members
|
|
142
|
+
# @return [Hash<String, ChannelMemberPartialResponse>] Channel member data for the users mentioned in the message, keyed by user id. Only present when the app has member custom on mentioned users enabled, and only for the first two mentioned users of each message
|
|
143
|
+
attr_accessor :mentioned_channel_members
|
|
141
144
|
# @!attribute moderation
|
|
142
145
|
# @return [ModerationV2Response]
|
|
143
146
|
attr_accessor :moderation
|
|
@@ -206,6 +209,7 @@ module GetStream
|
|
|
206
209
|
@i18n = attributes[:i18n] || attributes['i18n'] || nil
|
|
207
210
|
@image_labels = attributes[:image_labels] || attributes['image_labels'] || nil
|
|
208
211
|
@member = attributes[:member] || attributes['member'] || nil
|
|
212
|
+
@mentioned_channel_members = attributes[:mentioned_channel_members] || attributes['mentioned_channel_members'] || nil
|
|
209
213
|
@moderation = attributes[:moderation] || attributes['moderation'] || nil
|
|
210
214
|
@pinned_by = attributes[:pinned_by] || attributes['pinned_by'] || nil
|
|
211
215
|
@poll = attributes[:poll] || attributes['poll'] || nil
|
|
@@ -261,6 +265,7 @@ module GetStream
|
|
|
261
265
|
i18n: 'i18n',
|
|
262
266
|
image_labels: 'image_labels',
|
|
263
267
|
member: 'member',
|
|
268
|
+
mentioned_channel_members: 'mentioned_channel_members',
|
|
264
269
|
moderation: 'moderation',
|
|
265
270
|
pinned_by: 'pinned_by',
|
|
266
271
|
poll: 'poll',
|
|
@@ -30,6 +30,9 @@ module GetStream
|
|
|
30
30
|
# @!attribute result
|
|
31
31
|
# @return [Array<Object>]
|
|
32
32
|
attr_accessor :result
|
|
33
|
+
# @!attribute content_published_at
|
|
34
|
+
# @return [DateTime]
|
|
35
|
+
attr_accessor :content_published_at
|
|
33
36
|
# @!attribute entity_creator_id
|
|
34
37
|
# @return [String]
|
|
35
38
|
attr_accessor :entity_creator_id
|
|
@@ -65,6 +68,7 @@ module GetStream
|
|
|
65
68
|
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
66
69
|
@user_id = attributes[:user_id] || attributes['user_id']
|
|
67
70
|
@result = attributes[:result] || attributes['result']
|
|
71
|
+
@content_published_at = attributes[:content_published_at] || attributes['content_published_at'] || nil
|
|
68
72
|
@entity_creator_id = attributes[:entity_creator_id] || attributes['entity_creator_id'] || nil
|
|
69
73
|
@reason = attributes[:reason] || attributes['reason'] || nil
|
|
70
74
|
@review_queue_item_id = attributes[:review_queue_item_id] || attributes['review_queue_item_id'] || nil
|
|
@@ -85,6 +89,7 @@ module GetStream
|
|
|
85
89
|
updated_at: 'updated_at',
|
|
86
90
|
user_id: 'user_id',
|
|
87
91
|
result: 'result',
|
|
92
|
+
content_published_at: 'content_published_at',
|
|
88
93
|
entity_creator_id: 'entity_creator_id',
|
|
89
94
|
reason: 'reason',
|
|
90
95
|
review_queue_item_id: 'review_queue_item_id',
|
|
@@ -43,7 +43,7 @@ module GetStream
|
|
|
43
43
|
# @return [Integer]
|
|
44
44
|
attr_accessor :vote_count
|
|
45
45
|
# @!attribute voting_visibility
|
|
46
|
-
# @return [String]
|
|
46
|
+
# @return [String] Voting visibility of the poll
|
|
47
47
|
attr_accessor :voting_visibility
|
|
48
48
|
# @!attribute latest_answers
|
|
49
49
|
# @return [Array<PollVoteResponseData>]
|
|
@@ -12,9 +12,6 @@ module GetStream
|
|
|
12
12
|
# @!attribute type
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :type
|
|
15
|
-
# @!attribute filter_conditions
|
|
16
|
-
# @return [Object] Filter conditions to apply to the query
|
|
17
|
-
attr_accessor :filter_conditions
|
|
18
15
|
# @!attribute id
|
|
19
16
|
# @return [String]
|
|
20
17
|
attr_accessor :id
|
|
@@ -33,6 +30,9 @@ module GetStream
|
|
|
33
30
|
# @!attribute sort
|
|
34
31
|
# @return [Array<SortParamRequest>] Array of sort parameters
|
|
35
32
|
attr_accessor :sort
|
|
33
|
+
# @!attribute filter_conditions
|
|
34
|
+
# @return [Object] Filter conditions to apply to the query
|
|
35
|
+
attr_accessor :filter_conditions
|
|
36
36
|
# @!attribute user
|
|
37
37
|
# @return [UserRequest] User request object
|
|
38
38
|
attr_accessor :user
|
|
@@ -41,13 +41,13 @@ module GetStream
|
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
super(attributes)
|
|
43
43
|
@type = attributes[:type] || attributes['type']
|
|
44
|
-
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions']
|
|
45
44
|
@id = attributes[:id] || attributes['id'] || nil
|
|
46
45
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
47
46
|
@offset = attributes[:offset] || attributes['offset'] || nil
|
|
48
47
|
@user_id = attributes[:user_id] || attributes['user_id'] || nil
|
|
49
48
|
@members = attributes[:members] || attributes['members'] || nil
|
|
50
49
|
@sort = attributes[:sort] || attributes['sort'] || nil
|
|
50
|
+
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions'] || nil
|
|
51
51
|
@user = attributes[:user] || attributes['user'] || nil
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -55,13 +55,13 @@ module GetStream
|
|
|
55
55
|
def self.json_field_mappings
|
|
56
56
|
{
|
|
57
57
|
type: 'type',
|
|
58
|
-
filter_conditions: 'filter_conditions',
|
|
59
58
|
id: 'id',
|
|
60
59
|
limit: 'limit',
|
|
61
60
|
offset: 'offset',
|
|
62
61
|
user_id: 'user_id',
|
|
63
62
|
members: 'members',
|
|
64
63
|
sort: 'sort',
|
|
64
|
+
filter_conditions: 'filter_conditions',
|
|
65
65
|
user: 'user'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute custom
|
|
25
25
|
# @return [Object]
|
|
26
26
|
attr_accessor :custom
|
|
27
|
+
# @!attribute reminder
|
|
28
|
+
# @return [ReminderResponseData]
|
|
29
|
+
attr_accessor :reminder
|
|
27
30
|
# @!attribute type
|
|
28
31
|
# @return [String] The type of event: "reminder.created" in this case
|
|
29
32
|
attr_accessor :type
|
|
@@ -33,9 +36,6 @@ module GetStream
|
|
|
33
36
|
# @!attribute received_at
|
|
34
37
|
# @return [DateTime]
|
|
35
38
|
attr_accessor :received_at
|
|
36
|
-
# @!attribute reminder
|
|
37
|
-
# @return [ReminderResponseData]
|
|
38
|
-
attr_accessor :reminder
|
|
39
39
|
|
|
40
40
|
# Initialize with attributes
|
|
41
41
|
def initialize(attributes = {})
|
|
@@ -45,10 +45,10 @@ module GetStream
|
|
|
45
45
|
@message_id = attributes[:message_id] || attributes['message_id']
|
|
46
46
|
@user_id = attributes[:user_id] || attributes['user_id']
|
|
47
47
|
@custom = attributes[:custom] || attributes['custom']
|
|
48
|
+
@reminder = attributes[:reminder] || attributes['reminder']
|
|
48
49
|
@type = attributes[:type] || attributes['type'] || "reminder.created"
|
|
49
50
|
@parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
|
|
50
51
|
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
51
|
-
@reminder = attributes[:reminder] || attributes['reminder'] || nil
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Override field mappings for JSON serialization
|
|
@@ -59,10 +59,10 @@ module GetStream
|
|
|
59
59
|
message_id: 'message_id',
|
|
60
60
|
user_id: 'user_id',
|
|
61
61
|
custom: 'custom',
|
|
62
|
+
reminder: 'reminder',
|
|
62
63
|
type: 'type',
|
|
63
64
|
parent_id: 'parent_id',
|
|
64
|
-
received_at: 'received_at'
|
|
65
|
-
reminder: 'reminder'
|
|
65
|
+
received_at: 'received_at'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
68
68
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute custom
|
|
25
25
|
# @return [Object]
|
|
26
26
|
attr_accessor :custom
|
|
27
|
+
# @!attribute reminder
|
|
28
|
+
# @return [ReminderResponseData]
|
|
29
|
+
attr_accessor :reminder
|
|
27
30
|
# @!attribute type
|
|
28
31
|
# @return [String] The type of event: "reminder.deleted" in this case
|
|
29
32
|
attr_accessor :type
|
|
@@ -33,9 +36,6 @@ module GetStream
|
|
|
33
36
|
# @!attribute received_at
|
|
34
37
|
# @return [DateTime]
|
|
35
38
|
attr_accessor :received_at
|
|
36
|
-
# @!attribute reminder
|
|
37
|
-
# @return [ReminderResponseData]
|
|
38
|
-
attr_accessor :reminder
|
|
39
39
|
|
|
40
40
|
# Initialize with attributes
|
|
41
41
|
def initialize(attributes = {})
|
|
@@ -45,10 +45,10 @@ module GetStream
|
|
|
45
45
|
@message_id = attributes[:message_id] || attributes['message_id']
|
|
46
46
|
@user_id = attributes[:user_id] || attributes['user_id']
|
|
47
47
|
@custom = attributes[:custom] || attributes['custom']
|
|
48
|
+
@reminder = attributes[:reminder] || attributes['reminder']
|
|
48
49
|
@type = attributes[:type] || attributes['type'] || "reminder.deleted"
|
|
49
50
|
@parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
|
|
50
51
|
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
51
|
-
@reminder = attributes[:reminder] || attributes['reminder'] || nil
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Override field mappings for JSON serialization
|
|
@@ -59,10 +59,10 @@ module GetStream
|
|
|
59
59
|
message_id: 'message_id',
|
|
60
60
|
user_id: 'user_id',
|
|
61
61
|
custom: 'custom',
|
|
62
|
+
reminder: 'reminder',
|
|
62
63
|
type: 'type',
|
|
63
64
|
parent_id: 'parent_id',
|
|
64
|
-
received_at: 'received_at'
|
|
65
|
-
reminder: 'reminder'
|
|
65
|
+
received_at: 'received_at'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
68
68
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute custom
|
|
25
25
|
# @return [Object]
|
|
26
26
|
attr_accessor :custom
|
|
27
|
+
# @!attribute reminder
|
|
28
|
+
# @return [ReminderResponseData]
|
|
29
|
+
attr_accessor :reminder
|
|
27
30
|
# @!attribute type
|
|
28
31
|
# @return [String] The type of event: "notification.reminder_due" in this case
|
|
29
32
|
attr_accessor :type
|
|
@@ -33,9 +36,6 @@ module GetStream
|
|
|
33
36
|
# @!attribute received_at
|
|
34
37
|
# @return [DateTime]
|
|
35
38
|
attr_accessor :received_at
|
|
36
|
-
# @!attribute reminder
|
|
37
|
-
# @return [ReminderResponseData]
|
|
38
|
-
attr_accessor :reminder
|
|
39
39
|
|
|
40
40
|
# Initialize with attributes
|
|
41
41
|
def initialize(attributes = {})
|
|
@@ -45,10 +45,10 @@ module GetStream
|
|
|
45
45
|
@message_id = attributes[:message_id] || attributes['message_id']
|
|
46
46
|
@user_id = attributes[:user_id] || attributes['user_id']
|
|
47
47
|
@custom = attributes[:custom] || attributes['custom']
|
|
48
|
+
@reminder = attributes[:reminder] || attributes['reminder']
|
|
48
49
|
@type = attributes[:type] || attributes['type'] || "notification.reminder_due"
|
|
49
50
|
@parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
|
|
50
51
|
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
51
|
-
@reminder = attributes[:reminder] || attributes['reminder'] || nil
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Override field mappings for JSON serialization
|
|
@@ -59,10 +59,10 @@ module GetStream
|
|
|
59
59
|
message_id: 'message_id',
|
|
60
60
|
user_id: 'user_id',
|
|
61
61
|
custom: 'custom',
|
|
62
|
+
reminder: 'reminder',
|
|
62
63
|
type: 'type',
|
|
63
64
|
parent_id: 'parent_id',
|
|
64
|
-
received_at: 'received_at'
|
|
65
|
-
reminder: 'reminder'
|
|
65
|
+
received_at: 'received_at'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
68
68
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute custom
|
|
25
25
|
# @return [Object]
|
|
26
26
|
attr_accessor :custom
|
|
27
|
+
# @!attribute reminder
|
|
28
|
+
# @return [ReminderResponseData]
|
|
29
|
+
attr_accessor :reminder
|
|
27
30
|
# @!attribute type
|
|
28
31
|
# @return [String] The type of event: "reminder.updated" in this case
|
|
29
32
|
attr_accessor :type
|
|
@@ -33,9 +36,6 @@ module GetStream
|
|
|
33
36
|
# @!attribute received_at
|
|
34
37
|
# @return [DateTime]
|
|
35
38
|
attr_accessor :received_at
|
|
36
|
-
# @!attribute reminder
|
|
37
|
-
# @return [ReminderResponseData]
|
|
38
|
-
attr_accessor :reminder
|
|
39
39
|
|
|
40
40
|
# Initialize with attributes
|
|
41
41
|
def initialize(attributes = {})
|
|
@@ -45,10 +45,10 @@ module GetStream
|
|
|
45
45
|
@message_id = attributes[:message_id] || attributes['message_id']
|
|
46
46
|
@user_id = attributes[:user_id] || attributes['user_id']
|
|
47
47
|
@custom = attributes[:custom] || attributes['custom']
|
|
48
|
+
@reminder = attributes[:reminder] || attributes['reminder']
|
|
48
49
|
@type = attributes[:type] || attributes['type'] || "reminder.updated"
|
|
49
50
|
@parent_id = attributes[:parent_id] || attributes['parent_id'] || nil
|
|
50
51
|
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
51
|
-
@reminder = attributes[:reminder] || attributes['reminder'] || nil
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Override field mappings for JSON serialization
|
|
@@ -59,10 +59,10 @@ module GetStream
|
|
|
59
59
|
message_id: 'message_id',
|
|
60
60
|
user_id: 'user_id',
|
|
61
61
|
custom: 'custom',
|
|
62
|
+
reminder: 'reminder',
|
|
62
63
|
type: 'type',
|
|
63
64
|
parent_id: 'parent_id',
|
|
64
|
-
received_at: 'received_at'
|
|
65
|
-
reminder: 'reminder'
|
|
65
|
+
received_at: 'received_at'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
68
68
|
end
|
|
@@ -138,6 +138,9 @@ module GetStream
|
|
|
138
138
|
# @!attribute member
|
|
139
139
|
# @return [ChannelMemberPartialResponse]
|
|
140
140
|
attr_accessor :member
|
|
141
|
+
# @!attribute mentioned_channel_members
|
|
142
|
+
# @return [Hash<String, ChannelMemberPartialResponse>]
|
|
143
|
+
attr_accessor :mentioned_channel_members
|
|
141
144
|
# @!attribute moderation
|
|
142
145
|
# @return [ModerationV2Response]
|
|
143
146
|
attr_accessor :moderation
|
|
@@ -206,6 +209,7 @@ module GetStream
|
|
|
206
209
|
@i18n = attributes[:i18n] || attributes['i18n'] || nil
|
|
207
210
|
@image_labels = attributes[:image_labels] || attributes['image_labels'] || nil
|
|
208
211
|
@member = attributes[:member] || attributes['member'] || nil
|
|
212
|
+
@mentioned_channel_members = attributes[:mentioned_channel_members] || attributes['mentioned_channel_members'] || nil
|
|
209
213
|
@moderation = attributes[:moderation] || attributes['moderation'] || nil
|
|
210
214
|
@pinned_by = attributes[:pinned_by] || attributes['pinned_by'] || nil
|
|
211
215
|
@poll = attributes[:poll] || attributes['poll'] || nil
|
|
@@ -261,6 +265,7 @@ module GetStream
|
|
|
261
265
|
i18n: 'i18n',
|
|
262
266
|
image_labels: 'image_labels',
|
|
263
267
|
member: 'member',
|
|
268
|
+
mentioned_channel_members: 'mentioned_channel_members',
|
|
264
269
|
moderation: 'moderation',
|
|
265
270
|
pinned_by: 'pinned_by',
|
|
266
271
|
poll: 'poll',
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module GetStream
|
|
6
|
+
module Generated
|
|
7
|
+
module Models
|
|
8
|
+
# Basic response information
|
|
9
|
+
class TranslateMessageResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute message
|
|
16
|
+
# @return [MessageResponse] Represents any chat message
|
|
17
|
+
attr_accessor :message
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
23
|
+
@message = attributes[:message] || attributes['message']
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
duration: 'duration',
|
|
30
|
+
message: 'message'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -10,7 +10,8 @@ module GetStream
|
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
12
|
# @!attribute unbanned_by_id
|
|
13
|
-
#
|
|
13
|
+
# @deprecated This field is deprecated.
|
|
14
|
+
# @return [String] ID of the user performing the unban Deprecated: not used by the unban flow
|
|
14
15
|
attr_accessor :unbanned_by_id
|
|
15
16
|
# @!attribute unbanned_by
|
|
16
17
|
# @return [UserRequest] User request object
|
|
@@ -63,9 +63,15 @@ module GetStream
|
|
|
63
63
|
# @!attribute max_aggregated_activities_length
|
|
64
64
|
# @return [Integer]
|
|
65
65
|
attr_accessor :max_aggregated_activities_length
|
|
66
|
+
# @!attribute member_custom_on_mentioned_users_enabled
|
|
67
|
+
# @return [Boolean]
|
|
68
|
+
attr_accessor :member_custom_on_mentioned_users_enabled
|
|
66
69
|
# @!attribute member_custom_on_messages_enabled
|
|
67
70
|
# @return [Boolean]
|
|
68
71
|
attr_accessor :member_custom_on_messages_enabled
|
|
72
|
+
# @!attribute member_custom_on_typing_events_enabled
|
|
73
|
+
# @return [Boolean]
|
|
74
|
+
attr_accessor :member_custom_on_typing_events_enabled
|
|
69
75
|
# @!attribute migrate_permissions_to_v2
|
|
70
76
|
# @return [Boolean]
|
|
71
77
|
attr_accessor :migrate_permissions_to_v2
|
|
@@ -205,7 +211,9 @@ module GetStream
|
|
|
205
211
|
@guest_user_creation_disabled = attributes[:guest_user_creation_disabled] || attributes['guest_user_creation_disabled'] || nil
|
|
206
212
|
@image_moderation_enabled = attributes[:image_moderation_enabled] || attributes['image_moderation_enabled'] || nil
|
|
207
213
|
@max_aggregated_activities_length = attributes[:max_aggregated_activities_length] || attributes['max_aggregated_activities_length'] || nil
|
|
214
|
+
@member_custom_on_mentioned_users_enabled = attributes[:member_custom_on_mentioned_users_enabled] || attributes['member_custom_on_mentioned_users_enabled'] || nil
|
|
208
215
|
@member_custom_on_messages_enabled = attributes[:member_custom_on_messages_enabled] || attributes['member_custom_on_messages_enabled'] || nil
|
|
216
|
+
@member_custom_on_typing_events_enabled = attributes[:member_custom_on_typing_events_enabled] || attributes['member_custom_on_typing_events_enabled'] || nil
|
|
209
217
|
@migrate_permissions_to_v2 = attributes[:migrate_permissions_to_v2] || attributes['migrate_permissions_to_v2'] || nil
|
|
210
218
|
@moderation_analytics_enabled = attributes[:moderation_analytics_enabled] || attributes['moderation_analytics_enabled'] || nil
|
|
211
219
|
@moderation_enabled = attributes[:moderation_enabled] || attributes['moderation_enabled'] || nil
|
|
@@ -268,7 +276,9 @@ module GetStream
|
|
|
268
276
|
guest_user_creation_disabled: 'guest_user_creation_disabled',
|
|
269
277
|
image_moderation_enabled: 'image_moderation_enabled',
|
|
270
278
|
max_aggregated_activities_length: 'max_aggregated_activities_length',
|
|
279
|
+
member_custom_on_mentioned_users_enabled: 'member_custom_on_mentioned_users_enabled',
|
|
271
280
|
member_custom_on_messages_enabled: 'member_custom_on_messages_enabled',
|
|
281
|
+
member_custom_on_typing_events_enabled: 'member_custom_on_typing_events_enabled',
|
|
272
282
|
migrate_permissions_to_v2: 'migrate_permissions_to_v2',
|
|
273
283
|
moderation_analytics_enabled: 'moderation_analytics_enabled',
|
|
274
284
|
moderation_enabled: 'moderation_enabled',
|
|
@@ -9,8 +9,11 @@ module GetStream
|
|
|
9
9
|
class UpdateFeedGroupRequest < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute default_follower_role
|
|
13
|
+
# @return [String] Role new followers of feeds in this group are given. Either a built-in (feed_follower, feed_member_viewer) or any role your app has defined. Empty means feed_follower. Applied when the follow is accepted, so a follow that starts pending picks it up on approval
|
|
14
|
+
attr_accessor :default_follower_role
|
|
12
15
|
# @!attribute default_visibility
|
|
13
|
-
# @return [String]
|
|
16
|
+
# @return [String] Default visibility for the feed group. One of: public, visible, followers, members, private
|
|
14
17
|
attr_accessor :default_visibility
|
|
15
18
|
# @!attribute activity_processors
|
|
16
19
|
# @return [Array<ActivityProcessorConfig>] Configuration for activity processors
|
|
@@ -21,6 +24,9 @@ module GetStream
|
|
|
21
24
|
# @!attribute activity_filter
|
|
22
25
|
# @return [ActivityFilterConfig]
|
|
23
26
|
attr_accessor :activity_filter
|
|
27
|
+
# @!attribute activity_processing
|
|
28
|
+
# @return [ActivityProcessingConfig]
|
|
29
|
+
attr_accessor :activity_processing
|
|
24
30
|
# @!attribute aggregation
|
|
25
31
|
# @return [AggregationConfig]
|
|
26
32
|
attr_accessor :aggregation
|
|
@@ -43,10 +49,12 @@ module GetStream
|
|
|
43
49
|
# Initialize with attributes
|
|
44
50
|
def initialize(attributes = {})
|
|
45
51
|
super(attributes)
|
|
52
|
+
@default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role'] || nil
|
|
46
53
|
@default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
|
|
47
54
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
48
55
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
49
56
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
57
|
+
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
50
58
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
51
59
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
52
60
|
@notification = attributes[:notification] || attributes['notification'] || nil
|
|
@@ -58,10 +66,12 @@ module GetStream
|
|
|
58
66
|
# Override field mappings for JSON serialization
|
|
59
67
|
def self.json_field_mappings
|
|
60
68
|
{
|
|
69
|
+
default_follower_role: 'default_follower_role',
|
|
61
70
|
default_visibility: 'default_visibility',
|
|
62
71
|
activity_processors: 'activity_processors',
|
|
63
72
|
activity_selectors: 'activity_selectors',
|
|
64
73
|
activity_filter: 'activity_filter',
|
|
74
|
+
activity_processing: 'activity_processing',
|
|
65
75
|
aggregation: 'aggregation',
|
|
66
76
|
custom: 'custom',
|
|
67
77
|
notification: 'notification',
|
|
@@ -32,7 +32,7 @@ module GetStream
|
|
|
32
32
|
# @return [Boolean] If true, enriches the follow's source_feed and target_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance.
|
|
33
33
|
attr_accessor :enrich_own_fields
|
|
34
34
|
# @!attribute follower_role
|
|
35
|
-
# @return [String]
|
|
35
|
+
# @return [String] Optional role for the follower in the follow relationship. Server-side only. Either a built-in ('feed_follower' (the default) or 'feed_member_viewer') or any role your app has defined; grants are not inspected.
|
|
36
36
|
attr_accessor :follower_role
|
|
37
37
|
# @!attribute push_preference
|
|
38
38
|
# @return [String] Push preference for the follow relationship
|
|
@@ -31,7 +31,7 @@ module GetStream
|
|
|
31
31
|
# @return [AITextConfig]
|
|
32
32
|
attr_accessor :ai_text_config
|
|
33
33
|
# @!attribute ai_video_config
|
|
34
|
-
# @return [
|
|
34
|
+
# @return [AIVideoConfigRequest]
|
|
35
35
|
attr_accessor :ai_video_config
|
|
36
36
|
# @!attribute automod_platform_circumvention_config
|
|
37
37
|
# @return [AutomodPlatformCircumventionConfig]
|
|
@@ -1434,14 +1434,14 @@ module GetStream
|
|
|
1434
1434
|
# Returns the app's per-broadcast daily digest bundle for one UTC day, with an explicit readiness status (ready, pending, failed, future_date, expired). Payload keys are only present when status is ready.
|
|
1435
1435
|
#
|
|
1436
1436
|
# @param date [String]
|
|
1437
|
-
# @param
|
|
1437
|
+
# @param target_app_id [String]
|
|
1438
1438
|
# @return [Models::GetDailyDigestResponse]
|
|
1439
|
-
def get_daily_digest(date = nil,
|
|
1439
|
+
def get_daily_digest(date = nil, target_app_id = nil)
|
|
1440
1440
|
path = '/api/v2/video/stats/daily_digest'
|
|
1441
1441
|
# Build query parameters
|
|
1442
1442
|
query_params = {}
|
|
1443
1443
|
query_params['date'] = date unless date.nil?
|
|
1444
|
-
query_params['
|
|
1444
|
+
query_params['target_app_id'] = target_app_id unless target_app_id.nil?
|
|
1445
1445
|
|
|
1446
1446
|
# Make the API request
|
|
1447
1447
|
@client.make_request(
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: getstream-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 12.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GetStream
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dotenv
|
|
@@ -165,6 +165,7 @@ files:
|
|
|
165
165
|
- lib/getstream_ruby/generated/models/activity_mark_event.rb
|
|
166
166
|
- lib/getstream_ruby/generated/models/activity_pin_response.rb
|
|
167
167
|
- lib/getstream_ruby/generated/models/activity_pinned_event.rb
|
|
168
|
+
- lib/getstream_ruby/generated/models/activity_processing_config.rb
|
|
168
169
|
- lib/getstream_ruby/generated/models/activity_processor_config.rb
|
|
169
170
|
- lib/getstream_ruby/generated/models/activity_reaction_added_event.rb
|
|
170
171
|
- lib/getstream_ruby/generated/models/activity_reaction_deleted_event.rb
|
|
@@ -203,6 +204,8 @@ files:
|
|
|
203
204
|
- lib/getstream_ruby/generated/models/ai_image_label_definition.rb
|
|
204
205
|
- lib/getstream_ruby/generated/models/ai_text_config.rb
|
|
205
206
|
- lib/getstream_ruby/generated/models/ai_video_config.rb
|
|
207
|
+
- lib/getstream_ruby/generated/models/ai_video_config_request.rb
|
|
208
|
+
- lib/getstream_ruby/generated/models/ai_video_config_response.rb
|
|
206
209
|
- lib/getstream_ruby/generated/models/analyze_image_field.rb
|
|
207
210
|
- lib/getstream_ruby/generated/models/analyze_request.rb
|
|
208
211
|
- lib/getstream_ruby/generated/models/analyze_response.rb
|
|
@@ -523,6 +526,7 @@ files:
|
|
|
523
526
|
- lib/getstream_ruby/generated/models/create_predefined_filter_response.rb
|
|
524
527
|
- lib/getstream_ruby/generated/models/create_queue_request.rb
|
|
525
528
|
- lib/getstream_ruby/generated/models/create_reminder_request.rb
|
|
529
|
+
- lib/getstream_ruby/generated/models/create_reminder_response.rb
|
|
526
530
|
- lib/getstream_ruby/generated/models/create_role_request.rb
|
|
527
531
|
- lib/getstream_ruby/generated/models/create_role_response.rb
|
|
528
532
|
- lib/getstream_ruby/generated/models/create_segment_request.rb
|
|
@@ -911,6 +915,7 @@ files:
|
|
|
911
915
|
- lib/getstream_ruby/generated/models/member_request.rb
|
|
912
916
|
- lib/getstream_ruby/generated/models/member_response.rb
|
|
913
917
|
- lib/getstream_ruby/generated/models/member_updated_event.rb
|
|
918
|
+
- lib/getstream_ruby/generated/models/member_user_request.rb
|
|
914
919
|
- lib/getstream_ruby/generated/models/members_response.rb
|
|
915
920
|
- lib/getstream_ruby/generated/models/membership_level_response.rb
|
|
916
921
|
- lib/getstream_ruby/generated/models/message_action_request.rb
|
|
@@ -1382,6 +1387,7 @@ files:
|
|
|
1382
1387
|
- lib/getstream_ruby/generated/models/translate_comment_request.rb
|
|
1383
1388
|
- lib/getstream_ruby/generated/models/translate_comment_response.rb
|
|
1384
1389
|
- lib/getstream_ruby/generated/models/translate_message_request.rb
|
|
1390
|
+
- lib/getstream_ruby/generated/models/translate_message_response.rb
|
|
1385
1391
|
- lib/getstream_ruby/generated/models/translation_settings.rb
|
|
1386
1392
|
- lib/getstream_ruby/generated/models/triggered_rule_response.rb
|
|
1387
1393
|
- lib/getstream_ruby/generated/models/truncate_channel_request.rb
|