Jelajahi Sumber

Release for sprint 2_2_0.

sdk-team 4 tahun lalu
induk
melakukan
f640148ecc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-12-16 Version: 1.36.982
+- Release for sprint 2_2_0.
+
 2021-12-16 Version: 1.36.981
 - Update OTA API, including CreateOTADynamicUpgradeJob,CreateOTAStaticUpgradeJob,QueryOTAJob.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.981
+1.36.982

+ 1 - 0
ccc/include/alibabacloud/ccc/model/GetCallDetailRecordResult.h

@@ -95,6 +95,7 @@ namespace AlibabaCloud
 					std::string releaseInitiator;
 					std::string instanceId;
 					long startTime;
+					std::string earlyMediaState;
 					long callDuration;
 					std::vector<QueueEventsItem> queueEvents;
 					std::string calleeLocation;

+ 3 - 0
ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h

@@ -45,6 +45,8 @@ namespace AlibabaCloud
 				void setStartTime(long startTime);
 				int getPageNumber()const;
 				void setPageNumber(int pageNumber);
+				std::string getEarlyMediaStateList()const;
+				void setEarlyMediaStateList(const std::string& earlyMediaStateList);
 				std::string getCalledNumber()const;
 				void setCalledNumber(const std::string& calledNumber);
 				std::string getSatisfactionList()const;
@@ -78,6 +80,7 @@ namespace AlibabaCloud
 				std::string orderByField_;
 				long startTime_;
 				int pageNumber_;
+				std::string earlyMediaStateList_;
 				std::string calledNumber_;
 				std::string satisfactionList_;
 				int pageSize_;

+ 1 - 0
ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h

@@ -53,6 +53,7 @@ namespace AlibabaCloud
 						std::string releaseInitiator;
 						std::string instanceId;
 						long startTime;
+						std::string earlyMediaState;
 						long ringTime;
 						std::string callDuration;
 						std::string calleeLocation;

+ 3 - 0
ccc/include/alibabacloud/ccc/model/StartPredictiveCallRequest.h

@@ -51,6 +51,8 @@ namespace AlibabaCloud
 				void setCaller(const std::string& caller);
 				std::string getInstanceId()const;
 				void setInstanceId(const std::string& instanceId);
+				std::string getSkillGroupId()const;
+				void setSkillGroupId(const std::string& skillGroupId);
 
             private:
 				std::string contactFlowId_;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
 				int timeoutSeconds_;
 				std::string caller_;
 				std::string instanceId_;
+				std::string skillGroupId_;
 
 			};
 		}

+ 2 - 0
ccc/src/model/GetCallDetailRecordResult.cc

@@ -82,6 +82,8 @@ void GetCallDetailRecordResult::parse(const std::string &payload)
 		data_.callerLocation = dataNode["CallerLocation"].asString();
 	if(!dataNode["CalleeLocation"].isNull())
 		data_.calleeLocation = dataNode["CalleeLocation"].asString();
+	if(!dataNode["EarlyMediaState"].isNull())
+		data_.earlyMediaState = dataNode["EarlyMediaState"].asString();
 	auto allAgentEventsNode = dataNode["AgentEvents"]["AgentEventsItem"];
 	for (auto dataNodeAgentEventsAgentEventsItem : allAgentEventsNode)
 	{

+ 11 - 0
ccc/src/model/ListCallDetailRecordsRequest.cc

@@ -82,6 +82,17 @@ void ListCallDetailRecordsRequest::setPageNumber(int pageNumber)
 	setParameter("PageNumber", std::to_string(pageNumber));
 }
 
+std::string ListCallDetailRecordsRequest::getEarlyMediaStateList()const
+{
+	return earlyMediaStateList_;
+}
+
+void ListCallDetailRecordsRequest::setEarlyMediaStateList(const std::string& earlyMediaStateList)
+{
+	earlyMediaStateList_ = earlyMediaStateList;
+	setParameter("EarlyMediaStateList", earlyMediaStateList);
+}
+
 std::string ListCallDetailRecordsRequest::getCalledNumber()const
 {
 	return calledNumber_;

+ 2 - 0
ccc/src/model/ListCallDetailRecordsResult.cc

@@ -108,6 +108,8 @@ void ListCallDetailRecordsResult::parse(const std::string &payload)
 			callDetailRecordObject.callerLocation = dataNodeListCallDetailRecord["CallerLocation"].asString();
 		if(!dataNodeListCallDetailRecord["CalleeLocation"].isNull())
 			callDetailRecordObject.calleeLocation = dataNodeListCallDetailRecord["CalleeLocation"].asString();
+		if(!dataNodeListCallDetailRecord["EarlyMediaState"].isNull())
+			callDetailRecordObject.earlyMediaState = dataNodeListCallDetailRecord["EarlyMediaState"].asString();
 		data_.list.push_back(callDetailRecordObject);
 	}
 	if(!value["Code"].isNull())

+ 11 - 0
ccc/src/model/StartPredictiveCallRequest.cc

@@ -115,3 +115,14 @@ void StartPredictiveCallRequest::setInstanceId(const std::string& instanceId)
 	setParameter("InstanceId", instanceId);
 }
 
+std::string StartPredictiveCallRequest::getSkillGroupId()const
+{
+	return skillGroupId_;
+}
+
+void StartPredictiveCallRequest::setSkillGroupId(const std::string& skillGroupId)
+{
+	skillGroupId_ = skillGroupId;
+	setParameter("SkillGroupId", skillGroupId);
+}
+