getstream-ruby 12.0.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 +3 -1
- data/lib/getstream_ruby/generated/common_client.rb +5 -1
- data/lib/getstream_ruby/generated/feeds_client.rb +5 -1
- data/lib/getstream_ruby/generated/models/activity_marks_config.rb +36 -0
- data/lib/getstream_ruby/generated/models/activity_processing_config.rb +6 -1
- 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/async_export_error_event.rb +1 -1
- data/lib/getstream_ruby/generated/models/channel_batch_update_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/create_feed_group_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/delete_channels_request.rb +7 -2
- data/lib/getstream_ruby/generated/models/feed_group_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_group_scope.rb +36 -0
- 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 +5 -0
- data/lib/getstream_ruby/generated/models/get_rate_limits_response.rb +10 -0
- data/lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb +5 -0
- data/lib/getstream_ruby/generated/models/pagination_params.rb +20 -0
- 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 +40 -0
- data/lib/getstream_ruby/generated/models/query_users_payload.rb +20 -0
- 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/update_feed_group_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/update_users_response.rb +2 -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/version.rb +1 -1
- metadata +5 -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(
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -9,8 +9,11 @@ module GetStream
|
|
|
9
9
|
class ActivityProcessingConfig < GetStream::BaseModel
|
|
10
10
|
|
|
11
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
|
|
12
15
|
# @!attribute allowed_tags
|
|
13
|
-
# @return [Array<String>] When set, the LLM activity processors may only write interest tags from this list.
|
|
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.
|
|
14
17
|
attr_accessor :allowed_tags
|
|
15
18
|
# @!attribute blocked_tags
|
|
16
19
|
# @return [Array<String>] Interest tags the LLM activity processors are never allowed to write. Mutually exclusive with allowed_tags.
|
|
@@ -19,6 +22,7 @@ module GetStream
|
|
|
19
22
|
# Initialize with attributes
|
|
20
23
|
def initialize(attributes = {})
|
|
21
24
|
super(attributes)
|
|
25
|
+
@send_allowed_tags_to_ai = attributes[:send_allowed_tags_to_ai] || attributes['send_allowed_tags_to_ai'] || nil
|
|
22
26
|
@allowed_tags = attributes[:allowed_tags] || attributes['allowed_tags'] || nil
|
|
23
27
|
@blocked_tags = attributes[:blocked_tags] || attributes['blocked_tags'] || nil
|
|
24
28
|
end
|
|
@@ -26,6 +30,7 @@ module GetStream
|
|
|
26
30
|
# Override field mappings for JSON serialization
|
|
27
31
|
def self.json_field_mappings
|
|
28
32
|
{
|
|
33
|
+
send_allowed_tags_to_ai: 'send_allowed_tags_to_ai',
|
|
29
34
|
allowed_tags: 'allowed_tags',
|
|
30
35
|
blocked_tags: 'blocked_tags'
|
|
31
36
|
}
|
|
@@ -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
|
}
|
|
@@ -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,6 +15,9 @@ 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
|
|
18
21
|
# @!attribute custom_unset
|
|
19
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`
|
|
20
23
|
attr_accessor :custom_unset
|
|
@@ -33,6 +36,7 @@ module GetStream
|
|
|
33
36
|
super(attributes)
|
|
34
37
|
@operation = attributes[:operation] || attributes['operation']
|
|
35
38
|
@filter = attributes[:filter] || attributes['filter']
|
|
39
|
+
@hide_history_before = attributes[:hide_history_before] || attributes['hide_history_before'] || nil
|
|
36
40
|
@custom_unset = attributes[:custom_unset] || attributes['custom_unset'] || nil
|
|
37
41
|
@members = attributes[:members] || attributes['members'] || nil
|
|
38
42
|
@custom_set = attributes[:custom_set] || attributes['custom_set'] || nil
|
|
@@ -44,6 +48,7 @@ module GetStream
|
|
|
44
48
|
{
|
|
45
49
|
operation: 'operation',
|
|
46
50
|
filter: 'filter',
|
|
51
|
+
hide_history_before: 'hide_history_before',
|
|
47
52
|
custom_unset: 'custom_unset',
|
|
48
53
|
members: 'members',
|
|
49
54
|
custom_set: 'custom_set',
|
|
@@ -27,6 +27,9 @@ module GetStream
|
|
|
27
27
|
# @!attribute activity_filter
|
|
28
28
|
# @return [ActivityFilterConfig]
|
|
29
29
|
attr_accessor :activity_filter
|
|
30
|
+
# @!attribute activity_marks
|
|
31
|
+
# @return [ActivityMarksConfig]
|
|
32
|
+
attr_accessor :activity_marks
|
|
30
33
|
# @!attribute activity_processing
|
|
31
34
|
# @return [ActivityProcessingConfig]
|
|
32
35
|
attr_accessor :activity_processing
|
|
@@ -58,6 +61,7 @@ module GetStream
|
|
|
58
61
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
59
62
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
60
63
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
64
|
+
@activity_marks = attributes[:activity_marks] || attributes['activity_marks'] || nil
|
|
61
65
|
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
62
66
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
63
67
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
@@ -76,6 +80,7 @@ module GetStream
|
|
|
76
80
|
activity_processors: 'activity_processors',
|
|
77
81
|
activity_selectors: 'activity_selectors',
|
|
78
82
|
activity_filter: 'activity_filter',
|
|
83
|
+
activity_marks: 'activity_marks',
|
|
79
84
|
activity_processing: 'activity_processing',
|
|
80
85
|
aggregation: 'aggregation',
|
|
81
86
|
custom: 'custom',
|
|
@@ -13,21 +13,26 @@ module GetStream
|
|
|
13
13
|
# @return [Array<String>] All channels that should be deleted
|
|
14
14
|
attr_accessor :cids
|
|
15
15
|
# @!attribute hard_delete
|
|
16
|
-
# @return [Boolean]
|
|
16
|
+
# @return [Boolean] Server-side only. When true, the channels and all their resources are permanently deleted instead of soft-deleted.
|
|
17
17
|
attr_accessor :hard_delete
|
|
18
|
+
# @!attribute skip_truncate
|
|
19
|
+
# @return [Boolean] Server-side only. When true, the soft delete preserves message history instead of hiding it, so a later recreation of any of these channel IDs restores the full history. Only supported for distinct channels. Cannot be combined with hard_delete.
|
|
20
|
+
attr_accessor :skip_truncate
|
|
18
21
|
|
|
19
22
|
# Initialize with attributes
|
|
20
23
|
def initialize(attributes = {})
|
|
21
24
|
super(attributes)
|
|
22
25
|
@cids = attributes[:cids] || attributes['cids']
|
|
23
26
|
@hard_delete = attributes[:hard_delete] || attributes['hard_delete'] || nil
|
|
27
|
+
@skip_truncate = attributes[:skip_truncate] || attributes['skip_truncate'] || nil
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
# Override field mappings for JSON serialization
|
|
27
31
|
def self.json_field_mappings
|
|
28
32
|
{
|
|
29
33
|
cids: 'cids',
|
|
30
|
-
hard_delete: 'hard_delete'
|
|
34
|
+
hard_delete: 'hard_delete',
|
|
35
|
+
skip_truncate: 'skip_truncate'
|
|
31
36
|
}
|
|
32
37
|
end
|
|
33
38
|
end
|
|
@@ -36,6 +36,9 @@ module GetStream
|
|
|
36
36
|
# @!attribute activity_filter
|
|
37
37
|
# @return [ActivityFilterConfig]
|
|
38
38
|
attr_accessor :activity_filter
|
|
39
|
+
# @!attribute activity_marks
|
|
40
|
+
# @return [ActivityMarksConfig]
|
|
41
|
+
attr_accessor :activity_marks
|
|
39
42
|
# @!attribute activity_processing
|
|
40
43
|
# @return [ActivityProcessingConfig]
|
|
41
44
|
attr_accessor :activity_processing
|
|
@@ -70,6 +73,7 @@ module GetStream
|
|
|
70
73
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
71
74
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
72
75
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
76
|
+
@activity_marks = attributes[:activity_marks] || attributes['activity_marks'] || nil
|
|
73
77
|
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
74
78
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
75
79
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
@@ -91,6 +95,7 @@ module GetStream
|
|
|
91
95
|
activity_processors: 'activity_processors',
|
|
92
96
|
activity_selectors: 'activity_selectors',
|
|
93
97
|
activity_filter: 'activity_filter',
|
|
98
|
+
activity_marks: 'activity_marks',
|
|
94
99
|
activity_processing: 'activity_processing',
|
|
95
100
|
aggregation: 'aggregation',
|
|
96
101
|
custom: 'custom',
|
|
@@ -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 FeedGroupScope < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute exclude
|
|
13
|
+
# @return [Array<String>] Select activities from every feed group except these. An activity cross-posted to an excluded and a non-excluded group is still selected. Mutually exclusive with include
|
|
14
|
+
attr_accessor :exclude
|
|
15
|
+
# @!attribute include
|
|
16
|
+
# @return [Array<String>] Select only activities that live in a feed belonging to one of these feed groups. Mutually exclusive with exclude
|
|
17
|
+
attr_accessor :include
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@exclude = attributes[:exclude] || attributes['exclude'] || nil
|
|
23
|
+
@include = attributes[:include] || attributes['include'] || nil
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
exclude: 'exclude',
|
|
30
|
+
include: 'include'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -24,6 +24,12 @@ module GetStream
|
|
|
24
24
|
# @!attribute unity
|
|
25
25
|
# @return [Hash<String, LimitInfoResponse>] Rate limits for Unity platform (endpoint name -> limit info)
|
|
26
26
|
attr_accessor :unity
|
|
27
|
+
# @!attribute unity_console
|
|
28
|
+
# @return [Hash<String, LimitInfoResponse>] Rate limits for Unity console platform (endpoint name -> limit info)
|
|
29
|
+
attr_accessor :unity_console
|
|
30
|
+
# @!attribute unity_desktop
|
|
31
|
+
# @return [Hash<String, LimitInfoResponse>] Rate limits for Unity desktop platform (endpoint name -> limit info)
|
|
32
|
+
attr_accessor :unity_desktop
|
|
27
33
|
# @!attribute web
|
|
28
34
|
# @return [Hash<String, LimitInfoResponse>] Rate limits for Web platform (endpoint name -> limit info)
|
|
29
35
|
attr_accessor :web
|
|
@@ -36,6 +42,8 @@ module GetStream
|
|
|
36
42
|
@ios = attributes[:ios] || attributes['ios'] || nil
|
|
37
43
|
@server_side = attributes[:server_side] || attributes['server_side'] || nil
|
|
38
44
|
@unity = attributes[:unity] || attributes['unity'] || nil
|
|
45
|
+
@unity_console = attributes[:unity_console] || attributes['unity_console'] || nil
|
|
46
|
+
@unity_desktop = attributes[:unity_desktop] || attributes['unity_desktop'] || nil
|
|
39
47
|
@web = attributes[:web] || attributes['web'] || nil
|
|
40
48
|
end
|
|
41
49
|
|
|
@@ -47,6 +55,8 @@ module GetStream
|
|
|
47
55
|
ios: 'ios',
|
|
48
56
|
server_side: 'server_side',
|
|
49
57
|
unity: 'unity',
|
|
58
|
+
unity_console: 'unity_console',
|
|
59
|
+
unity_desktop: 'unity_desktop',
|
|
50
60
|
web: 'web'
|
|
51
61
|
}
|
|
52
62
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute activity_filter
|
|
25
25
|
# @return [ActivityFilterConfig]
|
|
26
26
|
attr_accessor :activity_filter
|
|
27
|
+
# @!attribute activity_marks
|
|
28
|
+
# @return [ActivityMarksConfig]
|
|
29
|
+
attr_accessor :activity_marks
|
|
27
30
|
# @!attribute activity_processing
|
|
28
31
|
# @return [ActivityProcessingConfig]
|
|
29
32
|
attr_accessor :activity_processing
|
|
@@ -54,6 +57,7 @@ module GetStream
|
|
|
54
57
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
55
58
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
56
59
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
60
|
+
@activity_marks = attributes[:activity_marks] || attributes['activity_marks'] || nil
|
|
57
61
|
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
58
62
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
59
63
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
@@ -71,6 +75,7 @@ module GetStream
|
|
|
71
75
|
activity_processors: 'activity_processors',
|
|
72
76
|
activity_selectors: 'activity_selectors',
|
|
73
77
|
activity_filter: 'activity_filter',
|
|
78
|
+
activity_marks: 'activity_marks',
|
|
74
79
|
activity_processing: 'activity_processing',
|
|
75
80
|
aggregation: 'aggregation',
|
|
76
81
|
custom: 'custom',
|
|
@@ -24,6 +24,12 @@ module GetStream
|
|
|
24
24
|
# @!attribute unity
|
|
25
25
|
# @return [Hash<String, LimitInfoResponse>] Map of endpoint rate limits for the Unity platform
|
|
26
26
|
attr_accessor :unity
|
|
27
|
+
# @!attribute unity_console
|
|
28
|
+
# @return [Hash<String, LimitInfoResponse>] Map of endpoint rate limits for the Unity console platform
|
|
29
|
+
attr_accessor :unity_console
|
|
30
|
+
# @!attribute unity_desktop
|
|
31
|
+
# @return [Hash<String, LimitInfoResponse>] Map of endpoint rate limits for the Unity desktop platform
|
|
32
|
+
attr_accessor :unity_desktop
|
|
27
33
|
# @!attribute web
|
|
28
34
|
# @return [Hash<String, LimitInfoResponse>] Map of endpoint rate limits for the web platform
|
|
29
35
|
attr_accessor :web
|
|
@@ -36,6 +42,8 @@ module GetStream
|
|
|
36
42
|
@ios = attributes[:ios] || attributes['ios'] || nil
|
|
37
43
|
@server_side = attributes[:server_side] || attributes['server_side'] || nil
|
|
38
44
|
@unity = attributes[:unity] || attributes['unity'] || nil
|
|
45
|
+
@unity_console = attributes[:unity_console] || attributes['unity_console'] || nil
|
|
46
|
+
@unity_desktop = attributes[:unity_desktop] || attributes['unity_desktop'] || nil
|
|
39
47
|
@web = attributes[:web] || attributes['web'] || nil
|
|
40
48
|
end
|
|
41
49
|
|
|
@@ -47,6 +55,8 @@ module GetStream
|
|
|
47
55
|
ios: 'ios',
|
|
48
56
|
server_side: 'server_side',
|
|
49
57
|
unity: 'unity',
|
|
58
|
+
unity_console: 'unity_console',
|
|
59
|
+
unity_desktop: 'unity_desktop',
|
|
50
60
|
web: 'web'
|
|
51
61
|
}
|
|
52
62
|
end
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute disable_flagging_reviewed_entity
|
|
25
25
|
# @return [Boolean]
|
|
26
26
|
attr_accessor :disable_flagging_reviewed_entity
|
|
27
|
+
# @!attribute enforce_shadow_server_side
|
|
28
|
+
# @return [Boolean]
|
|
29
|
+
attr_accessor :enforce_shadow_server_side
|
|
27
30
|
# @!attribute escalation_queue_enabled
|
|
28
31
|
# @return [Boolean]
|
|
29
32
|
attr_accessor :escalation_queue_enabled
|
|
@@ -60,6 +63,7 @@ module GetStream
|
|
|
60
63
|
@custom_views_enabled = attributes[:custom_views_enabled] || attributes['custom_views_enabled'] || nil
|
|
61
64
|
@disable_audit_logs = attributes[:disable_audit_logs] || attributes['disable_audit_logs'] || nil
|
|
62
65
|
@disable_flagging_reviewed_entity = attributes[:disable_flagging_reviewed_entity] || attributes['disable_flagging_reviewed_entity'] || nil
|
|
66
|
+
@enforce_shadow_server_side = attributes[:enforce_shadow_server_side] || attributes['enforce_shadow_server_side'] || nil
|
|
63
67
|
@escalation_queue_enabled = attributes[:escalation_queue_enabled] || attributes['escalation_queue_enabled'] || nil
|
|
64
68
|
@flag_user_on_flagged_content = attributes[:flag_user_on_flagged_content] || attributes['flag_user_on_flagged_content'] || nil
|
|
65
69
|
@include_attachment_payload = attributes[:include_attachment_payload] || attributes['include_attachment_payload'] || nil
|
|
@@ -79,6 +83,7 @@ module GetStream
|
|
|
79
83
|
custom_views_enabled: 'custom_views_enabled',
|
|
80
84
|
disable_audit_logs: 'disable_audit_logs',
|
|
81
85
|
disable_flagging_reviewed_entity: 'disable_flagging_reviewed_entity',
|
|
86
|
+
enforce_shadow_server_side: 'enforce_shadow_server_side',
|
|
82
87
|
escalation_queue_enabled: 'escalation_queue_enabled',
|
|
83
88
|
flag_user_on_flagged_content: 'flag_user_on_flagged_content',
|
|
84
89
|
include_attachment_payload: 'include_attachment_payload',
|
|
@@ -9,6 +9,18 @@ module GetStream
|
|
|
9
9
|
class PaginationParams < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute id_gt
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :id_gt
|
|
15
|
+
# @!attribute id_gte
|
|
16
|
+
# @return [Integer]
|
|
17
|
+
attr_accessor :id_gte
|
|
18
|
+
# @!attribute id_lt
|
|
19
|
+
# @return [Integer]
|
|
20
|
+
attr_accessor :id_lt
|
|
21
|
+
# @!attribute id_lte
|
|
22
|
+
# @return [Integer]
|
|
23
|
+
attr_accessor :id_lte
|
|
12
24
|
# @!attribute limit
|
|
13
25
|
# @return [Integer]
|
|
14
26
|
attr_accessor :limit
|
|
@@ -19,6 +31,10 @@ module GetStream
|
|
|
19
31
|
# Initialize with attributes
|
|
20
32
|
def initialize(attributes = {})
|
|
21
33
|
super(attributes)
|
|
34
|
+
@id_gt = attributes[:id_gt] || attributes['id_gt'] || nil
|
|
35
|
+
@id_gte = attributes[:id_gte] || attributes['id_gte'] || nil
|
|
36
|
+
@id_lt = attributes[:id_lt] || attributes['id_lt'] || nil
|
|
37
|
+
@id_lte = attributes[:id_lte] || attributes['id_lte'] || nil
|
|
22
38
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
23
39
|
@offset = attributes[:offset] || attributes['offset'] || nil
|
|
24
40
|
end
|
|
@@ -26,6 +42,10 @@ module GetStream
|
|
|
26
42
|
# Override field mappings for JSON serialization
|
|
27
43
|
def self.json_field_mappings
|
|
28
44
|
{
|
|
45
|
+
id_gt: 'id_gt',
|
|
46
|
+
id_gte: 'id_gte',
|
|
47
|
+
id_lt: 'id_lt',
|
|
48
|
+
id_lte: 'id_lte',
|
|
29
49
|
limit: 'limit',
|
|
30
50
|
offset: 'offset'
|
|
31
51
|
}
|
|
@@ -12,6 +12,18 @@ module GetStream
|
|
|
12
12
|
# @!attribute filter_conditions
|
|
13
13
|
# @return [Object] Filter conditions to apply to the query
|
|
14
14
|
attr_accessor :filter_conditions
|
|
15
|
+
# @!attribute created_at_after
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :created_at_after
|
|
18
|
+
# @!attribute created_at_after_or_equal
|
|
19
|
+
# @return [DateTime]
|
|
20
|
+
attr_accessor :created_at_after_or_equal
|
|
21
|
+
# @!attribute created_at_before
|
|
22
|
+
# @return [DateTime]
|
|
23
|
+
attr_accessor :created_at_before
|
|
24
|
+
# @!attribute created_at_before_or_equal
|
|
25
|
+
# @return [DateTime]
|
|
26
|
+
attr_accessor :created_at_before_or_equal
|
|
15
27
|
# @!attribute exclude_expired_bans
|
|
16
28
|
# @return [Boolean] Whether to exclude expired bans or not
|
|
17
29
|
attr_accessor :exclude_expired_bans
|
|
@@ -35,6 +47,10 @@ module GetStream
|
|
|
35
47
|
def initialize(attributes = {})
|
|
36
48
|
super(attributes)
|
|
37
49
|
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions']
|
|
50
|
+
@created_at_after = attributes[:created_at_after] || attributes['created_at_after'] || nil
|
|
51
|
+
@created_at_after_or_equal = attributes[:created_at_after_or_equal] || attributes['created_at_after_or_equal'] || nil
|
|
52
|
+
@created_at_before = attributes[:created_at_before] || attributes['created_at_before'] || nil
|
|
53
|
+
@created_at_before_or_equal = attributes[:created_at_before_or_equal] || attributes['created_at_before_or_equal'] || nil
|
|
38
54
|
@exclude_expired_bans = attributes[:exclude_expired_bans] || attributes['exclude_expired_bans'] || nil
|
|
39
55
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
40
56
|
@offset = attributes[:offset] || attributes['offset'] || nil
|
|
@@ -47,6 +63,10 @@ module GetStream
|
|
|
47
63
|
def self.json_field_mappings
|
|
48
64
|
{
|
|
49
65
|
filter_conditions: 'filter_conditions',
|
|
66
|
+
created_at_after: 'created_at_after',
|
|
67
|
+
created_at_after_or_equal: 'created_at_after_or_equal',
|
|
68
|
+
created_at_before: 'created_at_before',
|
|
69
|
+
created_at_before_or_equal: 'created_at_before_or_equal',
|
|
50
70
|
exclude_expired_bans: 'exclude_expired_bans',
|
|
51
71
|
limit: 'limit',
|
|
52
72
|
offset: 'offset',
|
|
@@ -9,6 +9,18 @@ module GetStream
|
|
|
9
9
|
class QueryFutureChannelBansPayload < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute created_at_after
|
|
13
|
+
# @return [DateTime]
|
|
14
|
+
attr_accessor :created_at_after
|
|
15
|
+
# @!attribute created_at_after_or_equal
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :created_at_after_or_equal
|
|
18
|
+
# @!attribute created_at_before
|
|
19
|
+
# @return [DateTime]
|
|
20
|
+
attr_accessor :created_at_before
|
|
21
|
+
# @!attribute created_at_before_or_equal
|
|
22
|
+
# @return [DateTime]
|
|
23
|
+
attr_accessor :created_at_before_or_equal
|
|
12
24
|
# @!attribute exclude_expired_bans
|
|
13
25
|
# @return [Boolean] Whether to exclude expired bans or not
|
|
14
26
|
attr_accessor :exclude_expired_bans
|
|
@@ -34,6 +46,10 @@ module GetStream
|
|
|
34
46
|
# Initialize with attributes
|
|
35
47
|
def initialize(attributes = {})
|
|
36
48
|
super(attributes)
|
|
49
|
+
@created_at_after = attributes[:created_at_after] || attributes['created_at_after'] || nil
|
|
50
|
+
@created_at_after_or_equal = attributes[:created_at_after_or_equal] || attributes['created_at_after_or_equal'] || nil
|
|
51
|
+
@created_at_before = attributes[:created_at_before] || attributes['created_at_before'] || nil
|
|
52
|
+
@created_at_before_or_equal = attributes[:created_at_before_or_equal] || attributes['created_at_before_or_equal'] || nil
|
|
37
53
|
@exclude_expired_bans = attributes[:exclude_expired_bans] || attributes['exclude_expired_bans'] || nil
|
|
38
54
|
@include_total = attributes[:include_total] || attributes['include_total'] || nil
|
|
39
55
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
@@ -46,6 +62,10 @@ module GetStream
|
|
|
46
62
|
# Override field mappings for JSON serialization
|
|
47
63
|
def self.json_field_mappings
|
|
48
64
|
{
|
|
65
|
+
created_at_after: 'created_at_after',
|
|
66
|
+
created_at_after_or_equal: 'created_at_after_or_equal',
|
|
67
|
+
created_at_before: 'created_at_before',
|
|
68
|
+
created_at_before_or_equal: 'created_at_before_or_equal',
|
|
49
69
|
exclude_expired_bans: 'exclude_expired_bans',
|
|
50
70
|
include_total: 'include_total',
|
|
51
71
|
limit: 'limit',
|
|
@@ -12,6 +12,18 @@ module GetStream
|
|
|
12
12
|
# @!attribute type
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :type
|
|
15
|
+
# @!attribute created_at_after
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :created_at_after
|
|
18
|
+
# @!attribute created_at_after_or_equal
|
|
19
|
+
# @return [DateTime]
|
|
20
|
+
attr_accessor :created_at_after_or_equal
|
|
21
|
+
# @!attribute created_at_before
|
|
22
|
+
# @return [DateTime]
|
|
23
|
+
attr_accessor :created_at_before
|
|
24
|
+
# @!attribute created_at_before_or_equal
|
|
25
|
+
# @return [DateTime]
|
|
26
|
+
attr_accessor :created_at_before_or_equal
|
|
15
27
|
# @!attribute id
|
|
16
28
|
# @return [String]
|
|
17
29
|
attr_accessor :id
|
|
@@ -24,6 +36,18 @@ module GetStream
|
|
|
24
36
|
# @!attribute user_id
|
|
25
37
|
# @return [String]
|
|
26
38
|
attr_accessor :user_id
|
|
39
|
+
# @!attribute user_id_gt
|
|
40
|
+
# @return [String]
|
|
41
|
+
attr_accessor :user_id_gt
|
|
42
|
+
# @!attribute user_id_gte
|
|
43
|
+
# @return [String]
|
|
44
|
+
attr_accessor :user_id_gte
|
|
45
|
+
# @!attribute user_id_lt
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :user_id_lt
|
|
48
|
+
# @!attribute user_id_lte
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :user_id_lte
|
|
27
51
|
# @!attribute members
|
|
28
52
|
# @return [Array<ChannelMemberRequest>]
|
|
29
53
|
attr_accessor :members
|
|
@@ -41,10 +65,18 @@ module GetStream
|
|
|
41
65
|
def initialize(attributes = {})
|
|
42
66
|
super(attributes)
|
|
43
67
|
@type = attributes[:type] || attributes['type']
|
|
68
|
+
@created_at_after = attributes[:created_at_after] || attributes['created_at_after'] || nil
|
|
69
|
+
@created_at_after_or_equal = attributes[:created_at_after_or_equal] || attributes['created_at_after_or_equal'] || nil
|
|
70
|
+
@created_at_before = attributes[:created_at_before] || attributes['created_at_before'] || nil
|
|
71
|
+
@created_at_before_or_equal = attributes[:created_at_before_or_equal] || attributes['created_at_before_or_equal'] || nil
|
|
44
72
|
@id = attributes[:id] || attributes['id'] || nil
|
|
45
73
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
46
74
|
@offset = attributes[:offset] || attributes['offset'] || nil
|
|
47
75
|
@user_id = attributes[:user_id] || attributes['user_id'] || nil
|
|
76
|
+
@user_id_gt = attributes[:user_id_gt] || attributes['user_id_gt'] || nil
|
|
77
|
+
@user_id_gte = attributes[:user_id_gte] || attributes['user_id_gte'] || nil
|
|
78
|
+
@user_id_lt = attributes[:user_id_lt] || attributes['user_id_lt'] || nil
|
|
79
|
+
@user_id_lte = attributes[:user_id_lte] || attributes['user_id_lte'] || nil
|
|
48
80
|
@members = attributes[:members] || attributes['members'] || nil
|
|
49
81
|
@sort = attributes[:sort] || attributes['sort'] || nil
|
|
50
82
|
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions'] || nil
|
|
@@ -55,10 +87,18 @@ module GetStream
|
|
|
55
87
|
def self.json_field_mappings
|
|
56
88
|
{
|
|
57
89
|
type: 'type',
|
|
90
|
+
created_at_after: 'created_at_after',
|
|
91
|
+
created_at_after_or_equal: 'created_at_after_or_equal',
|
|
92
|
+
created_at_before: 'created_at_before',
|
|
93
|
+
created_at_before_or_equal: 'created_at_before_or_equal',
|
|
58
94
|
id: 'id',
|
|
59
95
|
limit: 'limit',
|
|
60
96
|
offset: 'offset',
|
|
61
97
|
user_id: 'user_id',
|
|
98
|
+
user_id_gt: 'user_id_gt',
|
|
99
|
+
user_id_gte: 'user_id_gte',
|
|
100
|
+
user_id_lt: 'user_id_lt',
|
|
101
|
+
user_id_lte: 'user_id_lte',
|
|
62
102
|
members: 'members',
|
|
63
103
|
sort: 'sort',
|
|
64
104
|
filter_conditions: 'filter_conditions',
|
|
@@ -12,6 +12,18 @@ module GetStream
|
|
|
12
12
|
# @!attribute filter_conditions
|
|
13
13
|
# @return [Object] Filter conditions to apply to the query
|
|
14
14
|
attr_accessor :filter_conditions
|
|
15
|
+
# @!attribute id_gt
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :id_gt
|
|
18
|
+
# @!attribute id_gte
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :id_gte
|
|
21
|
+
# @!attribute id_lt
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :id_lt
|
|
24
|
+
# @!attribute id_lte
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :id_lte
|
|
15
27
|
# @!attribute include_deactivated_users
|
|
16
28
|
# @return [Boolean]
|
|
17
29
|
attr_accessor :include_deactivated_users
|
|
@@ -38,6 +50,10 @@ module GetStream
|
|
|
38
50
|
def initialize(attributes = {})
|
|
39
51
|
super(attributes)
|
|
40
52
|
@filter_conditions = attributes[:filter_conditions] || attributes['filter_conditions']
|
|
53
|
+
@id_gt = attributes[:id_gt] || attributes['id_gt'] || nil
|
|
54
|
+
@id_gte = attributes[:id_gte] || attributes['id_gte'] || nil
|
|
55
|
+
@id_lt = attributes[:id_lt] || attributes['id_lt'] || nil
|
|
56
|
+
@id_lte = attributes[:id_lte] || attributes['id_lte'] || nil
|
|
41
57
|
@include_deactivated_users = attributes[:include_deactivated_users] || attributes['include_deactivated_users'] || nil
|
|
42
58
|
@limit = attributes[:limit] || attributes['limit'] || nil
|
|
43
59
|
@offset = attributes[:offset] || attributes['offset'] || nil
|
|
@@ -51,6 +67,10 @@ module GetStream
|
|
|
51
67
|
def self.json_field_mappings
|
|
52
68
|
{
|
|
53
69
|
filter_conditions: 'filter_conditions',
|
|
70
|
+
id_gt: 'id_gt',
|
|
71
|
+
id_gte: 'id_gte',
|
|
72
|
+
id_lt: 'id_lt',
|
|
73
|
+
id_lte: 'id_lte',
|
|
54
74
|
include_deactivated_users: 'include_deactivated_users',
|
|
55
75
|
limit: 'limit',
|
|
56
76
|
offset: 'offset',
|
|
@@ -63,6 +63,9 @@ module GetStream
|
|
|
63
63
|
# @!attribute completed_at
|
|
64
64
|
# @return [DateTime] When the review was completed
|
|
65
65
|
attr_accessor :completed_at
|
|
66
|
+
# @!attribute confidence_score
|
|
67
|
+
# @return [Float] Highest per-label confidence (0-1) any provider reported across the item's flags; absent when no flag carried one
|
|
68
|
+
attr_accessor :confidence_score
|
|
66
69
|
# @!attribute config_key
|
|
67
70
|
# @return [String]
|
|
68
71
|
attr_accessor :config_key
|
|
@@ -142,6 +145,7 @@ module GetStream
|
|
|
142
145
|
@flags = attributes[:flags] || attributes['flags']
|
|
143
146
|
@languages = attributes[:languages] || attributes['languages']
|
|
144
147
|
@completed_at = attributes[:completed_at] || attributes['completed_at'] || nil
|
|
148
|
+
@confidence_score = attributes[:confidence_score] || attributes['confidence_score'] || nil
|
|
145
149
|
@config_key = attributes[:config_key] || attributes['config_key'] || nil
|
|
146
150
|
@entity_creator_id = attributes[:entity_creator_id] || attributes['entity_creator_id'] || nil
|
|
147
151
|
@escalated_at = attributes[:escalated_at] || attributes['escalated_at'] || nil
|
|
@@ -184,6 +188,7 @@ module GetStream
|
|
|
184
188
|
flags: 'flags',
|
|
185
189
|
languages: 'languages',
|
|
186
190
|
completed_at: 'completed_at',
|
|
191
|
+
confidence_score: 'confidence_score',
|
|
187
192
|
config_key: 'config_key',
|
|
188
193
|
entity_creator_id: 'entity_creator_id',
|
|
189
194
|
escalated_at: 'escalated_at',
|
|
@@ -87,6 +87,9 @@ module GetStream
|
|
|
87
87
|
# @!attribute user_identical_content_count_params
|
|
88
88
|
# @return [UserIdenticalContentCountParameters]
|
|
89
89
|
attr_accessor :user_identical_content_count_params
|
|
90
|
+
# @!attribute user_reaction_count_params
|
|
91
|
+
# @return [UserReactionCountRuleParameters]
|
|
92
|
+
attr_accessor :user_reaction_count_params
|
|
90
93
|
# @!attribute user_role_params
|
|
91
94
|
# @return [UserRoleParameters]
|
|
92
95
|
attr_accessor :user_role_params
|
|
@@ -129,6 +132,7 @@ module GetStream
|
|
|
129
132
|
@user_custom_property_params = attributes[:user_custom_property_params] || attributes['user_custom_property_params'] || nil
|
|
130
133
|
@user_flag_count_rule_params = attributes[:user_flag_count_rule_params] || attributes['user_flag_count_rule_params'] || nil
|
|
131
134
|
@user_identical_content_count_params = attributes[:user_identical_content_count_params] || attributes['user_identical_content_count_params'] || nil
|
|
135
|
+
@user_reaction_count_params = attributes[:user_reaction_count_params] || attributes['user_reaction_count_params'] || nil
|
|
132
136
|
@user_role_params = attributes[:user_role_params] || attributes['user_role_params'] || nil
|
|
133
137
|
@user_rule_params = attributes[:user_rule_params] || attributes['user_rule_params'] || nil
|
|
134
138
|
@video_content_params = attributes[:video_content_params] || attributes['video_content_params'] || nil
|
|
@@ -164,6 +168,7 @@ module GetStream
|
|
|
164
168
|
user_custom_property_params: 'user_custom_property_params',
|
|
165
169
|
user_flag_count_rule_params: 'user_flag_count_rule_params',
|
|
166
170
|
user_identical_content_count_params: 'user_identical_content_count_params',
|
|
171
|
+
user_reaction_count_params: 'user_reaction_count_params',
|
|
167
172
|
user_role_params: 'user_role_params',
|
|
168
173
|
user_rule_params: 'user_rule_params',
|
|
169
174
|
video_content_params: 'video_content_params',
|
|
@@ -9,6 +9,9 @@ module GetStream
|
|
|
9
9
|
class RunStats < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute activities_deleted
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :activities_deleted
|
|
12
15
|
# @!attribute channels_deleted
|
|
13
16
|
# @return [Integer]
|
|
14
17
|
attr_accessor :channels_deleted
|
|
@@ -19,6 +22,7 @@ module GetStream
|
|
|
19
22
|
# Initialize with attributes
|
|
20
23
|
def initialize(attributes = {})
|
|
21
24
|
super(attributes)
|
|
25
|
+
@activities_deleted = attributes[:activities_deleted] || attributes['activities_deleted'] || nil
|
|
22
26
|
@channels_deleted = attributes[:channels_deleted] || attributes['channels_deleted'] || nil
|
|
23
27
|
@messages_deleted = attributes[:messages_deleted] || attributes['messages_deleted'] || nil
|
|
24
28
|
end
|
|
@@ -26,6 +30,7 @@ module GetStream
|
|
|
26
30
|
# Override field mappings for JSON serialization
|
|
27
31
|
def self.json_field_mappings
|
|
28
32
|
{
|
|
33
|
+
activities_deleted: 'activities_deleted',
|
|
29
34
|
channels_deleted: 'channels_deleted',
|
|
30
35
|
messages_deleted: 'messages_deleted'
|
|
31
36
|
}
|
|
@@ -24,6 +24,9 @@ module GetStream
|
|
|
24
24
|
# @!attribute activity_filter
|
|
25
25
|
# @return [ActivityFilterConfig]
|
|
26
26
|
attr_accessor :activity_filter
|
|
27
|
+
# @!attribute activity_marks
|
|
28
|
+
# @return [ActivityMarksConfig]
|
|
29
|
+
attr_accessor :activity_marks
|
|
27
30
|
# @!attribute activity_processing
|
|
28
31
|
# @return [ActivityProcessingConfig]
|
|
29
32
|
attr_accessor :activity_processing
|
|
@@ -54,6 +57,7 @@ module GetStream
|
|
|
54
57
|
@activity_processors = attributes[:activity_processors] || attributes['activity_processors'] || nil
|
|
55
58
|
@activity_selectors = attributes[:activity_selectors] || attributes['activity_selectors'] || nil
|
|
56
59
|
@activity_filter = attributes[:activity_filter] || attributes['activity_filter'] || nil
|
|
60
|
+
@activity_marks = attributes[:activity_marks] || attributes['activity_marks'] || nil
|
|
57
61
|
@activity_processing = attributes[:activity_processing] || attributes['activity_processing'] || nil
|
|
58
62
|
@aggregation = attributes[:aggregation] || attributes['aggregation'] || nil
|
|
59
63
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
@@ -71,6 +75,7 @@ module GetStream
|
|
|
71
75
|
activity_processors: 'activity_processors',
|
|
72
76
|
activity_selectors: 'activity_selectors',
|
|
73
77
|
activity_filter: 'activity_filter',
|
|
78
|
+
activity_marks: 'activity_marks',
|
|
74
79
|
activity_processing: 'activity_processing',
|
|
75
80
|
aggregation: 'aggregation',
|
|
76
81
|
custom: 'custom',
|
|
@@ -13,7 +13,8 @@ module GetStream
|
|
|
13
13
|
# @return [String] Duration of the request in milliseconds
|
|
14
14
|
attr_accessor :duration
|
|
15
15
|
# @!attribute membership_deletion_task_id
|
|
16
|
-
#
|
|
16
|
+
# @deprecated This field is deprecated.
|
|
17
|
+
# @return [String] Deprecated: always empty. Removing a user from a team no longer deletes their memberships in that team's channels, so there is no task to poll
|
|
17
18
|
attr_accessor :membership_deletion_task_id
|
|
18
19
|
# @!attribute users
|
|
19
20
|
# @return [Hash<String, FullUserResponse>] Object containing users
|
|
@@ -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 UserReactionCountRuleParameters < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute threshold
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :threshold
|
|
15
|
+
# @!attribute time_window
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :time_window
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@threshold = attributes[:threshold] || attributes['threshold'] || nil
|
|
23
|
+
@time_window = attributes[:time_window] || attributes['time_window'] || nil
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
threshold: 'threshold',
|
|
30
|
+
time_window: 'time_window'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -18,6 +18,24 @@ module GetStream
|
|
|
18
18
|
# @!attribute gcs_path
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :gcs_path
|
|
21
|
+
# @!attribute s3_api_key
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :s3_api_key
|
|
24
|
+
# @!attribute s3_bucket
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :s3_bucket
|
|
27
|
+
# @!attribute s3_path
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :s3_path
|
|
30
|
+
# @!attribute s3_region
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :s3_region
|
|
33
|
+
# @!attribute s3_role_arn
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :s3_role_arn
|
|
36
|
+
# @!attribute s3_secret
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :s3_secret
|
|
21
39
|
# @!attribute type
|
|
22
40
|
# @return [String]
|
|
23
41
|
attr_accessor :type
|
|
@@ -28,6 +46,12 @@ module GetStream
|
|
|
28
46
|
@gcs_bucket = attributes[:gcs_bucket] || attributes['gcs_bucket'] || nil
|
|
29
47
|
@gcs_credentials = attributes[:gcs_credentials] || attributes['gcs_credentials'] || nil
|
|
30
48
|
@gcs_path = attributes[:gcs_path] || attributes['gcs_path'] || nil
|
|
49
|
+
@s3_api_key = attributes[:s3_api_key] || attributes['s3_api_key'] || nil
|
|
50
|
+
@s3_bucket = attributes[:s3_bucket] || attributes['s3_bucket'] || nil
|
|
51
|
+
@s3_path = attributes[:s3_path] || attributes['s3_path'] || nil
|
|
52
|
+
@s3_region = attributes[:s3_region] || attributes['s3_region'] || nil
|
|
53
|
+
@s3_role_arn = attributes[:s3_role_arn] || attributes['s3_role_arn'] || nil
|
|
54
|
+
@s3_secret = attributes[:s3_secret] || attributes['s3_secret'] || nil
|
|
31
55
|
@type = attributes[:type] || attributes['type'] || nil
|
|
32
56
|
end
|
|
33
57
|
|
|
@@ -37,6 +61,12 @@ module GetStream
|
|
|
37
61
|
gcs_bucket: 'gcs_bucket',
|
|
38
62
|
gcs_credentials: 'gcs_credentials',
|
|
39
63
|
gcs_path: 'gcs_path',
|
|
64
|
+
s3_api_key: 's3_api_key',
|
|
65
|
+
s3_bucket: 's3_bucket',
|
|
66
|
+
s3_path: 's3_path',
|
|
67
|
+
s3_region: 's3_region',
|
|
68
|
+
s3_role_arn: 's3_role_arn',
|
|
69
|
+
s3_secret: 's3_secret',
|
|
40
70
|
type: 'type'
|
|
41
71
|
}
|
|
42
72
|
end
|
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: 12.
|
|
4
|
+
version: 12.1.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-09-
|
|
11
|
+
date: 2026-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dotenv
|
|
@@ -163,6 +163,7 @@ files:
|
|
|
163
163
|
- lib/getstream_ruby/generated/models/activity_feedback_response.rb
|
|
164
164
|
- lib/getstream_ruby/generated/models/activity_filter_config.rb
|
|
165
165
|
- lib/getstream_ruby/generated/models/activity_mark_event.rb
|
|
166
|
+
- lib/getstream_ruby/generated/models/activity_marks_config.rb
|
|
166
167
|
- lib/getstream_ruby/generated/models/activity_pin_response.rb
|
|
167
168
|
- lib/getstream_ruby/generated/models/activity_pinned_event.rb
|
|
168
169
|
- lib/getstream_ruby/generated/models/activity_processing_config.rb
|
|
@@ -659,6 +660,7 @@ files:
|
|
|
659
660
|
- lib/getstream_ruby/generated/models/feed_group_deleted_event.rb
|
|
660
661
|
- lib/getstream_ruby/generated/models/feed_group_response.rb
|
|
661
662
|
- lib/getstream_ruby/generated/models/feed_group_restored_event.rb
|
|
663
|
+
- lib/getstream_ruby/generated/models/feed_group_scope.rb
|
|
662
664
|
- lib/getstream_ruby/generated/models/feed_input.rb
|
|
663
665
|
- lib/getstream_ruby/generated/models/feed_member_added_event.rb
|
|
664
666
|
- lib/getstream_ruby/generated/models/feed_member_removed_event.rb
|
|
@@ -1559,6 +1561,7 @@ files:
|
|
|
1559
1561
|
- lib/getstream_ruby/generated/models/user_mute_response.rb
|
|
1560
1562
|
- lib/getstream_ruby/generated/models/user_muted_event.rb
|
|
1561
1563
|
- lib/getstream_ruby/generated/models/user_rating_report_response.rb
|
|
1564
|
+
- lib/getstream_ruby/generated/models/user_reaction_count_rule_parameters.rb
|
|
1562
1565
|
- lib/getstream_ruby/generated/models/user_reactivated_event.rb
|
|
1563
1566
|
- lib/getstream_ruby/generated/models/user_request.rb
|
|
1564
1567
|
- lib/getstream_ruby/generated/models/user_response.rb
|