Export new API for IVR tracking.
This commit is contained in:
@@ -116,6 +116,8 @@
|
||||
#include "model/ListIntervalInstanceReportResult.h"
|
||||
#include "model/ListIntervalSkillGroupReportRequest.h"
|
||||
#include "model/ListIntervalSkillGroupReportResult.h"
|
||||
#include "model/ListIvrTrackingDetailsRequest.h"
|
||||
#include "model/ListIvrTrackingDetailsResult.h"
|
||||
#include "model/ListOutboundNumbersOfUserRequest.h"
|
||||
#include "model/ListOutboundNumbersOfUserResult.h"
|
||||
#include "model/ListPersonalNumbersOfUserRequest.h"
|
||||
@@ -348,6 +350,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListIntervalSkillGroupReportResult> ListIntervalSkillGroupReportOutcome;
|
||||
typedef std::future<ListIntervalSkillGroupReportOutcome> ListIntervalSkillGroupReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListIntervalSkillGroupReportRequest&, const ListIntervalSkillGroupReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIntervalSkillGroupReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListIvrTrackingDetailsResult> ListIvrTrackingDetailsOutcome;
|
||||
typedef std::future<ListIvrTrackingDetailsOutcome> ListIvrTrackingDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListIvrTrackingDetailsRequest&, const ListIvrTrackingDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIvrTrackingDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOutboundNumbersOfUserResult> ListOutboundNumbersOfUserOutcome;
|
||||
typedef std::future<ListOutboundNumbersOfUserOutcome> ListOutboundNumbersOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListOutboundNumbersOfUserRequest&, const ListOutboundNumbersOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundNumbersOfUserAsyncHandler;
|
||||
@@ -617,6 +622,9 @@ namespace AlibabaCloud
|
||||
ListIntervalSkillGroupReportOutcome listIntervalSkillGroupReport(const Model::ListIntervalSkillGroupReportRequest &request)const;
|
||||
void listIntervalSkillGroupReportAsync(const Model::ListIntervalSkillGroupReportRequest& request, const ListIntervalSkillGroupReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListIntervalSkillGroupReportOutcomeCallable listIntervalSkillGroupReportCallable(const Model::ListIntervalSkillGroupReportRequest& request) const;
|
||||
ListIvrTrackingDetailsOutcome listIvrTrackingDetails(const Model::ListIvrTrackingDetailsRequest &request)const;
|
||||
void listIvrTrackingDetailsAsync(const Model::ListIvrTrackingDetailsRequest& request, const ListIvrTrackingDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListIvrTrackingDetailsOutcomeCallable listIvrTrackingDetailsCallable(const Model::ListIvrTrackingDetailsRequest& request) const;
|
||||
ListOutboundNumbersOfUserOutcome listOutboundNumbersOfUser(const Model::ListOutboundNumbersOfUserRequest &request)const;
|
||||
void listOutboundNumbersOfUserAsync(const Model::ListOutboundNumbersOfUserRequest& request, const ListOutboundNumbersOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOutboundNumbersOfUserOutcomeCallable listOutboundNumbersOfUserCallable(const Model::ListOutboundNumbersOfUserRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListIvrTrackingDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListIvrTrackingDetailsRequest();
|
||||
~ListIvrTrackingDetailsRequest();
|
||||
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string contactId_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListIvrTrackingDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct IvrTracking
|
||||
{
|
||||
std::string callee;
|
||||
std::string instance;
|
||||
std::string nodeName;
|
||||
long enterTime;
|
||||
std::string contactId;
|
||||
std::string nodeExitCode;
|
||||
std::string channelId;
|
||||
std::string channelVariables;
|
||||
std::string flowId;
|
||||
long leaveTime;
|
||||
std::string nodeProperties;
|
||||
std::string caller;
|
||||
std::string flowName;
|
||||
std::string nodeType;
|
||||
std::string nodeId;
|
||||
std::string nodeVariables;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<IvrTracking> list;
|
||||
};
|
||||
|
||||
|
||||
ListIvrTrackingDetailsResult();
|
||||
explicit ListIvrTrackingDetailsResult(const std::string &payload);
|
||||
~ListIvrTrackingDetailsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSRESULT_H_
|
||||
Reference in New Issue
Block a user