Skip to content

Commit 8d39947

Browse files
committed
chore: chat and video update
1 parent 9b1156a commit 8d39947

128 files changed

Lines changed: 7916 additions & 248 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.

generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111
set -ex
1212

1313
# cd in API repo, generate new spec and then generate code from it
14-
( cd $SOURCE_PATH ; make openapi ; go run ./cmd/chat-manager openapi generate-client --language java --spec ./releases/v2/feeds-serverside-api.yaml --output ../stream-sdk-java/src/main/java/io/getstream )
14+
( cd $SOURCE_PATH ; make openapi ; go run ./cmd/chat-manager openapi generate-client --language java --spec ./releases/v2/serverside-api.yaml --output ../stream-sdk-java/src/main/java/io/getstream )
1515

1616
sed -i '' '/^ @JsonProperty("Role")$/N;/\n private String role;$/d' src/main/java/io/getstream/models/CallParticipant.java
1717

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public class AudioSettingsRequest {
2828
@JsonProperty("access_request_enabled")
2929
private Boolean accessRequestEnabled;
3030

31+
@Nullable
32+
@JsonProperty("hifi_audio_enabled")
33+
private Boolean hifiAudioEnabled;
34+
3135
@Nullable
3236
@JsonProperty("mic_default_on")
3337
private Boolean micDefaultOn;

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

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

1515
import com.fasterxml.jackson.annotation.JsonProperty;
16+
import java.util.Date;
17+
import org.jetbrains.annotations.Nullable;
1618

1719
@lombok.Data
1820
@lombok.Builder
1921
@lombok.NoArgsConstructor
2022
@lombok.AllArgsConstructor
2123
public class BanResponse {
2224

23-
@JsonProperty("duration")
24-
private String duration;
25+
@JsonProperty("created_at")
26+
private Date createdAt;
27+
28+
@Nullable
29+
@JsonProperty("expires")
30+
private Date expires;
31+
32+
@Nullable
33+
@JsonProperty("reason")
34+
private String reason;
35+
36+
@Nullable
37+
@JsonProperty("shadow")
38+
private Boolean shadow;
39+
40+
@Nullable
41+
@JsonProperty("banned_by")
42+
private UserResponse bannedBy;
43+
44+
@Nullable
45+
@JsonProperty("channel")
46+
private ChannelResponse channel;
47+
48+
@Nullable
49+
@JsonProperty("user")
50+
private UserResponse user;
2551
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
19+
@lombok.Data
20+
@lombok.Builder
21+
@lombok.NoArgsConstructor
22+
@lombok.AllArgsConstructor
23+
public class CallParticipantTimeline {
24+
25+
@JsonProperty("severity")
26+
private String severity;
27+
28+
@JsonProperty("timestamp")
29+
private Date timestamp;
30+
31+
@JsonProperty("type")
32+
private String type;
33+
34+
@JsonProperty("data")
35+
private Map<String, Object> data;
36+
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public class CallRecording {
2727
@JsonProperty("filename")
2828
private String filename;
2929

30+
@JsonProperty("recording_type")
31+
private String recordingType;
32+
3033
@JsonProperty("session_id")
3134
private String sessionID;
3235

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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 org.jetbrains.annotations.Nullable;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class CallStatsLocation {
23+
24+
@Nullable
25+
@JsonProperty("accuracy_radius_meters")
26+
private Integer accuracyRadiusMeters;
27+
28+
@Nullable
29+
@JsonProperty("city")
30+
private String city;
31+
32+
@Nullable
33+
@JsonProperty("continent")
34+
private String continent;
35+
36+
@Nullable
37+
@JsonProperty("country")
38+
private String country;
39+
40+
@Nullable
41+
@JsonProperty("country_iso_code")
42+
private String countryIsoCode;
43+
44+
@Nullable
45+
@JsonProperty("latitude")
46+
private Double latitude;
47+
48+
@Nullable
49+
@JsonProperty("longitude")
50+
private Double longitude;
51+
52+
@Nullable
53+
@JsonProperty("subdivision")
54+
private String subdivision;
55+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 org.jetbrains.annotations.Nullable;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class CallStatsMapLocation {
23+
24+
@JsonProperty("count")
25+
private Integer count;
26+
27+
@JsonProperty("live_count")
28+
private Integer liveCount;
29+
30+
@Nullable
31+
@JsonProperty("location")
32+
private CallStatsLocation location;
33+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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 org.jetbrains.annotations.Nullable;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class CallStatsMapPublisher {
23+
24+
@JsonProperty("is_live")
25+
private Boolean isLive;
26+
27+
@JsonProperty("user_id")
28+
private String userID;
29+
30+
@JsonProperty("user_session_id")
31+
private String userSessionID;
32+
33+
@JsonProperty("published_tracks")
34+
private PublishedTrackFlags publishedTracks;
35+
36+
@Nullable
37+
@JsonProperty("name")
38+
private String name;
39+
40+
@Nullable
41+
@JsonProperty("publisher_type")
42+
private String publisherType;
43+
44+
@Nullable
45+
@JsonProperty("location")
46+
private CallStatsLocation location;
47+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.List;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class CallStatsMapPublishers {
23+
24+
@JsonProperty("publishers")
25+
private List<CallStatsMapPublisher> publishers;
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.List;
17+
18+
@lombok.Data
19+
@lombok.Builder
20+
@lombok.NoArgsConstructor
21+
@lombok.AllArgsConstructor
22+
public class CallStatsMapSFUs {
23+
24+
@JsonProperty("locations")
25+
private List<SFULocationResponse> locations;
26+
}

0 commit comments

Comments
 (0)