Pārlūkot izejas kodu

Export new API.

sdk-team 5 gadi atpakaļ
vecāks
revīzija
f5ff8be154

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-03-24 Version: 1.36.651
+- Export new API.
+
 2021-03-23 Version: 1.36.650
 - Update Open API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.650
+1.36.651

+ 1 - 1
ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h

@@ -39,7 +39,7 @@ namespace AlibabaCloud
 						struct Inbound
 						{
 							long callsConsulted;
-							long serviceLevel20;
+							float serviceLevel20;
 							long totalWorkTime;
 							long totalHoldTime;
 							long satisfactionSurveysOffered;

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

@@ -35,6 +35,8 @@ namespace AlibabaCloud
 				ListRecentCallDetailRecordsRequest();
 				~ListRecentCallDetailRecordsRequest();
 
+				std::string getCriteria()const;
+				void setCriteria(const std::string& criteria);
 				long getEndTime()const;
 				void setEndTime(long endTime);
 				long getStartTime()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
 				void setPageSize(int pageSize);
 
             private:
+				std::string criteria_;
 				long endTime_;
 				long startTime_;
 				int pageNumber_;

+ 1 - 1
ccc/src/model/ListHistoricalAgentReportResult.cc

@@ -86,7 +86,7 @@ void ListHistoricalAgentReportResult::parse(const std::string &payload)
 		if(!inboundNode["SatisfactionSurveysResponded"].isNull())
 			itemsObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString());
 		if(!inboundNode["ServiceLevel20"].isNull())
-			itemsObject.inbound.serviceLevel20 = std::stol(inboundNode["ServiceLevel20"].asString());
+			itemsObject.inbound.serviceLevel20 = std::stof(inboundNode["ServiceLevel20"].asString());
 		if(!inboundNode["TotalHoldTime"].isNull())
 			itemsObject.inbound.totalHoldTime = std::stol(inboundNode["TotalHoldTime"].asString());
 		if(!inboundNode["TotalRingTime"].isNull())

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

@@ -27,6 +27,17 @@ ListRecentCallDetailRecordsRequest::ListRecentCallDetailRecordsRequest() :
 ListRecentCallDetailRecordsRequest::~ListRecentCallDetailRecordsRequest()
 {}
 
+std::string ListRecentCallDetailRecordsRequest::getCriteria()const
+{
+	return criteria_;
+}
+
+void ListRecentCallDetailRecordsRequest::setCriteria(const std::string& criteria)
+{
+	criteria_ = criteria;
+	setParameter("Criteria", criteria);
+}
+
 long ListRecentCallDetailRecordsRequest::getEndTime()const
 {
 	return endTime_;