v20200210

package
v3.0.1143+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Outbound call failure.
	FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"

	// High-risk users, do not call
	FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"

	// Limited outbound called number.
	FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited"

	// Caller ID exceeds the outbound call limit.
	FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"

	// The number is in a restricted calling zone.
	FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"

	// Exceeded call limit for the callee within a set time.
	FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"

	// Exceeded daily call limit for the callee.
	FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"

	// Calls are not allowed at this time.
	FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"

	// The current number status cannot be modified.
	FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify"

	// Duplicate account.
	FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"

	// No available outbound call numbers.
	FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"

	// Insufficient permissions.
	FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"

	// Agent is busy.
	FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy"

	// Number of uploaded files exceeds the limit.
	FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow"

	// An internal error occurs.
	INTERNALERROR = "InternalError"

	// Internal database access failure.
	INTERNALERROR_DBERROR = "InternalError.DBError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// Duplicate address.
	INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress"

	// Duplicate number.
	INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber"

	// Duplicate sip account.
	INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount"

	// Illegal address.
	INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress"

	// Illegal number.
	INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber"

	// The instance does not exist.
	INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"

	// Invalid address.
	INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress"

	// Invalid ip information.
	INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"

	// Invalid number.
	INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber"

	// Invalid port information.
	INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"

	// Illegal password. (the length should be no less than 8 digits and must contain upper and lower case letters and numbers.).
	INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat"

	// Illegal username (only can contain a-z,a-z, and number).
	INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat"

	// The sip channel is still in use.
	INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed"

	// SIP channel information not found.
	INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound"

	// Invalid Parameter
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Account does not exist.
	INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"

	// The approval form no. does not exist.
	INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = "InvalidParameterValue.ApplyIDNotExist"

	// Error in the status of the review form.
	INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = "InvalidParameterValue.ErrorApplyStatus"

	// The SDKAppID does not exist.
	INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

	// Invalid number status.
	INVALIDPARAMETERVALUE_PHONENUMINVALID = "InvalidParameterValue.PhoneNumInvalid"

	// The number has been bound to another account.
	INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount"

	// Skill group error.
	INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError"

	// Skill group already exists.
	INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"

	// The pending review form has exceeded the limit and cannot be submitted for the time being.
	INVALIDPARAMETERVALUE_WAITINGAPPROVALOVERFLOW = "InvalidParameterValue.WaitingApprovalOverflow"

	// Exceeded quota limit.
	LIMITEXCEEDED = "LimitExceeded"

	// Your call package is used up.
	LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

	// Exceeded quantity limit.
	LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

	// Missing required parameters.
	MISSINGPARAMETER = "MissingParameter"

	// Not in the allowlist.
	OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"

	// The account has been disabled.
	OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2020-02-10"

Variables

This section is empty.

Functions

This section is empty.

Types

type AICallExtractConfigElement

type AICallExtractConfigElement struct {
	// Configuration item type, including.
	// Text.
	// Selector option.
	// Boolean value.
	// Number.
	InfoType *string `json:"InfoType,omitnil,omitempty" name:"InfoType"`

	// Configuration item name, duplicat.
	InfoName *string `json:"InfoName,omitnil,omitempty" name:"InfoName"`

	// Specific content of the configuration item.
	InfoContent *string `json:"InfoContent,omitnil,omitempty" name:"InfoContent"`

	// Example of extracted content from the configuration item.
	Examples []*string `json:"Examples,omitnil,omitempty" name:"Examples"`

	// When infotype is selector, this field needs to be configured.
	Choices []*string `json:"Choices,omitnil,omitempty" name:"Choices"`
}

type AICallExtractResultElement

type AICallExtractResultElement struct {
	// Type of extracted information.
	// Text.
	// Selector options.
	// Boolean value.
	// Number.
	InfoType *string `json:"InfoType,omitnil,omitempty" name:"InfoType"`

	// Name of the extracted information.
	InfoName *string `json:"InfoName,omitnil,omitempty" name:"InfoName"`

	// Specific description of the extracted information.
	InfoContent *string `json:"InfoContent,omitnil,omitempty" name:"InfoContent"`

	// Specific result of the extracted information.
	Result *AICallExtractResultInfo `json:"Result,omitnil,omitempty" name:"Result"`
}

type AICallExtractResultInfo

type AICallExtractResultInfo struct {
	// The extracted type is text.
	Text *string `json:"Text,omitnil,omitempty" name:"Text"`

	// The extracted type is option.
	Chosen []*string `json:"Chosen,omitnil,omitempty" name:"Chosen"`

	// The extracted type is a boolean value.
	Boolean *bool `json:"Boolean,omitnil,omitempty" name:"Boolean"`

	// The extracted type is a number.
	Number *float64 `json:"Number,omitnil,omitempty" name:"Number"`
}

type AITransferItem

type AITransferItem struct {
	// Name of the function calling for transfer to human.
	TransferFunctionName *string `json:"TransferFunctionName,omitnil,omitempty" name:"TransferFunctionName"`

	// Takes effect when transferfunctionenable is true; the description of transfer_to_human function calling defaults to "transfer to human when the user has to transfer to human (like says transfer to human) or you are instructed to do so.".
	TransferFunctionDesc *string `json:"TransferFunctionDesc,omitnil,omitempty" name:"TransferFunctionDesc"`

	// Skill group id for transferring to human agent.
	TransferSkillGroupId *uint64 `json:"TransferSkillGroupId,omitnil,omitempty" name:"TransferSkillGroupId"`
}

type AbortAgentCruiseDialingCampaignRequest

type AbortAgentCruiseDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *uint64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewAbortAgentCruiseDialingCampaignRequest

func NewAbortAgentCruiseDialingCampaignRequest() (request *AbortAgentCruiseDialingCampaignRequest)

func (*AbortAgentCruiseDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AbortAgentCruiseDialingCampaignRequest) ToJsonString

type AbortAgentCruiseDialingCampaignRequestParams

type AbortAgentCruiseDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *uint64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type AbortAgentCruiseDialingCampaignResponse

type AbortAgentCruiseDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *AbortAgentCruiseDialingCampaignResponseParams `json:"Response"`
}

func NewAbortAgentCruiseDialingCampaignResponse

func NewAbortAgentCruiseDialingCampaignResponse() (response *AbortAgentCruiseDialingCampaignResponse)

func (*AbortAgentCruiseDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AbortAgentCruiseDialingCampaignResponse) ToJsonString

type AbortAgentCruiseDialingCampaignResponseParams

type AbortAgentCruiseDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AbortPredictiveDialingCampaignRequest

type AbortPredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewAbortPredictiveDialingCampaignRequest

func NewAbortPredictiveDialingCampaignRequest() (request *AbortPredictiveDialingCampaignRequest)

func (*AbortPredictiveDialingCampaignRequest) FromJsonString

func (r *AbortPredictiveDialingCampaignRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AbortPredictiveDialingCampaignRequest) ToJsonString

type AbortPredictiveDialingCampaignRequestParams

type AbortPredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type AbortPredictiveDialingCampaignResponse

type AbortPredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *AbortPredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewAbortPredictiveDialingCampaignResponse

func NewAbortPredictiveDialingCampaignResponse() (response *AbortPredictiveDialingCampaignResponse)

func (*AbortPredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AbortPredictiveDialingCampaignResponse) ToJsonString

type AbortPredictiveDialingCampaignResponseParams

type AbortPredictiveDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AsrData

type AsrData struct {
	// User side.
	User *string `json:"User,omitnil,omitempty" name:"User"`

	// Message content.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// Timestamp.
	//
	// Deprecated: Timestamp is deprecated.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Sentence start time, unix millisecond timestamp.
	Start *int64 `json:"Start,omitnil,omitempty" name:"Start"`

	// Sentence end time, unix millisecond timestamp.
	End *int64 `json:"End,omitnil,omitempty" name:"End"`
}

type AudioFileInfo

type AudioFileInfo struct {
	// File id.
	FileId *uint64 `json:"FileId,omitnil,omitempty" name:"FileId"`

	// File alias.
	CustomFileName *string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"`

	// Filename.
	AudioFileName *string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"`

	// Review status: 0 - unreviewed, 1 - approved, 2 - rejected.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type AutoCalloutTaskCalleeInfo

type AutoCalloutTaskCalleeInfo struct {
	// Called number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Call status 0 - initial, 1 - answered, 2 - unanswered, 3 - calling, 4 - pending retry.
	State *uint64 `json:"State,omitnil,omitempty" name:"State"`

	// List of session ids.
	Sessions []*string `json:"Sessions,omitnil,omitempty" name:"Sessions"`
}

type AutoCalloutTaskInfo

type AutoCalloutTaskInfo struct {
	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Number of called parties.
	CalleeCount *uint64 `json:"CalleeCount,omitnil,omitempty" name:"CalleeCount"`

	// List of calling numbers.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Start timestamp.
	NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"`

	// End timestamp
	// .
	// Note: this field may return null, indicating that no valid values can be obtained.
	NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"`

	// IvrId used by the task.
	IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"`

	// Task status:.
	// 0 initial: task creation, call not started.
	// 1 running.
	// 2 completed: all calls in the task are completed.
	// 3 ending: the task has expired, but there are still some calls not ended.
	// 4 ended: task terminated due to expiration.
	State *uint64 `json:"State,omitnil,omitempty" name:"State"`

	// <Task id>.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type BindNumberCallOutSkillGroupRequest

type BindNumberCallOutSkillGroupRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Number to be bound.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// Skill group id list to be bound.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`
}

func NewBindNumberCallOutSkillGroupRequest

func NewBindNumberCallOutSkillGroupRequest() (request *BindNumberCallOutSkillGroupRequest)

func (*BindNumberCallOutSkillGroupRequest) FromJsonString

func (r *BindNumberCallOutSkillGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindNumberCallOutSkillGroupRequest) ToJsonString

func (r *BindNumberCallOutSkillGroupRequest) ToJsonString() string

type BindNumberCallOutSkillGroupRequestParams

type BindNumberCallOutSkillGroupRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Number to be bound.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// Skill group id list to be bound.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`
}

Predefined struct for user

type BindNumberCallOutSkillGroupResponse

type BindNumberCallOutSkillGroupResponse struct {
	*tchttp.BaseResponse
	Response *BindNumberCallOutSkillGroupResponseParams `json:"Response"`
}

func NewBindNumberCallOutSkillGroupResponse

func NewBindNumberCallOutSkillGroupResponse() (response *BindNumberCallOutSkillGroupResponse)

func (*BindNumberCallOutSkillGroupResponse) FromJsonString

func (r *BindNumberCallOutSkillGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindNumberCallOutSkillGroupResponse) ToJsonString

func (r *BindNumberCallOutSkillGroupResponse) ToJsonString() string

type BindNumberCallOutSkillGroupResponseParams

type BindNumberCallOutSkillGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindStaffSkillGroupListRequest

type BindStaffSkillGroupListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Bound skill group list.
	SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`

	// Bound skill group list (required).
	StaffSkillGroupList []*StaffSkillGroupList `json:"StaffSkillGroupList,omitnil,omitempty" name:"StaffSkillGroupList"`
}

func NewBindStaffSkillGroupListRequest

func NewBindStaffSkillGroupListRequest() (request *BindStaffSkillGroupListRequest)

func (*BindStaffSkillGroupListRequest) FromJsonString

func (r *BindStaffSkillGroupListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindStaffSkillGroupListRequest) ToJsonString

func (r *BindStaffSkillGroupListRequest) ToJsonString() string

type BindStaffSkillGroupListRequestParams

type BindStaffSkillGroupListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Bound skill group list.
	//
	// Deprecated: SkillGroupList is deprecated.
	SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`

	// Bound skill group list (required).
	StaffSkillGroupList []*StaffSkillGroupList `json:"StaffSkillGroupList,omitnil,omitempty" name:"StaffSkillGroupList"`
}

Predefined struct for user

type BindStaffSkillGroupListResponse

type BindStaffSkillGroupListResponse struct {
	*tchttp.BaseResponse
	Response *BindStaffSkillGroupListResponseParams `json:"Response"`
}

func NewBindStaffSkillGroupListResponse

func NewBindStaffSkillGroupListResponse() (response *BindStaffSkillGroupListResponse)

func (*BindStaffSkillGroupListResponse) FromJsonString

func (r *BindStaffSkillGroupListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindStaffSkillGroupListResponse) ToJsonString

func (r *BindStaffSkillGroupListResponse) ToJsonString() string

type BindStaffSkillGroupListResponseParams

type BindStaffSkillGroupListResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CallInMetrics

type CallInMetrics struct {
	// Number of ivr residency.
	IvrCount *int64 `json:"IvrCount,omitnil,omitempty" name:"IvrCount"`

	// Number in queue.
	QueueCount *int64 `json:"QueueCount,omitnil,omitempty" name:"QueueCount"`

	// Number in ringing.
	RingCount *int64 `json:"RingCount,omitnil,omitempty" name:"RingCount"`

	// Number of connections.
	AcceptCount *int64 `json:"AcceptCount,omitnil,omitempty" name:"AcceptCount"`

	// Number of customer service transferring to the external line.
	TransferOuterCount *int64 `json:"TransferOuterCount,omitnil,omitempty" name:"TransferOuterCount"`

	// Maximum queue duration.
	MaxQueueDuration *int64 `json:"MaxQueueDuration,omitnil,omitempty" name:"MaxQueueDuration"`

	// Average queue duration.
	AvgQueueDuration *int64 `json:"AvgQueueDuration,omitnil,omitempty" name:"AvgQueueDuration"`

	// Maximum ringing duration.
	MaxRingDuration *int64 `json:"MaxRingDuration,omitnil,omitempty" name:"MaxRingDuration"`

	// Average ringing duration.
	AvgRingDuration *int64 `json:"AvgRingDuration,omitnil,omitempty" name:"AvgRingDuration"`

	// Maximum connection duration.
	MaxAcceptDuration *int64 `json:"MaxAcceptDuration,omitnil,omitempty" name:"MaxAcceptDuration"`

	// Average connection duration.
	AvgAcceptDuration *int64 `json:"AvgAcceptDuration,omitnil,omitempty" name:"AvgAcceptDuration"`
}

type CallInNumberMetrics

type CallInNumberMetrics struct {
	// Line number.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// Line-Related metrics.
	Metrics *CallInMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Bound skill group metrics.
	SkillGroupMetrics []*CallInSkillGroupMetrics `json:"SkillGroupMetrics,omitnil,omitempty" name:"SkillGroupMetrics"`
}

type CallInSkillGroupMetrics

type CallInSkillGroupMetrics struct {
	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Data metrics.
	Metrics *CallInMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Skill group name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type CalleeAttribute

type CalleeAttribute struct {
	// Called number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Accompanying data.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Parameter.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AbortAgentCruiseDialingCampaign

func (c *Client) AbortAgentCruiseDialingCampaign(request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)

AbortAgentCruiseDialingCampaign Stop Agent Cruise-style Outbound Call Task

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) AbortAgentCruiseDialingCampaignWithContext

func (c *Client) AbortAgentCruiseDialingCampaignWithContext(ctx context.Context, request *AbortAgentCruiseDialingCampaignRequest) (response *AbortAgentCruiseDialingCampaignResponse, err error)

AbortAgentCruiseDialingCampaign Stop Agent Cruise-style Outbound Call Task

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) AbortPredictiveDialingCampaign

func (c *Client) AbortPredictiveDialingCampaign(request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)

AbortPredictiveDialingCampaign This API is used to pause the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) AbortPredictiveDialingCampaignWithContext

func (c *Client) AbortPredictiveDialingCampaignWithContext(ctx context.Context, request *AbortPredictiveDialingCampaignRequest) (response *AbortPredictiveDialingCampaignResponse, err error)

AbortPredictiveDialingCampaign This API is used to pause the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BindNumberCallOutSkillGroup

func (c *Client) BindNumberCallOutSkillGroup(request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)

BindNumberCallOutSkillGroup This API is used to bind outbound skill group of number.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) BindNumberCallOutSkillGroupWithContext

func (c *Client) BindNumberCallOutSkillGroupWithContext(ctx context.Context, request *BindNumberCallOutSkillGroupRequest) (response *BindNumberCallOutSkillGroupResponse, err error)

BindNumberCallOutSkillGroup This API is used to bind outbound skill group of number.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) BindStaffSkillGroupList

func (c *Client) BindStaffSkillGroupList(request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)

BindStaffSkillGroupList This API is used to bind the agent's skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) BindStaffSkillGroupListWithContext

func (c *Client) BindStaffSkillGroupListWithContext(ctx context.Context, request *BindStaffSkillGroupListRequest) (response *BindStaffSkillGroupListResponse, err error)

BindStaffSkillGroupList This API is used to bind the agent's skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) CreateAIAgentCall

func (c *Client) CreateAIAgentCall(request *CreateAIAgentCallRequest) (response *CreateAIAgentCallResponse, err error)

CreateAIAgentCall This API is used to initiate outbound calls using an AI model, limited to owned phone numbers only. Currently, a limited-time free trial of Advanced Agents is available.

Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://intl.cloud.tencent.com/document/product/679/112100?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAIAgentCallWithContext

func (c *Client) CreateAIAgentCallWithContext(ctx context.Context, request *CreateAIAgentCallRequest) (response *CreateAIAgentCallResponse, err error)

CreateAIAgentCall This API is used to initiate outbound calls using an AI model, limited to owned phone numbers only. Currently, a limited-time free trial of Advanced Agents is available.

Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://intl.cloud.tencent.com/document/product/679/112100?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAICall

func (c *Client) CreateAICall(request *CreateAICallRequest) (response *CreateAICallResponse, err error)

CreateAICall Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.

Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://www.tencentcloud.com/document/product/1229/66889).

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAICallWithContext

func (c *Client) CreateAICallWithContext(ctx context.Context, request *CreateAICallRequest) (response *CreateAICallResponse, err error)

CreateAICall Used to make outbound calls by invoking AI models, limited to the use of proprietary phone numbers. Currently, the Advanced version seats are available for a **limited time** free trial.

Before initiating a call, please ensure your AI model is compatible with OpenAI, Azure, or Minimax protocols, and visit the model provider's website to obtain relevant authentication information. For detailed feature descriptions, please refer to the documentation [Tencent Cloud Contact Center AI Call Platform](https://www.tencentcloud.com/document/product/1229/66889).

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAdminURL

func (c *Client) CreateAdminURL(request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)

CreateAdminURL This API is used to create a management access link.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAdminURLWithContext

func (c *Client) CreateAdminURLWithContext(ctx context.Context, request *CreateAdminURLRequest) (response *CreateAdminURLResponse, err error)

CreateAdminURL This API is used to create a management access link.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateAgentCruiseDialingCampaign

func (c *Client) CreateAgentCruiseDialingCampaign(request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)

CreateAgentCruiseDialingCampaign Agent Cruise-style Outbound Call.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) CreateAgentCruiseDialingCampaignWithContext

func (c *Client) CreateAgentCruiseDialingCampaignWithContext(ctx context.Context, request *CreateAgentCruiseDialingCampaignRequest) (response *CreateAgentCruiseDialingCampaignResponse, err error)

CreateAgentCruiseDialingCampaign Agent Cruise-style Outbound Call.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) CreateAutoCalloutTask

func (c *Client) CreateAutoCalloutTask(request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)

CreateAutoCalloutTask This API is used to create the automatic outbound call task.

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) CreateAutoCalloutTaskWithContext

func (c *Client) CreateAutoCalloutTaskWithContext(ctx context.Context, request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error)

CreateAutoCalloutTask This API is used to create the automatic outbound call task.

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) CreateCCCSkillGroup

func (c *Client) CreateCCCSkillGroup(request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)

CreateCCCSkillGroup This API is used to create a new skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"

func (*Client) CreateCCCSkillGroupWithContext

func (c *Client) CreateCCCSkillGroupWithContext(ctx context.Context, request *CreateCCCSkillGroupRequest) (response *CreateCCCSkillGroupResponse, err error)

CreateCCCSkillGroup This API is used to create a new skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"

func (*Client) CreateCallOutSession

func (c *Client) CreateCallOutSession(request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)

CreateCallOutSession This API is used to create outbound sessions. Currently, only dual call is supported. That is, firstly, please use the platform number to call the agent's cell phone. After the agent answers, then please make outbound calls to the user. Due to ISP frequency restrictions, the agent's phone number must first be added to the allowlist to avoid frequency control which may lead to the failure of the outbound call.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCallOutSessionWithContext

func (c *Client) CreateCallOutSessionWithContext(ctx context.Context, request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error)

CreateCallOutSession This API is used to create outbound sessions. Currently, only dual call is supported. That is, firstly, please use the platform number to call the agent's cell phone. After the agent answers, then please make outbound calls to the user. Due to ISP frequency restrictions, the agent's phone number must first be added to the allowlist to avoid frequency control which may lead to the failure of the outbound call.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISLIMITED = "FailedOperation.CalleeIsLimited"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_SEATSTATUSBUSY = "FailedOperation.SeatStatusBusy"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateExtension

func (c *Client) CreateExtension(request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)

CreateExtension This API is used to create the telephone account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) CreateExtensionWithContext

func (c *Client) CreateExtensionWithContext(ctx context.Context, request *CreateExtensionRequest) (response *CreateExtensionResponse, err error)

CreateExtension This API is used to create the telephone account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) CreateIVRSession

func (c *Client) CreateIVRSession(request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)

CreateIVRSession Create a session associated with IVR. This feature is supported only in the Advanced Version. Currently, it supports inbound and automatic outbound IVR types. Upon receiving the request, TCCC will first attempt to call the callee, then enter the IVR flow.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateIVRSessionWithContext

func (c *Client) CreateIVRSessionWithContext(ctx context.Context, request *CreateIVRSessionRequest) (response *CreateIVRSessionResponse, err error)

CreateIVRSession Create a session associated with IVR. This feature is supported only in the Advanced Version. Currently, it supports inbound and automatic outbound IVR types. Upon receiving the request, TCCC will first attempt to call the callee, then enter the IVR flow.

error code that may be returned:

FAILEDOPERATION_CALLOUTFAILED = "FailedOperation.CallOutFailed"
FAILEDOPERATION_CALLEEISBLACKUSER = "FailedOperation.CalleeIsBlackUser"
FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"
FAILEDOPERATION_CALLOUTRULEBLINDAREA = "FailedOperation.CalloutRuleBlindArea"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = "FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime"
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = "FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID"
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = "FailedOperation.CalloutRuleNotWorkTime"
FAILEDOPERATION_NOCALLOUTNUMBER = "FailedOperation.NoCallOutNumber"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED_BASEPACKAGEEXPIRED = "LimitExceeded.BasePackageExpired"

func (*Client) CreateOwnNumberApply

func (c *Client) CreateOwnNumberApply(request *CreateOwnNumberApplyRequest) (response *CreateOwnNumberApplyResponse, err error)

CreateOwnNumberApply Create customer's own number access review

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = "InvalidParameterValue.ApplyIDNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMINVALID = "InvalidParameterValue.PhoneNumInvalid"
INVALIDPARAMETERVALUE_WAITINGAPPROVALOVERFLOW = "InvalidParameterValue.WaitingApprovalOverflow"

func (*Client) CreateOwnNumberApplyWithContext

func (c *Client) CreateOwnNumberApplyWithContext(ctx context.Context, request *CreateOwnNumberApplyRequest) (response *CreateOwnNumberApplyResponse, err error)

CreateOwnNumberApply Create customer's own number access review

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = "InvalidParameterValue.ApplyIDNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMINVALID = "InvalidParameterValue.PhoneNumInvalid"
INVALIDPARAMETERVALUE_WAITINGAPPROVALOVERFLOW = "InvalidParameterValue.WaitingApprovalOverflow"

func (*Client) CreatePredictiveDialingCampaign

func (c *Client) CreatePredictiveDialingCampaign(request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)

CreatePredictiveDialingCampaign This API is used to create the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) CreatePredictiveDialingCampaignWithContext

func (c *Client) CreatePredictiveDialingCampaignWithContext(ctx context.Context, request *CreatePredictiveDialingCampaignRequest) (response *CreatePredictiveDialingCampaignResponse, err error)

CreatePredictiveDialingCampaign This API is used to create the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) CreateSDKLoginToken

func (c *Client) CreateSDKLoginToken(request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)

CreateSDKLoginToken This API is used to create the SDK log-in token.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled"

func (*Client) CreateSDKLoginTokenWithContext

func (c *Client) CreateSDKLoginTokenWithContext(ctx context.Context, request *CreateSDKLoginTokenRequest) (response *CreateSDKLoginTokenResponse, err error)

CreateSDKLoginToken This API is used to create the SDK log-in token.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
OPERATIONDENIED_UINDISABLED = "OperationDenied.UinDisabled"

func (*Client) CreateStaff

func (c *Client) CreateStaff(request *CreateStaffRequest) (response *CreateStaffResponse, err error)

CreateStaff This API is used to create the customer service account.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateStaffWithContext

func (c *Client) CreateStaffWithContext(ctx context.Context, request *CreateStaffRequest) (response *CreateStaffResponse, err error)

CreateStaff This API is used to create the customer service account.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteExtension

func (c *Client) DeleteExtension(request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)

DeleteExtension This API is used to delete telephone accounts.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteExtensionWithContext

func (c *Client) DeleteExtensionWithContext(ctx context.Context, request *DeleteExtensionRequest) (response *DeleteExtensionResponse, err error)

DeleteExtension This API is used to delete telephone accounts.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeletePredictiveDialingCampaign

func (c *Client) DeletePredictiveDialingCampaign(request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)

DeletePredictiveDialingCampaign This API is used to delete the predictive outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DeletePredictiveDialingCampaignWithContext

func (c *Client) DeletePredictiveDialingCampaignWithContext(ctx context.Context, request *DeletePredictiveDialingCampaignRequest) (response *DeletePredictiveDialingCampaignResponse, err error)

DeletePredictiveDialingCampaign This API is used to delete the predictive outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DeleteStaff

func (c *Client) DeleteStaff(request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)

DeleteStaff This API is used to delete the agent information.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DeleteStaffWithContext

func (c *Client) DeleteStaffWithContext(ctx context.Context, request *DeleteStaffRequest) (response *DeleteStaffResponse, err error)

DeleteStaff This API is used to delete the agent information.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeAICallExtractResult

func (c *Client) DescribeAICallExtractResult(request *DescribeAICallExtractResultRequest) (response *DescribeAICallExtractResultResponse, err error)

DescribeAICallExtractResult Obtain AI call content extraction result

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAICallExtractResultWithContext

func (c *Client) DescribeAICallExtractResultWithContext(ctx context.Context, request *DescribeAICallExtractResultRequest) (response *DescribeAICallExtractResultResponse, err error)

DescribeAICallExtractResult Obtain AI call content extraction result

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAgentCruiseDialingCampaign

func (c *Client) DescribeAgentCruiseDialingCampaign(request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)

DescribeAgentCruiseDialingCampaign Query Agent Cruise-style Outbound Call Task

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAgentCruiseDialingCampaignWithContext

func (c *Client) DescribeAgentCruiseDialingCampaignWithContext(ctx context.Context, request *DescribeAgentCruiseDialingCampaignRequest) (response *DescribeAgentCruiseDialingCampaignResponse, err error)

DescribeAgentCruiseDialingCampaign Query Agent Cruise-style Outbound Call Task

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAutoCalloutTask

func (c *Client) DescribeAutoCalloutTask(request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)

DescribeAutoCalloutTask This API is used to query automatic outbound call task details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAutoCalloutTaskWithContext

func (c *Client) DescribeAutoCalloutTaskWithContext(ctx context.Context, request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error)

DescribeAutoCalloutTask This API is used to query automatic outbound call task details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAutoCalloutTasks

func (c *Client) DescribeAutoCalloutTasks(request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)

DescribeAutoCalloutTasks Batch Query Automatic Outbound Call Tasks

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAutoCalloutTasksWithContext

func (c *Client) DescribeAutoCalloutTasksWithContext(ctx context.Context, request *DescribeAutoCalloutTasksRequest) (response *DescribeAutoCalloutTasksResponse, err error)

DescribeAutoCalloutTasks Batch Query Automatic Outbound Call Tasks

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeCCCBuyInfoList

func (c *Client) DescribeCCCBuyInfoList(request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)

DescribeCCCBuyInfoList This API is used to access the user purchasing information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCCCBuyInfoListWithContext

func (c *Client) DescribeCCCBuyInfoListWithContext(ctx context.Context, request *DescribeCCCBuyInfoListRequest) (response *DescribeCCCBuyInfoListResponse, err error)

DescribeCCCBuyInfoList This API is used to access the user purchasing information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCallInMetrics

func (c *Client) DescribeCallInMetrics(request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)

DescribeCallInMetrics This API is used to access the inbound real-time data statistical metrics.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeCallInMetricsWithContext

func (c *Client) DescribeCallInMetricsWithContext(ctx context.Context, request *DescribeCallInMetricsRequest) (response *DescribeCallInMetricsResponse, err error)

DescribeCallInMetrics This API is used to access the inbound real-time data statistical metrics.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeExtension

func (c *Client) DescribeExtension(request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)

DescribeExtension This API is used to access the telephone information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) DescribeExtensionWithContext

func (c *Client) DescribeExtensionWithContext(ctx context.Context, request *DescribeExtensionRequest) (response *DescribeExtensionResponse, err error)

DescribeExtension This API is used to access the telephone information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) DescribeExtensions

func (c *Client) DescribeExtensions(request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)

DescribeExtensions This API is used to query the telephone list information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeExtensionsWithContext

func (c *Client) DescribeExtensionsWithContext(ctx context.Context, request *DescribeExtensionsRequest) (response *DescribeExtensionsResponse, err error)

DescribeExtensions This API is used to query the telephone list information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeIvrAudioList

func (c *Client) DescribeIvrAudioList(request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)

DescribeIvrAudioList Query IVR Audio File List Information

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeIvrAudioListWithContext

func (c *Client) DescribeIvrAudioListWithContext(ctx context.Context, request *DescribeIvrAudioListRequest) (response *DescribeIvrAudioListResponse, err error)

DescribeIvrAudioList Query IVR Audio File List Information

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeNumbers

func (c *Client) DescribeNumbers(request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)

DescribeNumbers This API is used to query the number list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeNumbersWithContext

func (c *Client) DescribeNumbersWithContext(ctx context.Context, request *DescribeNumbersRequest) (response *DescribeNumbersResponse, err error)

DescribeNumbers This API is used to query the number list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePSTNActiveSessionList

func (c *Client) DescribePSTNActiveSessionList(request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)

DescribePSTNActiveSessionList This API is used to access the current calling session list.

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) DescribePSTNActiveSessionListWithContext

func (c *Client) DescribePSTNActiveSessionListWithContext(ctx context.Context, request *DescribePSTNActiveSessionListRequest) (response *DescribePSTNActiveSessionListResponse, err error)

DescribePSTNActiveSessionList This API is used to access the current calling session list.

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_OUTOFCOUNTLIMIT = "LimitExceeded.OutOfCountLimit"

func (*Client) DescribePredictiveDialingCampaign

func (c *Client) DescribePredictiveDialingCampaign(request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)

DescribePredictiveDialingCampaign This API is used to query the predictive outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePredictiveDialingCampaignWithContext

func (c *Client) DescribePredictiveDialingCampaignWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignRequest) (response *DescribePredictiveDialingCampaignResponse, err error)

DescribePredictiveDialingCampaign This API is used to query the predictive outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePredictiveDialingCampaigns

func (c *Client) DescribePredictiveDialingCampaigns(request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)

DescribePredictiveDialingCampaigns This API is used to query the predictive outbound call task list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePredictiveDialingCampaignsWithContext

func (c *Client) DescribePredictiveDialingCampaignsWithContext(ctx context.Context, request *DescribePredictiveDialingCampaignsRequest) (response *DescribePredictiveDialingCampaignsResponse, err error)

DescribePredictiveDialingCampaigns This API is used to query the predictive outbound call task list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePredictiveDialingSessions

func (c *Client) DescribePredictiveDialingSessions(request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)

DescribePredictiveDialingSessions This API is used to query the predictive outbound call list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePredictiveDialingSessionsWithContext

func (c *Client) DescribePredictiveDialingSessionsWithContext(ctx context.Context, request *DescribePredictiveDialingSessionsRequest) (response *DescribePredictiveDialingSessionsResponse, err error)

DescribePredictiveDialingSessions This API is used to query the predictive outbound call list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeProtectedTelCdr

func (c *Client) DescribeProtectedTelCdr(request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)

DescribeProtectedTelCdr This API is used to access protected phone service records and recordings for both inbound and outbound calls.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeProtectedTelCdrWithContext

func (c *Client) DescribeProtectedTelCdrWithContext(ctx context.Context, request *DescribeProtectedTelCdrRequest) (response *DescribeProtectedTelCdrResponse, err error)

DescribeProtectedTelCdr This API is used to access protected phone service records and recordings for both inbound and outbound calls.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeSkillGroupInfoList

func (c *Client) DescribeSkillGroupInfoList(request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)

DescribeSkillGroupInfoList This API is used to access the skill group information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeSkillGroupInfoListWithContext

func (c *Client) DescribeSkillGroupInfoListWithContext(ctx context.Context, request *DescribeSkillGroupInfoListRequest) (response *DescribeSkillGroupInfoListResponse, err error)

DescribeSkillGroupInfoList This API is used to access the skill group information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeStaffInfoList

func (c *Client) DescribeStaffInfoList(request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)

DescribeStaffInfoList This API is used to access the agent information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeStaffInfoListWithContext

func (c *Client) DescribeStaffInfoListWithContext(ctx context.Context, request *DescribeStaffInfoListRequest) (response *DescribeStaffInfoListResponse, err error)

DescribeStaffInfoList This API is used to access the agent information list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeStaffStatusMetrics

func (c *Client) DescribeStaffStatusMetrics(request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)

DescribeStaffStatusMetrics This API is used to access the real-time status statistics metrics of the agent.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeStaffStatusMetricsWithContext

func (c *Client) DescribeStaffStatusMetricsWithContext(ctx context.Context, request *DescribeStaffStatusMetricsRequest) (response *DescribeStaffStatusMetricsResponse, err error)

DescribeStaffStatusMetrics This API is used to access the real-time status statistics metrics of the agent.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelCallInfo

func (c *Client) DescribeTelCallInfo(request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)

DescribeTelCallInfo This API is used to access telephone consumption statistics by instance.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelCallInfoWithContext

func (c *Client) DescribeTelCallInfoWithContext(ctx context.Context, request *DescribeTelCallInfoRequest) (response *DescribeTelCallInfoResponse, err error)

DescribeTelCallInfo This API is used to access telephone consumption statistics by instance.

error code that may be returned:

FAILEDOPERATION_DUPLICATEDACCOUNT = "FailedOperation.DuplicatedAccount"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelCdr

func (c *Client) DescribeTelCdr(request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)

DescribeTelCdr This API is used to access phone service records and recordings.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelCdrWithContext

func (c *Client) DescribeTelCdrWithContext(ctx context.Context, request *DescribeTelCdrRequest) (response *DescribeTelCdrResponse, err error)

DescribeTelCdr This API is used to access phone service records and recordings.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelRecordAsr

func (c *Client) DescribeTelRecordAsr(request *DescribeTelRecordAsrRequest) (response *DescribeTelRecordAsrResponse, err error)

DescribeTelRecordAsr Pull conversation recording for text information

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTelRecordAsrWithContext

func (c *Client) DescribeTelRecordAsrWithContext(ctx context.Context, request *DescribeTelRecordAsrRequest) (response *DescribeTelRecordAsrResponse, err error)

DescribeTelRecordAsr Pull conversation recording for text information

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTelSession

func (c *Client) DescribeTelSession(request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)

DescribeTelSession This API is used to access the PSTN session information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DescribeTelSessionWithContext

func (c *Client) DescribeTelSessionWithContext(ctx context.Context, request *DescribeTelSessionRequest) (response *DescribeTelSessionResponse, err error)

DescribeTelSession This API is used to access the PSTN session information.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) DisableCCCPhoneNumber

func (c *Client) DisableCCCPhoneNumber(request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)

DisableCCCPhoneNumber This API is used to disable numbers.

error code that may be returned:

FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress"
INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber"
INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount"
INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress"
INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber"
INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress"
INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"
INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber"
INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"
INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat"
INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat"
INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed"
INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DisableCCCPhoneNumberWithContext

func (c *Client) DisableCCCPhoneNumberWithContext(ctx context.Context, request *DisableCCCPhoneNumberRequest) (response *DisableCCCPhoneNumberResponse, err error)

DisableCCCPhoneNumber This API is used to disable numbers.

error code that may be returned:

FAILEDOPERATION_CURSTATENOTALLOWMODIFY = "FailedOperation.CurStateNotAllowModify"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_DUPLICATEADDRESS = "InvalidParameter.DuplicateAddress"
INVALIDPARAMETER_DUPLICATEPHONENUMBER = "InvalidParameter.DuplicatePhoneNumber"
INVALIDPARAMETER_DUPLICATESIPACCOUNT = "InvalidParameter.DuplicateSipAccount"
INVALIDPARAMETER_ILLEGALADDRESS = "InvalidParameter.IllegalAddress"
INVALIDPARAMETER_ILLEGALPHONENUMBER = "InvalidParameter.IllegalPhoneNumber"
INVALIDPARAMETER_INVALIDADDRESS = "InvalidParameter.InvalidAddress"
INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"
INVALIDPARAMETER_INVALIDPHONENUMBER = "InvalidParameter.InvalidPhoneNumber"
INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"
INVALIDPARAMETER_SIPACCOUNTPASSWORDFORMAT = "InvalidParameter.SipAccountPasswordFormat"
INVALIDPARAMETER_SIPACCOUNTUSERFORMAT = "InvalidParameter.SipAccountUserFormat"
INVALIDPARAMETER_SIPTRUNKINUSED = "InvalidParameter.SipTrunkInUsed"
INVALIDPARAMETER_SIPTRUNKNOTFOUND = "InvalidParameter.SipTrunkNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) HangUpCall

func (c *Client) HangUpCall(request *HangUpCallRequest) (response *HangUpCallResponse, err error)

HangUpCall This API is used to hang up the phone.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) HangUpCallWithContext

func (c *Client) HangUpCallWithContext(ctx context.Context, request *HangUpCallRequest) (response *HangUpCallResponse, err error)

HangUpCall This API is used to hang up the phone.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"

func (*Client) ModifyExtension

func (c *Client) ModifyExtension(request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)

ModifyExtension This API is used to modify telephone accounts (binding skill group, binding agent account).

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) ModifyExtensionWithContext

func (c *Client) ModifyExtensionWithContext(ctx context.Context, request *ModifyExtensionRequest) (response *ModifyExtensionResponse, err error)

ModifyExtension This API is used to modify telephone accounts (binding skill group, binding agent account).

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) ModifyOwnNumberApply

func (c *Client) ModifyOwnNumberApply(request *ModifyOwnNumberApplyRequest) (response *ModifyOwnNumberApplyResponse, err error)

ModifyOwnNumberApply Modify customer's own number approval form

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = "InvalidParameterValue.ApplyIDNotExist"
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = "InvalidParameterValue.ErrorApplyStatus"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMINVALID = "InvalidParameterValue.PhoneNumInvalid"

func (*Client) ModifyOwnNumberApplyWithContext

func (c *Client) ModifyOwnNumberApplyWithContext(ctx context.Context, request *ModifyOwnNumberApplyRequest) (response *ModifyOwnNumberApplyResponse, err error)

ModifyOwnNumberApply Modify customer's own number approval form

error code that may be returned:

FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = "InvalidParameterValue.ApplyIDNotExist"
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = "InvalidParameterValue.ErrorApplyStatus"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMINVALID = "InvalidParameterValue.PhoneNumInvalid"

func (*Client) ModifyStaff

func (c *Client) ModifyStaff(request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)

ModifyStaff This API is used to modify the customer service account.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount"
INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError"
OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"

func (*Client) ModifyStaffPassword

func (c *Client) ModifyStaffPassword(request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)

ModifyStaffPassword Modify Agent's Password

error code that may be returned:

INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) ModifyStaffPasswordWithContext

func (c *Client) ModifyStaffPasswordWithContext(ctx context.Context, request *ModifyStaffPasswordRequest) (response *ModifyStaffPasswordResponse, err error)

ModifyStaffPassword Modify Agent's Password

error code that may be returned:

INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) ModifyStaffWithContext

func (c *Client) ModifyStaffWithContext(ctx context.Context, request *ModifyStaffRequest) (response *ModifyStaffResponse, err error)

ModifyStaff This API is used to modify the customer service account.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ACCOUNTNOTEXIST = "InvalidParameterValue.AccountNotExist"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"
INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = "InvalidParameterValue.PhoneNumIsBoundOtherAccount"
INVALIDPARAMETERVALUE_SKILLGROUPERROR = "InvalidParameterValue.SkillGroupError"
OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList"

func (*Client) PausePredictiveDialingCampaign

func (c *Client) PausePredictiveDialingCampaign(request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)

PausePredictiveDialingCampaign This API is used to pause the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) PausePredictiveDialingCampaignWithContext

func (c *Client) PausePredictiveDialingCampaignWithContext(ctx context.Context, request *PausePredictiveDialingCampaignRequest) (response *PausePredictiveDialingCampaignResponse, err error)

PausePredictiveDialingCampaign This API is used to pause the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ResetExtensionPassword

func (c *Client) ResetExtensionPassword(request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)

ResetExtensionPassword This API is used to reset the telephone register password.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ResetExtensionPasswordWithContext

func (c *Client) ResetExtensionPasswordWithContext(ctx context.Context, request *ResetExtensionPasswordRequest) (response *ResetExtensionPasswordResponse, err error)

ResetExtensionPassword This API is used to reset the telephone register password.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ResumePredictiveDialingCampaign

func (c *Client) ResumePredictiveDialingCampaign(request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)

ResumePredictiveDialingCampaign This API is used to resume the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ResumePredictiveDialingCampaignWithContext

func (c *Client) ResumePredictiveDialingCampaignWithContext(ctx context.Context, request *ResumePredictiveDialingCampaignRequest) (response *ResumePredictiveDialingCampaignResponse, err error)

ResumePredictiveDialingCampaign This API is used to resume the predictive outbound call task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) StopAutoCalloutTask

func (c *Client) StopAutoCalloutTask(request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)

StopAutoCalloutTask This API is used to stop the automatic outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) StopAutoCalloutTaskWithContext

func (c *Client) StopAutoCalloutTaskWithContext(ctx context.Context, request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error)

StopAutoCalloutTask This API is used to stop the automatic outbound call task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UnbindNumberCallOutSkillGroup

func (c *Client) UnbindNumberCallOutSkillGroup(request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)

UnbindNumberCallOutSkillGroup This API is used to unbind the number from the outbound call skill group.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UnbindNumberCallOutSkillGroupWithContext

func (c *Client) UnbindNumberCallOutSkillGroupWithContext(ctx context.Context, request *UnbindNumberCallOutSkillGroupRequest) (response *UnbindNumberCallOutSkillGroupResponse, err error)

UnbindNumberCallOutSkillGroup This API is used to unbind the number from the outbound call skill group.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UnbindStaffSkillGroupList

func (c *Client) UnbindStaffSkillGroupList(request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)

UnbindStaffSkillGroupList This API is used to unbind the agent's skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) UnbindStaffSkillGroupListWithContext

func (c *Client) UnbindStaffSkillGroupListWithContext(ctx context.Context, request *UnbindStaffSkillGroupListRequest) (response *UnbindStaffSkillGroupListResponse, err error)

UnbindStaffSkillGroupList This API is used to unbind the agent's skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

func (*Client) UpdateCCCSkillGroup

func (c *Client) UpdateCCCSkillGroup(request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)

UpdateCCCSkillGroup This API is used to update the skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"

func (*Client) UpdateCCCSkillGroupWithContext

func (c *Client) UpdateCCCSkillGroupWithContext(ctx context.Context, request *UpdateCCCSkillGroupRequest) (response *UpdateCCCSkillGroupResponse, err error)

UpdateCCCSkillGroup This API is used to update the skill group.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SKILLGROUPEXIST = "InvalidParameterValue.SkillGroupExist"

func (*Client) UpdatePredictiveDialingCampaign

func (c *Client) UpdatePredictiveDialingCampaign(request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)

UpdatePredictiveDialingCampaign This API is used to update the predictive outbound call task before it starts.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdatePredictiveDialingCampaignWithContext

func (c *Client) UpdatePredictiveDialingCampaignWithContext(ctx context.Context, request *UpdatePredictiveDialingCampaignRequest) (response *UpdatePredictiveDialingCampaignResponse, err error)

UpdatePredictiveDialingCampaign This API is used to update the predictive outbound call task before it starts.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UploadIvrAudio

func (c *Client) UploadIvrAudio(request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)

UploadIvrAudio Upload audio files used in IVR, with a daily upload limit of 50 files. (It is recommended to use temporary links stored in Tencent Cloud Cos for the audio file URL in the parameters)

error code that may be returned:

FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) UploadIvrAudioWithContext

func (c *Client) UploadIvrAudioWithContext(ctx context.Context, request *UploadIvrAudioRequest) (response *UploadIvrAudioResponse, err error)

UploadIvrAudio Upload audio files used in IVR, with a daily upload limit of 50 files. (It is recommended to use temporary links stored in Tencent Cloud Cos for the audio file URL in the parameters)

error code that may be returned:

FAILEDOPERATION_UPLOADFILEOVERFLOW = "FailedOperation.UploadFileOverflow"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

type CreateAIAgentCallRequest

type CreateAIAgentCallRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// AI agent id.
	AIAgentId *uint64 `json:"AIAgentId,omitnil,omitempty" name:"AIAgentId"`

	// Callee number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Caller number list
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Prompt variable.
	PromptVariables []*Variable `json:"PromptVariables,omitnil,omitempty" name:"PromptVariables"`
}

func NewCreateAIAgentCallRequest

func NewCreateAIAgentCallRequest() (request *CreateAIAgentCallRequest)

func (*CreateAIAgentCallRequest) FromJsonString

func (r *CreateAIAgentCallRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIAgentCallRequest) ToJsonString

func (r *CreateAIAgentCallRequest) ToJsonString() string

type CreateAIAgentCallRequestParams

type CreateAIAgentCallRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// AI agent id.
	AIAgentId *uint64 `json:"AIAgentId,omitnil,omitempty" name:"AIAgentId"`

	// Callee number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Caller number list
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Prompt variable.
	PromptVariables []*Variable `json:"PromptVariables,omitnil,omitempty" name:"PromptVariables"`
}

Predefined struct for user

type CreateAIAgentCallResponse

type CreateAIAgentCallResponse struct {
	*tchttp.BaseResponse
	Response *CreateAIAgentCallResponseParams `json:"Response"`
}

func NewCreateAIAgentCallResponse

func NewCreateAIAgentCallResponse() (response *CreateAIAgentCallResponse)

func (*CreateAIAgentCallResponse) FromJsonString

func (r *CreateAIAgentCallResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIAgentCallResponse) ToJsonString

func (r *CreateAIAgentCallResponse) ToJsonString() string

type CreateAIAgentCallResponseParams

type CreateAIAgentCallResponseParams struct {
	// Newly created session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAICallRequest

type CreateAICallRequest struct {
	*tchttp.BaseRequest

	// Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Called number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// ## Identity
	// You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses.
	//
	// ## Style Guardrails
	// Be Concise: Respond succinctly, addressing one topic at most.
	// Embrace Variety: Use diverse language and rephrasing to enhance clarity without repeating content.
	// Be Conversational: Use everyday language, making the chat feel like talking to a friend.
	// Be Proactive: Lead the conversation, often wrapping up with a question or next-step suggestion.
	// Avoid multiple questions in a single response.
	// Get clarity: If the user only partially answers a question, or if the answer is unclear, keep asking to get clarity.
	// Use a colloquial way of referring to the date (like Friday, January 14th, or Tuesday, January 12th, 2024 at 8am).
	//
	// ## Response Guideline
	// Adapt and Guess: Try to understand transcripts that may contain transcription errors. Avoid mentioning "transcription error" in the response.
	// Stay in Character: Keep conversations within your role's scope, guiding them back creatively without repeating.
	// Ensure Fluid Dialogue: Respond in a role-appropriate, direct manner to maintain a smooth conversation flow.
	//
	// ## Task
	// You will follow the steps below, do not skip steps, and only ask up to one question in response.
	// If at any time the user showed anger or wanted a human agent, call transfer_call to transfer to a human representative.
	// 1. Begin with a self-introduction and verify if callee is Cindy.
	//   - if callee is not Cindy, call end_call to hang up, say sorry for the confusion when hanging up.
	//   - if Cindy is not available, call end_call politely to hang up, say you will call back later when hanging up.
	// 2. Inform Cindy she has an annual body check coming up on April 4th, 2024 at 10am PDT. Check if Cindy is available.
	//   - If not, tell Cindy to reschedule online and jump to step 5.
	// 3. Ask Cindy if there's anything that the doctor should know before the annual checkup.
	//   - Ask followup questions as needed to assess the severity of the issue, and understand how it has progressed.
	// 4. Tell Cindy to not eat or drink that day before the checkup. Also tell Cindy to give you a callback if there's any changes in health condition.
	// 5. Ask Cindy if she has any questions, and if so, answer them until there are no questions.
	//   - If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions.
	//   - If user do not have any questions, call function end_call to hang up.
	SystemPrompt *string `json:"SystemPrompt,omitnil,omitempty" name:"SystemPrompt"`

	// Model interface protocol types, currently compatible with three protocol types:
	//
	// - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
	// - Azure protocol:"azure"
	// - Minimax protocol:"minimax"
	LLMType *string `json:"LLMType,omitnil,omitempty" name:"LLMType"`

	// Model name, such as
	//
	// - OpenAI protocol
	// "gpt-4o-mini","gpt-4o","deepseek-chat";
	//
	// - Azure protocol
	// "gpt-4o-mini", "gpt-4o";
	//
	// - Minimax protocol
	// "deepseek-chat".
	Model *string `json:"Model,omitnil,omitempty" name:"Model"`

	// Model API key, for authentication information, please refer to the respective model's official website
	//
	// - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [Hunyuan](https://intl.cloud.tencent.com/document/product/1729/111008?from_cn_redirect=1), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
	//
	// - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
	//
	// - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
	APIKey *string `json:"APIKey,omitnil,omitempty" name:"APIKey"`

	// Model interface address
	//
	// - OpenAI protocol
	// GPT:"https://api.openai.com/v1/"
	// Deepseek:"https://api.deepseek.com/v1"
	//
	// - Azure protocol
	//  "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
	//
	// - Minimax protocol
	// "https://api.minimax.chat/v1"
	APIUrl *string `json:"APIUrl,omitnil,omitempty" name:"APIUrl"`

	// The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
	//
	// Chinese:
	// ZhiMei: Zhimei, customer service female voice
	// ZhiXi: Zhixi, general female voice
	// ZhiQi: Zhiqi, customer service female voice
	// ZhiTian: Zhitian, female child voice
	// AiXiaoJing: Ai Xiaojing, dialogue female voice
	//
	// English:
	// WeRose:English Female Voice
	// Monika:English Female Voice
	//
	// Japanese:
	// Nanami
	//
	// Korean:
	// SunHi
	//
	// Indonesian (Indonesia):
	// Gadis
	//
	// Malay (Malaysia):
	// Yasmin
	//
	//  Tamil (Malaysia):
	// Kani
	//
	// Thai (Thailand):
	// Achara
	//
	// Vietnamese (Vietnam):
	// HoaiMy
	//
	VoiceType *string `json:"VoiceType,omitnil,omitempty" name:"VoiceType"`

	// Caller number list
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Used to set the AI Agent Greeting.
	WelcomeMessage *string `json:"WelcomeMessage,omitnil,omitempty" name:"WelcomeMessage"`

	// 0: Use welcomeMessage (if empty, the callee speaks first; if not empty, the bot speaks first)
	// 1:   Use AI to automatically generate welcomeMessage and speak first based on the prompt
	WelcomeType *int64 `json:"WelcomeType,omitnil,omitempty" name:"WelcomeType"`

	// 0: interruptible by default, 1: high priority and not interruptible.
	WelcomeMessagePriority *int64 `json:"WelcomeMessagePriority,omitnil,omitempty" name:"WelcomeMessagePriority"`

	// Maximum Waiting Duration (milliseconds), default is 60 seconds, if the user does not speak within this time, the call is automatically terminated
	MaxDuration *int64 `json:"MaxDuration,omitnil,omitempty" name:"MaxDuration"`

	// ASR Supported Languages, default is "zh" Chinese,
	// Fill in the array with up to 4 languages, the first is the primary language for recognition, followed by optional languages,
	// Note: When the primary language is a Chinese dialect, optional languages are invalid
	// Currently, the supported languages are as follows. The English name of the language is on the left side of the equals sign, and the value to be filled in the Language field is on the right side, following ISO639:
	// 1. Chinese = "zh" # Chinese
	// 2. Chinese_TW = "zh-TW" # Taiwan (China)
	// 3. Chinese_DIALECT = "zh-dialect" # Chinese Dialect
	// 4. English = "en" # English
	// 5. Vietnamese = "vi" # Vietnamese
	// 6. Japanese = "ja" # Japanese
	// 7. Korean = "ko" # Korean
	// 8. Indonesia = "id" # Indonesian
	// 9. Thai = "th" # Thai
	// 10. Portuguese = "pt" # Portuguese
	// 11. Turkish = "tr" # Turkish
	// 12. Arabic = "ar" # Arabic
	// 13. Spanish = "es" # Spanish
	// 14. Hindi = "hi" # Hindi
	// 15. French = "fr" # French
	// 16. Malay = "ms" # Malay
	// 17. Filipino = "fil" # Filipino
	// 18. German = "de" # German
	// 19. Italian = "it" # Italian
	// 20. Russian = "ru" # Russian
	Languages []*string `json:"Languages,omitnil,omitempty" name:"Languages"`

	// Interrupt ai speaking mode. default is 0. 0 indicates automatic interruption and 1 indicates no interruption.
	InterruptMode *int64 `json:"InterruptMode,omitnil,omitempty" name:"InterruptMode"`

	// Used when InterruptMode is 0, unit in milliseconds, default is 500ms. It means that the server-side detects ongoing vocal input for the InterruptSpeechDuration milliseconds and then interrupts.
	InterruptSpeechDuration *int64 `json:"InterruptSpeechDuration,omitnil,omitempty" name:"InterruptSpeechDuration"`

	// Whether the model supports (or enables) call_end function calling
	EndFunctionEnable *bool `json:"EndFunctionEnable,omitnil,omitempty" name:"EndFunctionEnable"`

	// Effective when EndFunctionEnable is true; the description of call_end function calling, default is "End the call when user has to leave (like says bye) or you are instructed to do so."
	EndFunctionDesc *string `json:"EndFunctionDesc,omitnil,omitempty" name:"EndFunctionDesc"`

	// Whether the model supports (or enables) transfer_to_human function calling.
	TransferFunctionEnable *bool `json:"TransferFunctionEnable,omitnil,omitempty" name:"TransferFunctionEnable"`

	// Takes effect when transferfunctionenable is true: transfer to human configuration.
	TransferItems []*AITransferItem `json:"TransferItems,omitnil,omitempty" name:"TransferItems"`

	// The duration after which the user hasn't spoken to trigger a notification, minimum 10 seconds, default 10 seconds
	NotifyDuration *int64 `json:"NotifyDuration,omitnil,omitempty" name:"NotifyDuration"`

	// The AI prompt when NotifyDuration has passed without the user speaking, default is "Sorry, I didn't hear you clearly. Can you repeat that?"
	NotifyMessage *string `json:"NotifyMessage,omitnil,omitempty" name:"NotifyMessage"`

	// Maximum number of times to trigger ai prompt sound, unlimited by default.
	NotifyMaxCount *uint64 `json:"NotifyMaxCount,omitnil,omitempty" name:"NotifyMaxCount"`

	// <p>And VoiceType field needs to select one, here is to use your own custom TTS, VoiceType is some built-in sound qualities</p>
	// <ul>
	// <li>Tencent TTS<br>
	// For configuration, please refer to <a href="https://intl.cloud.tencent.com/document/product/1073/92668?from_cn_redirect=1#55924b56-1a73-4663-a7a1-a8dd82d6e823" target="_blank">Tencent Cloud TTS documentation link</a></li>
	// </ul>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//     &quot;TTSType&quot;: &quot;tencent&quot;, // String TTS type, currently supports &quot;tencent&quot; and "minixmax", other vendors support in progress
	//     &quot;AppId&quot;: &quot;Your application ID&quot;, // String required
	//     &quot;SecretId&quot;: &quot;Your Secret ID&quot;, // String Required
	//     &quot;SecretKey&quot;:  &quot;Your Secret Key&quot;, // String Required
	//     &quot;VoiceType&quot;: 101001, // Integer Required, Sound quality ID, includes standard and premium sound quality. Premium sound quality is more realistic and differently priced than standard sound quality. See TTS billing overview for details. For the full list of sound quality IDs, see the TTS sound quality list.
	//     "Speed": 1.25, // Integer Optional, speech speed, range: [-2,6], corresponding to different speeds: -2: represents 0.6x -1: represents 0.8x 0: represents 1.0x (default) 1: represents 1.2x 2: represents 1.5x 6: represents 2.5x For more precise speed control, you can retain two decimal places, such as 0.5/1.25/2.81, etc. For parameter value to actual speed conversion, refer to Speed Conversion
	//     &quot;Volume&quot;: 5, // Integer Optional, Volume level, range: [0,10], corresponding to 11 levels of volume, default is 0, which represents normal volume.
	//     &quot;PrimaryLanguage&quot;: 1, // Integer Optional, Primary language 1- Chinese (default) 2- English 3- Japanese
	//     &quot;FastVoiceType&quot;: &quot;xxxx&quot;   // Optional parameter, Fast VRS parameter
	//   }
	// </code></pre>
	//
	//   </div></div><ul>
	//
	// </div></div><ul>
	// <li>Azure TTS<br>
	// For configuration, refer to the<a href="https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice" target="_blank">Azure TTS documentation</a></li>
	// </ul>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//     &quot;TTSType&quot;: &quot;azure&quot;, // Required: String TTS type
	//     &quot;SubscriptionKey&quot;: &quot;xxxxxxxx&quot;, // Required: String subscription key
	//     &quot;Region&quot;: &quot;chinanorth3&quot;,  // Required: String subscription region
	//     &quot;VoiceName&quot;: &quot;zh-CN-XiaoxiaoNeural&quot;, // Required: String Timbre Name required
	//     &quot;Language&quot;: &quot;zh-CN&quot;, // Required: String Language for synthesis
	//     &quot;Rate&quot;: 1 // Optional: float Playback Speed 0.5-2 default is 1
	// }
	// </code></pre>
	//
	// </div></div><ul>
	// <li>Custom</li>
	// </ul>
	// <p>TTS<br>
	// Please refer to the specific protocol standards in the <a href="https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw" target="_blank">Tencent documentation</a></p>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//   &quot;TTSType&quot;: &quot;custom&quot;, // Required String
	//   &quot;APIKey&quot;: &quot;ApiKey&quot;, // Required String for Authentication
	//   &quot;APIUrl&quot;: &quot;http://0.0.0.0:8080/stream-audio&quot; // Required String, TTS API URL
	//   &quot;AudioFormat&quot;: &quot;wav&quot;, // String, optional, expected audio format, such as mp3, ogg_opus, pcm, wav, default is wav, currently only pcm and wav are supported,
	//   &quot;SampleRate&quot;: 16000,  // Integer, optional, audio sample rate, default is 16000 (16k), recommended value is 16000
	//   &quot;AudioChannel&quot;: 1,    // Integer, optional, number of audio channels, values: 1 or 2, default is 1
	// }
	// </code></pre>
	//
	// </div></div>
	CustomTTSConfig *string `json:"CustomTTSConfig,omitnil,omitempty" name:"CustomTTSConfig"`

	// Prompt word variable.
	PromptVariables []*Variable `json:"PromptVariables,omitnil,omitempty" name:"PromptVariables"`

	// Automatic speech recognition vad time ranges from 240 to 2000, with a default of 1000, measured in milliseconds. smaller values will make automatic speech recognition segment faster.
	VadSilenceTime *int64 `json:"VadSilenceTime,omitnil,omitempty" name:"VadSilenceTime"`

	// Call content extraction configuration.
	ExtractConfig []*AICallExtractConfigElement `json:"ExtractConfig,omitnil,omitempty" name:"ExtractConfig"`
}

func NewCreateAICallRequest

func NewCreateAICallRequest() (request *CreateAICallRequest)

func (*CreateAICallRequest) FromJsonString

func (r *CreateAICallRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAICallRequest) ToJsonString

func (r *CreateAICallRequest) ToJsonString() string

type CreateAICallRequestParams

type CreateAICallRequestParams struct {
	// Application ID (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Called number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// ## Identity
	// You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses.
	//
	// ## Style Guardrails
	// Be Concise: Respond succinctly, addressing one topic at most.
	// Embrace Variety: Use diverse language and rephrasing to enhance clarity without repeating content.
	// Be Conversational: Use everyday language, making the chat feel like talking to a friend.
	// Be Proactive: Lead the conversation, often wrapping up with a question or next-step suggestion.
	// Avoid multiple questions in a single response.
	// Get clarity: If the user only partially answers a question, or if the answer is unclear, keep asking to get clarity.
	// Use a colloquial way of referring to the date (like Friday, January 14th, or Tuesday, January 12th, 2024 at 8am).
	//
	// ## Response Guideline
	// Adapt and Guess: Try to understand transcripts that may contain transcription errors. Avoid mentioning "transcription error" in the response.
	// Stay in Character: Keep conversations within your role's scope, guiding them back creatively without repeating.
	// Ensure Fluid Dialogue: Respond in a role-appropriate, direct manner to maintain a smooth conversation flow.
	//
	// ## Task
	// You will follow the steps below, do not skip steps, and only ask up to one question in response.
	// If at any time the user showed anger or wanted a human agent, call transfer_call to transfer to a human representative.
	// 1. Begin with a self-introduction and verify if callee is Cindy.
	//   - if callee is not Cindy, call end_call to hang up, say sorry for the confusion when hanging up.
	//   - if Cindy is not available, call end_call politely to hang up, say you will call back later when hanging up.
	// 2. Inform Cindy she has an annual body check coming up on April 4th, 2024 at 10am PDT. Check if Cindy is available.
	//   - If not, tell Cindy to reschedule online and jump to step 5.
	// 3. Ask Cindy if there's anything that the doctor should know before the annual checkup.
	//   - Ask followup questions as needed to assess the severity of the issue, and understand how it has progressed.
	// 4. Tell Cindy to not eat or drink that day before the checkup. Also tell Cindy to give you a callback if there's any changes in health condition.
	// 5. Ask Cindy if she has any questions, and if so, answer them until there are no questions.
	//   - If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions.
	//   - If user do not have any questions, call function end_call to hang up.
	SystemPrompt *string `json:"SystemPrompt,omitnil,omitempty" name:"SystemPrompt"`

	// Model interface protocol types, currently compatible with three protocol types:
	//
	// - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
	// - Azure protocol:"azure"
	// - Minimax protocol:"minimax"
	LLMType *string `json:"LLMType,omitnil,omitempty" name:"LLMType"`

	// Model name, such as
	//
	// - OpenAI protocol
	// "gpt-4o-mini","gpt-4o","deepseek-chat";
	//
	// - Azure protocol
	// "gpt-4o-mini", "gpt-4o";
	//
	// - Minimax protocol
	// "deepseek-chat".
	Model *string `json:"Model,omitnil,omitempty" name:"Model"`

	// Model API key, for authentication information, please refer to the respective model's official website
	//
	// - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [Hunyuan](https://intl.cloud.tencent.com/document/product/1729/111008?from_cn_redirect=1), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
	//
	// - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
	//
	// - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
	APIKey *string `json:"APIKey,omitnil,omitempty" name:"APIKey"`

	// Model interface address
	//
	// - OpenAI protocol
	// GPT:"https://api.openai.com/v1/"
	// Deepseek:"https://api.deepseek.com/v1"
	//
	// - Azure protocol
	//  "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
	//
	// - Minimax protocol
	// "https://api.minimax.chat/v1"
	APIUrl *string `json:"APIUrl,omitnil,omitempty" name:"APIUrl"`

	// The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
	//
	// Chinese:
	// ZhiMei: Zhimei, customer service female voice
	// ZhiXi: Zhixi, general female voice
	// ZhiQi: Zhiqi, customer service female voice
	// ZhiTian: Zhitian, female child voice
	// AiXiaoJing: Ai Xiaojing, dialogue female voice
	//
	// English:
	// WeRose:English Female Voice
	// Monika:English Female Voice
	//
	// Japanese:
	// Nanami
	//
	// Korean:
	// SunHi
	//
	// Indonesian (Indonesia):
	// Gadis
	//
	// Malay (Malaysia):
	// Yasmin
	//
	//  Tamil (Malaysia):
	// Kani
	//
	// Thai (Thailand):
	// Achara
	//
	// Vietnamese (Vietnam):
	// HoaiMy
	//
	VoiceType *string `json:"VoiceType,omitnil,omitempty" name:"VoiceType"`

	// Caller number list
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Used to set the AI Agent Greeting.
	WelcomeMessage *string `json:"WelcomeMessage,omitnil,omitempty" name:"WelcomeMessage"`

	// 0: Use welcomeMessage (if empty, the callee speaks first; if not empty, the bot speaks first)
	// 1:   Use AI to automatically generate welcomeMessage and speak first based on the prompt
	WelcomeType *int64 `json:"WelcomeType,omitnil,omitempty" name:"WelcomeType"`

	// 0: interruptible by default, 1: high priority and not interruptible.
	WelcomeMessagePriority *int64 `json:"WelcomeMessagePriority,omitnil,omitempty" name:"WelcomeMessagePriority"`

	// Maximum Waiting Duration (milliseconds), default is 60 seconds, if the user does not speak within this time, the call is automatically terminated
	MaxDuration *int64 `json:"MaxDuration,omitnil,omitempty" name:"MaxDuration"`

	// ASR Supported Languages, default is "zh" Chinese,
	// Fill in the array with up to 4 languages, the first is the primary language for recognition, followed by optional languages,
	// Note: When the primary language is a Chinese dialect, optional languages are invalid
	// Currently, the supported languages are as follows. The English name of the language is on the left side of the equals sign, and the value to be filled in the Language field is on the right side, following ISO639:
	// 1. Chinese = "zh" # Chinese
	// 2. Chinese_TW = "zh-TW" # Taiwan (China)
	// 3. Chinese_DIALECT = "zh-dialect" # Chinese Dialect
	// 4. English = "en" # English
	// 5. Vietnamese = "vi" # Vietnamese
	// 6. Japanese = "ja" # Japanese
	// 7. Korean = "ko" # Korean
	// 8. Indonesia = "id" # Indonesian
	// 9. Thai = "th" # Thai
	// 10. Portuguese = "pt" # Portuguese
	// 11. Turkish = "tr" # Turkish
	// 12. Arabic = "ar" # Arabic
	// 13. Spanish = "es" # Spanish
	// 14. Hindi = "hi" # Hindi
	// 15. French = "fr" # French
	// 16. Malay = "ms" # Malay
	// 17. Filipino = "fil" # Filipino
	// 18. German = "de" # German
	// 19. Italian = "it" # Italian
	// 20. Russian = "ru" # Russian
	Languages []*string `json:"Languages,omitnil,omitempty" name:"Languages"`

	// Interrupt ai speaking mode. default is 0. 0 indicates automatic interruption and 1 indicates no interruption.
	InterruptMode *int64 `json:"InterruptMode,omitnil,omitempty" name:"InterruptMode"`

	// Used when InterruptMode is 0, unit in milliseconds, default is 500ms. It means that the server-side detects ongoing vocal input for the InterruptSpeechDuration milliseconds and then interrupts.
	InterruptSpeechDuration *int64 `json:"InterruptSpeechDuration,omitnil,omitempty" name:"InterruptSpeechDuration"`

	// Whether the model supports (or enables) call_end function calling
	EndFunctionEnable *bool `json:"EndFunctionEnable,omitnil,omitempty" name:"EndFunctionEnable"`

	// Effective when EndFunctionEnable is true; the description of call_end function calling, default is "End the call when user has to leave (like says bye) or you are instructed to do so."
	EndFunctionDesc *string `json:"EndFunctionDesc,omitnil,omitempty" name:"EndFunctionDesc"`

	// Whether the model supports (or enables) transfer_to_human function calling.
	TransferFunctionEnable *bool `json:"TransferFunctionEnable,omitnil,omitempty" name:"TransferFunctionEnable"`

	// Takes effect when transferfunctionenable is true: transfer to human configuration.
	TransferItems []*AITransferItem `json:"TransferItems,omitnil,omitempty" name:"TransferItems"`

	// The duration after which the user hasn't spoken to trigger a notification, minimum 10 seconds, default 10 seconds
	NotifyDuration *int64 `json:"NotifyDuration,omitnil,omitempty" name:"NotifyDuration"`

	// The AI prompt when NotifyDuration has passed without the user speaking, default is "Sorry, I didn't hear you clearly. Can you repeat that?"
	NotifyMessage *string `json:"NotifyMessage,omitnil,omitempty" name:"NotifyMessage"`

	// Maximum number of times to trigger ai prompt sound, unlimited by default.
	NotifyMaxCount *uint64 `json:"NotifyMaxCount,omitnil,omitempty" name:"NotifyMaxCount"`

	// <p>And VoiceType field needs to select one, here is to use your own custom TTS, VoiceType is some built-in sound qualities</p>
	// <ul>
	// <li>Tencent TTS<br>
	// For configuration, please refer to <a href="https://intl.cloud.tencent.com/document/product/1073/92668?from_cn_redirect=1#55924b56-1a73-4663-a7a1-a8dd82d6e823" target="_blank">Tencent Cloud TTS documentation link</a></li>
	// </ul>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//     &quot;TTSType&quot;: &quot;tencent&quot;, // String TTS type, currently supports &quot;tencent&quot; and "minixmax", other vendors support in progress
	//     &quot;AppId&quot;: &quot;Your application ID&quot;, // String required
	//     &quot;SecretId&quot;: &quot;Your Secret ID&quot;, // String Required
	//     &quot;SecretKey&quot;:  &quot;Your Secret Key&quot;, // String Required
	//     &quot;VoiceType&quot;: 101001, // Integer Required, Sound quality ID, includes standard and premium sound quality. Premium sound quality is more realistic and differently priced than standard sound quality. See TTS billing overview for details. For the full list of sound quality IDs, see the TTS sound quality list.
	//     "Speed": 1.25, // Integer Optional, speech speed, range: [-2,6], corresponding to different speeds: -2: represents 0.6x -1: represents 0.8x 0: represents 1.0x (default) 1: represents 1.2x 2: represents 1.5x 6: represents 2.5x For more precise speed control, you can retain two decimal places, such as 0.5/1.25/2.81, etc. For parameter value to actual speed conversion, refer to Speed Conversion
	//     &quot;Volume&quot;: 5, // Integer Optional, Volume level, range: [0,10], corresponding to 11 levels of volume, default is 0, which represents normal volume.
	//     &quot;PrimaryLanguage&quot;: 1, // Integer Optional, Primary language 1- Chinese (default) 2- English 3- Japanese
	//     &quot;FastVoiceType&quot;: &quot;xxxx&quot;   // Optional parameter, Fast VRS parameter
	//   }
	// </code></pre>
	//
	//   </div></div><ul>
	//
	// </div></div><ul>
	// <li>Azure TTS<br>
	// For configuration, refer to the<a href="https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice" target="_blank">Azure TTS documentation</a></li>
	// </ul>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//     &quot;TTSType&quot;: &quot;azure&quot;, // Required: String TTS type
	//     &quot;SubscriptionKey&quot;: &quot;xxxxxxxx&quot;, // Required: String subscription key
	//     &quot;Region&quot;: &quot;chinanorth3&quot;,  // Required: String subscription region
	//     &quot;VoiceName&quot;: &quot;zh-CN-XiaoxiaoNeural&quot;, // Required: String Timbre Name required
	//     &quot;Language&quot;: &quot;zh-CN&quot;, // Required: String Language for synthesis
	//     &quot;Rate&quot;: 1 // Optional: float Playback Speed 0.5-2 default is 1
	// }
	// </code></pre>
	//
	// </div></div><ul>
	// <li>Custom</li>
	// </ul>
	// <p>TTS<br>
	// Please refer to the specific protocol standards in the <a href="https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw" target="_blank">Tencent documentation</a></p>
	// <div><div class="v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class"><pre class="v-md-prism-"><code>{
	//   &quot;TTSType&quot;: &quot;custom&quot;, // Required String
	//   &quot;APIKey&quot;: &quot;ApiKey&quot;, // Required String for Authentication
	//   &quot;APIUrl&quot;: &quot;http://0.0.0.0:8080/stream-audio&quot; // Required String, TTS API URL
	//   &quot;AudioFormat&quot;: &quot;wav&quot;, // String, optional, expected audio format, such as mp3, ogg_opus, pcm, wav, default is wav, currently only pcm and wav are supported,
	//   &quot;SampleRate&quot;: 16000,  // Integer, optional, audio sample rate, default is 16000 (16k), recommended value is 16000
	//   &quot;AudioChannel&quot;: 1,    // Integer, optional, number of audio channels, values: 1 or 2, default is 1
	// }
	// </code></pre>
	//
	// </div></div>
	CustomTTSConfig *string `json:"CustomTTSConfig,omitnil,omitempty" name:"CustomTTSConfig"`

	// Prompt word variable.
	PromptVariables []*Variable `json:"PromptVariables,omitnil,omitempty" name:"PromptVariables"`

	// Automatic speech recognition vad time ranges from 240 to 2000, with a default of 1000, measured in milliseconds. smaller values will make automatic speech recognition segment faster.
	VadSilenceTime *int64 `json:"VadSilenceTime,omitnil,omitempty" name:"VadSilenceTime"`

	// Call content extraction configuration.
	ExtractConfig []*AICallExtractConfigElement `json:"ExtractConfig,omitnil,omitempty" name:"ExtractConfig"`
}

Predefined struct for user

type CreateAICallResponse

type CreateAICallResponse struct {
	*tchttp.BaseResponse
	Response *CreateAICallResponseParams `json:"Response"`
}

func NewCreateAICallResponse

func NewCreateAICallResponse() (response *CreateAICallResponse)

func (*CreateAICallResponse) FromJsonString

func (r *CreateAICallResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAICallResponse) ToJsonString

func (r *CreateAICallResponse) ToJsonString() string

type CreateAICallResponseParams

type CreateAICallResponseParams struct {
	// Newly created session ID.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAdminURLRequest

type CreateAdminURLRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Admin account.
	SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"`
}

func NewCreateAdminURLRequest

func NewCreateAdminURLRequest() (request *CreateAdminURLRequest)

func (*CreateAdminURLRequest) FromJsonString

func (r *CreateAdminURLRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAdminURLRequest) ToJsonString

func (r *CreateAdminURLRequest) ToJsonString() string

type CreateAdminURLRequestParams

type CreateAdminURLRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Admin account.
	SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"`
}

Predefined struct for user

type CreateAdminURLResponse

type CreateAdminURLResponse struct {
	*tchttp.BaseResponse
	Response *CreateAdminURLResponseParams `json:"Response"`
}

func NewCreateAdminURLResponse

func NewCreateAdminURLResponse() (response *CreateAdminURLResponse)

func (*CreateAdminURLResponse) FromJsonString

func (r *CreateAdminURLResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAdminURLResponse) ToJsonString

func (r *CreateAdminURLResponse) ToJsonString() string

type CreateAdminURLResponseParams

type CreateAdminURLResponseParams struct {
	// Log-In link.
	URL *string `json:"URL,omitnil,omitempty" name:"URL"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAgentCruiseDialingCampaignRequest

type CreateAgentCruiseDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent account.
	Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"`

	// Single-Round concurrent call volume 1-20.
	ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// Caller custom data, maximum length 1024.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

func NewCreateAgentCruiseDialingCampaignRequest

func NewCreateAgentCruiseDialingCampaignRequest() (request *CreateAgentCruiseDialingCampaignRequest)

func (*CreateAgentCruiseDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAgentCruiseDialingCampaignRequest) ToJsonString

type CreateAgentCruiseDialingCampaignRequestParams

type CreateAgentCruiseDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent account.
	Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"`

	// Single-Round concurrent call volume 1-20.
	ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// Caller custom data, maximum length 1024.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

Predefined struct for user

type CreateAgentCruiseDialingCampaignResponse

type CreateAgentCruiseDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *CreateAgentCruiseDialingCampaignResponseParams `json:"Response"`
}

func NewCreateAgentCruiseDialingCampaignResponse

func NewCreateAgentCruiseDialingCampaignResponse() (response *CreateAgentCruiseDialingCampaignResponse)

func (*CreateAgentCruiseDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAgentCruiseDialingCampaignResponse) ToJsonString

type CreateAgentCruiseDialingCampaignResponseParams

type CreateAgentCruiseDialingCampaignResponseParams struct {
	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAutoCalloutTaskRequest

type CreateAutoCalloutTaskRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task starting timestamp. unix second-level timestamp.
	NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"`

	// List of called numbers.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// List of calling numbers.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// IVR used for calling.
	IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// <Task description>.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Task stop timestamp. unix second-level timestamp.
	NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"`

	// Maximum attempts, 1-3 times.
	Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"`

	// Custom variables (supported only in advanced versions).
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

func NewCreateAutoCalloutTaskRequest

func NewCreateAutoCalloutTaskRequest() (request *CreateAutoCalloutTaskRequest)

func (*CreateAutoCalloutTaskRequest) FromJsonString

func (r *CreateAutoCalloutTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAutoCalloutTaskRequest) ToJsonString

func (r *CreateAutoCalloutTaskRequest) ToJsonString() string

type CreateAutoCalloutTaskRequestParams

type CreateAutoCalloutTaskRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task starting timestamp. unix second-level timestamp.
	NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"`

	// List of called numbers.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// List of calling numbers.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// IVR used for calling.
	IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// <Task description>.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Task stop timestamp. unix second-level timestamp.
	NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"`

	// Maximum attempts, 1-3 times.
	Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"`

	// Custom variables (supported only in advanced versions).
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

Predefined struct for user

type CreateAutoCalloutTaskResponse

type CreateAutoCalloutTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateAutoCalloutTaskResponseParams `json:"Response"`
}

func NewCreateAutoCalloutTaskResponse

func NewCreateAutoCalloutTaskResponse() (response *CreateAutoCalloutTaskResponse)

func (*CreateAutoCalloutTaskResponse) FromJsonString

func (r *CreateAutoCalloutTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAutoCalloutTaskResponse) ToJsonString

func (r *CreateAutoCalloutTaskResponse) ToJsonString() string

type CreateAutoCalloutTaskResponseParams

type CreateAutoCalloutTaskResponseParams struct {
	// Task id.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCCCSkillGroupRequest

type CreateCCCSkillGroupRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Skill group type 0-cell phone, 1-online, 3-audio, 4-video.
	SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"`

	// The maximum number of people received by the skill group (the maximum number of people that one agent in this skill group can receive) is set to 1 by default. if the skill group type is online, the maximum can be set to one or more.
	// 2. if the skill group type is phone, audio, or video, then the reception limit must be 1.
	MaxConcurrency *uint64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`
}

func NewCreateCCCSkillGroupRequest

func NewCreateCCCSkillGroupRequest() (request *CreateCCCSkillGroupRequest)

func (*CreateCCCSkillGroupRequest) FromJsonString

func (r *CreateCCCSkillGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCCSkillGroupRequest) ToJsonString

func (r *CreateCCCSkillGroupRequest) ToJsonString() string

type CreateCCCSkillGroupRequestParams

type CreateCCCSkillGroupRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Skill group type 0-cell phone, 1-online, 3-audio, 4-video.
	SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"`

	// The maximum number of people received by the skill group (the maximum number of people that one agent in this skill group can receive) is set to 1 by default. if the skill group type is online, the maximum can be set to one or more.
	// 2. if the skill group type is phone, audio, or video, then the reception limit must be 1.
	MaxConcurrency *uint64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`
}

Predefined struct for user

type CreateCCCSkillGroupResponse

type CreateCCCSkillGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateCCCSkillGroupResponseParams `json:"Response"`
}

func NewCreateCCCSkillGroupResponse

func NewCreateCCCSkillGroupResponse() (response *CreateCCCSkillGroupResponse)

func (*CreateCCCSkillGroupResponse) FromJsonString

func (r *CreateCCCSkillGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCCCSkillGroupResponse) ToJsonString

func (r *CreateCCCSkillGroupResponse) ToJsonString() string

type CreateCCCSkillGroupResponseParams

type CreateCCCSkillGroupResponseParams struct {
	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCallOutSessionRequest

type CreateCallOutSessionRequest struct {
	*tchttp.BaseRequest

	// Application id.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer service user id usually refers to the customer service email.
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// Called number must be preceded by 0086.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Caller number (obsolete one and use callers) must be preceded by 0086.
	Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"`

	// Designated caller number list. if the prior number fails, it will automatically switch to the next number that must be preceded by 0086.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured.
	IsForceUseMobile *bool `json:"IsForceUseMobile,omitnil,omitempty" name:"IsForceUseMobile"`

	// Custom data, length limited to 1024 bytes.
	Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"`

	// Custom data, length limited to 1024 bytes.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

func NewCreateCallOutSessionRequest

func NewCreateCallOutSessionRequest() (request *CreateCallOutSessionRequest)

func (*CreateCallOutSessionRequest) FromJsonString

func (r *CreateCallOutSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCallOutSessionRequest) ToJsonString

func (r *CreateCallOutSessionRequest) ToJsonString() string

type CreateCallOutSessionRequestParams

type CreateCallOutSessionRequestParams struct {
	// Application id.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer service user id usually refers to the customer service email.
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// Called number must be preceded by 0086.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Caller number (obsolete one and use callers) must be preceded by 0086.
	Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"`

	// Designated caller number list. if the prior number fails, it will automatically switch to the next number that must be preceded by 0086.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Whether to force the use of cell phone outbound call or not, currently only supports true, if true, please ensure that the allowlist has been configured.
	IsForceUseMobile *bool `json:"IsForceUseMobile,omitnil,omitempty" name:"IsForceUseMobile"`

	// Custom data, length limited to 1024 bytes.
	//
	// Deprecated: Uui is deprecated.
	Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"`

	// Custom data, length limited to 1024 bytes.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

Predefined struct for user

type CreateCallOutSessionResponse

type CreateCallOutSessionResponse struct {
	*tchttp.BaseResponse
	Response *CreateCallOutSessionResponseParams `json:"Response"`
}

func NewCreateCallOutSessionResponse

func NewCreateCallOutSessionResponse() (response *CreateCallOutSessionResponse)

func (*CreateCallOutSessionResponse) FromJsonString

func (r *CreateCallOutSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCallOutSessionResponse) ToJsonString

func (r *CreateCallOutSessionResponse) ToJsonString() string

type CreateCallOutSessionResponseParams

type CreateCallOutSessionResponseParams struct {
	// Newly created session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateExtensionRequest

type CreateExtensionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Extension name.
	ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"`

	// Bound skill group list.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Bound agent email.
	Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`
}

func NewCreateExtensionRequest

func NewCreateExtensionRequest() (request *CreateExtensionRequest)

func (*CreateExtensionRequest) FromJsonString

func (r *CreateExtensionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateExtensionRequest) ToJsonString

func (r *CreateExtensionRequest) ToJsonString() string

type CreateExtensionRequestParams

type CreateExtensionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Extension name.
	ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"`

	// Bound skill group list.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Bound agent email.
	Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`
}

Predefined struct for user

type CreateExtensionResponse

type CreateExtensionResponse struct {
	*tchttp.BaseResponse
	Response *CreateExtensionResponseParams `json:"Response"`
}

func NewCreateExtensionResponse

func NewCreateExtensionResponse() (response *CreateExtensionResponse)

func (*CreateExtensionResponse) FromJsonString

func (r *CreateExtensionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateExtensionResponse) ToJsonString

func (r *CreateExtensionResponse) ToJsonString() string

type CreateExtensionResponseParams

type CreateExtensionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIVRSessionRequest

type CreateIVRSessionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Called.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Specified ivr id. currently, it supports inbound and automatic outbound types.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// List of calling numbers.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// User data.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

func NewCreateIVRSessionRequest

func NewCreateIVRSessionRequest() (request *CreateIVRSessionRequest)

func (*CreateIVRSessionRequest) FromJsonString

func (r *CreateIVRSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIVRSessionRequest) ToJsonString

func (r *CreateIVRSessionRequest) ToJsonString() string

type CreateIVRSessionRequestParams

type CreateIVRSessionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Called.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Specified ivr id. currently, it supports inbound and automatic outbound types.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// List of calling numbers.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// User data.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`
}

Predefined struct for user

type CreateIVRSessionResponse

type CreateIVRSessionResponse struct {
	*tchttp.BaseResponse
	Response *CreateIVRSessionResponseParams `json:"Response"`
}

func NewCreateIVRSessionResponse

func NewCreateIVRSessionResponse() (response *CreateIVRSessionResponse)

func (*CreateIVRSessionResponse) FromJsonString

func (r *CreateIVRSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIVRSessionResponse) ToJsonString

func (r *CreateIVRSessionResponse) ToJsonString() string

type CreateIVRSessionResponseParams

type CreateIVRSessionResponseParams struct {
	// Newly created session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateOwnNumberApplyRequest

type CreateOwnNumberApplyRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// SIP connection id.
	SipTrunkId *int64 `json:"SipTrunkId,omitnil,omitempty" name:"SipTrunkId"`

	// Circuit-Related parameters.
	DetailList []*OwnNumberApplyDetailItem `json:"DetailList,omitnil,omitempty" name:"DetailList"`

	// Prefix for sending numbers.
	Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"`
}

func NewCreateOwnNumberApplyRequest

func NewCreateOwnNumberApplyRequest() (request *CreateOwnNumberApplyRequest)

func (*CreateOwnNumberApplyRequest) FromJsonString

func (r *CreateOwnNumberApplyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOwnNumberApplyRequest) ToJsonString

func (r *CreateOwnNumberApplyRequest) ToJsonString() string

type CreateOwnNumberApplyRequestParams

type CreateOwnNumberApplyRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// SIP connection id.
	SipTrunkId *int64 `json:"SipTrunkId,omitnil,omitempty" name:"SipTrunkId"`

	// Circuit-Related parameters.
	DetailList []*OwnNumberApplyDetailItem `json:"DetailList,omitnil,omitempty" name:"DetailList"`

	// Prefix for sending numbers.
	Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"`
}

Predefined struct for user

type CreateOwnNumberApplyResponse

type CreateOwnNumberApplyResponse struct {
	*tchttp.BaseResponse
	Response *CreateOwnNumberApplyResponseParams `json:"Response"`
}

func NewCreateOwnNumberApplyResponse

func NewCreateOwnNumberApplyResponse() (response *CreateOwnNumberApplyResponse)

func (*CreateOwnNumberApplyResponse) FromJsonString

func (r *CreateOwnNumberApplyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOwnNumberApplyResponse) ToJsonString

func (r *CreateOwnNumberApplyResponse) ToJsonString() string

type CreateOwnNumberApplyResponseParams

type CreateOwnNumberApplyResponseParams struct {
	// Approval id.
	ApplyId *uint64 `json:"ApplyId,omitnil,omitempty" name:"ApplyId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePredictiveDialingCampaignRequest

type CreatePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task name>.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Expected call drop rate, percentage, 5 - 50.
	ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"`

	// Call retry interval, in seconds, [60 - 86,400].
	RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specified ivr id.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// Number of call retries, 0 - 2.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

func NewCreatePredictiveDialingCampaignRequest

func NewCreatePredictiveDialingCampaignRequest() (request *CreatePredictiveDialingCampaignRequest)

func (*CreatePredictiveDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePredictiveDialingCampaignRequest) ToJsonString

type CreatePredictiveDialingCampaignRequestParams

type CreatePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task name>.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Expected call drop rate, percentage, 5 - 50.
	ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"`

	// Call retry interval, in seconds, [60 - 86,400].
	RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specified ivr id.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// Number of call retries, 0 - 2.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

Predefined struct for user

type CreatePredictiveDialingCampaignResponse

type CreatePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *CreatePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewCreatePredictiveDialingCampaignResponse

func NewCreatePredictiveDialingCampaignResponse() (response *CreatePredictiveDialingCampaignResponse)

func (*CreatePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePredictiveDialingCampaignResponse) ToJsonString

type CreatePredictiveDialingCampaignResponseParams

type CreatePredictiveDialingCampaignResponseParams struct {
	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateSDKLoginTokenRequest

type CreateSDKLoginTokenRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent account.
	SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"`

	// Whether the generated token is for one-time verification?.
	OnlyOnce *bool `json:"OnlyOnce,omitnil,omitempty" name:"OnlyOnce"`
}

func NewCreateSDKLoginTokenRequest

func NewCreateSDKLoginTokenRequest() (request *CreateSDKLoginTokenRequest)

func (*CreateSDKLoginTokenRequest) FromJsonString

func (r *CreateSDKLoginTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSDKLoginTokenRequest) ToJsonString

func (r *CreateSDKLoginTokenRequest) ToJsonString() string

type CreateSDKLoginTokenRequestParams

type CreateSDKLoginTokenRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent account.
	SeatUserId *string `json:"SeatUserId,omitnil,omitempty" name:"SeatUserId"`

	// Whether the generated token is for one-time verification?.
	OnlyOnce *bool `json:"OnlyOnce,omitnil,omitempty" name:"OnlyOnce"`
}

Predefined struct for user

type CreateSDKLoginTokenResponse

type CreateSDKLoginTokenResponse struct {
	*tchttp.BaseResponse
	Response *CreateSDKLoginTokenResponseParams `json:"Response"`
}

func NewCreateSDKLoginTokenResponse

func NewCreateSDKLoginTokenResponse() (response *CreateSDKLoginTokenResponse)

func (*CreateSDKLoginTokenResponse) FromJsonString

func (r *CreateSDKLoginTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSDKLoginTokenResponse) ToJsonString

func (r *CreateSDKLoginTokenResponse) ToJsonString() string

type CreateSDKLoginTokenResponseParams

type CreateSDKLoginTokenResponseParams struct {
	// SDK log-in token.
	Token *string `json:"Token,omitnil,omitempty" name:"Token"`

	// Expiry timestamp. unix timestamp.
	ExpiredTime *int64 `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"`

	// The path in which the sdk is loaded will change with its release.
	SdkURL *string `json:"SdkURL,omitnil,omitempty" name:"SdkURL"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStaffRequest

type CreateStaffRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer information, no more than 10.
	Staffs []*SeatUserInfo `json:"Staffs,omitnil,omitempty" name:"Staffs"`

	// Whether to send a password mail or not (the default is true).
	SendPassword *bool `json:"SendPassword,omitnil,omitempty" name:"SendPassword"`
}

func NewCreateStaffRequest

func NewCreateStaffRequest() (request *CreateStaffRequest)

func (*CreateStaffRequest) FromJsonString

func (r *CreateStaffRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStaffRequest) ToJsonString

func (r *CreateStaffRequest) ToJsonString() string

type CreateStaffRequestParams

type CreateStaffRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer information, no more than 10.
	Staffs []*SeatUserInfo `json:"Staffs,omitnil,omitempty" name:"Staffs"`

	// Whether to send a password mail or not (the default is true).
	SendPassword *bool `json:"SendPassword,omitnil,omitempty" name:"SendPassword"`
}

Predefined struct for user

type CreateStaffResponse

type CreateStaffResponse struct {
	*tchttp.BaseResponse
	Response *CreateStaffResponseParams `json:"Response"`
}

func NewCreateStaffResponse

func NewCreateStaffResponse() (response *CreateStaffResponse)

func (*CreateStaffResponse) FromJsonString

func (r *CreateStaffResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStaffResponse) ToJsonString

func (r *CreateStaffResponse) ToJsonString() string

type CreateStaffResponseParams

type CreateStaffResponseParams struct {
	// Error agent list and error information.
	ErrorStaffList []*ErrStaffItem `json:"ErrorStaffList,omitnil,omitempty" name:"ErrorStaffList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteExtensionRequest

type DeleteExtensionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

func NewDeleteExtensionRequest

func NewDeleteExtensionRequest() (request *DeleteExtensionRequest)

func (*DeleteExtensionRequest) FromJsonString

func (r *DeleteExtensionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteExtensionRequest) ToJsonString

func (r *DeleteExtensionRequest) ToJsonString() string

type DeleteExtensionRequestParams

type DeleteExtensionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

Predefined struct for user

type DeleteExtensionResponse

type DeleteExtensionResponse struct {
	*tchttp.BaseResponse
	Response *DeleteExtensionResponseParams `json:"Response"`
}

func NewDeleteExtensionResponse

func NewDeleteExtensionResponse() (response *DeleteExtensionResponse)

func (*DeleteExtensionResponse) FromJsonString

func (r *DeleteExtensionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteExtensionResponse) ToJsonString

func (r *DeleteExtensionResponse) ToJsonString() string

type DeleteExtensionResponseParams

type DeleteExtensionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePredictiveDialingCampaignRequest

type DeletePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewDeletePredictiveDialingCampaignRequest

func NewDeletePredictiveDialingCampaignRequest() (request *DeletePredictiveDialingCampaignRequest)

func (*DeletePredictiveDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePredictiveDialingCampaignRequest) ToJsonString

type DeletePredictiveDialingCampaignRequestParams

type DeletePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type DeletePredictiveDialingCampaignResponse

type DeletePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *DeletePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewDeletePredictiveDialingCampaignResponse

func NewDeletePredictiveDialingCampaignResponse() (response *DeletePredictiveDialingCampaignResponse)

func (*DeletePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePredictiveDialingCampaignResponse) ToJsonString

type DeletePredictiveDialingCampaignResponseParams

type DeletePredictiveDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStaffRequest

type DeleteStaffRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// List of customer service emails to be deleted, supports up to 200 at a time.
	StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"`
}

func NewDeleteStaffRequest

func NewDeleteStaffRequest() (request *DeleteStaffRequest)

func (*DeleteStaffRequest) FromJsonString

func (r *DeleteStaffRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStaffRequest) ToJsonString

func (r *DeleteStaffRequest) ToJsonString() string

type DeleteStaffRequestParams

type DeleteStaffRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// List of customer service emails to be deleted, supports up to 200 at a time.
	StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"`
}

Predefined struct for user

type DeleteStaffResponse

type DeleteStaffResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStaffResponseParams `json:"Response"`
}

func NewDeleteStaffResponse

func NewDeleteStaffResponse() (response *DeleteStaffResponse)

func (*DeleteStaffResponse) FromJsonString

func (r *DeleteStaffResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStaffResponse) ToJsonString

func (r *DeleteStaffResponse) ToJsonString() string

type DeleteStaffResponseParams

type DeleteStaffResponseParams struct {
	// List of customer service staff that cannot be deleted when they are online.
	OnlineStaffList []*string `json:"OnlineStaffList,omitnil,omitempty" name:"OnlineStaffList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAICallExtractResultRequest

type DescribeAICallExtractResultRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// Search for the start time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Search for the end time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeAICallExtractResultRequest

func NewDescribeAICallExtractResultRequest() (request *DescribeAICallExtractResultRequest)

func (*DescribeAICallExtractResultRequest) FromJsonString

func (r *DescribeAICallExtractResultRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAICallExtractResultRequest) ToJsonString

func (r *DescribeAICallExtractResultRequest) ToJsonString() string

type DescribeAICallExtractResultRequestParams

type DescribeAICallExtractResultRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// Search for the start time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Search for the end time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeAICallExtractResultResponse

type DescribeAICallExtractResultResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAICallExtractResultResponseParams `json:"Response"`
}

func NewDescribeAICallExtractResultResponse

func NewDescribeAICallExtractResultResponse() (response *DescribeAICallExtractResultResponse)

func (*DescribeAICallExtractResultResponse) FromJsonString

func (r *DescribeAICallExtractResultResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAICallExtractResultResponse) ToJsonString

func (r *DescribeAICallExtractResultResponse) ToJsonString() string

type DescribeAICallExtractResultResponseParams

type DescribeAICallExtractResultResponseParams struct {
	// Result list.
	ResultList []*AICallExtractResultElement `json:"ResultList,omitnil,omitempty" name:"ResultList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAgentCruiseDialingCampaignRequest

type DescribeAgentCruiseDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewDescribeAgentCruiseDialingCampaignRequest

func NewDescribeAgentCruiseDialingCampaignRequest() (request *DescribeAgentCruiseDialingCampaignRequest)

func (*DescribeAgentCruiseDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAgentCruiseDialingCampaignRequest) ToJsonString

type DescribeAgentCruiseDialingCampaignRequestParams

type DescribeAgentCruiseDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type DescribeAgentCruiseDialingCampaignResponse

type DescribeAgentCruiseDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAgentCruiseDialingCampaignResponseParams `json:"Response"`
}

func NewDescribeAgentCruiseDialingCampaignResponse

func NewDescribeAgentCruiseDialingCampaignResponse() (response *DescribeAgentCruiseDialingCampaignResponse)

func (*DescribeAgentCruiseDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAgentCruiseDialingCampaignResponse) ToJsonString

type DescribeAgentCruiseDialingCampaignResponseParams

type DescribeAgentCruiseDialingCampaignResponseParams struct {
	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent account.
	Agent *string `json:"Agent,omitnil,omitempty" name:"Agent"`

	// Single-Round concurrent call volume 1-20.
	ConcurrencyNumber *int64 `json:"ConcurrencyNumber,omitnil,omitempty" name:"ConcurrencyNumber"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// Caller custom data, maximum length 1024.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Task status 0 not started 1 running 2 completed 3 terminated.
	State *int64 `json:"State,omitnil,omitempty" name:"State"`

	// Total number of called parties.
	TotalCalleeCount *int64 `json:"TotalCalleeCount,omitnil,omitempty" name:"TotalCalleeCount"`

	// Number of calls made and received.
	CalledCalleeCount *int64 `json:"CalledCalleeCount,omitnil,omitempty" name:"CalledCalleeCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAutoCalloutTaskRequest

type DescribeAutoCalloutTaskRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewDescribeAutoCalloutTaskRequest

func NewDescribeAutoCalloutTaskRequest() (request *DescribeAutoCalloutTaskRequest)

func (*DescribeAutoCalloutTaskRequest) FromJsonString

func (r *DescribeAutoCalloutTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoCalloutTaskRequest) ToJsonString

func (r *DescribeAutoCalloutTaskRequest) ToJsonString() string

type DescribeAutoCalloutTaskRequestParams

type DescribeAutoCalloutTaskRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribeAutoCalloutTaskResponse

type DescribeAutoCalloutTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAutoCalloutTaskResponseParams `json:"Response"`
}

func NewDescribeAutoCalloutTaskResponse

func NewDescribeAutoCalloutTaskResponse() (response *DescribeAutoCalloutTaskResponse)

func (*DescribeAutoCalloutTaskResponse) FromJsonString

func (r *DescribeAutoCalloutTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoCalloutTaskResponse) ToJsonString

func (r *DescribeAutoCalloutTaskResponse) ToJsonString() string

type DescribeAutoCalloutTaskResponseParams

type DescribeAutoCalloutTaskResponseParams struct {
	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// <Task description>.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Task start timestamp.
	NotBefore *int64 `json:"NotBefore,omitnil,omitempty" name:"NotBefore"`

	// Task end timestamp.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NotAfter *int64 `json:"NotAfter,omitnil,omitempty" name:"NotAfter"`

	// Calling list.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Called information list.
	Callees []*AutoCalloutTaskCalleeInfo `json:"Callees,omitnil,omitempty" name:"Callees"`

	// IvrId used by the task.
	IvrId *uint64 `json:"IvrId,omitnil,omitempty" name:"IvrId"`

	// Task status: 0 - initial, 1 - running, 2 - completed, 3 - ending, 4 - terminated.
	State *uint64 `json:"State,omitnil,omitempty" name:"State"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAutoCalloutTasksRequest

type DescribeAutoCalloutTasksRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Page size>.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

func NewDescribeAutoCalloutTasksRequest

func NewDescribeAutoCalloutTasksRequest() (request *DescribeAutoCalloutTasksRequest)

func (*DescribeAutoCalloutTasksRequest) FromJsonString

func (r *DescribeAutoCalloutTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoCalloutTasksRequest) ToJsonString

func (r *DescribeAutoCalloutTasksRequest) ToJsonString() string

type DescribeAutoCalloutTasksRequestParams

type DescribeAutoCalloutTasksRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Page size>.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

Predefined struct for user

type DescribeAutoCalloutTasksResponse

type DescribeAutoCalloutTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAutoCalloutTasksResponseParams `json:"Response"`
}

func NewDescribeAutoCalloutTasksResponse

func NewDescribeAutoCalloutTasksResponse() (response *DescribeAutoCalloutTasksResponse)

func (*DescribeAutoCalloutTasksResponse) FromJsonString

func (r *DescribeAutoCalloutTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoCalloutTasksResponse) ToJsonString

func (r *DescribeAutoCalloutTasksResponse) ToJsonString() string

type DescribeAutoCalloutTasksResponseParams

type DescribeAutoCalloutTasksResponseParams struct {
	// Total quantity.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// <Task list>.
	Tasks []*AutoCalloutTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCCCBuyInfoListRequest

type DescribeCCCBuyInfoListRequest struct {
	*tchttp.BaseRequest

	// Application id list, query all applications when not transmitted.
	SdkAppIds []*int64 `json:"SdkAppIds,omitnil,omitempty" name:"SdkAppIds"`
}

func NewDescribeCCCBuyInfoListRequest

func NewDescribeCCCBuyInfoListRequest() (request *DescribeCCCBuyInfoListRequest)

func (*DescribeCCCBuyInfoListRequest) FromJsonString

func (r *DescribeCCCBuyInfoListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCCBuyInfoListRequest) ToJsonString

func (r *DescribeCCCBuyInfoListRequest) ToJsonString() string

type DescribeCCCBuyInfoListRequestParams

type DescribeCCCBuyInfoListRequestParams struct {
	// Application id list, query all applications when not transmitted.
	SdkAppIds []*int64 `json:"SdkAppIds,omitnil,omitempty" name:"SdkAppIds"`
}

Predefined struct for user

type DescribeCCCBuyInfoListResponse

type DescribeCCCBuyInfoListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCCCBuyInfoListResponseParams `json:"Response"`
}

func NewDescribeCCCBuyInfoListResponse

func NewDescribeCCCBuyInfoListResponse() (response *DescribeCCCBuyInfoListResponse)

func (*DescribeCCCBuyInfoListResponse) FromJsonString

func (r *DescribeCCCBuyInfoListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCCCBuyInfoListResponse) ToJsonString

func (r *DescribeCCCBuyInfoListResponse) ToJsonString() string

type DescribeCCCBuyInfoListResponseParams

type DescribeCCCBuyInfoListResponseParams struct {
	// Total number of applications.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Application purchase information list.
	SdkAppIdBuyList []*SdkAppIdBuyInfo `json:"SdkAppIdBuyList,omitnil,omitempty" name:"SdkAppIdBuyList"`

	// Package purchase information list.
	PackageBuyList []*PackageBuyInfo `json:"PackageBuyList,omitnil,omitempty" name:"PackageBuyList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCallInMetricsRequest

type DescribeCallInMetricsRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Whether to return skill group dimension information or not (the default is "yes").
	EnabledSkillGroup *bool `json:"EnabledSkillGroup,omitnil,omitempty" name:"EnabledSkillGroup"`

	// Whether to return line dimension information or not (the default is "no").
	EnabledNumber *bool `json:"EnabledNumber,omitnil,omitempty" name:"EnabledNumber"`

	// Filter skill group list.
	GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"`
}

func NewDescribeCallInMetricsRequest

func NewDescribeCallInMetricsRequest() (request *DescribeCallInMetricsRequest)

func (*DescribeCallInMetricsRequest) FromJsonString

func (r *DescribeCallInMetricsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCallInMetricsRequest) ToJsonString

func (r *DescribeCallInMetricsRequest) ToJsonString() string

type DescribeCallInMetricsRequestParams

type DescribeCallInMetricsRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Whether to return skill group dimension information or not (the default is "yes").
	EnabledSkillGroup *bool `json:"EnabledSkillGroup,omitnil,omitempty" name:"EnabledSkillGroup"`

	// Whether to return line dimension information or not (the default is "no").
	EnabledNumber *bool `json:"EnabledNumber,omitnil,omitempty" name:"EnabledNumber"`

	// Filter skill group list.
	GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"`
}

Predefined struct for user

type DescribeCallInMetricsResponse

type DescribeCallInMetricsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCallInMetricsResponseParams `json:"Response"`
}

func NewDescribeCallInMetricsResponse

func NewDescribeCallInMetricsResponse() (response *DescribeCallInMetricsResponse)

func (*DescribeCallInMetricsResponse) FromJsonString

func (r *DescribeCallInMetricsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCallInMetricsResponse) ToJsonString

func (r *DescribeCallInMetricsResponse) ToJsonString() string

type DescribeCallInMetricsResponseParams

type DescribeCallInMetricsResponseParams struct {
	// Timestamp.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Overall metrics.
	TotalMetrics *CallInMetrics `json:"TotalMetrics,omitnil,omitempty" name:"TotalMetrics"`

	// Circuit dimension metrics.
	NumberMetrics []*CallInNumberMetrics `json:"NumberMetrics,omitnil,omitempty" name:"NumberMetrics"`

	// Skill group dimension metrics.
	SkillGroupMetrics []*CallInSkillGroupMetrics `json:"SkillGroupMetrics,omitnil,omitempty" name:"SkillGroupMetrics"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExtensionRequest

type DescribeExtensionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

func NewDescribeExtensionRequest

func NewDescribeExtensionRequest() (request *DescribeExtensionRequest)

func (*DescribeExtensionRequest) FromJsonString

func (r *DescribeExtensionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExtensionRequest) ToJsonString

func (r *DescribeExtensionRequest) ToJsonString() string

type DescribeExtensionRequestParams

type DescribeExtensionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

Predefined struct for user

type DescribeExtensionResponse

type DescribeExtensionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExtensionResponseParams `json:"Response"`
}

func NewDescribeExtensionResponse

func NewDescribeExtensionResponse() (response *DescribeExtensionResponse)

func (*DescribeExtensionResponse) FromJsonString

func (r *DescribeExtensionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExtensionResponse) ToJsonString

func (r *DescribeExtensionResponse) ToJsonString() string

type DescribeExtensionResponseParams

type DescribeExtensionResponseParams struct {
	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Domain name.
	ExtensionDomain *string `json:"ExtensionDomain,omitnil,omitempty" name:"ExtensionDomain"`

	// Registered password.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Proxy server address.
	OutboundProxy *string `json:"OutboundProxy,omitnil,omitempty" name:"OutboundProxy"`

	// Transfer protocol.
	Transport *string `json:"Transport,omitnil,omitempty" name:"Transport"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExtensionsRequest

type DescribeExtensionsRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page number (starting from 0).
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Filtering extension number list.
	ExtensionIds []*string `json:"ExtensionIds,omitnil,omitempty" name:"ExtensionIds"`

	// Page size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Fuzzy query field (fuzzy query for extension number, extension name, agent email, and agent name).
	FuzzingKeyWord *string `json:"FuzzingKeyWord,omitnil,omitempty" name:"FuzzingKeyWord"`

	// Whether to return the current status of the telephone or not.
	IsNeedStatus *bool `json:"IsNeedStatus,omitnil,omitempty" name:"IsNeedStatus"`
}

func NewDescribeExtensionsRequest

func NewDescribeExtensionsRequest() (request *DescribeExtensionsRequest)

func (*DescribeExtensionsRequest) FromJsonString

func (r *DescribeExtensionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExtensionsRequest) ToJsonString

func (r *DescribeExtensionsRequest) ToJsonString() string

type DescribeExtensionsRequestParams

type DescribeExtensionsRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page number (starting from 0).
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Filtering extension number list.
	ExtensionIds []*string `json:"ExtensionIds,omitnil,omitempty" name:"ExtensionIds"`

	// Page size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Fuzzy query field (fuzzy query for extension number, extension name, agent email, and agent name).
	FuzzingKeyWord *string `json:"FuzzingKeyWord,omitnil,omitempty" name:"FuzzingKeyWord"`

	// Whether to return the current status of the telephone or not.
	IsNeedStatus *bool `json:"IsNeedStatus,omitnil,omitempty" name:"IsNeedStatus"`
}

Predefined struct for user

type DescribeExtensionsResponse

type DescribeExtensionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExtensionsResponseParams `json:"Response"`
}

func NewDescribeExtensionsResponse

func NewDescribeExtensionsResponse() (response *DescribeExtensionsResponse)

func (*DescribeExtensionsResponse) FromJsonString

func (r *DescribeExtensionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExtensionsResponse) ToJsonString

func (r *DescribeExtensionsResponse) ToJsonString() string

type DescribeExtensionsResponseParams

type DescribeExtensionsResponseParams struct {
	// Total query count.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Telephone information list.
	ExtensionList []*ExtensionInfo `json:"ExtensionList,omitnil,omitempty" name:"ExtensionList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIvrAudioListRequest

type DescribeIvrAudioListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 50.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// File alias.
	CustomFileName []*string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"`

	// Filename.
	AudioFileName []*string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"`

	// File id.
	FileId []*uint64 `json:"FileId,omitnil,omitempty" name:"FileId"`
}

func NewDescribeIvrAudioListRequest

func NewDescribeIvrAudioListRequest() (request *DescribeIvrAudioListRequest)

func (*DescribeIvrAudioListRequest) FromJsonString

func (r *DescribeIvrAudioListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIvrAudioListRequest) ToJsonString

func (r *DescribeIvrAudioListRequest) ToJsonString() string

type DescribeIvrAudioListRequestParams

type DescribeIvrAudioListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 50.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// File alias.
	CustomFileName []*string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"`

	// Filename.
	AudioFileName []*string `json:"AudioFileName,omitnil,omitempty" name:"AudioFileName"`

	// File id.
	FileId []*uint64 `json:"FileId,omitnil,omitempty" name:"FileId"`
}

Predefined struct for user

type DescribeIvrAudioListResponse

type DescribeIvrAudioListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIvrAudioListResponseParams `json:"Response"`
}

func NewDescribeIvrAudioListResponse

func NewDescribeIvrAudioListResponse() (response *DescribeIvrAudioListResponse)

func (*DescribeIvrAudioListResponse) FromJsonString

func (r *DescribeIvrAudioListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIvrAudioListResponse) ToJsonString

func (r *DescribeIvrAudioListResponse) ToJsonString() string

type DescribeIvrAudioListResponseParams

type DescribeIvrAudioListResponseParams struct {
	// Total quantity.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// File information.
	FileInfo []*AudioFileInfo `json:"FileInfo,omitnil,omitempty" name:"FileInfo"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNumbersRequest

type DescribeNumbersRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page number, starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size, default 20.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewDescribeNumbersRequest

func NewDescribeNumbersRequest() (request *DescribeNumbersRequest)

func (*DescribeNumbersRequest) FromJsonString

func (r *DescribeNumbersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNumbersRequest) ToJsonString

func (r *DescribeNumbersRequest) ToJsonString() string

type DescribeNumbersRequestParams

type DescribeNumbersRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page number, starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size, default 20.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type DescribeNumbersResponse

type DescribeNumbersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNumbersResponseParams `json:"Response"`
}

func NewDescribeNumbersResponse

func NewDescribeNumbersResponse() (response *DescribeNumbersResponse)

func (*DescribeNumbersResponse) FromJsonString

func (r *DescribeNumbersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNumbersResponse) ToJsonString

func (r *DescribeNumbersResponse) ToJsonString() string

type DescribeNumbersResponseParams

type DescribeNumbersResponseParams struct {
	// Total quantity.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Number list.
	Numbers []*NumberInfo `json:"Numbers,omitnil,omitempty" name:"Numbers"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePSTNActiveSessionListRequest

type DescribePSTNActiveSessionListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Data offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned data entries, up to 25.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePSTNActiveSessionListRequest

func NewDescribePSTNActiveSessionListRequest() (request *DescribePSTNActiveSessionListRequest)

func (*DescribePSTNActiveSessionListRequest) FromJsonString

func (r *DescribePSTNActiveSessionListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePSTNActiveSessionListRequest) ToJsonString

func (r *DescribePSTNActiveSessionListRequest) ToJsonString() string

type DescribePSTNActiveSessionListRequestParams

type DescribePSTNActiveSessionListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Data offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned data entries, up to 25.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePSTNActiveSessionListResponse

type DescribePSTNActiveSessionListResponse struct {
	*tchttp.BaseResponse
	Response *DescribePSTNActiveSessionListResponseParams `json:"Response"`
}

func NewDescribePSTNActiveSessionListResponse

func NewDescribePSTNActiveSessionListResponse() (response *DescribePSTNActiveSessionListResponse)

func (*DescribePSTNActiveSessionListResponse) FromJsonString

func (r *DescribePSTNActiveSessionListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePSTNActiveSessionListResponse) ToJsonString

type DescribePSTNActiveSessionListResponseParams

type DescribePSTNActiveSessionListResponseParams struct {
	// Total number of items in the list.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// List content.
	Sessions []*PSTNSessionInfo `json:"Sessions,omitnil,omitempty" name:"Sessions"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePredictiveDialingCampaignRequest

type DescribePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewDescribePredictiveDialingCampaignRequest

func NewDescribePredictiveDialingCampaignRequest() (request *DescribePredictiveDialingCampaignRequest)

func (*DescribePredictiveDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingCampaignRequest) ToJsonString

type DescribePredictiveDialingCampaignRequestParams

type DescribePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type DescribePredictiveDialingCampaignResponse

type DescribePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *DescribePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewDescribePredictiveDialingCampaignResponse

func NewDescribePredictiveDialingCampaignResponse() (response *DescribePredictiveDialingCampaignResponse)

func (*DescribePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingCampaignResponse) ToJsonString

type DescribePredictiveDialingCampaignResponseParams

type DescribePredictiveDialingCampaignResponseParams struct {
	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Specified ivr id.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Expected call drop rate, percentage, 5 - 50.
	ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"`

	// Number of call retries, 0 - 2.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Call retry interval, in seconds, [60 - 86,400].
	RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePredictiveDialingCampaignsElement

type DescribePredictiveDialingCampaignsElement struct {
	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Task status 0 - ready to start, 1 - in progress, 2 - paused, 3 - terminated, 4 - completed.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Task status reasons 0 - normal, 1 - manually ended, 2 - ended due to overtime.
	StatusReason *int64 `json:"StatusReason,omitnil,omitempty" name:"StatusReason"`

	// Number of called numbers.
	CalleeCount *int64 `json:"CalleeCount,omitnil,omitempty" name:"CalleeCount"`

	// Number of completed calls.
	FinishedCalleeCount *int64 `json:"FinishedCalleeCount,omitnil,omitempty" name:"FinishedCalleeCount"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`
}

type DescribePredictiveDialingCampaignsRequest

type DescribePredictiveDialingCampaignsRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, 100 maximum.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Query the task list name keyword.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Query task list skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`
}

func NewDescribePredictiveDialingCampaignsRequest

func NewDescribePredictiveDialingCampaignsRequest() (request *DescribePredictiveDialingCampaignsRequest)

func (*DescribePredictiveDialingCampaignsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingCampaignsRequest) ToJsonString

type DescribePredictiveDialingCampaignsRequestParams

type DescribePredictiveDialingCampaignsRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, 100 maximum.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Query the task list name keyword.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Query task list skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`
}

Predefined struct for user

type DescribePredictiveDialingCampaignsResponse

type DescribePredictiveDialingCampaignsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePredictiveDialingCampaignsResponseParams `json:"Response"`
}

func NewDescribePredictiveDialingCampaignsResponse

func NewDescribePredictiveDialingCampaignsResponse() (response *DescribePredictiveDialingCampaignsResponse)

func (*DescribePredictiveDialingCampaignsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingCampaignsResponse) ToJsonString

type DescribePredictiveDialingCampaignsResponseParams

type DescribePredictiveDialingCampaignsResponseParams struct {
	// Total data volume.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Data.
	CampaignList []*DescribePredictiveDialingCampaignsElement `json:"CampaignList,omitnil,omitempty" name:"CampaignList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePredictiveDialingSessionsRequest

type DescribePredictiveDialingSessionsRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Page size, maximum of 1000.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

func NewDescribePredictiveDialingSessionsRequest

func NewDescribePredictiveDialingSessionsRequest() (request *DescribePredictiveDialingSessionsRequest)

func (*DescribePredictiveDialingSessionsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingSessionsRequest) ToJsonString

type DescribePredictiveDialingSessionsRequestParams

type DescribePredictiveDialingSessionsRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Page size, maximum of 1000.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

Predefined struct for user

type DescribePredictiveDialingSessionsResponse

type DescribePredictiveDialingSessionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePredictiveDialingSessionsResponseParams `json:"Response"`
}

func NewDescribePredictiveDialingSessionsResponse

func NewDescribePredictiveDialingSessionsResponse() (response *DescribePredictiveDialingSessionsResponse)

func (*DescribePredictiveDialingSessionsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePredictiveDialingSessionsResponse) ToJsonString

type DescribePredictiveDialingSessionsResponseParams

type DescribePredictiveDialingSessionsResponseParams struct {
	// Total data volume.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of session ids for a call. you can access detailed call bills in batches through https://intl.cloud.tencent.com/document/product/679/47714.?from_cn_redirect=1.
	SessionList []*string `json:"SessionList,omitnil,omitempty" name:"SessionList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProtectedTelCdrRequest

type DescribeProtectedTelCdrRequest struct {
	*tchttp.BaseRequest

	// Start timestamp. unix second-level timestamp.
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp. unix second-level timestamp.
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// For the application id, you can check https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 100.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

func NewDescribeProtectedTelCdrRequest

func NewDescribeProtectedTelCdrRequest() (request *DescribeProtectedTelCdrRequest)

func (*DescribeProtectedTelCdrRequest) FromJsonString

func (r *DescribeProtectedTelCdrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProtectedTelCdrRequest) ToJsonString

func (r *DescribeProtectedTelCdrRequest) ToJsonString() string

type DescribeProtectedTelCdrRequestParams

type DescribeProtectedTelCdrRequestParams struct {
	// Start timestamp. unix second-level timestamp.
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp. unix second-level timestamp.
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// For the application id, you can check https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 100.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

Predefined struct for user

type DescribeProtectedTelCdrResponse

type DescribeProtectedTelCdrResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProtectedTelCdrResponseParams `json:"Response"`
}

func NewDescribeProtectedTelCdrResponse

func NewDescribeProtectedTelCdrResponse() (response *DescribeProtectedTelCdrResponse)

func (*DescribeProtectedTelCdrResponse) FromJsonString

func (r *DescribeProtectedTelCdrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProtectedTelCdrResponse) ToJsonString

func (r *DescribeProtectedTelCdrResponse) ToJsonString() string

type DescribeProtectedTelCdrResponseParams

type DescribeProtectedTelCdrResponseParams struct {
	// Total number of call records.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Call record.
	//
	// Deprecated: TelCdrs is deprecated.
	TelCdrs []*TelCdrInfo `json:"TelCdrs,omitnil,omitempty" name:"TelCdrs"`

	// Call record.
	TelCdrList []*TelCdrInfo `json:"TelCdrList,omitnil,omitempty" name:"TelCdrList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSkillGroupInfoListRequest

type DescribeSkillGroupInfoListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// <Page number starting from 0.>.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Using skill group id when querying a single skill group.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Used when querying skill groups with a modified time greater or equal to modifiedtime.
	ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`
}

func NewDescribeSkillGroupInfoListRequest

func NewDescribeSkillGroupInfoListRequest() (request *DescribeSkillGroupInfoListRequest)

func (*DescribeSkillGroupInfoListRequest) FromJsonString

func (r *DescribeSkillGroupInfoListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSkillGroupInfoListRequest) ToJsonString

func (r *DescribeSkillGroupInfoListRequest) ToJsonString() string

type DescribeSkillGroupInfoListRequestParams

type DescribeSkillGroupInfoListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// <Page number starting from 0.>.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Using skill group id when querying a single skill group.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Used when querying skill groups with a modified time greater or equal to modifiedtime.
	ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`
}

Predefined struct for user

type DescribeSkillGroupInfoListResponse

type DescribeSkillGroupInfoListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSkillGroupInfoListResponseParams `json:"Response"`
}

func NewDescribeSkillGroupInfoListResponse

func NewDescribeSkillGroupInfoListResponse() (response *DescribeSkillGroupInfoListResponse)

func (*DescribeSkillGroupInfoListResponse) FromJsonString

func (r *DescribeSkillGroupInfoListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSkillGroupInfoListResponse) ToJsonString

func (r *DescribeSkillGroupInfoListResponse) ToJsonString() string

type DescribeSkillGroupInfoListResponseParams

type DescribeSkillGroupInfoListResponseParams struct {
	// Total number of skill groups.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Skill group information list.
	SkillGroupList []*SkillGroupInfoItem `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStaffInfoListRequest

type DescribeStaffInfoListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 9,999.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Agent account used when querying a single agent.
	StaffMail *string `json:"StaffMail,omitnil,omitempty" name:"StaffMail"`

	// Use when querying for agents with a modification time greater or equal to modifiedtime.
	ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`
}

func NewDescribeStaffInfoListRequest

func NewDescribeStaffInfoListRequest() (request *DescribeStaffInfoListRequest)

func (*DescribeStaffInfoListRequest) FromJsonString

func (r *DescribeStaffInfoListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStaffInfoListRequest) ToJsonString

func (r *DescribeStaffInfoListRequest) ToJsonString() string

type DescribeStaffInfoListRequestParams

type DescribeStaffInfoListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size, upper limit 9,999.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number starting from 0.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Agent account used when querying a single agent.
	StaffMail *string `json:"StaffMail,omitnil,omitempty" name:"StaffMail"`

	// Use when querying for agents with a modification time greater or equal to modifiedtime.
	ModifiedTime *int64 `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`
}

Predefined struct for user

type DescribeStaffInfoListResponse

type DescribeStaffInfoListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStaffInfoListResponseParams `json:"Response"`
}

func NewDescribeStaffInfoListResponse

func NewDescribeStaffInfoListResponse() (response *DescribeStaffInfoListResponse)

func (*DescribeStaffInfoListResponse) FromJsonString

func (r *DescribeStaffInfoListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStaffInfoListResponse) ToJsonString

func (r *DescribeStaffInfoListResponse) ToJsonString() string

type DescribeStaffInfoListResponseParams

type DescribeStaffInfoListResponseParams struct {
	// Total number of agent users.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Agent user information list.
	StaffList []*StaffInfo `json:"StaffList,omitnil,omitempty" name:"StaffList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStaffStatusMetricsRequest

type DescribeStaffStatusMetricsRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Filter agent list. by default, do not pass all returned agent information.
	StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"`

	// Filter skill group id list.
	GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"`

	// Filter agent status list agent status free available | busy busy | rest on break | notready not ready | aftercallwork post-call adjustment | offline offline .
	StatusList []*string `json:"StatusList,omitnil,omitempty" name:"StatusList"`
}

func NewDescribeStaffStatusMetricsRequest

func NewDescribeStaffStatusMetricsRequest() (request *DescribeStaffStatusMetricsRequest)

func (*DescribeStaffStatusMetricsRequest) FromJsonString

func (r *DescribeStaffStatusMetricsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStaffStatusMetricsRequest) ToJsonString

func (r *DescribeStaffStatusMetricsRequest) ToJsonString() string

type DescribeStaffStatusMetricsRequestParams

type DescribeStaffStatusMetricsRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Filter agent list. by default, do not pass all returned agent information.
	StaffList []*string `json:"StaffList,omitnil,omitempty" name:"StaffList"`

	// Filter skill group id list.
	GroupIdList []*int64 `json:"GroupIdList,omitnil,omitempty" name:"GroupIdList"`

	// Filter agent status list agent status free available | busy busy | rest on break | notready not ready | aftercallwork post-call adjustment | offline offline .
	StatusList []*string `json:"StatusList,omitnil,omitempty" name:"StatusList"`
}

Predefined struct for user

type DescribeStaffStatusMetricsResponse

type DescribeStaffStatusMetricsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStaffStatusMetricsResponseParams `json:"Response"`
}

func NewDescribeStaffStatusMetricsResponse

func NewDescribeStaffStatusMetricsResponse() (response *DescribeStaffStatusMetricsResponse)

func (*DescribeStaffStatusMetricsResponse) FromJsonString

func (r *DescribeStaffStatusMetricsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStaffStatusMetricsResponse) ToJsonString

func (r *DescribeStaffStatusMetricsResponse) ToJsonString() string

type DescribeStaffStatusMetricsResponseParams

type DescribeStaffStatusMetricsResponseParams struct {
	// Real-Time information on agent status.
	Metrics []*StaffStatusMetrics `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTelCallInfoRequest

type DescribeTelCallInfoRequest struct {
	*tchttp.BaseRequest

	// Start timestamp, unix timestamp (query dimension supports only daily. for example, to query may 1st, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-01 23:59:59" timestamp. to query may 1st and may 2nd, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-02 23:59:59" timestamp).
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp, unix timestamp, the query time range is up to 90 days (query dimension supports only daily. for example, to query may 1st, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-01 23:59:59" timestamp. to query may 1st and may 2nd, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-02 23:59:59" timestamp).
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// Application id list, when having multiple ids, the returned value is the sum of all the ids.
	SdkAppIdList []*int64 `json:"SdkAppIdList,omitnil,omitempty" name:"SdkAppIdList"`
}

func NewDescribeTelCallInfoRequest

func NewDescribeTelCallInfoRequest() (request *DescribeTelCallInfoRequest)

func (*DescribeTelCallInfoRequest) FromJsonString

func (r *DescribeTelCallInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelCallInfoRequest) ToJsonString

func (r *DescribeTelCallInfoRequest) ToJsonString() string

type DescribeTelCallInfoRequestParams

type DescribeTelCallInfoRequestParams struct {
	// Start timestamp, unix timestamp (query dimension supports only daily. for example, to query may 1st, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-01 23:59:59" timestamp. to query may 1st and may 2nd, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-02 23:59:59" timestamp).
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp, unix timestamp, the query time range is up to 90 days (query dimension supports only daily. for example, to query may 1st, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-01 23:59:59" timestamp. to query may 1st and may 2nd, pass starttime:"2023-05-01 00:00:00","endtime":"2023-05-02 23:59:59" timestamp).
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// Application id list, when having multiple ids, the returned value is the sum of all the ids.
	SdkAppIdList []*int64 `json:"SdkAppIdList,omitnil,omitempty" name:"SdkAppIdList"`
}

Predefined struct for user

type DescribeTelCallInfoResponse

type DescribeTelCallInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTelCallInfoResponseParams `json:"Response"`
}

func NewDescribeTelCallInfoResponse

func NewDescribeTelCallInfoResponse() (response *DescribeTelCallInfoResponse)

func (*DescribeTelCallInfoResponse) FromJsonString

func (r *DescribeTelCallInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelCallInfoResponse) ToJsonString

func (r *DescribeTelCallInfoResponse) ToJsonString() string

type DescribeTelCallInfoResponseParams

type DescribeTelCallInfoResponseParams struct {
	// Number of minutes consumed by outbound package.
	TelCallOutCount *int64 `json:"TelCallOutCount,omitnil,omitempty" name:"TelCallOutCount"`

	// Number of minutes consumed by inbound package.
	TelCallInCount *int64 `json:"TelCallInCount,omitnil,omitempty" name:"TelCallInCount"`

	// Number of agent usage statistics.
	SeatUsedCount *int64 `json:"SeatUsedCount,omitnil,omitempty" name:"SeatUsedCount"`

	// Number of minutes consumed by audio package.
	//
	// Deprecated: VoipCallInCount is deprecated.
	VoipCallInCount *int64 `json:"VoipCallInCount,omitnil,omitempty" name:"VoipCallInCount"`

	// Number of minutes consumed by audio package.
	VOIPCallInCount *int64 `json:"VOIPCallInCount,omitnil,omitempty" name:"VOIPCallInCount"`

	// Number of minutes consumed by offline speech-to-text package.
	AsrOfflineCount *int64 `json:"AsrOfflineCount,omitnil,omitempty" name:"AsrOfflineCount"`

	// Number of minutes consumed by real-time speech-to-text package.
	AsrRealtimeCount *int64 `json:"AsrRealtimeCount,omitnil,omitempty" name:"AsrRealtimeCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTelCdrRequest

type DescribeTelCdrRequest struct {
	*tchttp.BaseRequest

	// Start timestamp, unix timestamp in seconds. supports up to the past 180 days.
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp, unix timestamp in seconds. the range between the end time and start time is less than 90 days.
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// Instance id (deprecated).
	InstanceId *int64 `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Maximum number of returned entries (deprecated).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset (deprecated).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size (required), up to 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// <Page number (required), starting from 0.>.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Filter by phone number.
	Phones []*string `json:"Phones,omitnil,omitempty" name:"Phones"`

	// Filter by sessionid.
	SessionIds []*string `json:"SessionIds,omitnil,omitempty" name:"SessionIds"`
}

func NewDescribeTelCdrRequest

func NewDescribeTelCdrRequest() (request *DescribeTelCdrRequest)

func (*DescribeTelCdrRequest) FromJsonString

func (r *DescribeTelCdrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelCdrRequest) ToJsonString

func (r *DescribeTelCdrRequest) ToJsonString() string

type DescribeTelCdrRequestParams

type DescribeTelCdrRequestParams struct {
	// Start timestamp, unix timestamp in seconds. supports up to the past 180 days.
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp, unix timestamp in seconds. the range between the end time and start time is less than 90 days.
	EndTimeStamp *int64 `json:"EndTimeStamp,omitnil,omitempty" name:"EndTimeStamp"`

	// Instance id (deprecated).
	//
	// Deprecated: InstanceId is deprecated.
	InstanceId *int64 `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Maximum number of returned entries (deprecated).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset (deprecated).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Page size (required), up to 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// <Page number (required), starting from 0.>.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Filter by phone number.
	Phones []*string `json:"Phones,omitnil,omitempty" name:"Phones"`

	// Filter by sessionid.
	SessionIds []*string `json:"SessionIds,omitnil,omitempty" name:"SessionIds"`
}

Predefined struct for user

type DescribeTelCdrResponse

type DescribeTelCdrResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTelCdrResponseParams `json:"Response"`
}

func NewDescribeTelCdrResponse

func NewDescribeTelCdrResponse() (response *DescribeTelCdrResponse)

func (*DescribeTelCdrResponse) FromJsonString

func (r *DescribeTelCdrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelCdrResponse) ToJsonString

func (r *DescribeTelCdrResponse) ToJsonString() string

type DescribeTelCdrResponseParams

type DescribeTelCdrResponseParams struct {
	// Total number of call records.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Call record.
	//
	// Deprecated: TelCdrs is deprecated.
	TelCdrs []*TelCdrInfo `json:"TelCdrs,omitnil,omitempty" name:"TelCdrs"`

	// Call record.
	TelCdrList []*TelCdrInfo `json:"TelCdrList,omitnil,omitempty" name:"TelCdrList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTelRecordAsrRequest

type DescribeTelRecordAsrRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

func NewDescribeTelRecordAsrRequest

func NewDescribeTelRecordAsrRequest() (request *DescribeTelRecordAsrRequest)

func (*DescribeTelRecordAsrRequest) FromJsonString

func (r *DescribeTelRecordAsrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelRecordAsrRequest) ToJsonString

func (r *DescribeTelRecordAsrRequest) ToJsonString() string

type DescribeTelRecordAsrRequestParams

type DescribeTelRecordAsrRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

Predefined struct for user

type DescribeTelRecordAsrResponse

type DescribeTelRecordAsrResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTelRecordAsrResponseParams `json:"Response"`
}

func NewDescribeTelRecordAsrResponse

func NewDescribeTelRecordAsrResponse() (response *DescribeTelRecordAsrResponse)

func (*DescribeTelRecordAsrResponse) FromJsonString

func (r *DescribeTelRecordAsrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelRecordAsrResponse) ToJsonString

func (r *DescribeTelRecordAsrResponse) ToJsonString() string

type DescribeTelRecordAsrResponseParams

type DescribeTelRecordAsrResponseParams struct {
	// Recording to text information.
	AsrDataList []*AsrData `json:"AsrDataList,omitnil,omitempty" name:"AsrDataList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTelSessionRequest

type DescribeTelSessionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

func NewDescribeTelSessionRequest

func NewDescribeTelSessionRequest() (request *DescribeTelSessionRequest)

func (*DescribeTelSessionRequest) FromJsonString

func (r *DescribeTelSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelSessionRequest) ToJsonString

func (r *DescribeTelSessionRequest) ToJsonString() string

type DescribeTelSessionRequestParams

type DescribeTelSessionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

Predefined struct for user

type DescribeTelSessionResponse

type DescribeTelSessionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTelSessionResponseParams `json:"Response"`
}

func NewDescribeTelSessionResponse

func NewDescribeTelSessionResponse() (response *DescribeTelSessionResponse)

func (*DescribeTelSessionResponse) FromJsonString

func (r *DescribeTelSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTelSessionResponse) ToJsonString

func (r *DescribeTelSessionResponse) ToJsonString() string

type DescribeTelSessionResponseParams

type DescribeTelSessionResponseParams struct {
	// Session information.
	Session *PSTNSession `json:"Session,omitnil,omitempty" name:"Session"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableCCCPhoneNumberRequest

type DisableCCCPhoneNumberRequest struct {
	*tchttp.BaseRequest

	// Number list starting with 0086.
	PhoneNumbers []*string `json:"PhoneNumbers,omitnil,omitempty" name:"PhoneNumbers"`

	// Disable switch: 0 for enable, 1 for disable.
	Disabled *int64 `json:"Disabled,omitnil,omitempty" name:"Disabled"`

	// TCCC instance application id.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`
}

func NewDisableCCCPhoneNumberRequest

func NewDisableCCCPhoneNumberRequest() (request *DisableCCCPhoneNumberRequest)

func (*DisableCCCPhoneNumberRequest) FromJsonString

func (r *DisableCCCPhoneNumberRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableCCCPhoneNumberRequest) ToJsonString

func (r *DisableCCCPhoneNumberRequest) ToJsonString() string

type DisableCCCPhoneNumberRequestParams

type DisableCCCPhoneNumberRequestParams struct {
	// Number list starting with 0086.
	PhoneNumbers []*string `json:"PhoneNumbers,omitnil,omitempty" name:"PhoneNumbers"`

	// Disable switch: 0 for enable, 1 for disable.
	Disabled *int64 `json:"Disabled,omitnil,omitempty" name:"Disabled"`

	// TCCC instance application id.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`
}

Predefined struct for user

type DisableCCCPhoneNumberResponse

type DisableCCCPhoneNumberResponse struct {
	*tchttp.BaseResponse
	Response *DisableCCCPhoneNumberResponseParams `json:"Response"`
}

func NewDisableCCCPhoneNumberResponse

func NewDisableCCCPhoneNumberResponse() (response *DisableCCCPhoneNumberResponse)

func (*DisableCCCPhoneNumberResponse) FromJsonString

func (r *DisableCCCPhoneNumberResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableCCCPhoneNumberResponse) ToJsonString

func (r *DisableCCCPhoneNumberResponse) ToJsonString() string

type DisableCCCPhoneNumberResponseParams

type DisableCCCPhoneNumberResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ErrStaffItem

type ErrStaffItem struct {
	// Agent email address.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Error code.
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// Error description.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type ExtensionInfo

type ExtensionInfo struct {
	// Instance id.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension full name.
	FullExtensionId *string `json:"FullExtensionId,omitnil,omitempty" name:"FullExtensionId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Affiliated skill group list.
	SkillGroupId *string `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Extension name.
	ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"`

	// Creation time.
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last modification time.
	ModifyTime *int64 `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Telephone status (0 offline, 100 free, 200 busy).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Whether to register.
	Register *bool `json:"Register,omitnil,omitempty" name:"Register"`

	// Bind agent email.
	Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`

	// Bind agent name.
	RelationName *string `json:"RelationName,omitnil,omitempty" name:"RelationName"`
}

type HangUpCallRequest

type HangUpCallRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

func NewHangUpCallRequest

func NewHangUpCallRequest() (request *HangUpCallRequest)

func (*HangUpCallRequest) FromJsonString

func (r *HangUpCallRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*HangUpCallRequest) ToJsonString

func (r *HangUpCallRequest) ToJsonString() string

type HangUpCallRequestParams

type HangUpCallRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

Predefined struct for user

type HangUpCallResponse

type HangUpCallResponse struct {
	*tchttp.BaseResponse
	Response *HangUpCallResponseParams `json:"Response"`
}

func NewHangUpCallResponse

func NewHangUpCallResponse() (response *HangUpCallResponse)

func (*HangUpCallResponse) FromJsonString

func (r *HangUpCallResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*HangUpCallResponse) ToJsonString

func (r *HangUpCallResponse) ToJsonString() string

type HangUpCallResponseParams

type HangUpCallResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type IVRKeyPressedElement

type IVRKeyPressedElement struct {
	// Hit keyword or press.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Tag associated with the key.
	Label *string `json:"Label,omitnil,omitempty" name:"Label"`

	// UNIX millisecond timestamp.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Node tags.
	NodeLabel *string `json:"NodeLabel,omitnil,omitempty" name:"NodeLabel"`

	// User'S original input.
	OriginalContent *string `json:"OriginalContent,omitnil,omitempty" name:"OriginalContent"`

	// TTS prompt content.
	TTSPrompt *string `json:"TTSPrompt,omitnil,omitempty" name:"TTSPrompt"`
}

type ModifyExtensionRequest

type ModifyExtensionRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Extension name.
	ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"`

	// Affiliated skill group list.
	SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Bind agent email account.
	Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`
}

func NewModifyExtensionRequest

func NewModifyExtensionRequest() (request *ModifyExtensionRequest)

func (*ModifyExtensionRequest) FromJsonString

func (r *ModifyExtensionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyExtensionRequest) ToJsonString

func (r *ModifyExtensionRequest) ToJsonString() string

type ModifyExtensionRequestParams

type ModifyExtensionRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`

	// Extension name.
	ExtensionName *string `json:"ExtensionName,omitnil,omitempty" name:"ExtensionName"`

	// Affiliated skill group list.
	SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Bind agent email account.
	Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`
}

Predefined struct for user

type ModifyExtensionResponse

type ModifyExtensionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyExtensionResponseParams `json:"Response"`
}

func NewModifyExtensionResponse

func NewModifyExtensionResponse() (response *ModifyExtensionResponse)

func (*ModifyExtensionResponse) FromJsonString

func (r *ModifyExtensionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyExtensionResponse) ToJsonString

func (r *ModifyExtensionResponse) ToJsonString() string

type ModifyExtensionResponseParams

type ModifyExtensionResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyOwnNumberApplyRequest

type ModifyOwnNumberApplyRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Circuit-Related parameters.
	DetailList []*OwnNumberApplyDetailItem `json:"DetailList,omitnil,omitempty" name:"DetailList"`

	// Approval id.
	ApplyId *uint64 `json:"ApplyId,omitnil,omitempty" name:"ApplyId"`

	// Prefix for sending numbers.
	Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"`
}

func NewModifyOwnNumberApplyRequest

func NewModifyOwnNumberApplyRequest() (request *ModifyOwnNumberApplyRequest)

func (*ModifyOwnNumberApplyRequest) FromJsonString

func (r *ModifyOwnNumberApplyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOwnNumberApplyRequest) ToJsonString

func (r *ModifyOwnNumberApplyRequest) ToJsonString() string

type ModifyOwnNumberApplyRequestParams

type ModifyOwnNumberApplyRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Circuit-Related parameters.
	DetailList []*OwnNumberApplyDetailItem `json:"DetailList,omitnil,omitempty" name:"DetailList"`

	// Approval id.
	ApplyId *uint64 `json:"ApplyId,omitnil,omitempty" name:"ApplyId"`

	// Prefix for sending numbers.
	Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"`
}

Predefined struct for user

type ModifyOwnNumberApplyResponse

type ModifyOwnNumberApplyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyOwnNumberApplyResponseParams `json:"Response"`
}

func NewModifyOwnNumberApplyResponse

func NewModifyOwnNumberApplyResponse() (response *ModifyOwnNumberApplyResponse)

func (*ModifyOwnNumberApplyResponse) FromJsonString

func (r *ModifyOwnNumberApplyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOwnNumberApplyResponse) ToJsonString

func (r *ModifyOwnNumberApplyResponse) ToJsonString() string

type ModifyOwnNumberApplyResponseParams

type ModifyOwnNumberApplyResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStaffPasswordRequest

type ModifyStaffPasswordRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent email.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The set password.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

func NewModifyStaffPasswordRequest

func NewModifyStaffPasswordRequest() (request *ModifyStaffPasswordRequest)

func (*ModifyStaffPasswordRequest) FromJsonString

func (r *ModifyStaffPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStaffPasswordRequest) ToJsonString

func (r *ModifyStaffPasswordRequest) ToJsonString() string

type ModifyStaffPasswordRequestParams

type ModifyStaffPasswordRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent email.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The set password.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

Predefined struct for user

type ModifyStaffPasswordResponse

type ModifyStaffPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStaffPasswordResponseParams `json:"Response"`
}

func NewModifyStaffPasswordResponse

func NewModifyStaffPasswordResponse() (response *ModifyStaffPasswordResponse)

func (*ModifyStaffPasswordResponse) FromJsonString

func (r *ModifyStaffPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStaffPasswordResponse) ToJsonString

func (r *ModifyStaffPasswordResponse) ToJsonString() string

type ModifyStaffPasswordResponseParams

type ModifyStaffPasswordResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStaffRequest

type ModifyStaffRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent account.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Agent name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent phone number (preceded by 0086, example: 008618011111111).
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Agent nickname.
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// Agent id.
	StaffNo *string `json:"StaffNo,omitnil,omitempty" name:"StaffNo"`

	// Bind skill group id list.
	SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Whether the cell phone outbound call switch is enabled or not.
	UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"`

	// Cell phone answering pattern: 0 - off | 1 - only when offline | 2 - always.
	UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"`

	// Agent extension number (starting with 1 to 8, 4 - 6 digits).
	ExtensionNumber *string `json:"ExtensionNumber,omitnil,omitempty" name:"ExtensionNumber"`
}

func NewModifyStaffRequest

func NewModifyStaffRequest() (request *ModifyStaffRequest)

func (*ModifyStaffRequest) FromJsonString

func (r *ModifyStaffRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStaffRequest) ToJsonString

func (r *ModifyStaffRequest) ToJsonString() string

type ModifyStaffRequestParams

type ModifyStaffRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Agent account.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Agent name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent phone number (preceded by 0086, example: 008618011111111).
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Agent nickname.
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// Agent id.
	StaffNo *string `json:"StaffNo,omitnil,omitempty" name:"StaffNo"`

	// Bind skill group id list.
	SkillGroupIds []*int64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`

	// Whether the cell phone outbound call switch is enabled or not.
	UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"`

	// Cell phone answering pattern: 0 - off | 1 - only when offline | 2 - always.
	UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"`

	// Agent extension number (starting with 1 to 8, 4 - 6 digits).
	ExtensionNumber *string `json:"ExtensionNumber,omitnil,omitempty" name:"ExtensionNumber"`
}

Predefined struct for user

type ModifyStaffResponse

type ModifyStaffResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStaffResponseParams `json:"Response"`
}

func NewModifyStaffResponse

func NewModifyStaffResponse() (response *ModifyStaffResponse)

func (*ModifyStaffResponse) FromJsonString

func (r *ModifyStaffResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStaffResponse) ToJsonString

func (r *ModifyStaffResponse) ToJsonString() string

type ModifyStaffResponseParams

type ModifyStaffResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type NumberInfo

type NumberInfo struct {
	// Number.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// Bound outbound call skill group.
	CallOutSkillGroupIds []*uint64 `json:"CallOutSkillGroupIds,omitnil,omitempty" name:"CallOutSkillGroupIds"`

	// Number status, 1-normal, 2-disabled due to overdue payment, 4-disabled by the administrator, 5-disabled due to violation.
	State *int64 `json:"State,omitnil,omitempty" name:"State"`
}

type OwnNumberApplyDetailItem

type OwnNumberApplyDetailItem struct {
	// Number type: 0 - inbound | 1 - outbound | 2 - inbound and outbound.
	CallType *int64 `json:"CallType,omitnil,omitempty" name:"CallType"`

	// Line number.
	PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"`

	// Maximum concurrent call number.
	MaxCallCount *int64 `json:"MaxCallCount,omitnil,omitempty" name:"MaxCallCount"`

	// Maximum number of concurrencies per second.
	MaxCallPSec *int64 `json:"MaxCallPSec,omitnil,omitempty" name:"MaxCallPSec"`

	// Outbound called number format, use {+e.164} or {e.164}.
	OutboundCalleeFormat *string `json:"OutboundCalleeFormat,omitnil,omitempty" name:"OutboundCalleeFormat"`
}

type PSTNSession

type PSTNSession struct {
	// Session id.
	SessionID *string `json:"SessionID,omitnil,omitempty" name:"SessionID"`

	// Temporary room id for session.
	RoomID *string `json:"RoomID,omitnil,omitempty" name:"RoomID"`

	// Caller.
	Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"`

	// Called.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Start time. unix timestamp.
	StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Ring time. unix timestamp.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Answer time. unix timestamp.
	AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

	// Agent email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Agent id.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Session status.
	// Ringing - in progress.
	// SeatJoining - waiting for the agent to answer.
	// InProgress: in progress.
	// Finished - completed.
	SessionStatus *string `json:"SessionStatus,omitnil,omitempty" name:"SessionStatus"`

	// Session call direction, 0 - inbound | 1 - outbound.
	Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// The number used for transferring to the external line (outbound caller).
	OutBoundCaller *string `json:"OutBoundCaller,omitnil,omitempty" name:"OutBoundCaller"`

	// Outbound callee.
	OutBoundCallee *string `json:"OutBoundCallee,omitnil,omitempty" name:"OutBoundCallee"`

	// Caller number protection id. effective when the number protection map feature is activated, and the caller field is empty.
	ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"`

	// Called number protection id. effective when the number protection map feature is activated, and the callee field is empty.
	ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"`
}

type PSTNSessionInfo

type PSTNSessionInfo struct {
	// Session id.
	SessionID *string `json:"SessionID,omitnil,omitempty" name:"SessionID"`

	// Temporary room id for session.
	RoomID *string `json:"RoomID,omitnil,omitempty" name:"RoomID"`

	// Caller.
	Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"`

	// Called.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Start time. unix timestamp.
	StartTimestamp *string `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Answer time. unix timestamp.
	AcceptTimestamp *string `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

	// Agent email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Agent id.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Agent status inprogress ongoing.
	SessionStatus *string `json:"SessionStatus,omitnil,omitempty" name:"SessionStatus"`

	// Session call direction, 0 - inbound | 1 - outbound.
	Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Ring time. unix timestamp.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Caller number protection id. effective when the number protection map feature is activated, and the caller field is empty.
	ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"`

	// Called number protection id. effective when the number protection map feature is activated, and the callee field is empty.
	ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"`
}

type PackageBuyInfo

type PackageBuyInfo struct {
	// Package id.
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Package type, 0 - outbound call package | 1 - 400 inbound call package.
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// <TOTAL_PACKAGE>.
	CapacitySize *int64 `json:"CapacitySize,omitnil,omitempty" name:"CapacitySize"`

	// Remaining package balance.
	CapacityRemain *int64 `json:"CapacityRemain,omitnil,omitempty" name:"CapacityRemain"`

	// Purchased timestamp.
	BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"`

	// Deadline timestamp.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type PausePredictiveDialingCampaignRequest

type PausePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewPausePredictiveDialingCampaignRequest

func NewPausePredictiveDialingCampaignRequest() (request *PausePredictiveDialingCampaignRequest)

func (*PausePredictiveDialingCampaignRequest) FromJsonString

func (r *PausePredictiveDialingCampaignRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PausePredictiveDialingCampaignRequest) ToJsonString

type PausePredictiveDialingCampaignRequestParams

type PausePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type PausePredictiveDialingCampaignResponse

type PausePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *PausePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewPausePredictiveDialingCampaignResponse

func NewPausePredictiveDialingCampaignResponse() (response *PausePredictiveDialingCampaignResponse)

func (*PausePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PausePredictiveDialingCampaignResponse) ToJsonString

type PausePredictiveDialingCampaignResponseParams

type PausePredictiveDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PhoneNumBuyInfo

type PhoneNumBuyInfo struct {
	// Telephone number.
	PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"`

	// Number type, 0 - landline | 1 - virtual business number | 2 - ISP number | 3 - 400 number.
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Call type of the number, 1 - inbound | 2 - outbound | 3 - inbound and outbound.
	CallType *int64 `json:"CallType,omitnil,omitempty" name:"CallType"`

	// Purchased timestamp.
	BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"`

	// Deadline timestamp.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number status, 1-normal | 2-suspended due to non-payment | 4-admin suspended | 5-suspended due to violation.
	State *int64 `json:"State,omitnil,omitempty" name:"State"`
}

type ResetExtensionPasswordRequest

type ResetExtensionPasswordRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

func NewResetExtensionPasswordRequest

func NewResetExtensionPasswordRequest() (request *ResetExtensionPasswordRequest)

func (*ResetExtensionPasswordRequest) FromJsonString

func (r *ResetExtensionPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetExtensionPasswordRequest) ToJsonString

func (r *ResetExtensionPasswordRequest) ToJsonString() string

type ResetExtensionPasswordRequestParams

type ResetExtensionPasswordRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Extension.
	ExtensionId *string `json:"ExtensionId,omitnil,omitempty" name:"ExtensionId"`
}

Predefined struct for user

type ResetExtensionPasswordResponse

type ResetExtensionPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetExtensionPasswordResponseParams `json:"Response"`
}

func NewResetExtensionPasswordResponse

func NewResetExtensionPasswordResponse() (response *ResetExtensionPasswordResponse)

func (*ResetExtensionPasswordResponse) FromJsonString

func (r *ResetExtensionPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetExtensionPasswordResponse) ToJsonString

func (r *ResetExtensionPasswordResponse) ToJsonString() string

type ResetExtensionPasswordResponseParams

type ResetExtensionPasswordResponseParams struct {
	// Reset password.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResumePredictiveDialingCampaignRequest

type ResumePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

func NewResumePredictiveDialingCampaignRequest

func NewResumePredictiveDialingCampaignRequest() (request *ResumePredictiveDialingCampaignRequest)

func (*ResumePredictiveDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResumePredictiveDialingCampaignRequest) ToJsonString

type ResumePredictiveDialingCampaignRequestParams

type ResumePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// <Task id>.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`
}

Predefined struct for user

type ResumePredictiveDialingCampaignResponse

type ResumePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *ResumePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewResumePredictiveDialingCampaignResponse

func NewResumePredictiveDialingCampaignResponse() (response *ResumePredictiveDialingCampaignResponse)

func (*ResumePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResumePredictiveDialingCampaignResponse) ToJsonString

type ResumePredictiveDialingCampaignResponseParams

type ResumePredictiveDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SdkAppIdBuyInfo

type SdkAppIdBuyInfo struct {
	// Application id.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Application name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent purchase count (still within the validity period).
	StaffBuyNum *int64 `json:"StaffBuyNum,omitnil,omitempty" name:"StaffBuyNum"`

	// Agent purchase list (still within the validity period).
	StaffBuyList []*StaffBuyInfo `json:"StaffBuyList,omitnil,omitempty" name:"StaffBuyList"`

	// List of numbers purchased.
	PhoneNumBuyList []*PhoneNumBuyInfo `json:"PhoneNumBuyList,omitnil,omitempty" name:"PhoneNumBuyList"`

	// Number of office telephones purchased (still within the validity period).
	SipBuyNum *int64 `json:"SipBuyNum,omitnil,omitempty" name:"SipBuyNum"`
}

type SeatUserInfo

type SeatUserInfo struct {
	// Agent name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent email.
	Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"`

	// Worker number.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Agent'S telephone number (with 0086 prefix).
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Agent nickname.
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// User id.
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// List of skill groups associated with the agent.
	SkillGroupNameList []*string `json:"SkillGroupNameList,omitnil,omitempty" name:"SkillGroupNameList"`

	// 1: admin.
	// 2: quality inspector.
	// 3: ordinary agent.
	// Else: custom role id.
	Role *int64 `json:"Role,omitnil,omitempty" name:"Role"`

	// Agent extension number (starting with 1 to 8, 4 - 6 digits).
	ExtensionNumber *string `json:"ExtensionNumber,omitnil,omitempty" name:"ExtensionNumber"`
}

type ServeParticipant

type ServeParticipant struct {
	// Agent email.
	Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"`

	// Agent phone number.
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Ringing timestamp, unix second-level timestamp.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Answer timestamp. unix second-level timestamp.
	AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

	// End timestamp. unix second-level timestamp.
	EndedTimestamp *int64 `json:"EndedTimestamp,omitnil,omitempty" name:"EndedTimestamp"`

	// Recording id can be indexed to the agent side recording.
	RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`

	// Participant type: "staffseat", "outboundseat", "staffphoneseat".
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Transfer source agent information.
	TransferFrom *string `json:"TransferFrom,omitnil,omitempty" name:"TransferFrom"`

	// Transfer source participant type is consistent with the type value.
	TransferFromType *string `json:"TransferFromType,omitnil,omitempty" name:"TransferFromType"`

	// Transfer destination agent information.
	TransferTo *string `json:"TransferTo,omitnil,omitempty" name:"TransferTo"`

	// Transfer destination participant type, which is consistent with type values.
	TransferToType *string `json:"TransferToType,omitnil,omitempty" name:"TransferToType"`

	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Ending status.
	EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"`

	// Recording url.
	RecordURL *string `json:"RecordURL,omitnil,omitempty" name:"RecordURL"`

	// Participant sequence number, starting from 0.
	Sequence *int64 `json:"Sequence,omitnil,omitempty" name:"Sequence"`

	// Start timestamp. unix second-level timestamp.
	StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Address of the third-party cos for transferring recording.
	CustomRecordURL *string `json:"CustomRecordURL,omitnil,omitempty" name:"CustomRecordURL"`
}

type SkillGroupInfoItem

type SkillGroupInfoItem struct {
	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// (Deprecated) type: im, tel, all (full media).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Session allocation policy.
	RoutePolicy *string `json:"RoutePolicy,omitnil,omitempty" name:"RoutePolicy"`

	// Whether the session is allocated to the last serviced agent first.
	UsingLastSeat *int64 `json:"UsingLastSeat,omitnil,omitempty" name:"UsingLastSeat"`

	// Maximum concurrency number of single client service (default 1 for telephone type).
	MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`

	// Last modification time.
	LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"`

	// Skill group type 0-cell phone, 1-online, 3-audio, 4-video.	.
	SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"`

	// Intra-Skill group line number.
	Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"`
}

type SkillGroupItem

type SkillGroupItem struct {
	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Priority.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Type: im, tel, all (full media).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

type StaffBuyInfo

type StaffBuyInfo struct {
	// Number of agents purchased.
	Num *int64 `json:"Num,omitnil,omitempty" name:"Num"`

	// Purchased timestamp.
	BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"`

	// Deadline timestamp.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Quantity of office telephones purchased.
	SipNum *int64 `json:"SipNum,omitnil,omitempty" name:"SipNum"`
}

type StaffInfo

type StaffInfo struct {
	// Agent name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Agent email.
	Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"`

	// Agent phone number.
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Agent nickname.
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// Agent id.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// User role id.
	RoleId *uint64 `json:"RoleId,omitnil,omitempty" name:"RoleId"`

	// Affiliated skill group list.
	SkillGroupList []*SkillGroupItem `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`

	// Last modification time.
	LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"`

	// Agent extension number (starting with 1 to 8, 4 - 6 digits).
	ExtensionNumber *string `json:"ExtensionNumber,omitnil,omitempty" name:"ExtensionNumber"`
}

type StaffSkillGroupList

type StaffSkillGroupList struct {
	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Priority of the agent in the skill group (1 is the highest, 5 is the lowest, 3 by default).
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`
}

type StaffStatusExtra

type StaffStatusExtra struct {
	// IM - text | tel - cell phone | all - full media.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// IN - inbound | out - outbound.
	Direct *string `json:"Direct,omitnil,omitempty" name:"Direct"`
}

type StaffStatusMetrics

type StaffStatusMetrics struct {
	// Agent email.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// Agent status free available | busy busy | rest on break | notready not ready | aftercallwork post-call adjustment | offline offline.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Supplementary information on agent status.
	StatusExtra *StaffStatusExtra `json:"StatusExtra,omitnil,omitempty" name:"StatusExtra"`

	// Total online duration of the day.
	OnlineDuration *int64 `json:"OnlineDuration,omitnil,omitempty" name:"OnlineDuration"`

	// Total available duration of the day.
	FreeDuration *int64 `json:"FreeDuration,omitnil,omitempty" name:"FreeDuration"`

	// Total busy duration of the day.
	BusyDuration *int64 `json:"BusyDuration,omitnil,omitempty" name:"BusyDuration"`

	// Total not ready status duration of the day.
	NotReadyDuration *int64 `json:"NotReadyDuration,omitnil,omitempty" name:"NotReadyDuration"`

	// Total break duration of the day.
	RestDuration *int64 `json:"RestDuration,omitnil,omitempty" name:"RestDuration"`

	// Adjust the total duration of after-call work for the day.
	AfterCallWorkDuration *int64 `json:"AfterCallWorkDuration,omitnil,omitempty" name:"AfterCallWorkDuration"`

	// Reason for break.
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// Whether to reserve break status.
	ReserveRest *bool `json:"ReserveRest,omitnil,omitempty" name:"ReserveRest"`

	// Whether to reserve not ready status.
	ReserveNotReady *bool `json:"ReserveNotReady,omitnil,omitempty" name:"ReserveNotReady"`

	// Cell phone answering pattern: 0 - off | 1 - only when offline | 2 - always.
	UseMobileAccept *int64 `json:"UseMobileAccept,omitnil,omitempty" name:"UseMobileAccept"`

	// Cell phone outbound call switch.
	UseMobileCallOut *bool `json:"UseMobileCallOut,omitnil,omitempty" name:"UseMobileCallOut"`

	// Last online timestamp.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastOnlineTimestamp *int64 `json:"LastOnlineTimestamp,omitnil,omitempty" name:"LastOnlineTimestamp"`

	// Last status timestamp.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastStatusTimestamp *int64 `json:"LastStatusTimestamp,omitnil,omitempty" name:"LastStatusTimestamp"`
}

type StopAutoCalloutTaskRequest

type StopAutoCalloutTaskRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewStopAutoCalloutTaskRequest

func NewStopAutoCalloutTaskRequest() (request *StopAutoCalloutTaskRequest)

func (*StopAutoCalloutTaskRequest) FromJsonString

func (r *StopAutoCalloutTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopAutoCalloutTaskRequest) ToJsonString

func (r *StopAutoCalloutTaskRequest) ToJsonString() string

type StopAutoCalloutTaskRequestParams

type StopAutoCalloutTaskRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Task id.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type StopAutoCalloutTaskResponse

type StopAutoCalloutTaskResponse struct {
	*tchttp.BaseResponse
	Response *StopAutoCalloutTaskResponseParams `json:"Response"`
}

func NewStopAutoCalloutTaskResponse

func NewStopAutoCalloutTaskResponse() (response *StopAutoCalloutTaskResponse)

func (*StopAutoCalloutTaskResponse) FromJsonString

func (r *StopAutoCalloutTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopAutoCalloutTaskResponse) ToJsonString

func (r *StopAutoCalloutTaskResponse) ToJsonString() string

type StopAutoCalloutTaskResponseParams

type StopAutoCalloutTaskResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type TelCdrInfo

type TelCdrInfo struct {
	// Caller number.
	Caller *string `json:"Caller,omitnil,omitempty" name:"Caller"`

	// Called number.
	Callee *string `json:"Callee,omitnil,omitempty" name:"Callee"`

	// Call initiation timestamp, unix timestamp.
	Time *int64 `json:"Time,omitnil,omitempty" name:"Time"`

	// Call direction: 0 - inbound, 1 - outbound.
	Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Call duration.
	Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Recording information.
	RecordURL *string `json:"RecordURL,omitnil,omitempty" name:"RecordURL"`

	// Recording id.
	RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`

	// Agent information.
	SeatUser *SeatUserInfo `json:"SeatUser,omitnil,omitempty" name:"SeatUser"`

	// EndStatus corresponds one-to-one with endstatusstring, with specific enumerations as follows:.
	//
	// **Scenario	EndStatus	EndStatusString	Status description**.
	//
	// Inbound call & call	1	ok	end properly.
	//
	// Inbound call & call | 0 | error | system error.
	//
	// Inbound call | 102 | ivrgiveup | user gives up during ivr.
	//
	// Inbound call | 103 | waitinggiveup | user gives up during session queue.
	//
	// Inbound call | 104 | ringinggiveup | user gives up during session ringing.
	//
	// Inbound call | 105 | noseatonline | no agent online.
	//
	// Inbound call              106	       non - working hour      non - working hour.
	//
	// Inbound call              107	       ivrend                   end directly after ivr.
	//
	// Inbound call              100	       blocklist call - in      call - in blocklist.
	//
	// Outgoing call            2                 unconnected            unconnected.
	//
	// Outgoing call            108           restricted callee      callee restricted due to high - risk.
	//
	// Outgoing call         109        toomanyrequest        overfrequency.
	//
	// Outgoing call         110        restrictedarea        outbound blind area.
	//
	// Outgoing call         111        restrictedtime        outbound time restriction.
	//
	// Outgoing call         201        unknown               unknown status.
	//
	// Outgoing call         202        notanswer             unanswered.
	//
	// Outgoing call - 203 - userreject: reject call.
	//
	// Outgoing call - 204 - poweroff: power off.
	//
	// Outgoing call - 205 - numbernotexist: nonexistent number.
	//
	// Outgoing call - 206 - busy: call in progress.
	//
	// Outgoing call - 207 - outofcredit: arrears.
	//
	// Outgoing call - 208 - operatorerror - ISP line exception.
	//
	// Outgoing call - 209 - callercancel - caller cancellation.
	//
	// Outgoing call - 210 - notinservice - not in service area.
	//
	// Inbound and outgoing call - 211 - clienterror - client error.
	// Outgoing call - 212 - carrierblocked - ISP blocking.
	EndStatus *int64 `json:"EndStatus,omitnil,omitempty" name:"EndStatus"`

	// Skill group name.
	SkillGroup *string `json:"SkillGroup,omitnil,omitempty" name:"SkillGroup"`

	// Caller'S location.
	CallerLocation *string `json:"CallerLocation,omitnil,omitempty" name:"CallerLocation"`

	// Time spent in ivr stage.
	IVRDuration *int64 `json:"IVRDuration,omitnil,omitempty" name:"IVRDuration"`

	// Ring timestamp. unix second-level timestamp.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Answer timestamp. unix second-level timestamp.
	AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

	// End timestamp. unix second-level timestamp.
	EndedTimestamp *int64 `json:"EndedTimestamp,omitnil,omitempty" name:"EndedTimestamp"`

	// IVR key information, e.g. ["1","2","3"].
	IVRKeyPressed []*string `json:"IVRKeyPressed,omitnil,omitempty" name:"IVRKeyPressed"`

	// Hang-Up side, seat, user, system.
	HungUpSide *string `json:"HungUpSide,omitnil,omitempty" name:"HungUpSide"`

	// Service participant list.
	ServeParticipants []*ServeParticipant `json:"ServeParticipants,omitnil,omitempty" name:"ServeParticipants"`

	// Skill group id.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// EndStatus corresponds one-to-one with endstatusstring, with specific enumerations as follows:.
	//
	// **Scenario	EndStatus	EndStatusString	Status description**.
	//
	// Inbound call & call	1	ok	end properly.
	//
	// Inbound call & call | 0 | error | system error.
	//
	// Inbound call | 102 | ivrgiveup | user gives up during ivr.
	//
	// Inbound call | 103 | waitinggiveup | user gives up during session queue.
	//
	// Inbound call | 104 | ringinggiveup | user gives up during session ringing.
	//
	// Inbound call | 105 | noseatonline | no agent online.
	//
	// Inbound call              106	       non - working hour      non - working hour.
	//
	// Inbound call              107	       ivrend                   end directly after ivr.
	//
	// Inbound call              100	       blocklist call - in      call - in blocklist.
	//
	// Outgoing call            2                 unconnected            unconnected.
	//
	// Outgoing call            108           restricted callee      callee restricted due to high - risk.
	//
	// Outgoing call         109        toomanyrequest        overfrequency.
	//
	// Outgoing call         110        restrictedarea        outbound blind area.
	//
	// Outgoing call         111        restrictedtime        outbound time restriction.
	//
	// Outgoing call         201        unknown               unknown status.
	//
	// Outgoing call         202        notanswer             unanswered.
	//
	// Outgoing call - 203 - userreject: reject call.
	//
	// Outgoing call - 204 - poweroff: power off.
	//
	// Outgoing call - 205 - numbernotexist: nonexistent number.
	//
	// Outgoing call - 206 - busy: call in progress.
	//
	// Outgoing call - 207 - outofcredit: arrears.
	//
	// Outgoing call - 208 - operatorerror - ISP line exception.
	//
	// Outgoing call - 209 - callercancel - caller cancellation.
	//
	// Outgoing call - 210 - notinservice - not in service area.
	//
	// Inbound and outgoing call - 211 - clienterror - client error.
	// Outgoing call - 212 - carrierblocked - ISP blocking.
	EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"`

	// Session start timestamp. unix second-level timestamp.
	StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Queue entry time. unix second-level timestamp.
	QueuedTimestamp *int64 `json:"QueuedTimestamp,omitnil,omitempty" name:"QueuedTimestamp"`

	// Post-IVR key information (e.g. [{"key":"1","label":"very satisfied"}]).
	PostIVRKeyPressed []*IVRKeyPressedElement `json:"PostIVRKeyPressed,omitnil,omitempty" name:"PostIVRKeyPressed"`

	// Queue skill group id.
	QueuedSkillGroupId *int64 `json:"QueuedSkillGroupId,omitnil,omitempty" name:"QueuedSkillGroupId"`

	// Session id.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// Caller number protection id. effective when the number protection map feature is activated, and the caller field is empty.
	ProtectedCaller *string `json:"ProtectedCaller,omitnil,omitempty" name:"ProtectedCaller"`

	// Called number protection id. effective when the number protection map feature is activated, and the callee field is empty.
	ProtectedCallee *string `json:"ProtectedCallee,omitnil,omitempty" name:"ProtectedCallee"`

	// Customer custom data. (user - to - user interface).
	// Note: this field may return null, indicating that no valid values can be obtained.
	//
	// Deprecated: Uui is deprecated.
	Uui *string `json:"Uui,omitnil,omitempty" name:"Uui"`

	// Customer custom data. (user - to - user interface).
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// IVR key information (e.g. [{"key":"1","label":"very satisfied"}]).
	IVRKeyPressedEx []*IVRKeyPressedElement `json:"IVRKeyPressedEx,omitnil,omitempty" name:"IVRKeyPressedEx"`

	// Access to the asr text information address of the recording.
	AsrUrl *string `json:"AsrUrl,omitnil,omitempty" name:"AsrUrl"`

	// ASRUrl status: complete.
	// Completed;.
	// Processing.
	// Generating.
	// NotExists.
	// No record (offline asr generation is not enabled or no package is available).
	AsrStatus *string `json:"AsrStatus,omitnil,omitempty" name:"AsrStatus"`

	// Address of the third-party cos for transferring recording.
	CustomRecordURL *string `json:"CustomRecordURL,omitnil,omitempty" name:"CustomRecordURL"`

	// Remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Queue skill group name.
	QueuedSkillGroupName *string `json:"QueuedSkillGroupName,omitnil,omitempty" name:"QueuedSkillGroupName"`

	// Audio message recording url during call.
	VoicemailRecordURL []*string `json:"VoicemailRecordURL,omitnil,omitempty" name:"VoicemailRecordURL"`

	// Text information address of asr audio message during a call.
	VoicemailAsrURL []*string `json:"VoicemailAsrURL,omitnil,omitempty" name:"VoicemailAsrURL"`
}

type UnbindNumberCallOutSkillGroupRequest

type UnbindNumberCallOutSkillGroupRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Number to be unbound.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// List of skill group ids to be unbound.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`
}

func NewUnbindNumberCallOutSkillGroupRequest

func NewUnbindNumberCallOutSkillGroupRequest() (request *UnbindNumberCallOutSkillGroupRequest)

func (*UnbindNumberCallOutSkillGroupRequest) FromJsonString

func (r *UnbindNumberCallOutSkillGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindNumberCallOutSkillGroupRequest) ToJsonString

func (r *UnbindNumberCallOutSkillGroupRequest) ToJsonString() string

type UnbindNumberCallOutSkillGroupRequestParams

type UnbindNumberCallOutSkillGroupRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Number to be unbound.
	Number *string `json:"Number,omitnil,omitempty" name:"Number"`

	// List of skill group ids to be unbound.
	SkillGroupIds []*uint64 `json:"SkillGroupIds,omitnil,omitempty" name:"SkillGroupIds"`
}

Predefined struct for user

type UnbindNumberCallOutSkillGroupResponse

type UnbindNumberCallOutSkillGroupResponse struct {
	*tchttp.BaseResponse
	Response *UnbindNumberCallOutSkillGroupResponseParams `json:"Response"`
}

func NewUnbindNumberCallOutSkillGroupResponse

func NewUnbindNumberCallOutSkillGroupResponse() (response *UnbindNumberCallOutSkillGroupResponse)

func (*UnbindNumberCallOutSkillGroupResponse) FromJsonString

func (r *UnbindNumberCallOutSkillGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindNumberCallOutSkillGroupResponse) ToJsonString

type UnbindNumberCallOutSkillGroupResponseParams

type UnbindNumberCallOutSkillGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnbindStaffSkillGroupListRequest

type UnbindStaffSkillGroupListRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer service email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Unbound skill group list.
	SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`
}

func NewUnbindStaffSkillGroupListRequest

func NewUnbindStaffSkillGroupListRequest() (request *UnbindStaffSkillGroupListRequest)

func (*UnbindStaffSkillGroupListRequest) FromJsonString

func (r *UnbindStaffSkillGroupListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindStaffSkillGroupListRequest) ToJsonString

func (r *UnbindStaffSkillGroupListRequest) ToJsonString() string

type UnbindStaffSkillGroupListRequestParams

type UnbindStaffSkillGroupListRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Customer service email.
	StaffEmail *string `json:"StaffEmail,omitnil,omitempty" name:"StaffEmail"`

	// Unbound skill group list.
	SkillGroupList []*int64 `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`
}

Predefined struct for user

type UnbindStaffSkillGroupListResponse

type UnbindStaffSkillGroupListResponse struct {
	*tchttp.BaseResponse
	Response *UnbindStaffSkillGroupListResponseParams `json:"Response"`
}

func NewUnbindStaffSkillGroupListResponse

func NewUnbindStaffSkillGroupListResponse() (response *UnbindStaffSkillGroupListResponse)

func (*UnbindStaffSkillGroupListResponse) FromJsonString

func (r *UnbindStaffSkillGroupListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindStaffSkillGroupListResponse) ToJsonString

func (r *UnbindStaffSkillGroupListResponse) ToJsonString() string

type UnbindStaffSkillGroupListResponseParams

type UnbindStaffSkillGroupListResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateCCCSkillGroupRequest

type UpdateCCCSkillGroupRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Skill group id.
	SkillGroupID *int64 `json:"SkillGroupID,omitnil,omitempty" name:"SkillGroupID"`

	// Modified skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Modified maximum concurrency, with the maximum synchronization being 2.
	MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`

	// True for simultaneous ringing, false for sequential ringing.
	RingAll *bool `json:"RingAll,omitnil,omitempty" name:"RingAll"`
}

func NewUpdateCCCSkillGroupRequest

func NewUpdateCCCSkillGroupRequest() (request *UpdateCCCSkillGroupRequest)

func (*UpdateCCCSkillGroupRequest) FromJsonString

func (r *UpdateCCCSkillGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateCCCSkillGroupRequest) ToJsonString

func (r *UpdateCCCSkillGroupRequest) ToJsonString() string

type UpdateCCCSkillGroupRequestParams

type UpdateCCCSkillGroupRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *uint64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Skill group id.
	SkillGroupID *int64 `json:"SkillGroupID,omitnil,omitempty" name:"SkillGroupID"`

	// Modified skill group name.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Modified maximum concurrency, with the maximum synchronization being 2.
	MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`

	// True for simultaneous ringing, false for sequential ringing.
	RingAll *bool `json:"RingAll,omitnil,omitempty" name:"RingAll"`
}

Predefined struct for user

type UpdateCCCSkillGroupResponse

type UpdateCCCSkillGroupResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCCCSkillGroupResponseParams `json:"Response"`
}

func NewUpdateCCCSkillGroupResponse

func NewUpdateCCCSkillGroupResponse() (response *UpdateCCCSkillGroupResponse)

func (*UpdateCCCSkillGroupResponse) FromJsonString

func (r *UpdateCCCSkillGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateCCCSkillGroupResponse) ToJsonString

func (r *UpdateCCCSkillGroupResponse) ToJsonString() string

type UpdateCCCSkillGroupResponseParams

type UpdateCCCSkillGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdatePredictiveDialingCampaignRequest

type UpdatePredictiveDialingCampaignRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Expected call drop rate, percentage, 5 - 50.	.
	ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"`

	// Call retry interval, in seconds, [60 - 86,400].
	RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specified ivr id.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// Number of call retries, 0 - 2.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// 	UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

func NewUpdatePredictiveDialingCampaignRequest

func NewUpdatePredictiveDialingCampaignRequest() (request *UpdatePredictiveDialingCampaignRequest)

func (*UpdatePredictiveDialingCampaignRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdatePredictiveDialingCampaignRequest) ToJsonString

type UpdatePredictiveDialingCampaignRequestParams

type UpdatePredictiveDialingCampaignRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Generated task id.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Task name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Called list supporting e.164 or number formats without country code.
	Callees []*string `json:"Callees,omitnil,omitempty" name:"Callees"`

	// Calling list using the number formats displayed on the management side.
	Callers []*string `json:"Callers,omitnil,omitempty" name:"Callers"`

	// Being called sequence: 0 for random 1 for in order.
	CallOrder *int64 `json:"CallOrder,omitnil,omitempty" name:"CallOrder"`

	// ID of the used skill group of agents.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// Expected call drop rate, percentage, 5 - 50.	.
	ExpectedAbandonRate *int64 `json:"ExpectedAbandonRate,omitnil,omitempty" name:"ExpectedAbandonRate"`

	// Call retry interval, in seconds, [60 - 86,400].
	RetryInterval *int64 `json:"RetryInterval,omitnil,omitempty" name:"RetryInterval"`

	// Task start time. unix timestamp. the task will automatically start after this time.
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task termination time. unix timestamp. the task will automatically terminate after this time.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specified ivr id.
	IVRId *int64 `json:"IVRId,omitnil,omitempty" name:"IVRId"`

	// Number of call retries, 0 - 2.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Custom variable.
	Variables []*Variable `json:"Variables,omitnil,omitempty" name:"Variables"`

	// 	UUI
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// Property of the called.
	CalleeAttributes []*CalleeAttribute `json:"CalleeAttributes,omitnil,omitempty" name:"CalleeAttributes"`
}

Predefined struct for user

type UpdatePredictiveDialingCampaignResponse

type UpdatePredictiveDialingCampaignResponse struct {
	*tchttp.BaseResponse
	Response *UpdatePredictiveDialingCampaignResponseParams `json:"Response"`
}

func NewUpdatePredictiveDialingCampaignResponse

func NewUpdatePredictiveDialingCampaignResponse() (response *UpdatePredictiveDialingCampaignResponse)

func (*UpdatePredictiveDialingCampaignResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdatePredictiveDialingCampaignResponse) ToJsonString

type UpdatePredictiveDialingCampaignResponseParams

type UpdatePredictiveDialingCampaignResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UploadAudioInfo

type UploadAudioInfo struct {
	// File alias (can be duplicated).
	CustomFileName *string `json:"CustomFileName,omitnil,omitempty" name:"CustomFileName"`

	// Audio file link (supports mp3 and wav formats, file size not exceeding 5mb).
	AudioUrl *string `json:"AudioUrl,omitnil,omitempty" name:"AudioUrl"`
}

type UploadIvrAudioFailedInfo

type UploadIvrAudioFailedInfo struct {
	// Filename.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Reason for failure.
	FailedMsg *string `json:"FailedMsg,omitnil,omitempty" name:"FailedMsg"`
}

type UploadIvrAudioRequest

type UploadIvrAudioRequest struct {
	*tchttp.BaseRequest

	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Audio file list.
	AudioList []*UploadAudioInfo `json:"AudioList,omitnil,omitempty" name:"AudioList"`
}

func NewUploadIvrAudioRequest

func NewUploadIvrAudioRequest() (request *UploadIvrAudioRequest)

func (*UploadIvrAudioRequest) FromJsonString

func (r *UploadIvrAudioRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadIvrAudioRequest) ToJsonString

func (r *UploadIvrAudioRequest) ToJsonString() string

type UploadIvrAudioRequestParams

type UploadIvrAudioRequestParams struct {
	// Application id (required) can be found at https://console.cloud.tencent.com/ccc.
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// Audio file list.
	AudioList []*UploadAudioInfo `json:"AudioList,omitnil,omitempty" name:"AudioList"`
}

Predefined struct for user

type UploadIvrAudioResponse

type UploadIvrAudioResponse struct {
	*tchttp.BaseResponse
	Response *UploadIvrAudioResponseParams `json:"Response"`
}

func NewUploadIvrAudioResponse

func NewUploadIvrAudioResponse() (response *UploadIvrAudioResponse)

func (*UploadIvrAudioResponse) FromJsonString

func (r *UploadIvrAudioResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadIvrAudioResponse) ToJsonString

func (r *UploadIvrAudioResponse) ToJsonString() string

type UploadIvrAudioResponseParams

type UploadIvrAudioResponseParams struct {
	// List of files that failed to be uploaded.
	FailedFileList []*UploadIvrAudioFailedInfo `json:"FailedFileList,omitnil,omitempty" name:"FailedFileList"`

	// List of successfully uploaded files.
	SuccessFileList []*AudioFileInfo `json:"SuccessFileList,omitnil,omitempty" name:"SuccessFileList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Variable

type Variable struct {
	// Variable name.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Variable value.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL