Skip to content

Commit c363dc0

Browse files
authored
Update sdk 20260202 (#38)
1 parent e0e5454 commit c363dc0

68 files changed

Lines changed: 1665 additions & 137 deletions

File tree

Some content is hidden

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

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public class ActivityRequest {
2929
@JsonProperty("feeds")
3030
private List<String> feeds;
3131

32+
@Nullable
33+
@JsonProperty("create_notification_activity")
34+
private Boolean createNotificationActivity;
35+
3236
@Nullable
3337
@JsonProperty("expires_at")
3438
private String expiresAt;
@@ -53,6 +57,10 @@ public class ActivityRequest {
5357
@JsonProperty("skip_enrich_url")
5458
private Boolean skipEnrichUrl;
5559

60+
@Nullable
61+
@JsonProperty("skip_push")
62+
private Boolean skipPush;
63+
5664
@Nullable
5765
@JsonProperty("text")
5866
private String text;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ public class ActivityResponse {
128128
@JsonProperty("moderation_action")
129129
private String moderationAction;
130130

131+
@Nullable
132+
@JsonProperty("selector_source")
133+
private String selectorSource;
134+
131135
@Nullable
132136
@JsonProperty("text")
133137
private String text;
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 ActivityRestoredEvent {
25+
26+
@JsonProperty("created_at")
27+
private Date createdAt;
28+
29+
@JsonProperty("fid")
30+
private String fid;
31+
32+
@JsonProperty("activity")
33+
private ActivityResponse activity;
34+
35+
@JsonProperty("custom")
36+
private Map<String, Object> custom;
37+
38+
@JsonProperty("type")
39+
private String type;
40+
41+
@Nullable
42+
@JsonProperty("feed_visibility")
43+
private String feedVisibility;
44+
45+
@Nullable
46+
@JsonProperty("received_at")
47+
private Date receivedAt;
48+
49+
@Nullable
50+
@JsonProperty("user")
51+
private UserResponseCommonFields user;
52+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public class AddActivityRequest {
2929
@JsonProperty("feeds")
3030
private List<String> feeds;
3131

32+
@Nullable
33+
@JsonProperty("create_notification_activity")
34+
private Boolean createNotificationActivity;
35+
3236
@Nullable
3337
@JsonProperty("expires_at")
3438
private String expiresAt;
@@ -53,6 +57,10 @@ public class AddActivityRequest {
5357
@JsonProperty("skip_enrich_url")
5458
private Boolean skipEnrichUrl;
5559

60+
@Nullable
61+
@JsonProperty("skip_push")
62+
private Boolean skipPush;
63+
5664
@Nullable
5765
@JsonProperty("text")
5866
private String text;

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
1617

1718
@lombok.Data
1819
@lombok.Builder
@@ -25,4 +26,8 @@ public class AddActivityResponse {
2526

2627
@JsonProperty("activity")
2728
private ActivityResponse activity;
29+
30+
@Nullable
31+
@JsonProperty("mention_notifications_created")
32+
private Integer mentionNotificationsCreated;
2833
}

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
1617

1718
@lombok.Data
1819
@lombok.Builder
@@ -28,4 +29,8 @@ public class AddCommentReactionResponse {
2829

2930
@JsonProperty("reaction")
3031
private FeedsReactionResponse reaction;
32+
33+
@Nullable
34+
@JsonProperty("notification_created")
35+
private Boolean notificationCreated;
3136
}

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
1617

1718
@lombok.Data
1819
@lombok.Builder
@@ -25,4 +26,12 @@ public class AddCommentResponse {
2526

2627
@JsonProperty("comment")
2728
private CommentResponse comment;
29+
30+
@Nullable
31+
@JsonProperty("mention_notifications_created")
32+
private Integer mentionNotificationsCreated;
33+
34+
@Nullable
35+
@JsonProperty("notification_created")
36+
private Boolean notificationCreated;
2837
}

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
1617

1718
@lombok.Data
1819
@lombok.Builder
@@ -28,4 +29,8 @@ public class AddReactionResponse {
2829

2930
@JsonProperty("reaction")
3031
private FeedsReactionResponse reaction;
32+
33+
@Nullable
34+
@JsonProperty("notification_created")
35+
private Boolean notificationCreated;
3136
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public class CallResponse {
8787
@JsonProperty("join_ahead_time_seconds")
8888
private Integer joinAheadTimeSeconds;
8989

90+
@Nullable
91+
@JsonProperty("routing_number")
92+
private String routingNumber;
93+
9094
@Nullable
9195
@JsonProperty("starts_at")
9296
private Date startsAt;

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import org.jetbrains.annotations.Nullable;
1617

1718
@lombok.Data
1819
@lombok.Builder
@@ -37,4 +38,8 @@ public class CallStatsParticipantCounts {
3738

3839
@JsonProperty("sessions")
3940
private Integer sessions;
41+
42+
@Nullable
43+
@JsonProperty("total_participant_duration")
44+
private Integer totalParticipantDuration;
4045
}

0 commit comments

Comments
 (0)