Skip to content

Commit 848fed6

Browse files
committed
Supported new features for outbound.
1 parent 477e188 commit 848fed6

23 files changed

+90
-298
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-06-24 Version: 1.36.1158
2+
- Supported new features for outbound.
3+
14
2022-06-23 Version: 1.36.1157
25
- Support Vpn-Attachment.
36
- Support Sys-Flowlog.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.1157
1+
1.36.1158

outboundbot/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ set(outboundbot_public_header_model
153153
include/alibabacloud/outboundbot/model/GetEffectiveDaysResult.h
154154
include/alibabacloud/outboundbot/model/GetEmptyNumberNoMoreCallsInfoRequest.h
155155
include/alibabacloud/outboundbot/model/GetEmptyNumberNoMoreCallsInfoResult.h
156-
include/alibabacloud/outboundbot/model/GetInstanceConfigRequest.h
157-
include/alibabacloud/outboundbot/model/GetInstanceConfigResult.h
158156
include/alibabacloud/outboundbot/model/GetMaxAttemptsPerDayRequest.h
159157
include/alibabacloud/outboundbot/model/GetMaxAttemptsPerDayResult.h
160158
include/alibabacloud/outboundbot/model/GetNumberDistrictInfoTemplateDownloadUrlRequest.h
@@ -422,8 +420,6 @@ set(outboundbot_src
422420
src/model/GetEffectiveDaysResult.cc
423421
src/model/GetEmptyNumberNoMoreCallsInfoRequest.cc
424422
src/model/GetEmptyNumberNoMoreCallsInfoResult.cc
425-
src/model/GetInstanceConfigRequest.cc
426-
src/model/GetInstanceConfigResult.cc
427423
src/model/GetMaxAttemptsPerDayRequest.cc
428424
src/model/GetMaxAttemptsPerDayResult.cc
429425
src/model/GetNumberDistrictInfoTemplateDownloadUrlRequest.cc

outboundbot/include/alibabacloud/outboundbot/OutboundBotClient.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@
154154
#include "model/GetEffectiveDaysResult.h"
155155
#include "model/GetEmptyNumberNoMoreCallsInfoRequest.h"
156156
#include "model/GetEmptyNumberNoMoreCallsInfoResult.h"
157-
#include "model/GetInstanceConfigRequest.h"
158-
#include "model/GetInstanceConfigResult.h"
159157
#include "model/GetMaxAttemptsPerDayRequest.h"
160158
#include "model/GetMaxAttemptsPerDayResult.h"
161159
#include "model/GetNumberDistrictInfoTemplateDownloadUrlRequest.h"
@@ -495,9 +493,6 @@ namespace AlibabaCloud
495493
typedef Outcome<Error, Model::GetEmptyNumberNoMoreCallsInfoResult> GetEmptyNumberNoMoreCallsInfoOutcome;
496494
typedef std::future<GetEmptyNumberNoMoreCallsInfoOutcome> GetEmptyNumberNoMoreCallsInfoOutcomeCallable;
497495
typedef std::function<void(const OutboundBotClient*, const Model::GetEmptyNumberNoMoreCallsInfoRequest&, const GetEmptyNumberNoMoreCallsInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEmptyNumberNoMoreCallsInfoAsyncHandler;
498-
typedef Outcome<Error, Model::GetInstanceConfigResult> GetInstanceConfigOutcome;
499-
typedef std::future<GetInstanceConfigOutcome> GetInstanceConfigOutcomeCallable;
500-
typedef std::function<void(const OutboundBotClient*, const Model::GetInstanceConfigRequest&, const GetInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConfigAsyncHandler;
501496
typedef Outcome<Error, Model::GetMaxAttemptsPerDayResult> GetMaxAttemptsPerDayOutcome;
502497
typedef std::future<GetMaxAttemptsPerDayOutcome> GetMaxAttemptsPerDayOutcomeCallable;
503498
typedef std::function<void(const OutboundBotClient*, const Model::GetMaxAttemptsPerDayRequest&, const GetMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaxAttemptsPerDayAsyncHandler;
@@ -899,9 +894,6 @@ namespace AlibabaCloud
899894
GetEmptyNumberNoMoreCallsInfoOutcome getEmptyNumberNoMoreCallsInfo(const Model::GetEmptyNumberNoMoreCallsInfoRequest &request)const;
900895
void getEmptyNumberNoMoreCallsInfoAsync(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request, const GetEmptyNumberNoMoreCallsInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
901896
GetEmptyNumberNoMoreCallsInfoOutcomeCallable getEmptyNumberNoMoreCallsInfoCallable(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request) const;
902-
GetInstanceConfigOutcome getInstanceConfig(const Model::GetInstanceConfigRequest &request)const;
903-
void getInstanceConfigAsync(const Model::GetInstanceConfigRequest& request, const GetInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
904-
GetInstanceConfigOutcomeCallable getInstanceConfigCallable(const Model::GetInstanceConfigRequest& request) const;
905897
GetMaxAttemptsPerDayOutcome getMaxAttemptsPerDay(const Model::GetMaxAttemptsPerDayRequest &request)const;
906898
void getMaxAttemptsPerDayAsync(const Model::GetMaxAttemptsPerDayRequest& request, const GetMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
907899
GetMaxAttemptsPerDayOutcomeCallable getMaxAttemptsPerDayCallable(const Model::GetMaxAttemptsPerDayRequest& request) const;

outboundbot/include/alibabacloud/outboundbot/model/CreateScriptRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateScriptRequest : public RpcServiceReq
5252
void setInstanceId(const std::string &instanceId);
5353
std::string getScriptDescription() const;
5454
void setScriptDescription(const std::string &scriptDescription);
55+
bool getLongWaitEnable() const;
56+
void setLongWaitEnable(bool longWaitEnable);
5557
std::vector<std::string> getScriptContent() const;
5658
void setScriptContent(const std::vector<std::string> &scriptContent);
5759

@@ -67,6 +69,7 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateScriptRequest : public RpcServiceReq
6769
std::string chatbotId_;
6870
std::string instanceId_;
6971
std::string scriptDescription_;
72+
bool longWaitEnable_;
7073
std::vector<std::string> scriptContent_;
7174
};
7275
} // namespace Model

outboundbot/include/alibabacloud/outboundbot/model/DescribeScriptResult.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ namespace AlibabaCloud
3636
{
3737
std::string status;
3838
std::string chatbotId;
39-
bool miniPlaybackConfigEnabled;
4039
std::string scriptDescription;
4140
std::string scriptId;
41+
bool newBargeInEnable;
4242
std::string debugStatus;
4343
std::string scene;
4444
bool isDebugDrafted;
@@ -48,6 +48,8 @@ namespace AlibabaCloud
4848
std::string scriptName;
4949
long updateTime;
5050
std::string ttsConfig;
51+
bool longWaitEnable;
52+
bool miniPlaybackEnable;
5153
};
5254

5355

outboundbot/include/alibabacloud/outboundbot/model/DescribeTTSDemoRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DescribeTTSDemoRequest : public RpcService
4242
void setText(const std::string &text);
4343
int getSpeechRate() const;
4444
void setSpeechRate(int speechRate);
45+
int getPitchRate() const;
46+
void setPitchRate(int pitchRate);
4547

4648
private:
4749
std::string voice_;
@@ -50,6 +52,7 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DescribeTTSDemoRequest : public RpcService
5052
std::string instanceId_;
5153
std::string text_;
5254
int speechRate_;
55+
int pitchRate_;
5356
};
5457
} // namespace Model
5558
} // namespace OutboundBot

outboundbot/include/alibabacloud/outboundbot/model/DialogueRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DialogueRequest : public RpcServiceRequest
3232
~DialogueRequest();
3333
std::string getCallId() const;
3434
void setCallId(const std::string &callId);
35+
std::string getScriptId() const;
36+
void setScriptId(const std::string &scriptId);
3537
long getInstanceOwnerId() const;
3638
void setInstanceOwnerId(long instanceOwnerId);
3739
std::string getCalledNumber() const;
@@ -55,6 +57,7 @@ class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DialogueRequest : public RpcServiceRequest
5557

5658
private:
5759
std::string callId_;
60+
std::string scriptId_;
5861
long instanceOwnerId_;
5962
std::string calledNumber_;
6063
std::string callType_;

outboundbot/include/alibabacloud/outboundbot/model/GetInstanceConfigRequest.h

Lines changed: 0 additions & 42 deletions
This file was deleted.

outboundbot/include/alibabacloud/outboundbot/model/GetInstanceConfigResult.h

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)