Skip to content
Open
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/Webhook.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import io.getstream.models.AsyncExportChannelsEvent;
import io.getstream.models.AsyncExportErrorEvent;
import io.getstream.models.AsyncExportModerationLogsEvent;
import io.getstream.models.AsyncExportReviewQueueEvent;
import io.getstream.models.AsyncExportUsersEvent;
import io.getstream.models.BlockedUserEvent;
import io.getstream.models.BookmarkAddedEvent;
Expand Down Expand Up @@ -282,6 +283,8 @@ public static class EventType {
public static final String EXPORT_CHANNELS_SUCCESS = "export.channels.success";
public static final String EXPORT_MODERATION_LOGS_ERROR = "export.moderation_logs.error";
public static final String EXPORT_MODERATION_LOGS_SUCCESS = "export.moderation_logs.success";
public static final String EXPORT_REVIEW_QUEUE_ERROR = "export.review_queue.error";
public static final String EXPORT_REVIEW_QUEUE_SUCCESS = "export.review_queue.success";
public static final String EXPORT_USERS_ERROR = "export.users.error";
public static final String EXPORT_USERS_SUCCESS = "export.users.success";
public static final String FEEDS_ACTIVITY_ADDED = "feeds.activity.added";
Expand Down Expand Up @@ -623,6 +626,10 @@ private static Class<?> getEventClass(String eventType) {
return AsyncExportErrorEvent.class;
case "export.moderation_logs.success":
return AsyncExportModerationLogsEvent.class;
case "export.review_queue.error":
return AsyncExportErrorEvent.class;
case "export.review_queue.success":
return AsyncExportReviewQueueEvent.class;
case "export.users.error":
return AsyncExportErrorEvent.class;
case "export.users.success":
Expand Down
32 changes: 32 additions & 0 deletions src/main/java/io/getstream/models/AIAudioConfigRequest.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 AIAudioConfigRequest {

@Nullable
@JsonProperty("profile")
private String profile;

@Nullable
@JsonProperty("rules")
private List<BodyguardRule> rules;
}
32 changes: 32 additions & 0 deletions src/main/java/io/getstream/models/AIAudioConfigResponse.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;

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

@JsonProperty("enabled")
private Boolean enabled;

@JsonProperty("profile")
private String profile;

@JsonProperty("rules")
private List<BodyguardRule> rules;
}
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/ActivityResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ public class ActivityResponse {
@JsonProperty("friend_reactions")
private List<FeedsReactionResponse> friendReactions;

@Nullable
@JsonProperty("latest_shares")
private List<ShareResponse> latestShares;

@Nullable
@JsonProperty("current_feed")
private FeedResponse currentFeed;
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.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -54,6 +55,10 @@ public class AddActivityReactionRequest {
@JsonProperty("user_id")
private String userID;

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

@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
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.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -50,6 +51,10 @@ public class AddCommentReactionRequest {
@JsonProperty("user_id")
private String userID;

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

@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/io/getstream/models/AddCommentReactionResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,23 @@ public class AddCommentReactionResponse {
@JsonProperty("reaction")
private FeedsReactionResponse reaction;

@Nullable
@JsonProperty("notification_accepted")
private Boolean notificationAccepted;

/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("notification_created")
private Boolean notificationCreated;

@Nullable
@JsonProperty("notification_task_id")
private String notificationTaskID;

@Nullable
@JsonProperty("reference_activity")
private ActivityResponse referenceActivity;
}
5 changes: 5 additions & 0 deletions src/main/java/io/getstream/models/AddReactionRequest.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.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -53,6 +54,10 @@ public class AddReactionRequest {
@JsonProperty("user_id")
private String userID;

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

@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/io/getstream/models/AddReactionResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,23 @@ public class AddReactionResponse {
@JsonProperty("reaction")
private FeedsReactionResponse reaction;

@Nullable
@JsonProperty("notification_accepted")
private Boolean notificationAccepted;

/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("notification_created")
private Boolean notificationCreated;

@Nullable
@JsonProperty("notification_task_id")
private String notificationTaskID;

@Nullable
@JsonProperty("reference_activity")
private ActivityResponse referenceActivity;
}
3 changes: 3 additions & 0 deletions src/main/java/io/getstream/models/AppResponseFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ public class AppResponseFields {
@JsonProperty("moderation_audio_call_moderation_enabled")
private Boolean moderationAudioCallModerationEnabled;

@JsonProperty("moderation_audio_file_enabled")
private Boolean moderationAudioFileEnabled;

@JsonProperty("moderation_enabled")
private Boolean moderationEnabled;

Expand Down
50 changes: 50 additions & 0 deletions src/main/java/io/getstream/models/AsyncExportReviewQueueEvent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* ========================================================================
* 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 AsyncExportReviewQueueEvent {

@JsonProperty("created_at")
private Date createdAt;

@JsonProperty("finished_at")
private Date finishedAt;

@JsonProperty("started_at")
private Date startedAt;

@JsonProperty("task_id")
private String taskID;

@JsonProperty("url")
private String url;

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

@JsonProperty("type")
private String type;

@Nullable
@JsonProperty("received_at")
private Date receivedAt;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* ========================================================================
* 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 java.util.Map;
import org.jetbrains.annotations.Nullable;

/**
* Batch query activity reactions Returns a single user&#39;s reactions across a set of activity
* IDs, without activity payloads
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BatchQueryActivityReactionsRequest {

@JsonProperty("activity_ids")
private List<String> activityIds;

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

@Nullable
@JsonProperty("next")
private String next;

@Nullable
@JsonProperty("prev")
private String prev;

@Nullable
@JsonProperty("user_id")
private String userID;

@Nullable
@JsonProperty("sort")
private List<SortParamRequest> sort;

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

@Nullable
@JsonProperty("user")
private UserRequest user;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* ========================================================================
* 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;

/** Basic response information */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BatchQueryActivityReactionsResponse {

@JsonProperty("duration")
private String duration;

@JsonProperty("reactions")
private List<FeedsReactionResponse> reactions;

@Nullable
@JsonProperty("next")
private String next;

@Nullable
@JsonProperty("prev")
private String prev;
}
Loading
Loading