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
31 changes: 31 additions & 0 deletions src/main/java/io/getstream/models/ActivityMarksConfig.java
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 ActivityMarksConfig {

@Nullable
@JsonProperty("track_read")
private Boolean trackRead;

@Nullable
@JsonProperty("track_seen")
private Boolean trackSeen;
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
@lombok.AllArgsConstructor
public class ActivityProcessingConfig {

@Nullable
@JsonProperty("send_allowed_tags_to_ai")
private Boolean sendAllowedTagsToAi;

@Nullable
@JsonProperty("allowed_tags")
private List<String> allowedTags;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/ActivitySelectorConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public class ActivitySelectorConfig {
@JsonProperty("sort")
private List<SortParamRequest> sort;

@Nullable
@JsonProperty("feed_groups")
private FeedGroupScope feedGroups;

@Nullable
@JsonProperty("filter")
private Map<String, Object> filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public class ActivitySelectorConfigResponse {
@JsonProperty("sort")
private List<SortParamRequest> sort;

@Nullable
@JsonProperty("feed_groups")
private FeedGroupScope feedGroups;

@Nullable
@JsonProperty("filter")
private Map<String, Object> filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
Expand All @@ -34,6 +35,10 @@ public class ChannelBatchUpdateRequest {
@JsonProperty("filter")
private Map<String, Object> filter;

@Nullable
@JsonProperty("hide_history_before")
private Date hideHistoryBefore;

@Nullable
@JsonProperty("custom_unset")
private List<String> customUnset;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/CreateFeedGroupRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public class CreateFeedGroupRequest {
@JsonProperty("activity_filter")
private ActivityFilterConfig activityFilter;

@Nullable
@JsonProperty("activity_marks")
private ActivityMarksConfig activityMarks;

@Nullable
@JsonProperty("activity_processing")
private ActivityProcessingConfig activityProcessing;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/DeleteChannelRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ public class DeleteChannelRequest {
@Query("hard_delete")
@JsonIgnore
private Boolean HardDelete;

@Query("skip_truncate")
@JsonIgnore
private Boolean SkipTruncate;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/DeleteChannelsRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ public class DeleteChannelsRequest {
@Nullable
@JsonProperty("hard_delete")
private Boolean hardDelete;

@Nullable
@JsonProperty("skip_truncate")
private Boolean skipTruncate;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/FeedGroupResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public class FeedGroupResponse {
@JsonProperty("activity_filter")
private ActivityFilterConfig activityFilter;

@Nullable
@JsonProperty("activity_marks")
private ActivityMarksConfig activityMarks;

@Nullable
@JsonProperty("activity_processing")
private ActivityProcessingConfig activityProcessing;
Expand Down
32 changes: 32 additions & 0 deletions src/main/java/io/getstream/models/FeedGroupScope.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* ========================================================================
* 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.List;
import org.jetbrains.annotations.Nullable;

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

@Nullable
@JsonProperty("exclude")
private List<String> exclude;

@Nullable
@JsonProperty("include")
private List<String> include;
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ public class GetFeedsRateLimitsRequest {
@JsonIgnore
private Boolean Unity;

@Query("unity_desktop")
@JsonIgnore
private Boolean UnityDesktop;

@Query("unity_console")
@JsonIgnore
private Boolean UnityConsole;

@Query("server_side")
@JsonIgnore
private Boolean ServerSide;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ public class GetFeedsRateLimitsResponse {
@JsonProperty("unity")
private Map<String, LimitInfoResponse> unity;

@Nullable
@JsonProperty("unity_console")
private Map<String, LimitInfoResponse> unityConsole;

@Nullable
@JsonProperty("unity_desktop")
private Map<String, LimitInfoResponse> unityDesktop;

@Nullable
@JsonProperty("web")
private Map<String, LimitInfoResponse> web;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public class GetOrCreateFeedGroupRequest {
@JsonProperty("activity_filter")
private ActivityFilterConfig activityFilter;

@Nullable
@JsonProperty("activity_marks")
private ActivityMarksConfig activityMarks;

@Nullable
@JsonProperty("activity_processing")
private ActivityProcessingConfig activityProcessing;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/GetRateLimitsRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ public class GetRateLimitsRequest {
@JsonIgnore
private Boolean Unity;

@Query("unity_desktop")
@JsonIgnore
private Boolean UnityDesktop;

@Query("unity_console")
@JsonIgnore
private Boolean UnityConsole;

@Query("endpoints")
@JsonIgnore
private String Endpoints;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/GetRateLimitsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ public class GetRateLimitsResponse {
@JsonProperty("unity")
private Map<String, LimitInfoResponse> unity;

@Nullable
@JsonProperty("unity_console")
private Map<String, LimitInfoResponse> unityConsole;

@Nullable
@JsonProperty("unity_desktop")
private Map<String, LimitInfoResponse> unityDesktop;

@Nullable
@JsonProperty("web")
private Map<String, LimitInfoResponse> web;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public class ModerationDashboardPreferences {
@JsonProperty("disable_flagging_reviewed_entity")
private Boolean disableFlaggingReviewedEntity;

@Nullable
@JsonProperty("enforce_shadow_server_side")
private Boolean enforceShadowServerSide;

@Nullable
@JsonProperty("escalation_queue_enabled")
private Boolean escalationQueueEnabled;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/io/getstream/models/PaginationParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@
@lombok.AllArgsConstructor
public class PaginationParams {

@Nullable
@JsonProperty("id_gt")
private Integer idGt;

@Nullable
@JsonProperty("id_gte")
private Integer idGte;

@Nullable
@JsonProperty("id_lt")
private Integer idLt;

@Nullable
@JsonProperty("id_lte")
private Integer idLte;

@Nullable
@JsonProperty("limit")
private Integer limit;
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/io/getstream/models/QueryBannedUsersPayload.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
Expand All @@ -26,6 +27,22 @@ public class QueryBannedUsersPayload {
@JsonProperty("filter_conditions")
private Map<String, Object> filterConditions;

@Nullable
@JsonProperty("created_at_after")
private Date createdAtAfter;

@Nullable
@JsonProperty("created_at_after_or_equal")
private Date createdAtAfterOrEqual;

@Nullable
@JsonProperty("created_at_before")
private Date createdAtBefore;

@Nullable
@JsonProperty("created_at_before_or_equal")
private Date createdAtBeforeOrEqual;

@Nullable
@JsonProperty("exclude_expired_bans")
private Boolean excludeExpiredBans;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package io.getstream.models;

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

@lombok.Data
Expand All @@ -21,6 +22,22 @@
@lombok.AllArgsConstructor
public class QueryFutureChannelBansPayload {

@Nullable
@JsonProperty("created_at_after")
private Date createdAtAfter;

@Nullable
@JsonProperty("created_at_after_or_equal")
private Date createdAtAfterOrEqual;

@Nullable
@JsonProperty("created_at_before")
private Date createdAtBefore;

@Nullable
@JsonProperty("created_at_before_or_equal")
private Date createdAtBeforeOrEqual;

@Nullable
@JsonProperty("exclude_expired_bans")
private Boolean excludeExpiredBans;
Expand Down
33 changes: 33 additions & 0 deletions src/main/java/io/getstream/models/QueryMembersPayload.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
Expand All @@ -26,6 +27,22 @@ public class QueryMembersPayload {
@JsonProperty("type")
private String type;

@Nullable
@JsonProperty("created_at_after")
private Date createdAtAfter;

@Nullable
@JsonProperty("created_at_after_or_equal")
private Date createdAtAfterOrEqual;

@Nullable
@JsonProperty("created_at_before")
private Date createdAtBefore;

@Nullable
@JsonProperty("created_at_before_or_equal")
private Date createdAtBeforeOrEqual;

@Nullable
@JsonProperty("id")
private String id;
Expand All @@ -42,6 +59,22 @@ public class QueryMembersPayload {
@JsonProperty("user_id")
private String userID;

@Nullable
@JsonProperty("user_id_gt")
private String userIDGt;

@Nullable
@JsonProperty("user_id_gte")
private String userIDGte;

@Nullable
@JsonProperty("user_id_lt")
private String userIDLt;

@Nullable
@JsonProperty("user_id_lte")
private String userIDLte;

@Nullable
@JsonProperty("members")
private List<ChannelMemberRequest> members;
Expand Down
Loading
Loading