v20200210

package
v3.0.945+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

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

	// Outbound over-frequency caller number.
	FAILEDOPERATION_CALLEROVERFREQUENCY = "FailedOperation.CallerOverFrequency"

	// 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"

	// 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"

	// The parameter value is invalid.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

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

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

	// 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"

	// Exceeded quota limit.
	LIMITEXCEEDED = "LimitExceeded"

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

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

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

	// 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 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 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 calls.
	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, 1 - running, 2 - completed, 3 - ending, 4 - closed.
	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 in connection.
	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"`

	// Associate 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) 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) 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:

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

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:

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

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) 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) 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 This API is used to query auto-task outbound calls in batch.

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 This API is used to query auto-task outbound calls in batch.

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) 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_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

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_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist"

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) 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) 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) 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"

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 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.
	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.
	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).
	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 seat in this skill group can receive) is set to 1 by default. 1. If the skill group type is online, the maximum could be set to one and above.
	// 2. If the skill group type is phone, audio, or video, then the maximum 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).
	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 seat in this skill group can receive) is set to 1 by default. 1. If the skill group type is online, the maximum could be set to one and above.
	// 2. If the skill group type is phone, audio, or video, then the maximum 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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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 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"`
}

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"`
}

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.
	// Note: This field may return null, indicating that no valid value could be obtained.
	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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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.
	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.
	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 can't be deleted when being online.
	// Note: this field may return null, indicating that no valid values can be obtained.
	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 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.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NumberMetrics []*CallInNumberMetrics `json:"NumberMetrics,omitnil,omitempty" name:"NumberMetrics"`

	// Skill group dimension metrics
	// Note: this field may return null, indicating that no valid values can be obtained.
	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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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 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
	// Note: This field may return null if no valid value is obtained.
	CampaignId *int64 `json:"CampaignId,omitnil,omitempty" name:"CampaignId"`

	// Task Name
	// Note: This field might return null if no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Task status 0 - Ready to start, 1 - In progress, 2 - Paused, 3 - Terminated, 4 - Completed.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Task status reasons 0 - Normal, 1 - Manually ended, 2 - Ended due to overtime.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusReason *int64 `json:"StatusReason,omitnil,omitempty" name:"StatusReason"`

	// Number of called numbers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CalleeCount *int64 `json:"CalleeCount,omitnil,omitempty" name:"CalleeCount"`

	// Number of completed calls.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FinishedCalleeCount *int64 `json:"FinishedCalleeCount,omitnil,omitempty" name:"FinishedCalleeCount"`

	// Running priority of multiple tasks in the same application, from high to low 1 - 5.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"`

	// ID of the used skill group of agents.
	// Note: this field may return null, indicating that no valid values can be obtained.
	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.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Data
	// Note: This field may return null, indicating that no valid values can be obtained.
	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, go to 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, go to 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.
	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.
	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 (supports only day dimension. For example, for querying May 1st, you should pass a timestamp from "2023-05-01 00:00:00" to "2023-05-01 23:59:59" and for querying both May 1st and 2nd, you should pass a timestamp from "2023-05-01 00:00:00" to "2023-05-02 23:59:59").
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp. Unix timestamp and the maximum query time range is 90 days (supports only day dimension, for example, for querying May 1st, you should pass timestamp from "2023-05-01 00:00:00" to "2023-05-01 23:59:59" and for querying both May 1st and May 2nd, you should pass timestamp from "2023-05-01 00:00:00" to "2023-05-02 23:59:59").
	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 (supports only day dimension. For example, for querying May 1st, you should pass a timestamp from "2023-05-01 00:00:00" to "2023-05-01 23:59:59" and for querying both May 1st and 2nd, you should pass a timestamp from "2023-05-01 00:00:00" to "2023-05-02 23:59:59").
	StartTimeStamp *int64 `json:"StartTimeStamp,omitnil,omitempty" name:"StartTimeStamp"`

	// End timestamp. Unix timestamp and the maximum query time range is 90 days (supports only day dimension, for example, for querying May 1st, you should pass timestamp from "2023-05-01 00:00:00" to "2023-05-01 23:59:59" and for querying both May 1st and May 2nd, you should pass timestamp from "2023-05-01 00:00:00" to "2023-05-02 23:59:59").
	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 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"`

	// 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 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"`

	// 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 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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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 {
	// Key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Tag associated with key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Label *string `json:"Label,omitnil,omitempty" name:"Label"`
}

type ModifyExtensionRequest

type ModifyExtensionRequest struct {
	*tchttp.BaseRequest

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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 ModifyStaffRequest

type ModifyStaffRequest struct {
	*tchttp.BaseRequest

	// Application ID
	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"`

	// 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"`
}

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
	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"`

	// 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"`
}

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 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 work number.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Session state.
	// ringing - In progress.
	// seatJoining - Waiting for agent to receive call.
	// InProgress - Ongoing.
	// 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 work number.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Agent status: inProgress for in progress.
	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.
	CapacityRemain *int64 `json:"CapacityRemain,omitnil,omitempty" name:"CapacityRemain"`

	// Purchased timestamp.
	BuyTime *int64 `json:"BuyTime,omitnil,omitempty" name:"BuyTime"`

	// End 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"`

	// End 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

	// TCCC instance application ID.
	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 {
	// TCCC instance application ID.
	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"`

	// Number of agents purchased (still within the validity period).
	StaffBuyNum *int64 `json:"StaffBuyNum,omitnil,omitempty" name:"StaffBuyNum"`

	// List of agents purchased (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).
	// Note: this field may return null, indicating that no valid values can be obtained.
	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.
	// Note: This field may return null, indicating that no valid value could be obtained.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	// Agent phone number (preceded by 0086).
	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.
	// Note: This field may return null, indicating that no valid value could be obtained.
	SkillGroupNameList []*string `json:"SkillGroupNameList,omitnil,omitempty" name:"SkillGroupNameList"`

	// 1: Admin.
	// 2: Quality inspector.
	// 3: Ordinary agent.
	// else: Custom Role ID.
	// Note: This field may return null, indicating that no valid value could be obtained.
	Role *int64 `json:"Role,omitnil,omitempty" name:"Role"`
}

type ServeParticipant

type ServeParticipant struct {
	// Agent email.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"`

	// Agent phone number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Ring timestamp. Unix second-level timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Answer timestamp. Unix second-level timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

	// End timestamp. Unix second-level timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndedTimestamp *int64 `json:"EndedTimestamp,omitnil,omitempty" name:"EndedTimestamp"`

	// Recording ID can be indexed to the agent side recording.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`

	// Participant type: "staffSeat", "outboundSeat", "staffPhoneSeat".
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Transfer source agent information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TransferFrom *string `json:"TransferFrom,omitnil,omitempty" name:"TransferFrom"`

	// Transfer source participant type is consistent with the Type value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TransferFromType *string `json:"TransferFromType,omitnil,omitempty" name:"TransferFromType"`

	// Transfer destination agent information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TransferTo *string `json:"TransferTo,omitnil,omitempty" name:"TransferTo"`

	// Transfer destination participant type is consistent with Type values.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TransferToType *string `json:"TransferToType,omitnil,omitempty" name:"TransferToType"`

	// Skill group ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// Ending status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"`

	// Recording URL.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RecordURL *string `json:"RecordURL,omitnil,omitempty" name:"RecordURL"`

	// Participant sequence number, starting from 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Sequence *int64 `json:"Sequence,omitnil,omitempty" name:"Sequence"`

	// Start timestamp. Unix second-level timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Skill Group name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SkillGroupName *string `json:"SkillGroupName,omitnil,omitempty" name:"SkillGroupName"`

	// Address of the third party COS for transferring recording.
	// Note: This field may return null, indicating that no valid values can be obtained.
	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.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RoutePolicy *string `json:"RoutePolicy,omitnil,omitempty" name:"RoutePolicy"`

	// Whether the session is allocated to the last serviced agent first.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsingLastSeat *int64 `json:"UsingLastSeat,omitnil,omitempty" name:"UsingLastSeat"`

	// Maximum concurrency number of single client service (default 1 for telephone type).
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxConcurrency *int64 `json:"MaxConcurrency,omitnil,omitempty" name:"MaxConcurrency"`

	// Last modification time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"`

	// Skill group type 0-phone, 1-online, 3-audio, 4-video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SkillGroupType *int64 `json:"SkillGroupType,omitnil,omitempty" name:"SkillGroupType"`
}

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"`

	// End timestamp.
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number of office telephones purchased.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SipNum *int64 `json:"SipNum,omitnil,omitempty" name:"SipNum"`
}

type StaffInfo

type StaffInfo struct {
	// Agent name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

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

	// Agent telephone number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// Agent nickname.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// Agent number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StaffNumber *string `json:"StaffNumber,omitnil,omitempty" name:"StaffNumber"`

	RoleId *uint64 `json:"RoleId,omitnil,omitempty" name:"RoleId"`

	// Affiliated Skill Group List.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SkillGroupList []*SkillGroupItem `json:"SkillGroupList,omitnil,omitempty" name:"SkillGroupList"`

	// Last modification time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifyTimestamp *int64 `json:"LastModifyTimestamp,omitnil,omitempty" name:"LastModifyTimestamp"`
}

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 for Available | busy for Busy | rest for Break | notReady for Not Ready | afterCallWork for After Call Work | offline for Offline.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Supplementary agent status information.
	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"`

	// Total After Call Work duration of 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

	// Call Center Instance ID.
	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 {
	// Call Center Instance ID.
	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.
	// Note: this field may return null, indicating that no valid values can be obtained.
	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, the specific enumeration is as follows:
	// **Scenario        EndStatus	EndStatusString	Status Description**
	// Inbound & Outbound Call	1	        ok	                        Successfully ended
	// Inbound & Outbound Call	0	        error	                System error
	// Inbound Call	             102	        ivrGiveUp	        User hangs up during IVR
	// Inbound Call	             103	        waitingGiveUp	        User hangs up while on hold
	// Inbound Call	             104	        ringingGiveUp	        User hangs up when ringing
	// Inbound Call	             105	        noSeatOnline	       No agent online
	// Inbound Call              106	       notWorkTime	       Non-working hours
	// Inbound Call	            107	       ivrEnd	              Ends after IVR
	// Inbound Call	            100	      Inbound call blocklist
	// Outgoing Call               2	              unconnected	Unanswered
	// < 10,000 minutesOutgoing Call             201            unknown	Unknown status
	// Outgoing Call             202            notAnswer	Unanswered
	// Outgoing Call            203	    userReject	Call declined
	// Outgoing Call	          204	    powerOff	Phone switched off
	// Outgoing Call           205            numberNotExist	Nonexistent number
	// Outgoing Call	         206	           busy	On another call
	// Outgoing Call   	 207	           outOfCredit	Overdue
	// Outgoing Call	         208	           operatorError	 ISP channel exception
	// Outgoing Call         	209	           callerCancel	Caller cancellation
	// Outgoing Call	        210	           notInService	Not in service area
	// Inbound & Outbound Calls	211    clientError    Client error
	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.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IVRDuration *int64 `json:"IVRDuration,omitnil,omitempty" name:"IVRDuration"`

	// Ring timestamp. UNIX second-level timestamp
	// Note: this field may return null, indicating that no valid values can be obtained.
	RingTimestamp *int64 `json:"RingTimestamp,omitnil,omitempty" name:"RingTimestamp"`

	// Answer timestamp. UNIX second-Level timestamp
	// Note: this field may return null, indicating that no valid values can be obtained.
	AcceptTimestamp *int64 `json:"AcceptTimestamp,omitnil,omitempty" name:"AcceptTimestamp"`

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

	// IVR key information, e.g. ["1","2","3"]
	// Note: this field may return null, indicating that no valid values can be obtained.
	IVRKeyPressed []*string `json:"IVRKeyPressed,omitnil,omitempty" name:"IVRKeyPressed"`

	// Hang-up side, seat, user, system.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HungUpSide *string `json:"HungUpSide,omitnil,omitempty" name:"HungUpSide"`

	// List of Service Participants
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServeParticipants []*ServeParticipant `json:"ServeParticipants,omitnil,omitempty" name:"ServeParticipants"`

	// Skill group ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SkillGroupId *int64 `json:"SkillGroupId,omitnil,omitempty" name:"SkillGroupId"`

	// EndStatus corresponds one-to-one with EndStatusString, the specific enumeration is as follows:
	// **Scenario        EndStatus	EndStatusString	Status Description**
	// Inbound & Outbound Call	1	        ok	                        Successfully ended
	// Inbound & Outbound Call	0	        error	                System error
	// Inbound Call	             102	        ivrGiveUp	        User hangs up during IVR
	// Inbound Call	             103	        waitingGiveUp	        User hangs up while on hold
	// Inbound Call	             104	        ringingGiveUp	        User hangs up when ringing
	// Inbound Call	             105	        noSeatOnline	       No agent online
	// Inbound Call              106	       notWorkTime	       Non-working hours
	// Inbound Call	            107	       ivrEnd	              Ends after IVR
	// Inbound Call	            100	      Inbound call blocklist
	// Outgoing Call               2	              unconnected	Unanswered
	// < 10,000 minutesOutgoing Call             201            unknown	Unknown status
	// Outgoing Call             202            notAnswer	Unanswered
	// Outgoing Call            203	    userReject	Call declined
	// Outgoing Call	          204	    powerOff	Phone switched off
	// Outgoing Call           205            numberNotExist	Nonexistent number
	// Outgoing Call	         206	           busy	On another call
	// Outgoing Call   	 207	           outOfCredit	Overdue
	// Outgoing Call	         208	           operatorError	 ISP channel exception
	// Outgoing Call         	209	           callerCancel	Caller cancellation
	// Outgoing Call	        210	           notInService	Not in service area
	// Inbound & Outbound Calls	211    clientError    Client error
	// Note: This field may return null, indicating that no valid value can be obtained.
	EndStatusString *string `json:"EndStatusString,omitnil,omitempty" name:"EndStatusString"`

	// Session start timestamp. UNIX second-level timestamp.
	// Note: This field may return null, indicating that no valid value can be obtained.
	StartTimestamp *int64 `json:"StartTimestamp,omitnil,omitempty" name:"StartTimestamp"`

	// Queue entry time. Unix second-level timestamp.
	// Note: This field may return null, indicating that no valid value can be obtained.
	QueuedTimestamp *int64 `json:"QueuedTimestamp,omitnil,omitempty" name:"QueuedTimestamp"`

	// Post-IVR key information (e.g. [{"Key":"1","Label":"Very Satisfied"}])
	// Note: This field may return null, indicating that no valid value can be obtained.
	PostIVRKeyPressed []*IVRKeyPressedElement `json:"PostIVRKeyPressed,omitnil,omitempty" name:"PostIVRKeyPressed"`

	// Queue Skill Group ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	QueuedSkillGroupId *int64 `json:"QueuedSkillGroupId,omitnil,omitempty" name:"QueuedSkillGroupId"`

	// Session ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	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).
	// Note: This field may return null, indicating that no valid values can be obtained.
	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).
	// Note: This field may return null, indicating that no valid values can be obtained.
	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)
	// Note: This field may return null, indicating that no valid values can be obtained.
	UUI *string `json:"UUI,omitnil,omitempty" name:"UUI"`

	// IVR key information (e.g.?[{"Key":"1","Label":"highly satisfied"}])
	// Note: This field may return null, indicating that no valid values can be obtained.
	IVRKeyPressedEx []*IVRKeyPressedElement `json:"IVRKeyPressedEx,omitnil,omitempty" name:"IVRKeyPressedEx"`

	// Access to the ASR text information address of the recording.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AsrUrl *string `json:"AsrUrl,omitnil,omitempty" name:"AsrUrl"`

	// Address of the third party COS for transferring recording.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CustomRecordURL *string `json:"CustomRecordURL,omitnil,omitempty" name:"CustomRecordURL"`

	// Remarks
	// Note: This field may return null, indicating that no valid values can be obtained.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Queue skill group name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	QueuedSkillGroupName *string `json:"QueuedSkillGroupName,omitnil,omitempty" name:"QueuedSkillGroupName"`

	// Audio message recording URL during call.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VoicemailRecordURL []*string `json:"VoicemailRecordURL,omitnil,omitempty" name:"VoicemailRecordURL"`

	// Text Information address of ASR audio message during a call.
	// Note: This field may return null, indicating that no valid values can be obtained.
	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).
	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 and the maximum synchronization is 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).
	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 and the maximum synchronization is 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"`
}

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"`
}

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 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