Skip to content

Commit 6009e03

Browse files
authored
Merge pull request #48 from GetStream/FEEDS-1303
[FEEDS-1303]update sdk
2 parents 6004c51 + e571de3 commit 6009e03

File tree

62 files changed

+1135
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1135
-18
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* ========================================================================
3+
* WARNING: GENERATED CODE -- DO NOT EDIT!
4+
* ========================================================================
5+
*
6+
* This file was auto-generated by GetStream internal OpenAPI
7+
*
8+
* Any modifications to this file will be lost upon regeneration.
9+
* To make changes, please modify the source templates and regenerate.
10+
*
11+
* ========================================================================
12+
*/
13+
package io.getstream.models;
14+
15+
import com.fasterxml.jackson.annotation.JsonProperty;
16+
17+
@lombok.Data
18+
@lombok.Builder
19+
@lombok.NoArgsConstructor
20+
@lombok.AllArgsConstructor
21+
public class AIImageLabelDefinition {
22+
23+
@JsonProperty("description")
24+
private String description;
25+
26+
@JsonProperty("group")
27+
private String group;
28+
29+
@JsonProperty("key")
30+
private String key;
31+
32+
@JsonProperty("label")
33+
private String label;
34+
}

src/main/java/io/getstream/models/AWSRekognitionRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ public class AWSRekognitionRule {
3333

3434
@Nullable
3535
@JsonProperty("subclassifications")
36-
private Map<String, Boolean> subclassifications;
36+
private Map<String, Object> subclassifications;
3737
}

src/main/java/io/getstream/models/AppResponseFields.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ public class AppResponseFields {
186186
@JsonProperty("image_moderation_labels")
187187
private List<String> imageModerationLabels;
188188

189+
@Nullable
190+
@JsonProperty("activity_metrics_config")
191+
private Map<String, Integer> activityMetricsConfig;
192+
189193
@Nullable
190194
@JsonProperty("datadog_info")
191195
private DataDogInfo datadogInfo;

src/main/java/io/getstream/models/BanActionRequestPayload.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ public class BanActionRequestPayload {
2626
@JsonProperty("channel_ban_only")
2727
private Boolean channelBanOnly;
2828

29+
@Nullable
30+
@JsonProperty("channel_cid")
31+
private String channelCid;
32+
2933
@Nullable
3034
@JsonProperty("delete_messages")
3135
private String deleteMessages;

src/main/java/io/getstream/models/CallEndedEvent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import com.fasterxml.jackson.annotation.JsonProperty;
1616
import java.util.Date;
17+
import java.util.List;
1718
import org.jetbrains.annotations.Nullable;
1819

1920
/**
@@ -42,6 +43,10 @@ public class CallEndedEvent {
4243
@JsonProperty("reason")
4344
private String reason;
4445

46+
@Nullable
47+
@JsonProperty("members")
48+
private List<MemberResponse> members;
49+
4550
@Nullable
4651
@JsonProperty("user")
4752
private UserResponse user;

src/main/java/io/getstream/models/ChannelConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,8 @@ public class ChannelConfig {
135135
@Nullable
136136
@JsonProperty("automod_thresholds")
137137
private Thresholds automodThresholds;
138+
139+
@Nullable
140+
@JsonProperty("chat_preferences")
141+
private ChatPreferences chatPreferences;
138142
}

src/main/java/io/getstream/models/ChannelConfigWithInfo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ public class ChannelConfigWithInfo {
137137
@JsonProperty("automod_thresholds")
138138
private Thresholds automodThresholds;
139139

140+
@Nullable
141+
@JsonProperty("chat_preferences")
142+
private ChatPreferences chatPreferences;
143+
140144
@Nullable
141145
@JsonProperty("grants")
142146
private Map<String, List<String>> grants;

src/main/java/io/getstream/models/ChannelPushPreferencesResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ public class ChannelPushPreferencesResponse {
2929
@Nullable
3030
@JsonProperty("disabled_until")
3131
private Date disabledUntil;
32+
33+
@Nullable
34+
@JsonProperty("chat_preferences")
35+
private ChatPreferencesResponse chatPreferences;
3236
}

src/main/java/io/getstream/models/ChannelTypeConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,8 @@ public class ChannelTypeConfig {
142142
@Nullable
143143
@JsonProperty("automod_thresholds")
144144
private Thresholds automodThresholds;
145+
146+
@Nullable
147+
@JsonProperty("chat_preferences")
148+
private ChatPreferences chatPreferences;
145149
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* ========================================================================
3+
* WARNING: GENERATED CODE -- DO NOT EDIT!
4+
* ========================================================================
5+
*
6+
* This file was auto-generated by GetStream internal OpenAPI
7+
*
8+
* Any modifications to this file will be lost upon regeneration.
9+
* To make changes, please modify the source templates and regenerate.
10+
*
11+
* ========================================================================
12+
*/
13+
package io.getstream.models;
14+
15+
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class ChatPreferences {
23+
24+
@Nullable
25+
@JsonProperty("channel_mentions")
26+
private String channelMentions;
27+
28+
@Nullable
29+
@JsonProperty("default_preference")
30+
private String defaultPreference;
31+
32+
@Nullable
33+
@JsonProperty("direct_mentions")
34+
private String directMentions;
35+
36+
@Nullable
37+
@JsonProperty("distinct_channel_messages")
38+
private String distinctChannelMessages;
39+
40+
@Nullable
41+
@JsonProperty("group_mentions")
42+
private String groupMentions;
43+
44+
@Nullable
45+
@JsonProperty("here_mentions")
46+
private String hereMentions;
47+
48+
@Nullable
49+
@JsonProperty("role_mentions")
50+
private String roleMentions;
51+
52+
@Nullable
53+
@JsonProperty("thread_replies")
54+
private String threadReplies;
55+
}

0 commit comments

Comments
 (0)