getstream-ruby 11.1.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/getstream_ruby/generated/chat_client.rb +5 -3
- data/lib/getstream_ruby/generated/common_client.rb +5 -1
- data/lib/getstream_ruby/generated/feeds_client.rb +7 -3
- data/lib/getstream_ruby/generated/models/accept_follow_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/activity_marks_config.rb +36 -0
- data/lib/getstream_ruby/generated/models/activity_processing_config.rb +41 -0
- data/lib/getstream_ruby/generated/models/activity_selector_config.rb +5 -0
- data/lib/getstream_ruby/generated/models/activity_selector_config_response.rb +5 -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 +15 -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 +15 -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/delete_channels_request.rb +7 -2
- data/lib/getstream_ruby/generated/models/feed_group.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_group_response.rb +15 -0
- data/lib/getstream_ruby/generated/models/feed_group_scope.rb +36 -0
- data/lib/getstream_ruby/generated/models/follow_response.rb +1 -1
- data/lib/getstream_ruby/generated/models/get_feeds_rate_limits_response.rb +10 -0
- data/lib/getstream_ruby/generated/models/get_or_create_feed_group_request.rb +15 -0
- data/lib/getstream_ruby/generated/models/get_rate_limits_response.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_dashboard_preferences.rb +5 -0
- data/lib/getstream_ruby/generated/models/moderation_flag_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/pagination_params.rb +20 -0
- data/lib/getstream_ruby/generated/models/poll_response_data.rb +1 -1
- data/lib/getstream_ruby/generated/models/query_banned_users_payload.rb +20 -0
- data/lib/getstream_ruby/generated/models/query_future_channel_bans_payload.rb +20 -0
- data/lib/getstream_ruby/generated/models/query_members_payload.rb +45 -5
- data/lib/getstream_ruby/generated/models/query_users_payload.rb +20 -0
- 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/review_queue_item_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/rule_builder_condition.rb +5 -0
- data/lib/getstream_ruby/generated/models/run_stats.rb +5 -0
- 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 +16 -1
- data/lib/getstream_ruby/generated/models/update_follow_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/update_users_response.rb +2 -1
- data/lib/getstream_ruby/generated/models/upsert_config_request.rb +1 -1
- data/lib/getstream_ruby/generated/models/user_reaction_count_rule_parameters.rb +36 -0
- data/lib/getstream_ruby/generated/models/webhook_failover_config.rb +30 -0
- data/lib/getstream_ruby/generated/video_client.rb +3 -3
- data/lib/getstream_ruby/version.rb +1 -1
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4016be74c2a1af41d065763e2113d6afb3ffa29a6adca9a3ccbbe31a047fd230
|
|
4
|
+
data.tar.gz: 828b85d6d6ab88ad29b9e2da008ea364ca66271d86068c0166159870c34ce349
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a2a69ac9c317cde814b4175e34e78d9ba9fd849a2bea3766bc0c2e3e3f23d305541f7ae9fb09de53b9520de7a22814aa7d80ddcf4f9fb3ca4b0413d32693c87
|
|
7
|
+
data.tar.gz: 39849ea8ce346216102aefe53eefc451a2ee5138b29e3a2cf1e885052bd025ba2f9db12375ae115ed1b2eecbc8ca840f3f35d5fcd62edfad89474b697f7c7ff4
|
|
@@ -279,8 +279,9 @@ module GetStream
|
|
|
279
279
|
# @param _type [String]
|
|
280
280
|
# @param _id [String]
|
|
281
281
|
# @param hard_delete [Boolean]
|
|
282
|
+
# @param skip_truncate [Boolean]
|
|
282
283
|
# @return [Models::DeleteChannelResponse]
|
|
283
|
-
def delete_channel(_type, _id, hard_delete = nil)
|
|
284
|
+
def delete_channel(_type, _id, hard_delete = nil, skip_truncate = nil)
|
|
284
285
|
path = '/api/v2/chat/channels/{type}/{id}'
|
|
285
286
|
# Replace path parameters
|
|
286
287
|
path = path.gsub('{type}', _type.to_s)
|
|
@@ -288,6 +289,7 @@ module GetStream
|
|
|
288
289
|
# Build query parameters
|
|
289
290
|
query_params = {}
|
|
290
291
|
query_params['hard_delete'] = hard_delete unless hard_delete.nil?
|
|
292
|
+
query_params['skip_truncate'] = skip_truncate unless skip_truncate.nil?
|
|
291
293
|
|
|
292
294
|
# Make the API request
|
|
293
295
|
@client.make_request(
|
|
@@ -1270,7 +1272,7 @@ module GetStream
|
|
|
1270
1272
|
#
|
|
1271
1273
|
# @param _id [String]
|
|
1272
1274
|
# @param translate_message_request [TranslateMessageRequest]
|
|
1273
|
-
# @return [Models::
|
|
1275
|
+
# @return [Models::TranslateMessageResponse]
|
|
1274
1276
|
def translate_message(_id, translate_message_request)
|
|
1275
1277
|
path = '/api/v2/chat/messages/{id}/translate'
|
|
1276
1278
|
# Replace path parameters
|
|
@@ -1398,7 +1400,7 @@ module GetStream
|
|
|
1398
1400
|
#
|
|
1399
1401
|
# @param message_id [String]
|
|
1400
1402
|
# @param create_reminder_request [CreateReminderRequest]
|
|
1401
|
-
# @return [Models::
|
|
1403
|
+
# @return [Models::CreateReminderResponse]
|
|
1402
1404
|
def create_reminder(message_id, create_reminder_request)
|
|
1403
1405
|
path = '/api/v2/chat/messages/{message_id}/reminders'
|
|
1404
1406
|
# Replace path parameters
|
|
@@ -1022,9 +1022,11 @@ module GetStream
|
|
|
1022
1022
|
# @param ios [Boolean]
|
|
1023
1023
|
# @param web [Boolean]
|
|
1024
1024
|
# @param unity [Boolean]
|
|
1025
|
+
# @param unity_desktop [Boolean]
|
|
1026
|
+
# @param unity_console [Boolean]
|
|
1025
1027
|
# @param endpoints [String]
|
|
1026
1028
|
# @return [Models::GetRateLimitsResponse]
|
|
1027
|
-
def get_rate_limits(server_side = nil, android = nil, ios = nil, web = nil, unity = nil, endpoints = nil)
|
|
1029
|
+
def get_rate_limits(server_side = nil, android = nil, ios = nil, web = nil, unity = nil, unity_desktop = nil, unity_console = nil, endpoints = nil)
|
|
1028
1030
|
path = '/api/v2/rate_limits'
|
|
1029
1031
|
# Build query parameters
|
|
1030
1032
|
query_params = {}
|
|
@@ -1033,6 +1035,8 @@ module GetStream
|
|
|
1033
1035
|
query_params['ios'] = ios unless ios.nil?
|
|
1034
1036
|
query_params['web'] = web unless web.nil?
|
|
1035
1037
|
query_params['unity'] = unity unless unity.nil?
|
|
1038
|
+
query_params['unity_desktop'] = unity_desktop unless unity_desktop.nil?
|
|
1039
|
+
query_params['unity_console'] = unity_console unless unity_console.nil?
|
|
1036
1040
|
query_params['endpoints'] = endpoints unless endpoints.nil?
|
|
1037
1041
|
|
|
1038
1042
|
# Make the API request
|
|
@@ -1550,7 +1550,7 @@ module GetStream
|
|
|
1550
1550
|
)
|
|
1551
1551
|
end
|
|
1552
1552
|
|
|
1553
|
-
# List
|
|
1553
|
+
# List persisted feed views for the application.
|
|
1554
1554
|
#
|
|
1555
1555
|
# @return [Models::ListFeedViewsResponse]
|
|
1556
1556
|
def list_feed_views()
|
|
@@ -1776,9 +1776,11 @@ module GetStream
|
|
|
1776
1776
|
# @param ios [Boolean]
|
|
1777
1777
|
# @param web [Boolean]
|
|
1778
1778
|
# @param unity [Boolean]
|
|
1779
|
+
# @param unity_desktop [Boolean]
|
|
1780
|
+
# @param unity_console [Boolean]
|
|
1779
1781
|
# @param server_side [Boolean]
|
|
1780
1782
|
# @return [Models::GetFeedsRateLimitsResponse]
|
|
1781
|
-
def get_feeds_rate_limits(endpoints = nil, android = nil, ios = nil, web = nil, unity = nil, server_side = nil)
|
|
1783
|
+
def get_feeds_rate_limits(endpoints = nil, android = nil, ios = nil, web = nil, unity = nil, unity_desktop = nil, unity_console = nil, server_side = nil)
|
|
1782
1784
|
path = '/api/v2/feeds/feeds/rate_limits'
|
|
1783
1785
|
# Build query parameters
|
|
1784
1786
|
query_params = {}
|
|
@@ -1787,6 +1789,8 @@ module GetStream
|
|
|
1787
1789
|
query_params['ios'] = ios unless ios.nil?
|
|
1788
1790
|
query_params['web'] = web unless web.nil?
|
|
1789
1791
|
query_params['unity'] = unity unless unity.nil?
|
|
1792
|
+
query_params['unity_desktop'] = unity_desktop unless unity_desktop.nil?
|
|
1793
|
+
query_params['unity_console'] = unity_console unless unity_console.nil?
|
|
1790
1794
|
query_params['server_side'] = server_side unless server_side.nil?
|
|
1791
1795
|
|
|
1792
1796
|
# Make the API request
|
|
@@ -1831,7 +1835,7 @@ module GetStream
|
|
|
1831
1835
|
)
|
|
1832
1836
|
end
|
|
1833
1837
|
|
|
1834
|
-
# Accepts a pending follow request
|
|
1838
|
+
# Accepts a pending follow request. Follower role can only be set via server-side requests.
|
|
1835
1839
|
#
|
|
1836
1840
|
# @param accept_follow_request [AcceptFollowRequest]
|
|
1837
1841
|
# @return [Models::AcceptFollowResponse]
|
|
@@ -16,7 +16,7 @@ module GetStream
|
|
|
16
16
|
# @return [String] Fully qualified ID of the target feed
|
|
17
17
|
attr_accessor :target
|
|
18
18
|
# @!attribute follower_role
|
|
19
|
-
# @return [String] Optional role for the follower in the follow relationship
|
|
19
|
+
# @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.
|
|
20
20
|
attr_accessor :follower_role
|
|
21
21
|
|
|
22
22
|
# Initialize with attributes
|
|
@@ -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 ActivityMarksConfig < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute track_read
|
|
13
|
+
# @return [Boolean] Whether to return per-activity read status on content feeds
|
|
14
|
+
attr_accessor :track_read
|
|
15
|
+
# @!attribute track_seen
|
|
16
|
+
# @return [Boolean] Whether to return per-activity seen status on content feeds
|
|
17
|
+
attr_accessor :track_seen
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@track_read = attributes[:track_read] || attributes['track_read'] || nil
|
|
23
|
+
@track_seen = attributes[:track_seen] || attributes['track_seen'] || nil
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
track_read: 'track_read',
|
|
30
|
+
track_seen: 'track_seen'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module GetStream
|
|
6
|
+
module Generated
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
class ActivityProcessingConfig < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute send_allowed_tags_to_ai
|
|
13
|
+
# @return [Boolean] When true, this feed group's allowed_tags is given to the model as a constrained vocabulary so it maps its own wording onto a configured tag instead of that output being discarded. Improves how often a tag is produced, at the cost of sending the list on every request. Scoped to this group's own list: leaving it false keeps this group's tags out of the request even when another feed group on the same activity sets it true. Requires allowed_tags. Off by default.
|
|
14
|
+
attr_accessor :send_allowed_tags_to_ai
|
|
15
|
+
# @!attribute allowed_tags
|
|
16
|
+
# @return [Array<String>] When set, the LLM activity processors may only write interest tags from this list. By default the model is not told about the list, so a tag is only written when the model happens to produce that exact word after lower-casing and trimming, which for any vocabulary is often not the case; set send_allowed_tags_to_ai to have the model choose from the list instead. Mutually exclusive with blocked_tags.
|
|
17
|
+
attr_accessor :allowed_tags
|
|
18
|
+
# @!attribute blocked_tags
|
|
19
|
+
# @return [Array<String>] Interest tags the LLM activity processors are never allowed to write. Mutually exclusive with allowed_tags.
|
|
20
|
+
attr_accessor :blocked_tags
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@send_allowed_tags_to_ai = attributes[:send_allowed_tags_to_ai] || attributes['send_allowed_tags_to_ai'] || nil
|
|
26
|
+
@allowed_tags = attributes[:allowed_tags] || attributes['allowed_tags'] || nil
|
|
27
|
+
@blocked_tags = attributes[:blocked_tags] || attributes['blocked_tags'] || nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
send_allowed_tags_to_ai: 'send_allowed_tags_to_ai',
|
|
34
|
+
allowed_tags: 'allowed_tags',
|
|
35
|
+
blocked_tags: 'blocked_tags'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute sort
|
|
25
25
|
# @return [Array<SortParamRequest>] Sort parameters for activity selection
|
|
26
26
|
attr_accessor :sort
|
|
27
|
+
# @!attribute feed_groups
|
|
28
|
+
# @return [FeedGroupScope]
|
|
29
|
+
attr_accessor :feed_groups
|
|
27
30
|
# @!attribute filter
|
|
28
31
|
# @return [Object] Filter for activity selection
|
|
29
32
|
attr_accessor :filter
|
|
@@ -39,6 +42,7 @@ module GetStream
|
|
|
39
42
|
@cutoff_window = attributes[:cutoff_window] || attributes['cutoff_window'] || nil
|
|
40
43
|
@min_popularity = attributes[:min_popularity] || attributes['min_popularity'] || nil
|
|
41
44
|
@sort = attributes[:sort] || attributes['sort'] || nil
|
|
45
|
+
@feed_groups = attributes[:feed_groups] || attributes['feed_groups'] || nil
|
|
42
46
|
@filter = attributes[:filter] || attributes['filter'] || nil
|
|
43
47
|
@params = attributes[:params] || attributes['params'] || nil
|
|
44
48
|
end
|
|
@@ -51,6 +55,7 @@ module GetStream
|
|
|
51
55
|
cutoff_window: 'cutoff_window',
|
|
52
56
|
min_popularity: 'min_popularity',
|
|
53
57
|
sort: 'sort',
|
|
58
|
+
feed_groups: 'feed_groups',
|
|
54
59
|
filter: 'filter',
|
|
55
60
|
params: 'params'
|
|
56
61
|
}
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute sort
|
|
25
25
|
# @return [Array<SortParamRequest>] Sort parameters for activity selection
|
|
26
26
|
attr_accessor :sort
|
|
27
|
+
# @!attribute feed_groups
|
|
28
|
+
# @return [FeedGroupScope]
|
|
29
|
+
attr_accessor :feed_groups
|
|
27
30
|
# @!attribute filter
|
|
28
31
|
# @return [Object] Filter for activity selection
|
|
29
32
|
attr_accessor :filter
|
|
@@ -39,6 +42,7 @@ module GetStream
|
|
|
39
42
|
@cutoff_window = attributes[:cutoff_window] || attributes['cutoff_window'] || nil
|
|
40
43
|
@min_popularity = attributes[:min_popularity] || attributes['min_popularity'] || nil
|
|
41
44
|
@sort = attributes[:sort] || attributes['sort'] || nil
|
|
45
|
+
@feed_groups = attributes[:feed_groups] || attributes['feed_groups'] || nil
|
|
42
46
|
@filter = attributes[:filter] || attributes['filter'] || nil
|
|
43
47
|
@params = attributes[:params] || attributes['params'] || nil
|
|
44
48
|
end
|
|
@@ -51,6 +55,7 @@ module GetStream
|
|
|
51
55
|
cutoff_window: 'cutoff_window',
|
|
52
56
|
min_popularity: 'min_popularity',
|
|
53
57
|
sort: 'sort',
|
|
58
|
+
feed_groups: 'feed_groups',
|
|
54
59
|
filter: 'filter',
|
|
55
60
|
params: 'params'
|
|
56
61
|
}
|
|
@@ -15,6 +15,9 @@ module GetStream
|
|
|
15
15
|
# @!attribute enabled
|
|
16
16
|
# @return [Boolean]
|
|
17
17
|
attr_accessor :enabled
|
|
18
|
+
# @!attribute provider
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :provider
|
|
18
21
|
# @!attribute rules
|
|
19
22
|
# @return [Array<AWSRekognitionRule>]
|
|
20
23
|
attr_accessor :rules
|
|
@@ -24,6 +27,7 @@ module GetStream
|
|
|
24
27
|
super(attributes)
|
|
25
28
|
@async = attributes[:async] || attributes['async'] || nil
|
|
26
29
|
@enabled = attributes[:enabled] || attributes['enabled'] || nil
|
|
30
|
+
@provider = attributes[:provider] || attributes['provider'] || nil
|
|
27
31
|
@rules = attributes[:rules] || attributes['rules'] || nil
|
|
28
32
|
end
|
|
29
33
|
|
|
@@ -32,6 +36,7 @@ module GetStream
|
|
|
32
36
|
{
|
|
33
37
|
async: 'async',
|
|
34
38
|
enabled: 'enabled',
|
|
39
|
+
provider: 'provider',
|
|
35
40
|
rules: 'rules'
|
|
36
41
|
}
|
|
37
42
|
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module GetStream
|
|
6
|
+
module Generated
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
class AIVideoConfigRequest < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute async
|
|
13
|
+
# @return [Boolean]
|
|
14
|
+
attr_accessor :async
|
|
15
|
+
# @!attribute enabled
|
|
16
|
+
# @return [Boolean]
|
|
17
|
+
attr_accessor :enabled
|
|
18
|
+
# @!attribute rules
|
|
19
|
+
# @return [Array<AWSRekognitionRule>]
|
|
20
|
+
attr_accessor :rules
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@async = attributes[:async] || attributes['async'] || nil
|
|
26
|
+
@enabled = attributes[:enabled] || attributes['enabled'] || nil
|
|
27
|
+
@rules = attributes[:rules] || attributes['rules'] || nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
async: 'async',
|
|
34
|
+
enabled: 'enabled',
|
|
35
|
+
rules: 'rules'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
module GetStream
|
|
6
|
+
module Generated
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
class AIVideoConfigResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute enabled
|
|
13
|
+
# @return [Boolean]
|
|
14
|
+
attr_accessor :enabled
|
|
15
|
+
# @!attribute rules
|
|
16
|
+
# @return [Array<AWSRekognitionRule>]
|
|
17
|
+
attr_accessor :rules
|
|
18
|
+
# @!attribute async
|
|
19
|
+
# @return [Boolean]
|
|
20
|
+
attr_accessor :async
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@enabled = attributes[:enabled] || attributes['enabled']
|
|
26
|
+
@rules = attributes[:rules] || attributes['rules']
|
|
27
|
+
@async = attributes[:async] || attributes['async'] || nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
enabled: 'enabled',
|
|
34
|
+
rules: 'rules',
|
|
35
|
+
async: 'async'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -13,7 +13,7 @@ module GetStream
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :duration
|
|
15
15
|
# @!attribute status
|
|
16
|
-
# @return [String]
|
|
16
|
+
# @return [String] `complete` (all fields screened), `partial` (mix of verdicts and per-field errors), or `pending` (async).
|
|
17
17
|
attr_accessor :status
|
|
18
18
|
# @!attribute images
|
|
19
19
|
# @return [Hash<String, AnalyzeImageField>] Per-image moderation verdicts keyed by caller label.
|
|
@@ -51,15 +51,24 @@ module GetStream
|
|
|
51
51
|
# @!attribute max_aggregated_activities_length
|
|
52
52
|
# @return [Integer]
|
|
53
53
|
attr_accessor :max_aggregated_activities_length
|
|
54
|
+
# @!attribute member_custom_on_mentioned_users_enabled
|
|
55
|
+
# @return [Boolean]
|
|
56
|
+
attr_accessor :member_custom_on_mentioned_users_enabled
|
|
54
57
|
# @!attribute member_custom_on_messages_enabled
|
|
55
58
|
# @return [Boolean]
|
|
56
59
|
attr_accessor :member_custom_on_messages_enabled
|
|
60
|
+
# @!attribute member_custom_on_typing_events_enabled
|
|
61
|
+
# @return [Boolean]
|
|
62
|
+
attr_accessor :member_custom_on_typing_events_enabled
|
|
57
63
|
# @!attribute moderation_audio_call_moderation_enabled
|
|
58
64
|
# @return [Boolean]
|
|
59
65
|
attr_accessor :moderation_audio_call_moderation_enabled
|
|
60
66
|
# @!attribute moderation_enabled
|
|
61
67
|
# @return [Boolean]
|
|
62
68
|
attr_accessor :moderation_enabled
|
|
69
|
+
# @!attribute moderation_keyframe_video_enabled
|
|
70
|
+
# @return [Boolean]
|
|
71
|
+
attr_accessor :moderation_keyframe_video_enabled
|
|
63
72
|
# @!attribute moderation_llm_configurability_enabled
|
|
64
73
|
# @return [Boolean]
|
|
65
74
|
attr_accessor :moderation_llm_configurability_enabled
|
|
@@ -210,9 +219,12 @@ module GetStream
|
|
|
210
219
|
@id = attributes[:id] || attributes['id']
|
|
211
220
|
@image_moderation_enabled = attributes[:image_moderation_enabled] || attributes['image_moderation_enabled']
|
|
212
221
|
@max_aggregated_activities_length = attributes[:max_aggregated_activities_length] || attributes['max_aggregated_activities_length']
|
|
222
|
+
@member_custom_on_mentioned_users_enabled = attributes[:member_custom_on_mentioned_users_enabled] || attributes['member_custom_on_mentioned_users_enabled']
|
|
213
223
|
@member_custom_on_messages_enabled = attributes[:member_custom_on_messages_enabled] || attributes['member_custom_on_messages_enabled']
|
|
224
|
+
@member_custom_on_typing_events_enabled = attributes[:member_custom_on_typing_events_enabled] || attributes['member_custom_on_typing_events_enabled']
|
|
214
225
|
@moderation_audio_call_moderation_enabled = attributes[:moderation_audio_call_moderation_enabled] || attributes['moderation_audio_call_moderation_enabled']
|
|
215
226
|
@moderation_enabled = attributes[:moderation_enabled] || attributes['moderation_enabled']
|
|
227
|
+
@moderation_keyframe_video_enabled = attributes[:moderation_keyframe_video_enabled] || attributes['moderation_keyframe_video_enabled']
|
|
216
228
|
@moderation_llm_configurability_enabled = attributes[:moderation_llm_configurability_enabled] || attributes['moderation_llm_configurability_enabled']
|
|
217
229
|
@moderation_multitenant_blocklist_enabled = attributes[:moderation_multitenant_blocklist_enabled] || attributes['moderation_multitenant_blocklist_enabled']
|
|
218
230
|
@moderation_video_call_moderation_enabled = attributes[:moderation_video_call_moderation_enabled] || attributes['moderation_video_call_moderation_enabled']
|
|
@@ -276,9 +288,12 @@ module GetStream
|
|
|
276
288
|
id: 'id',
|
|
277
289
|
image_moderation_enabled: 'image_moderation_enabled',
|
|
278
290
|
max_aggregated_activities_length: 'max_aggregated_activities_length',
|
|
291
|
+
member_custom_on_mentioned_users_enabled: 'member_custom_on_mentioned_users_enabled',
|
|
279
292
|
member_custom_on_messages_enabled: 'member_custom_on_messages_enabled',
|
|
293
|
+
member_custom_on_typing_events_enabled: 'member_custom_on_typing_events_enabled',
|
|
280
294
|
moderation_audio_call_moderation_enabled: 'moderation_audio_call_moderation_enabled',
|
|
281
295
|
moderation_enabled: 'moderation_enabled',
|
|
296
|
+
moderation_keyframe_video_enabled: 'moderation_keyframe_video_enabled',
|
|
282
297
|
moderation_llm_configurability_enabled: 'moderation_llm_configurability_enabled',
|
|
283
298
|
moderation_multitenant_blocklist_enabled: 'moderation_multitenant_blocklist_enabled',
|
|
284
299
|
moderation_video_call_moderation_enabled: 'moderation_video_call_moderation_enabled',
|
|
@@ -43,7 +43,7 @@ module GetStream
|
|
|
43
43
|
@started_at = attributes[:started_at] || attributes['started_at']
|
|
44
44
|
@task_id = attributes[:task_id] || attributes['task_id']
|
|
45
45
|
@custom = attributes[:custom] || attributes['custom']
|
|
46
|
-
@type = attributes[:type] || attributes['type'] || "export.
|
|
46
|
+
@type = attributes[:type] || attributes['type'] || "export.channels.error"
|
|
47
47
|
@received_at = attributes[:received_at] || attributes['received_at'] || nil
|
|
48
48
|
end
|
|
49
49
|
|
|
@@ -15,9 +15,18 @@ module GetStream
|
|
|
15
15
|
# @!attribute filter
|
|
16
16
|
# @return [Object] Filter to apply to the query
|
|
17
17
|
attr_accessor :filter
|
|
18
|
+
# @!attribute hide_history_before
|
|
19
|
+
# @return [DateTime] Required with the `addMembersHideHistory` operation, and rejected with every other operation including `addMembers`. Hides each matched channel's history before this time from the members the operation adds. Members that already belong to a matched channel are never affected. Must be in RFC3339 format (e.g., "2024-01-01T10:00:00Z") and in the past.
|
|
20
|
+
attr_accessor :hide_history_before
|
|
21
|
+
# @!attribute custom_unset
|
|
22
|
+
# @return [Array<String>] `updateData` only. Deletes these keys from each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Cannot be combined with `data.custom`
|
|
23
|
+
attr_accessor :custom_unset
|
|
18
24
|
# @!attribute members
|
|
19
25
|
# @return [Array<ChannelBatchMemberRequest>]
|
|
20
26
|
attr_accessor :members
|
|
27
|
+
# @!attribute custom_set
|
|
28
|
+
# @return [Object] `updateData` only. Merges these keys into each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, so `a.b` sets key `b` inside object `a` (the parent object must already exist). Cannot be combined with `data.custom`
|
|
29
|
+
attr_accessor :custom_set
|
|
21
30
|
# @!attribute data
|
|
22
31
|
# @return [ChannelDataUpdate]
|
|
23
32
|
attr_accessor :data
|
|
@@ -27,7 +36,10 @@ module GetStream
|
|
|
27
36
|
super(attributes)
|
|
28
37
|
@operation = attributes[:operation] || attributes['operation']
|
|
29
38
|
@filter = attributes[:filter] || attributes['filter']
|
|
39
|
+
@hide_history_before = attributes[:hide_history_before] || attributes['hide_history_before'] || nil
|
|
40
|
+
@custom_unset = attributes[:custom_unset] || attributes['custom_unset'] || nil
|
|
30
41
|
@members = attributes[:members] || attributes['members'] || nil
|
|
42
|
+
@custom_set = attributes[:custom_set] || attributes['custom_set'] || nil
|
|
31
43
|
@data = attributes[:data] || attributes['data'] || nil
|
|
32
44
|
end
|
|
33
45
|
|
|
@@ -36,7 +48,10 @@ module GetStream
|
|
|
36
48
|
{
|
|
37
49
|
operation: 'operation',
|
|
38
50
|
filter: 'filter',
|
|
51
|
+
hide_history_before: 'hide_history_before',
|
|
52
|
+
custom_unset: 'custom_unset',
|
|
39
53
|
members: 'members',
|
|
54
|
+
custom_set: 'custom_set',
|
|
40
55
|
data: 'data'
|
|
41
56
|
}
|
|
42
57
|
end
|
|
@@ -9,24 +9,24 @@ module GetStream
|
|
|
9
9
|
class ChannelMemberRequest < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
-
# @!attribute user_id
|
|
13
|
-
# @return [String]
|
|
14
|
-
attr_accessor :user_id
|
|
15
12
|
# @!attribute channel_role
|
|
16
13
|
# @return [String] Role of the member in the channel
|
|
17
14
|
attr_accessor :channel_role
|
|
15
|
+
# @!attribute user_id
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :user_id
|
|
18
18
|
# @!attribute custom
|
|
19
19
|
# @return [Object]
|
|
20
20
|
attr_accessor :custom
|
|
21
21
|
# @!attribute user
|
|
22
|
-
# @return [
|
|
22
|
+
# @return [MemberUserRequest]
|
|
23
23
|
attr_accessor :user
|
|
24
24
|
|
|
25
25
|
# Initialize with attributes
|
|
26
26
|
def initialize(attributes = {})
|
|
27
27
|
super(attributes)
|
|
28
|
-
@user_id = attributes[:user_id] || attributes['user_id']
|
|
29
28
|
@channel_role = attributes[:channel_role] || attributes['channel_role'] || nil
|
|
29
|
+
@user_id = attributes[:user_id] || attributes['user_id'] || nil
|
|
30
30
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
31
31
|
@user = attributes[:user] || attributes['user'] || nil
|
|
32
32
|
end
|
|
@@ -34,8 +34,8 @@ module GetStream
|
|
|
34
34
|
# Override field mappings for JSON serialization
|
|
35
35
|
def self.json_field_mappings
|
|
36
36
|
{
|
|
37
|
-
user_id: 'user_id',
|
|
38
37
|
channel_role: 'channel_role',
|
|
38
|
+
user_id: 'user_id',
|
|
39
39
|
custom: 'custom',
|
|
40
40
|
user: 'user'
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ module GetStream
|
|
|
46
46
|
# @return [AITextConfig]
|
|
47
47
|
attr_accessor :ai_text_config
|
|
48
48
|
# @!attribute ai_video_config
|
|
49
|
-
# @return [
|
|
49
|
+
# @return [AIVideoConfigResponse]
|
|
50
50
|
attr_accessor :ai_video_config
|
|
51
51
|
# @!attribute automod_platform_circumvention_config
|
|
52
52
|
# @return [AutomodPlatformCircumventionConfig]
|
|
@@ -12,6 +12,9 @@ module GetStream
|
|
|
12
12
|
# @!attribute id
|
|
13
13
|
# @return [String] Unique identifier for the feed group
|
|
14
14
|
attr_accessor :id
|
|
15
|
+
# @!attribute default_follower_role
|
|
16
|
+
# @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
|
|
17
|
+
attr_accessor :default_follower_role
|
|
15
18
|
# @!attribute default_visibility
|
|
16
19
|
# @return [String] Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided.
|
|
17
20
|
attr_accessor :default_visibility
|
|
@@ -24,6 +27,12 @@ module GetStream
|
|
|
24
27
|
# @!attribute activity_filter
|
|
25
28
|
# @return [ActivityFilterConfig]
|
|
26
29
|
attr_accessor :activity_filter
|
|
30
|
+
# @!attribute activity_marks
|
|
31
|
+
# @return [ActivityMarksConfig]
|
|
32
|
+
attr_accessor :activity_marks
|
|
33
|
+
# @!attribute activity_processing
|
|
34
|
+
# @return [ActivityProcessingConfig]
|
|
35
|
+
attr_accessor :activity_processing
|
|
27
36
|
# @!attribute aggregation
|
|
28
37
|
# @return [AggregationConfig]
|
|
29
38
|
attr_accessor :aggregation
|
|
@@ -47,10 +56,13 @@ module GetStream
|
|
|
47
56
|
def initialize(attributes = {})
|
|
48
57
|
super(attributes)
|
|
49
58
|
@id = attributes[:id] || attributes['id']
|
|
59
|
+
@default_follower_role = attributes[:default_follower_role] || attributes['default_follower_role'] || nil
|
|
50
60
|
@default_visibility = attributes[:default_visibility] || attributes['default_visibility'] || nil
|
|
51
61
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
52
62
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
53
63
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
64
|
+
@activity_marks = attributes[:activity_marks] || attributes['activity_marks'] || nil
|
|
65
|
+
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
54
66
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
55
67
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
56
68
|
@notification = attributes[:notification] || attributes['notification'] || nil
|
|
@@ -63,10 +75,13 @@ module GetStream
|
|
|
63
75
|
def self.json_field_mappings
|
|
64
76
|
{
|
|
65
77
|
id: 'id',
|
|
78
|
+
default_follower_role: 'default_follower_role',
|
|
66
79
|
default_visibility: 'default_visibility',
|
|
67
80
|
activity_processors: 'activity_processors',
|
|
68
81
|
activity_selectors: 'activity_selectors',
|
|
69
82
|
activity_filter: 'activity_filter',
|
|
83
|
+
activity_marks: 'activity_marks',
|
|
84
|
+
activity_processing: 'activity_processing',
|
|
70
85
|
aggregation: 'aggregation',
|
|
71
86
|
custom: 'custom',
|
|
72
87
|
notification: 'notification',
|
|
@@ -12,6 +12,9 @@ module GetStream
|
|
|
12
12
|
# @!attribute feeds
|
|
13
13
|
# @return [Array<FeedRequest>] List of feeds to create
|
|
14
14
|
attr_accessor :feeds
|
|
15
|
+
# @!attribute create_users
|
|
16
|
+
# @return [Boolean] Server-side only. If true, auto-creates users referenced by feeds[].created_by_id that don't already exist. Default: false.
|
|
17
|
+
attr_accessor :create_users
|
|
15
18
|
# @!attribute enrich_own_fields
|
|
16
19
|
# @return [Boolean] If true, enriches the created feeds with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance.
|
|
17
20
|
attr_accessor :enrich_own_fields
|
|
@@ -20,6 +23,7 @@ module GetStream
|
|
|
20
23
|
def initialize(attributes = {})
|
|
21
24
|
super(attributes)
|
|
22
25
|
@feeds = attributes[:feeds] || attributes['feeds']
|
|
26
|
+
@create_users = attributes[:create_users] || attributes['create_users'] || nil
|
|
23
27
|
@enrich_own_fields = attributes[:enrich_own_fields] || attributes['enrich_own_fields'] || nil
|
|
24
28
|
end
|
|
25
29
|
|
|
@@ -27,6 +31,7 @@ module GetStream
|
|
|
27
31
|
def self.json_field_mappings
|
|
28
32
|
{
|
|
29
33
|
feeds: 'feeds',
|
|
34
|
+
create_users: 'create_users',
|
|
30
35
|
enrich_own_fields: 'enrich_own_fields'
|
|
31
36
|
}
|
|
32
37
|
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
|
+
# Basic response information
|
|
9
|
+
class CreateReminderResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute reminder
|
|
16
|
+
# @return [ReminderResponseData]
|
|
17
|
+
attr_accessor :reminder
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
23
|
+
@reminder = attributes[:reminder] || attributes['reminder']
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
duration: 'duration',
|
|
30
|
+
reminder: 'reminder'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|