Skip to content

Commit afe3858

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent f0ea1ec commit afe3858

35 files changed

+1020
-14
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Change log
22

3+
2025-03-06 Bumped to version v1.0.209
4+
- Updated apis for businessSecurity/livesaas/sms
5+
36
2025-03-03 Bumped to version v1.0.208
47
- Fixed a version detection bug that occurred when v1 and v2 SDKs were used simultaneously in the same application.
58

volc-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.volcengine</groupId>
7-
<version>1.0.208</version>
7+
<version>1.0.209</version>
88
<artifactId>volc-sdk-java</artifactId>
99

1010
<name>volc-sdk-java</name>

volc-sdk-java/src/main/java/com/volcengine/helper/Const.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public class Const {
106106
public static final String GameProtect = "GameProtect";
107107
// business security
108108
public static final String RiskDetection = "RiskDetection";
109+
public static final String DeviceId = "DeviceId";
109110
public static final String AsyncRiskDetection = "AsyncRiskDetection";
110111
public static final String CreateApp = "CreateApp";
111112
public static final String ListApps = "ListApps";
@@ -645,6 +646,14 @@ public class Const {
645646
public static final String DeleteActivityRobotCommentRepository = "DeleteActivityRobotCommentRepository";
646647
public static final String UpdateRobotComment = "UpdateRobotComment";
647648
public static final String UpdateRobotNickName = "UpdateRobotNickName";
649+
public static final String CreateActivityRedPacket = "CreateActivityRedPacket";
650+
public static final String UpdateActivityRedPacket = "UpdateActivityRedPacket";
651+
public static final String DeleteActivityRedPacket = "DeleteActivityRedPacket";
652+
public static final String ListActivityRedPacket = "ListActivityRedPacket";
653+
public static final String GetActivityRedPacket = "GetActivityRedPacket";
654+
public static final String CreateVipOrBlackListUserInfo = "CreateVipOrBlackListUserInfo";
655+
public static final String GetVipOrBlackListUserInfo = "GetVipOrBlackListUserInfo";
656+
public static final String DeleteVipOrBlackListUserInfo = "DeleteVipOrBlackListUserInfo";
648657

649658
// translate
650659
public static final String LangDetect = "LangDetect";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.volcengine.model.beans.livesaas;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
6+
@Data
7+
public class AwardUserInfo {
8+
@JSONField(name = "UserId")
9+
String UserId;
10+
@JSONField(name = "UserName")
11+
String UserName;
12+
@JSONField(name = "UserTel")
13+
String UserTel;
14+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.volcengine.model.beans.livesaas;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
6+
@Data
7+
public class ErrorAwardUserInfo {
8+
@JSONField(name = "ErrorReason")
9+
String ErrorReason;
10+
@JSONField(name = "UserId")
11+
String UserId;
12+
@JSONField(name = "UserName")
13+
String UserName;
14+
@JSONField(name = "UserTel")
15+
String UserTel;
16+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.volcengine.model.beans.livesaas;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
6+
@Data
7+
public class FixedRewardPointConfig {
8+
/**
9+
* 积分金额
10+
*/
11+
@JSONField(name = "RewardPointAmount")
12+
Integer RewardPointAmount;
13+
14+
/**
15+
* 红包个数
16+
*/
17+
@JSONField(name = "RewardPointNumber")
18+
Integer RewardPointNumber;
19+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
package com.volcengine.model.beans.livesaas;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
6+
@Data
7+
public class RedPacketConfig {
8+
@JSONField(name = "ActivityID")
9+
Long ActivityID;
10+
11+
@JSONField(name = "AwardCondition")
12+
AwardCondition AwardCondition;
13+
14+
@JSONField(name = "BarragePwd")
15+
String BarragePwd;
16+
17+
@JSONField(name = "BlackUserInfoId")
18+
Long BlackUserInfoId;
19+
20+
@JSONField(name = "ClaimFailureText")
21+
String ClaimFailureText;
22+
23+
@JSONField(name = "ClaimSuccessText")
24+
String ClaimSuccessText;
25+
26+
@JSONField(name = "CustomRedirectUrl")
27+
String CustomRedirectUrl;
28+
29+
@JSONField(name = "DeadLine")
30+
Integer DeadLine;
31+
32+
@JSONField(name = "EnableCustomRedirect")
33+
Boolean EnableCustomRedirect;
34+
35+
@JSONField(name = "EnableMiniApp")
36+
Boolean EnableMiniApp;
37+
38+
@JSONField(name = "IsOpenSmsNotification")
39+
Integer IsOpenSmsNotification;
40+
41+
@JSONField(name = "MiniAppId")
42+
String MiniAppId;
43+
44+
@JSONField(name = "MiniAppRedirectUrl")
45+
String MiniAppRedirectUrl;
46+
47+
@JSONField(name = "OpenRedPacketType")
48+
Integer OpenRedPacketType;
49+
50+
@JSONField(name = "RangeStatus")
51+
Integer RangeStatus;
52+
53+
@JSONField(name = "RedPacketCoverImage")
54+
String RedPacketCoverImage;
55+
56+
@JSONField(name = "RedPacketID")
57+
Long RedPacketID;
58+
59+
@JSONField(name = "RedPacketNumber")
60+
Integer RedPacketNumber;
61+
62+
@JSONField(name = "RedPacketStatus")
63+
Integer RedPacketStatus;
64+
65+
@JSONField(name = "RedPacketType")
66+
Integer RedPacketType;
67+
68+
@JSONField(name = "RepeatedAwardLimit")
69+
Integer RepeatedAwardLimit;
70+
71+
@JSONField(name = "RewardsPointsConfig")
72+
RewardsPointsConfig RewardsPointsConfig;
73+
74+
@JSONField(name = "TotalAmount")
75+
Integer TotalAmount;
76+
77+
@JSONField(name = "VipUserInfoId")
78+
Long VipUserInfoId;
79+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.volcengine.model.beans.livesaas;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
6+
import java.util.List;
7+
8+
@Data
9+
public class RewardsPointsConfig {
10+
@JSONField(name = "AmountCalculationType")
11+
Integer AmountCalculationType;
12+
13+
@JSONField(name = "FixedRewardPointConfigs")
14+
List<FixedRewardPointConfig> FixedRewardPointConfigs;
15+
16+
@JSONField(name = "RewardsPointsBatch")
17+
String RewardsPointsBatch;
18+
19+
@JSONField(name = "RewardsPointsUnit")
20+
String RewardsPointsUnit;
21+
}

volc-sdk-java/src/main/java/com/volcengine/model/livesaas/request/CreateActivityAPIRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public class CreateActivityAPIRequest {
4343
String CreatorName;
4444
@JSONField(name = "IsReplayAutoOnlineEnable")
4545
Integer IsReplayAutoOnlineEnable;
46+
@JSONField(name = "Vid")
47+
String Vid;
4648
@JSONField(name = "ActivityType")
4749
Integer ActivityType;
4850
@JSONField(name = "IsAutoStartEnable")
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
package com.volcengine.model.livesaas.request;
2+
3+
import com.alibaba.fastjson.annotation.JSONField;
4+
import lombok.Data;
5+
import com.volcengine.model.beans.livesaas.AwardCondition;
6+
import com.volcengine.model.beans.livesaas.RewardsPointsConfig;
7+
8+
@Data
9+
public class CreateActivityRedPacketRequest {
10+
@JSONField(name = "ActivityID")
11+
Long ActivityID;
12+
13+
@JSONField(name = "AwardCondition")
14+
AwardCondition AwardCondition;
15+
16+
@JSONField(name = "BarragePwd")
17+
String BarragePwd;
18+
19+
@JSONField(name = "BlackUserInfoId")
20+
Long BlackUserInfoId;
21+
22+
@JSONField(name = "ClaimFailureText")
23+
String ClaimFailureText;
24+
25+
@JSONField(name = "ClaimSuccessText")
26+
String ClaimSuccessText;
27+
28+
@JSONField(name = "CustomRedirectUrl")
29+
String CustomRedirectUrl;
30+
31+
@JSONField(name = "DeadLine")
32+
Integer DeadLine;
33+
34+
@JSONField(name = "EnableCustomRedirect")
35+
Boolean EnableCustomRedirect;
36+
37+
@JSONField(name = "EnableMiniApp")
38+
Boolean EnableMiniApp;
39+
40+
@JSONField(name = "IsOpenSmsNotification")
41+
Integer IsOpenSmsNotification;
42+
43+
@JSONField(name = "MiniAppId")
44+
String MiniAppId;
45+
46+
@JSONField(name = "MiniAppRedirectUrl")
47+
String MiniAppRedirectUrl;
48+
49+
@JSONField(name = "OpenRedPacketType")
50+
Integer OpenRedPacketType;
51+
52+
@JSONField(name = "RangeStatus")
53+
Integer RangeStatus;
54+
55+
@JSONField(name = "RedPacketCoverImage")
56+
String RedPacketCoverImage;
57+
58+
@JSONField(name = "RedPacketNumber")
59+
Integer RedPacketNumber;
60+
61+
@JSONField(name = "RedPacketType")
62+
Integer RedPacketType;
63+
64+
@JSONField(name = "RepeatedAwardLimit")
65+
Integer RepeatedAwardLimit;
66+
67+
@JSONField(name = "RewardsPointsConfig")
68+
RewardsPointsConfig RewardsPointsConfig;
69+
70+
@JSONField(name = "TotalAmount")
71+
Integer TotalAmount;
72+
73+
@JSONField(name = "VipUserInfoId")
74+
Long VipUserInfoId;
75+
}

0 commit comments

Comments
 (0)