Skip to content

Commit 9a3f4c3

Browse files
committed
chore: sdk update
1 parent f465a63 commit 9a3f4c3

File tree

237 files changed

+7437
-339
lines changed

Some content is hidden

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

237 files changed

+7437
-339
lines changed

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

Lines changed: 4 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 java.util.Map;
1819
import org.jetbrains.annotations.Nullable;
1920

@@ -41,6 +42,9 @@ public class ActionLogResponse {
4142
@JsonProperty("user_id")
4243
private String userID;
4344

45+
@JsonProperty("ai_providers")
46+
private List<String> aiProviders;
47+
4448
@JsonProperty("custom")
4549
private Map<String, Object> custom;
4650

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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 java.util.Date;
17+
import java.util.Map;
18+
import org.jetbrains.annotations.Nullable;
19+
20+
@lombok.Data
21+
@lombok.Builder
22+
@lombok.NoArgsConstructor
23+
@lombok.AllArgsConstructor
24+
public class ActivityFeedbackEvent {
25+
26+
@JsonProperty("created_at")
27+
private Date createdAt;
28+
29+
@JsonProperty("activity_feedback")
30+
private ActivityFeedbackEventPayload activityFeedback;
31+
32+
@JsonProperty("custom")
33+
private Map<String, Object> custom;
34+
35+
@JsonProperty("type")
36+
private String type;
37+
38+
@Nullable
39+
@JsonProperty("received_at")
40+
private Date receivedAt;
41+
42+
@Nullable
43+
@JsonProperty("user")
44+
private UserResponseCommonFields user;
45+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 java.util.Date;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class ActivityFeedbackEventPayload {
23+
24+
@JsonProperty("action")
25+
private String action;
26+
27+
@JsonProperty("activity_id")
28+
private String activityID;
29+
30+
@JsonProperty("created_at")
31+
private Date createdAt;
32+
33+
@JsonProperty("updated_at")
34+
private Date updatedAt;
35+
36+
@JsonProperty("value")
37+
private String value;
38+
39+
@JsonProperty("user")
40+
private UserResponse user;
41+
}

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

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,14 @@ public class ActivityFeedbackRequest {
2525
@JsonProperty("hide")
2626
private Boolean hide;
2727

28-
@Nullable
29-
@JsonProperty("mute_user")
30-
private Boolean muteUser;
31-
32-
@Nullable
33-
@JsonProperty("reason")
34-
private String reason;
35-
36-
@Nullable
37-
@JsonProperty("report")
38-
private Boolean report;
39-
4028
@Nullable
4129
@JsonProperty("show_less")
4230
private Boolean showLess;
4331

32+
@Nullable
33+
@JsonProperty("show_more")
34+
private Boolean showMore;
35+
4436
@Nullable
4537
@JsonProperty("user_id")
4638
private String userID;

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public class ActivityRequest {
4545
@JsonProperty("poll_id")
4646
private String pollID;
4747

48+
@Nullable
49+
@JsonProperty("restrict_replies")
50+
private String restrictReplies;
51+
52+
@Nullable
53+
@JsonProperty("skip_enrich_url")
54+
private Boolean skipEnrichUrl;
55+
4856
@Nullable
4957
@JsonProperty("text")
5058
private String text;
@@ -65,6 +73,10 @@ public class ActivityRequest {
6573
@JsonProperty("attachments")
6674
private List<Attachment> attachments;
6775

76+
@Nullable
77+
@JsonProperty("collection_refs")
78+
private List<String> collectionRefs;
79+
6880
@Nullable
6981
@JsonProperty("filter_tags")
7082
private List<String> filterTags;

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,24 @@ public class ActivityResponse {
3333
@JsonProperty("created_at")
3434
private Date createdAt;
3535

36+
@JsonProperty("hidden")
37+
private Boolean hidden;
38+
3639
@JsonProperty("id")
3740
private String id;
3841

3942
@JsonProperty("popularity")
4043
private Integer popularity;
4144

45+
@JsonProperty("preview")
46+
private Boolean preview;
47+
4248
@JsonProperty("reaction_count")
4349
private Integer reactionCount;
4450

51+
@JsonProperty("restrict_replies")
52+
private String restrictReplies;
53+
4554
@JsonProperty("score")
4655
private Double score;
4756

@@ -84,6 +93,9 @@ public class ActivityResponse {
8493
@JsonProperty("own_reactions")
8594
private List<FeedsReactionResponse> ownReactions;
8695

96+
@JsonProperty("collections")
97+
private Map<String, EnrichedCollectionResponse> collections;
98+
8799
@JsonProperty("custom")
88100
private Map<String, Object> custom;
89101

@@ -109,8 +121,12 @@ public class ActivityResponse {
109121
private Date expiresAt;
110122

111123
@Nullable
112-
@JsonProperty("hidden")
113-
private Boolean hidden;
124+
@JsonProperty("is_watched")
125+
private Boolean isWatched;
126+
127+
@Nullable
128+
@JsonProperty("moderation_action")
129+
private String moderationAction;
114130

115131
@Nullable
116132
@JsonProperty("text")

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
package io.getstream.models;
1414

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16-
import java.util.Date;
1716
import java.util.List;
1817
import java.util.Map;
1918
import org.jetbrains.annotations.Nullable;
@@ -24,23 +23,30 @@
2423
@lombok.AllArgsConstructor
2524
public class ActivitySelectorConfig {
2625

26+
@JsonProperty("type")
27+
private String type;
28+
2729
@Nullable
2830
@JsonProperty("cutoff_time")
29-
private Date cutoffTime;
31+
private String cutoffTime;
3032

3133
@Nullable
32-
@JsonProperty("min_popularity")
33-
private Integer minPopularity;
34+
@JsonProperty("cutoff_window")
35+
private String cutoffWindow;
3436

3537
@Nullable
36-
@JsonProperty("type")
37-
private String type;
38+
@JsonProperty("min_popularity")
39+
private Integer minPopularity;
3840

3941
@Nullable
4042
@JsonProperty("sort")
41-
private List<SortParam> sort;
43+
private List<SortParamRequest> sort;
4244

4345
@Nullable
4446
@JsonProperty("filter")
4547
private Map<String, Object> filter;
48+
49+
@Nullable
50+
@JsonProperty("params")
51+
private Map<String, Object> params;
4652
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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 java.util.Date;
17+
import java.util.List;
18+
import java.util.Map;
19+
import org.jetbrains.annotations.Nullable;
20+
21+
@lombok.Data
22+
@lombok.Builder
23+
@lombok.NoArgsConstructor
24+
@lombok.AllArgsConstructor
25+
public class ActivitySelectorConfigResponse {
26+
27+
@JsonProperty("type")
28+
private String type;
29+
30+
@Nullable
31+
@JsonProperty("cutoff_time")
32+
private Date cutoffTime;
33+
34+
@Nullable
35+
@JsonProperty("cutoff_window")
36+
private String cutoffWindow;
37+
38+
@Nullable
39+
@JsonProperty("min_popularity")
40+
private Integer minPopularity;
41+
42+
@Nullable
43+
@JsonProperty("sort")
44+
private List<SortParamRequest> sort;
45+
46+
@Nullable
47+
@JsonProperty("filter")
48+
private Map<String, Object> filter;
49+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 java.util.Map;
17+
import org.jetbrains.annotations.Nullable;
18+
19+
@lombok.Data
20+
@lombok.Builder
21+
@lombok.NoArgsConstructor
22+
@lombok.AllArgsConstructor
23+
public class AddActivityReactionRequest {
24+
25+
@JsonProperty("type")
26+
private String type;
27+
28+
@Nullable
29+
@JsonProperty("create_notification_activity")
30+
private Boolean createNotificationActivity;
31+
32+
@Nullable
33+
@JsonProperty("enforce_unique")
34+
private Boolean enforceUnique;
35+
36+
@Nullable
37+
@JsonProperty("skip_push")
38+
private Boolean skipPush;
39+
40+
@Nullable
41+
@JsonProperty("user_id")
42+
private String userID;
43+
44+
@Nullable
45+
@JsonProperty("custom")
46+
private Map<String, Object> custom;
47+
48+
@Nullable
49+
@JsonProperty("user")
50+
private UserRequest user;
51+
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public class AddActivityRequest {
4545
@JsonProperty("poll_id")
4646
private String pollID;
4747

48+
@Nullable
49+
@JsonProperty("restrict_replies")
50+
private String restrictReplies;
51+
52+
@Nullable
53+
@JsonProperty("skip_enrich_url")
54+
private Boolean skipEnrichUrl;
55+
4856
@Nullable
4957
@JsonProperty("text")
5058
private String text;
@@ -65,6 +73,10 @@ public class AddActivityRequest {
6573
@JsonProperty("attachments")
6674
private List<Attachment> attachments;
6775

76+
@Nullable
77+
@JsonProperty("collection_refs")
78+
private List<String> collectionRefs;
79+
6880
@Nullable
6981
@JsonProperty("filter_tags")
7082
private List<String> filterTags;

0 commit comments

Comments
 (0)