Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main/java/io/getstream/models/AppResponseFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public class AppResponseFields {
@JsonProperty("moderation_enabled")
private Boolean moderationEnabled;

@JsonProperty("moderation_flood_rules_enabled")
private Boolean moderationFloodRulesEnabled;

@JsonProperty("moderation_llm_configurability_enabled")
private Boolean moderationLlmConfigurabilityEnabled;

Expand Down Expand Up @@ -173,6 +176,10 @@ public class AppResponseFields {
@JsonProperty("before_message_send_hook_url")
private String beforeMessageSendHookUrl;

@Nullable
@JsonProperty("chat_primary_use_case")
private String chatPrimaryUseCase;

@Nullable
@JsonProperty("moderation_onboarding_complete")
private Boolean moderationOnboardingComplete;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/BanInfoResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ public class BanInfoResponse {
@JsonProperty("created_at")
private Date createdAt;

@Nullable
@JsonProperty("channel_cid")
private String channelCid;

@Nullable
@JsonProperty("expires")
private Date expires;
Expand All @@ -38,6 +42,10 @@ public class BanInfoResponse {
@JsonProperty("shadow")
private Boolean shadow;

@Nullable
@JsonProperty("channel")
private ChannelMetadata channel;

@Nullable
@JsonProperty("created_by")
private UserResponse createdBy;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/BlockListResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public class BlockListResponse {
@JsonProperty("id")
private String id;

@Nullable
@JsonProperty("owner_user_id")
private String ownerUserID;

@Nullable
@JsonProperty("team")
private String team;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/CallSettingsRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public class CallSettingsRequest {
@JsonProperty("broadcasting")
private BroadcastSettingsRequest broadcasting;

@Nullable
@JsonProperty("encryption")
private EncryptionSettingsRequest encryption;

@Nullable
@JsonProperty("frame_recording")
private FrameRecordingSettingsRequest frameRecording;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/CallSettingsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public class CallSettingsResponse {
@JsonProperty("broadcasting")
private BroadcastSettingsResponse broadcasting;

@JsonProperty("encryption")
private EncryptionSettingsResponse encryption;

@JsonProperty("frame_recording")
private FrameRecordingSettingsResponse frameRecording;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class ChannelMemberPartialResponse {

@JsonProperty("channel_role")
private String channelRole;

@JsonProperty("notifications_muted")
private Boolean notificationsMuted;
}
57 changes: 57 additions & 0 deletions src/main/java/io/getstream/models/ChannelMetadata.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class ChannelMetadata {

@JsonProperty("cid")
private String cid;

@JsonProperty("id")
private String id;

@JsonProperty("type")
private String type;

@JsonProperty("custom")
private Map<String, Object> custom;

@Nullable
@JsonProperty("last_message_at")
private Date lastMessageAt;

@Nullable
@JsonProperty("member_count")
private Integer memberCount;

@Nullable
@JsonProperty("message_count")
private Integer messageCount;

@Nullable
@JsonProperty("push_level")
private String pushLevel;

@Nullable
@JsonProperty("team")
private String team;
}
2 changes: 1 addition & 1 deletion src/main/java/io/getstream/models/ChatMessageResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public class ChatMessageResponse {

@Nullable
@JsonProperty("member")
private ChannelMemberResponse member;
private ChannelMemberPartialResponse member;

@Nullable
@JsonProperty("moderation")
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/ClientEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public class ClientEvent {
@JsonProperty("join_attempt_id")
private String joinAttemptID;

@Nullable
@JsonProperty("join_reason")
private String joinReason;

@Nullable
@JsonProperty("microphone_permission_status")
private String microphonePermissionStatus;
Expand Down
27 changes: 27 additions & 0 deletions src/main/java/io/getstream/models/EncryptionSettingsRequest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class EncryptionSettingsRequest {

@Nullable
@JsonProperty("enabled")
private Boolean enabled;
}
26 changes: 26 additions & 0 deletions src/main/java/io/getstream/models/EncryptionSettingsResponse.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/** EncryptionSettings is the payload for end-to-end encryption settings */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class EncryptionSettingsResponse {

@JsonProperty("enabled")
private Boolean enabled;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class FloodIdenticalRuleParameters {

@Nullable
@JsonProperty("threshold")
private Integer threshold;

@Nullable
@JsonProperty("time_window")
private String timeWindow;
}
35 changes: 35 additions & 0 deletions src/main/java/io/getstream/models/FloodSimilarRuleParameters.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class FloodSimilarRuleParameters {

@Nullable
@JsonProperty("similarity_distance")
private Integer similarityDistance;

@Nullable
@JsonProperty("threshold")
private Integer threshold;

@Nullable
@JsonProperty("time_window")
private String timeWindow;
}
16 changes: 8 additions & 8 deletions src/main/java/io/getstream/models/GetActivityRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@
@lombok.AllArgsConstructor
public class GetActivityRequest {

@Query("language")
@JsonIgnore
private String Language;

@Query("translate_text")
@JsonIgnore
private Boolean TranslateText;

@Query("comment_sort")
@JsonIgnore
private String CommentSort;
Expand All @@ -41,4 +33,12 @@ public class GetActivityRequest {
@Query("user_id")
@JsonIgnore
private String UserID;

@Query("language")
@JsonIgnore
private String Language;

@Query("translate_text")
@JsonIgnore
private Boolean TranslateText;
}
8 changes: 4 additions & 4 deletions src/main/java/io/getstream/models/GetCommentRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
@lombok.AllArgsConstructor
public class GetCommentRequest {

@Query("user_id")
@JsonIgnore
private String UserID;

@Query("language")
@JsonIgnore
private String Language;

@Query("translate_text")
@JsonIgnore
private Boolean TranslateText;

@Query("user_id")
@JsonIgnore
private String UserID;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class IPContentCountRuleParameters {

@Nullable
@JsonProperty("threshold")
private Integer threshold;

@Nullable
@JsonProperty("time_window")
private String timeWindow;
}
Loading
Loading