diff --git a/CHANGELOG b/CHANGELOG index 2b3a770fe..d8419ddfd 100644 --- a/CHANGELOG +++ b/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. diff --git a/VERSION b/VERSION index 6bc73d394..43e491195 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.650 \ No newline at end of file +1.36.651 \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h b/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h index cd34a3366..a9dc3b6c7 100644 --- a/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h +++ b/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; diff --git a/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h b/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h index 014ee6283..2c120d817 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h +++ b/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_; diff --git a/ccc/src/model/ListHistoricalAgentReportResult.cc b/ccc/src/model/ListHistoricalAgentReportResult.cc index ba4b5a1d6..05a0e6ec4 100644 --- a/ccc/src/model/ListHistoricalAgentReportResult.cc +++ b/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()) diff --git a/ccc/src/model/ListRecentCallDetailRecordsRequest.cc b/ccc/src/model/ListRecentCallDetailRecordsRequest.cc index 8137c2d36..024befbc1 100644 --- a/ccc/src/model/ListRecentCallDetailRecordsRequest.cc +++ b/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_;