v20180321

package
v1.0.93 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-03-21"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyBlackListRequest

type ApplyBlackListRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:account
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:ApplyBlackList
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 黑名单列表
	BlackList []*SingleBlackApply `json:"BlackList,omitempty" name:"BlackList" list`

	// 实例ID,不传默认为系统分配的初始实例
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewApplyBlackListRequest

func NewApplyBlackListRequest() (request *ApplyBlackListRequest)

func (*ApplyBlackListRequest) FromJsonString

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

func (*ApplyBlackListRequest) ToJsonString

func (r *ApplyBlackListRequest) ToJsonString() string

type ApplyBlackListResponse

type ApplyBlackListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyBlackListResponse

func NewApplyBlackListResponse() (response *ApplyBlackListResponse)

func (*ApplyBlackListResponse) FromJsonString

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

func (*ApplyBlackListResponse) ToJsonString

func (r *ApplyBlackListResponse) ToJsonString() string

type ApplyCreditAuditRequest

type ApplyCreditAuditRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Credit
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:Apply
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 实例ID
	InstId *string `json:"InstId,omitempty" name:"InstId"`

	// 产品ID,形如P******。
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 信审任务ID,同一天内,同一InstId下,同一CaseId只能调用一次。
	CaseId *string `json:"CaseId,omitempty" name:"CaseId"`

	// 回调地址
	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`

	// JSON格式的业务字段。
	Data *string `json:"Data,omitempty" name:"Data"`
}

func NewApplyCreditAuditRequest

func NewApplyCreditAuditRequest() (request *ApplyCreditAuditRequest)

func (*ApplyCreditAuditRequest) FromJsonString

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

func (*ApplyCreditAuditRequest) ToJsonString

func (r *ApplyCreditAuditRequest) ToJsonString() string

type ApplyCreditAuditResponse

type ApplyCreditAuditResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求日期
		RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyCreditAuditResponse

func NewApplyCreditAuditResponse() (response *ApplyCreditAuditResponse)

func (*ApplyCreditAuditResponse) FromJsonString

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

func (*ApplyCreditAuditResponse) ToJsonString

func (r *ApplyCreditAuditResponse) ToJsonString() string

type BotFileData added in v1.0.80

type BotFileData struct {

	// 文件类型 A 拨打结果 T 记录详情
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// 文件地址
	CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`
}

type BotFlow added in v1.0.68

type BotFlow struct {

	// 对话流ID
	BotFlowId *string `json:"BotFlowId,omitempty" name:"BotFlowId"`

	// 对话流名称
	BotFlowName *string `json:"BotFlowName,omitempty" name:"BotFlowName"`

	// 号码组信息列表
	PhonePoolList []*PhonePool `json:"PhonePoolList,omitempty" name:"PhonePoolList" list`
}

type BotInfo added in v1.0.84

type BotInfo struct {

	// 机器人ID
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 机器人名称
	BotName *string `json:"BotName,omitempty" name:"BotName"`

	// 机器人状态。0-停用 1-启用 2-待审核
	BotStatus *string `json:"BotStatus,omitempty" name:"BotStatus"`
}

type CallTimeDict added in v1.0.68

type CallTimeDict struct {

	// 周一
	Monday *CallTimeInfo `json:"Monday,omitempty" name:"Monday"`

	// 周二
	Tuesday *CallTimeInfo `json:"Tuesday,omitempty" name:"Tuesday"`

	// 周三
	Wednesday *CallTimeInfo `json:"Wednesday,omitempty" name:"Wednesday"`

	// 周四
	Thursday *CallTimeInfo `json:"Thursday,omitempty" name:"Thursday"`

	// 周五
	Friday *CallTimeInfo `json:"Friday,omitempty" name:"Friday"`

	// 周六
	Saturday *CallTimeInfo `json:"Saturday,omitempty" name:"Saturday"`

	// 周日
	Sunday *CallTimeInfo `json:"Sunday,omitempty" name:"Sunday"`
}

type CallTimeInfo added in v1.0.68

type CallTimeInfo struct {

	// 产品开始拨打时间,HHmmss格式
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 产品结束拨打时间,HHmmss格式
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) ApplyBlackList

func (c *Client) ApplyBlackList(request *ApplyBlackListRequest) (response *ApplyBlackListResponse, err error)

提交黑名单后,黑名单中有效期内的号码将停止拨打,适用于到期/逾期提醒、回访场景。

func (*Client) ApplyCreditAudit

func (c *Client) ApplyCreditAudit(request *ApplyCreditAuditRequest) (response *ApplyCreditAuditResponse, err error)

提交信审外呼申请,返回当次请求日期。

func (*Client) CreateBotTask added in v1.0.68

func (c *Client) CreateBotTask(request *CreateBotTaskRequest) (response *CreateBotTaskResponse, err error)

创建机器人任务

func (*Client) DescribeBotFlow added in v1.0.68

func (c *Client) DescribeBotFlow(request *DescribeBotFlowRequest) (response *DescribeBotFlowResponse, err error)

查询机器人对话流

func (*Client) DescribeCreditResult

func (c *Client) DescribeCreditResult(request *DescribeCreditResultRequest) (response *DescribeCreditResultResponse, err error)

根据信审任务ID和请求日期,获取相关信审结果。

func (*Client) DescribeFileModel added in v1.0.68

func (c *Client) DescribeFileModel(request *DescribeFileModelRequest) (response *DescribeFileModelResponse, err error)

查询机器人文件模板

func (*Client) DescribeRecords

func (c *Client) DescribeRecords(request *DescribeRecordsRequest) (response *DescribeRecordsResponse, err error)

用于获取指定案件的录音地址,次日早上8:00后可查询前日录音。

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

根据上传文件接口的输出参数DataResId,获取相关上传结果。

func (*Client) DownloadBotRecord added in v1.0.86

func (c *Client) DownloadBotRecord(request *DownloadBotRecordRequest) (response *DownloadBotRecordResponse, err error)

下载任务录音与文本,第二天12点后可使用此接口获取对应的录音与文本

func (*Client) DownloadDialogueText

func (c *Client) DownloadDialogueText(request *DownloadDialogueTextRequest) (response *DownloadDialogueTextResponse, err error)

用于获取指定案件的对话文本内容,次日早上8:00后可查询前日对话文本内容。

func (*Client) DownloadRecordList

func (c *Client) DownloadRecordList(request *DownloadRecordListRequest) (response *DownloadRecordListResponse, err error)

<p>用于获取录音下载链接清单,次日早上8:00后可查询前日录音清单。</p> <p>注意:录音清单中的录音下载链接仅次日20:00之前有效,请及时下载。</p>

func (*Client) DownloadReport

func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)

用于下载结果报表。当日23:00后,可获取当日到期/逾期提醒结果,次日00:30后,可获取昨日回访结果。

func (*Client) ExportBotData added in v1.0.80

func (c *Client) ExportBotData(request *ExportBotDataRequest) (response *ExportBotDataResponse, err error)

导出机器人数据

func (*Client) QueryBotList added in v1.0.84

func (c *Client) QueryBotList(request *QueryBotListRequest) (response *QueryBotListResponse, err error)

查询机器人任务状态列表

func (*Client) QueryInstantData

func (c *Client) QueryInstantData(request *QueryInstantDataRequest) (response *QueryInstantDataResponse, err error)

实时数据查询

func (*Client) QueryProducts added in v1.0.57

func (c *Client) QueryProducts(request *QueryProductsRequest) (response *QueryProductsResponse, err error)

查询产品列表

func (*Client) QueryRecordList added in v1.0.84

func (c *Client) QueryRecordList(request *QueryRecordListRequest) (response *QueryRecordListResponse, err error)

查询录音列表

func (*Client) UploadBotData added in v1.0.84

func (c *Client) UploadBotData(request *UploadBotDataRequest) (response *UploadBotDataResponse, err error)

上传机器人任务数据

func (*Client) UploadBotFile added in v1.0.68

func (c *Client) UploadBotFile(request *UploadBotFileRequest) (response *UploadBotFileResponse, err error)

上传机器人文件

func (*Client) UploadDataFile

func (c *Client) UploadDataFile(request *UploadDataFileRequest) (response *UploadDataFileResponse, err error)

上传文件,接口返回数据任务ID,支持xlsx、xls、csv、zip格式。

func (*Client) UploadDataJson

func (c *Client) UploadDataJson(request *UploadDataJsonRequest) (response *UploadDataJsonResponse, err error)

上传Json格式数据,接口返回数据任务ID

func (*Client) UploadFile

func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)

客户通过调用该接口上传需催收文档,格式需为excel格式。接口返回任务ID。

type CreateBotTaskRequest added in v1.0.68

type CreateBotTaskRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):CreateTask
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务名称
	BotName *string `json:"BotName,omitempty" name:"BotName"`

	// 对话流ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`

	// 产品拨打时间集合
	CallTimeCollection *CallTimeDict `json:"CallTimeCollection,omitempty" name:"CallTimeCollection"`

	// 是否禁止拨打
	BanCall *string `json:"BanCall,omitempty" name:"BanCall"`

	// 禁止拨打起始时间
	StartTimeBan *string `json:"StartTimeBan,omitempty" name:"StartTimeBan"`

	// 禁止拨打结束时间
	EndTimeBan *string `json:"EndTimeBan,omitempty" name:"EndTimeBan"`

	// 拨打线路集合
	PhoneCollection *string `json:"PhoneCollection,omitempty" name:"PhoneCollection"`

	// 重播方式,NON:未接通、LABEL:意向分级,可多选,用竖线分隔:NON|LABEL
	CodeType *string `json:"CodeType,omitempty" name:"CodeType"`

	// 重播值集合,A:强意向、B:中意向、C:低意向、D:无意向、E:在忙、F:未接通、G:无效号码,可多选,用竖线分隔:A|B|C|D|E|F|G
	CodeCollection *string `json:"CodeCollection,omitempty" name:"CodeCollection"`

	// 继续拨打次数
	CallCount *int64 `json:"CallCount,omitempty" name:"CallCount"`

	// 拨打间隔
	CallInterval *int64 `json:"CallInterval,omitempty" name:"CallInterval"`

	// 未接通引用短信签名ID
	SmsSignId *string `json:"SmsSignId,omitempty" name:"SmsSignId"`

	// 未接通引用短信模板ID
	SmsTemplateId *string `json:"SmsTemplateId,omitempty" name:"SmsTemplateId"`
}

func NewCreateBotTaskRequest added in v1.0.68

func NewCreateBotTaskRequest() (request *CreateBotTaskRequest)

func (*CreateBotTaskRequest) FromJsonString added in v1.0.68

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

func (*CreateBotTaskRequest) ToJsonString added in v1.0.68

func (r *CreateBotTaskRequest) ToJsonString() string

type CreateBotTaskResponse added in v1.0.68

type CreateBotTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateBotTaskResponse added in v1.0.68

func NewCreateBotTaskResponse() (response *CreateBotTaskResponse)

func (*CreateBotTaskResponse) FromJsonString added in v1.0.68

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

func (*CreateBotTaskResponse) ToJsonString added in v1.0.68

func (r *CreateBotTaskResponse) ToJsonString() string

type DescribeBotFlowRequest added in v1.0.68

type DescribeBotFlowRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):GetFlow
	Operation *string `json:"Operation,omitempty" name:"Operation"`
}

func NewDescribeBotFlowRequest added in v1.0.68

func NewDescribeBotFlowRequest() (request *DescribeBotFlowRequest)

func (*DescribeBotFlowRequest) FromJsonString added in v1.0.68

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

func (*DescribeBotFlowRequest) ToJsonString added in v1.0.68

func (r *DescribeBotFlowRequest) ToJsonString() string

type DescribeBotFlowResponse added in v1.0.68

type DescribeBotFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 机器人对话流列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		BotFlowList []*BotFlow `json:"BotFlowList,omitempty" name:"BotFlowList" list`

		// 短信签名列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		SmsSignList []*SmsSign `json:"SmsSignList,omitempty" name:"SmsSignList" list`

		// 短信模板列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		SmsTemplateList []*SmsTemplate `json:"SmsTemplateList,omitempty" name:"SmsTemplateList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBotFlowResponse added in v1.0.68

func NewDescribeBotFlowResponse() (response *DescribeBotFlowResponse)

func (*DescribeBotFlowResponse) FromJsonString added in v1.0.68

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

func (*DescribeBotFlowResponse) ToJsonString added in v1.0.68

func (r *DescribeBotFlowResponse) ToJsonString() string

type DescribeCreditResultRequest

type DescribeCreditResultRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Credit
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:Get
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 实例ID
	InstId *string `json:"InstId,omitempty" name:"InstId"`

	// 产品ID,形如P******。
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 信审任务ID
	CaseId *string `json:"CaseId,omitempty" name:"CaseId"`

	// 请求日期,格式为YYYY-MM-DD
	RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"`
}

func NewDescribeCreditResultRequest

func NewDescribeCreditResultRequest() (request *DescribeCreditResultRequest)

func (*DescribeCreditResultRequest) FromJsonString

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

func (*DescribeCreditResultRequest) ToJsonString

func (r *DescribeCreditResultRequest) ToJsonString() string

type DescribeCreditResultResponse

type DescribeCreditResultResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// <p>呼叫结果,取值范围:</p><ul style="margin-bottom:0px;"><li>NON:接通</li><li>DBU:号码忙</li><li>DRF:不在服务区</li><li>ANA:欠费未接听</li><li>REJ:拒接</li><li>SHU:关机</li><li>NAN:空号</li><li>HAL:停机</li><li>DAD:未接听</li><li>EXE:其他异常</li></ul>
		ResultCode *string `json:"ResultCode,omitempty" name:"ResultCode"`

		// 客户标识代码,多个标识码以英文逗号分隔,ResultCode为NON时才有。
		// 注意:此字段可能返回 null,表示取不到有效值。
		ClientCode *string `json:"ClientCode,omitempty" name:"ClientCode"`

		// 开始振铃时间,ResultCode为NON或DAD时才有此字段。
		// 注意:此字段可能返回 null,表示取不到有效值。
		RingStartTime *string `json:"RingStartTime,omitempty" name:"RingStartTime"`

		// 振铃时长
		RingDuration *int64 `json:"RingDuration,omitempty" name:"RingDuration"`

		// 接通时长
		AnswerDuration *int64 `json:"AnswerDuration,omitempty" name:"AnswerDuration"`

		// JSON格式的扩展信息字段,ResultCode为NON时才有。
		// 注意:此字段可能返回 null,表示取不到有效值。
		ContextValue *string `json:"ContextValue,omitempty" name:"ContextValue"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCreditResultResponse

func NewDescribeCreditResultResponse() (response *DescribeCreditResultResponse)

func (*DescribeCreditResultResponse) FromJsonString

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

func (*DescribeCreditResultResponse) ToJsonString

func (r *DescribeCreditResultResponse) ToJsonString() string

type DescribeFileModelRequest added in v1.0.68

type DescribeFileModelRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):DescribeFileModel
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 模板文件类型,输入input,停拨stop
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// 任务ID,二者必填一个
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称,二者必填一个
	BotName *string `json:"BotName,omitempty" name:"BotName"`
}

func NewDescribeFileModelRequest added in v1.0.68

func NewDescribeFileModelRequest() (request *DescribeFileModelRequest)

func (*DescribeFileModelRequest) FromJsonString added in v1.0.68

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

func (*DescribeFileModelRequest) ToJsonString added in v1.0.68

func (r *DescribeFileModelRequest) ToJsonString() string

type DescribeFileModelResponse added in v1.0.68

type DescribeFileModelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 模板下载链接
		CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeFileModelResponse added in v1.0.68

func NewDescribeFileModelResponse() (response *DescribeFileModelResponse)

func (*DescribeFileModelResponse) FromJsonString added in v1.0.68

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

func (*DescribeFileModelResponse) ToJsonString added in v1.0.68

func (r *DescribeFileModelResponse) ToJsonString() string

type DescribeRecordsRequest

type DescribeRecordsRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Record
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:List
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 产品ID
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 案件编号
	AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`

	// 被叫号码
	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`

	// 查询起始日期,格式为YYYY-MM-DD
	StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`

	// 查询结束日期,格式为YYYY-MM-DD
	EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`

	// 分页参数,索引,默认为0
	Offset *string `json:"Offset,omitempty" name:"Offset"`

	// 分页参数,页长,默认为20
	Limit *string `json:"Limit,omitempty" name:"Limit"`

	// 实例ID,不传默认为系统分配的初始实例
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewDescribeRecordsRequest

func NewDescribeRecordsRequest() (request *DescribeRecordsRequest)

func (*DescribeRecordsRequest) FromJsonString

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

func (*DescribeRecordsRequest) ToJsonString

func (r *DescribeRecordsRequest) ToJsonString() string

type DescribeRecordsResponse

type DescribeRecordsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 录音列表。
		// 注意:此字段可能返回 null,表示取不到有效值。
		RecordList []*SingleRecord `json:"RecordList,omitempty" name:"RecordList" list`

		// 录音总量。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRecordsResponse

func NewDescribeRecordsResponse() (response *DescribeRecordsResponse)

func (*DescribeRecordsResponse) FromJsonString

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

func (*DescribeRecordsResponse) ToJsonString

func (r *DescribeRecordsResponse) ToJsonString() string

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Task
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:DescribeTaskStatus
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务ID,"上传文件"接口返回的DataResId,形如abc-xyz123
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 实例ID,不传默认为系统分配的初始实例。
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

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

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// <p>任务结果:</p><ul style="margin-bottom:0px;"><li>处理中:"Uploading Data."</li><li>上传成功:"File Uploading Task Success."</li><li>上传失败:具体失败原因</li></ul>
		TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"`

		// <p>任务类型:</p><ul style="margin-bottom:0px;"><li>到期/逾期提醒数据上传:002</li><li>到期/逾期提醒停拨数据上传:003</li><li>回访数据上传:004</li><li>回访停拨数据上传:005</li></ul>
		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

		// 过滤文件下载链接,有过滤数据时才存在。
		// 注意:此字段可能返回 null,表示取不到有效值。
		TaskFileUrl *string `json:"TaskFileUrl,omitempty" name:"TaskFileUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

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

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DownloadBotRecordRequest added in v1.0.86

type DownloadBotRecordRequest struct {
	*tchttp.BaseRequest

	// 模块:AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作:DownloadRecord
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 业务日期
	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`
}

func NewDownloadBotRecordRequest added in v1.0.86

func NewDownloadBotRecordRequest() (request *DownloadBotRecordRequest)

func (*DownloadBotRecordRequest) FromJsonString added in v1.0.86

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

func (*DownloadBotRecordRequest) ToJsonString added in v1.0.86

func (r *DownloadBotRecordRequest) ToJsonString() string

type DownloadBotRecordResponse added in v1.0.86

type DownloadBotRecordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 录音地址。请求后30分钟内有效
		RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`

		// 文本地址。请求后30分钟内有效
		TextCosUrl *string `json:"TextCosUrl,omitempty" name:"TextCosUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadBotRecordResponse added in v1.0.86

func NewDownloadBotRecordResponse() (response *DownloadBotRecordResponse)

func (*DownloadBotRecordResponse) FromJsonString added in v1.0.86

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

func (*DownloadBotRecordResponse) ToJsonString added in v1.0.86

func (r *DownloadBotRecordResponse) ToJsonString() string

type DownloadDialogueTextRequest

type DownloadDialogueTextRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Report
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:DownloadTextReport
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 报告日期,格式为YYYY-MM-DD
	ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`

	// 实例ID
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewDownloadDialogueTextRequest

func NewDownloadDialogueTextRequest() (request *DownloadDialogueTextRequest)

func (*DownloadDialogueTextRequest) FromJsonString

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

func (*DownloadDialogueTextRequest) ToJsonString

func (r *DownloadDialogueTextRequest) ToJsonString() string

type DownloadDialogueTextResponse

type DownloadDialogueTextResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 对话文本下载地址
		TextReportUrl *string `json:"TextReportUrl,omitempty" name:"TextReportUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadDialogueTextResponse

func NewDownloadDialogueTextResponse() (response *DownloadDialogueTextResponse)

func (*DownloadDialogueTextResponse) FromJsonString

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

func (*DownloadDialogueTextResponse) ToJsonString

func (r *DownloadDialogueTextResponse) ToJsonString() string

type DownloadRecordListRequest

type DownloadRecordListRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Record
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:DownloadList
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 录音日期,格式为YYYY-MM-DD
	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`

	// 实例ID
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewDownloadRecordListRequest

func NewDownloadRecordListRequest() (request *DownloadRecordListRequest)

func (*DownloadRecordListRequest) FromJsonString

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

func (*DownloadRecordListRequest) ToJsonString

func (r *DownloadRecordListRequest) ToJsonString() string

type DownloadRecordListResponse

type DownloadRecordListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 录音列表下载地址
		RecordListUrl *string `json:"RecordListUrl,omitempty" name:"RecordListUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadRecordListResponse

func NewDownloadRecordListResponse() (response *DownloadRecordListResponse)

func (*DownloadRecordListResponse) FromJsonString

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

func (*DownloadRecordListResponse) ToJsonString

func (r *DownloadRecordListResponse) ToJsonString() string

type DownloadReportRequest

type DownloadReportRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Report
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:DownloadReport
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 报告日期,格式为YYYY-MM-DD
	ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"`

	// 实例ID,不传默认为系统分配的初始实例。
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewDownloadReportRequest

func NewDownloadReportRequest() (request *DownloadReportRequest)

func (*DownloadReportRequest) FromJsonString

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

func (*DownloadReportRequest) ToJsonString

func (r *DownloadReportRequest) ToJsonString() string

type DownloadReportResponse

type DownloadReportResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 到期/逾期提醒日报下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		DailyReportUrl *string `json:"DailyReportUrl,omitempty" name:"DailyReportUrl"`

		// 到期/逾期提醒结果下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultReportUrl *string `json:"ResultReportUrl,omitempty" name:"ResultReportUrl"`

		// 到期/逾期提醒明细下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		DetailReportUrl *string `json:"DetailReportUrl,omitempty" name:"DetailReportUrl"`

		// 回访日报下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		CallbackDailyReportUrl *string `json:"CallbackDailyReportUrl,omitempty" name:"CallbackDailyReportUrl"`

		// 回访结果下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		CallbackResultReportUrl *string `json:"CallbackResultReportUrl,omitempty" name:"CallbackResultReportUrl"`

		// 回访明细下载地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		CallbackDetailReportUrl *string `json:"CallbackDetailReportUrl,omitempty" name:"CallbackDetailReportUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadReportResponse

func NewDownloadReportResponse() (response *DownloadReportResponse)

func (*DownloadReportResponse) FromJsonString

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

func (*DownloadReportResponse) ToJsonString

func (r *DownloadReportResponse) ToJsonString() string

type ExportBotDataRequest added in v1.0.80

type ExportBotDataRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):ExportBotData
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 业务日期。YYYY-MM-DD
	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`

	// 任务ID,二者必填一个
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称,二者必填一个
	BotName *string `json:"BotName,omitempty" name:"BotName"`
}

func NewExportBotDataRequest added in v1.0.80

func NewExportBotDataRequest() (request *ExportBotDataRequest)

func (*ExportBotDataRequest) FromJsonString added in v1.0.80

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

func (*ExportBotDataRequest) ToJsonString added in v1.0.80

func (r *ExportBotDataRequest) ToJsonString() string

type ExportBotDataResponse added in v1.0.80

type ExportBotDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 导出文件列表
		Data []*BotFileData `json:"Data,omitempty" name:"Data" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExportBotDataResponse added in v1.0.80

func NewExportBotDataResponse() (response *ExportBotDataResponse)

func (*ExportBotDataResponse) FromJsonString added in v1.0.80

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

func (*ExportBotDataResponse) ToJsonString added in v1.0.80

func (r *ExportBotDataResponse) ToJsonString() string

type PhonePool added in v1.0.68

type PhonePool struct {

	// 号码组ID
	PoolId *string `json:"PoolId,omitempty" name:"PoolId"`

	// 号码组名称
	PoolName *string `json:"PoolName,omitempty" name:"PoolName"`
}

type ProductQueryInfo added in v1.0.57

type ProductQueryInfo struct {

	// 产品Id
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 产品名称
	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`

	// 产品编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductCode *string `json:"ProductCode,omitempty" name:"ProductCode"`

	// 产品状态 0 禁用 1 启用
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductStatus *int64 `json:"ProductStatus,omitempty" name:"ProductStatus"`

	// 场景类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	SceneType *string `json:"SceneType,omitempty" name:"SceneType"`
}

type QueryBotListRequest added in v1.0.84

type QueryBotListRequest struct {
	*tchttp.BaseRequest

	// 模块名:AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名:QueryBotList
	Operation *string `json:"Operation,omitempty" name:"Operation"`
}

func NewQueryBotListRequest added in v1.0.84

func NewQueryBotListRequest() (request *QueryBotListRequest)

func (*QueryBotListRequest) FromJsonString added in v1.0.84

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

func (*QueryBotListRequest) ToJsonString added in v1.0.84

func (r *QueryBotListRequest) ToJsonString() string

type QueryBotListResponse added in v1.0.84

type QueryBotListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务列表。
		BotList []*BotInfo `json:"BotList,omitempty" name:"BotList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryBotListResponse added in v1.0.84

func NewQueryBotListResponse() (response *QueryBotListResponse)

func (*QueryBotListResponse) FromJsonString added in v1.0.84

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

func (*QueryBotListResponse) ToJsonString added in v1.0.84

func (r *QueryBotListResponse) ToJsonString() string

type QueryInstantDataRequest

type QueryInstantDataRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Data
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:Query
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 产品ID
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 实例ID,不传默认为系统分配的初始实例
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 查询类型:callRecord 通话记录
	QueryModel *string `json:"QueryModel,omitempty" name:"QueryModel"`

	// 查询参数
	Data *string `json:"Data,omitempty" name:"Data"`
}

func NewQueryInstantDataRequest

func NewQueryInstantDataRequest() (request *QueryInstantDataRequest)

func (*QueryInstantDataRequest) FromJsonString

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

func (*QueryInstantDataRequest) ToJsonString

func (r *QueryInstantDataRequest) ToJsonString() string

type QueryInstantDataResponse

type QueryInstantDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 总数
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 返回内容
		// 注意:此字段可能返回 null,表示取不到有效值。
		Data *string `json:"Data,omitempty" name:"Data"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryInstantDataResponse

func NewQueryInstantDataResponse() (response *QueryInstantDataResponse)

func (*QueryInstantDataResponse) FromJsonString

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

func (*QueryInstantDataResponse) ToJsonString

func (r *QueryInstantDataResponse) ToJsonString() string

type QueryProductsRequest added in v1.0.57

type QueryProductsRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):Product
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):QueryProducts
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 实例Id。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewQueryProductsRequest added in v1.0.57

func NewQueryProductsRequest() (request *QueryProductsRequest)

func (*QueryProductsRequest) FromJsonString added in v1.0.57

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

func (*QueryProductsRequest) ToJsonString added in v1.0.57

func (r *QueryProductsRequest) ToJsonString() string

type QueryProductsResponse added in v1.0.57

type QueryProductsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 产品信息。
		ProductList []*ProductQueryInfo `json:"ProductList,omitempty" name:"ProductList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryProductsResponse added in v1.0.57

func NewQueryProductsResponse() (response *QueryProductsResponse)

func (*QueryProductsResponse) FromJsonString added in v1.0.57

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

func (*QueryProductsResponse) ToJsonString added in v1.0.57

func (r *QueryProductsResponse) ToJsonString() string

type QueryRecordListRequest added in v1.0.84

type QueryRecordListRequest struct {
	*tchttp.BaseRequest

	// 模块名。AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。QueryRecordList
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 偏移值
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 偏移位移,最大20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 任务ID,二者必填一个
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称,二者必填一个
	BotName *string `json:"BotName,omitempty" name:"BotName"`

	// 被叫号码
	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`

	// 开始日期
	StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"`

	// 结束日期
	EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"`
}

func NewQueryRecordListRequest added in v1.0.84

func NewQueryRecordListRequest() (request *QueryRecordListRequest)

func (*QueryRecordListRequest) FromJsonString added in v1.0.84

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

func (*QueryRecordListRequest) ToJsonString added in v1.0.84

func (r *QueryRecordListRequest) ToJsonString() string

type QueryRecordListResponse added in v1.0.84

type QueryRecordListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 录音列表。
		RecordList []*RecordInfo `json:"RecordList,omitempty" name:"RecordList" list`

		// 总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryRecordListResponse added in v1.0.84

func NewQueryRecordListResponse() (response *QueryRecordListResponse)

func (*QueryRecordListResponse) FromJsonString added in v1.0.84

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

func (*QueryRecordListResponse) ToJsonString added in v1.0.84

func (r *QueryRecordListResponse) ToJsonString() string

type RecordInfo added in v1.0.84

type RecordInfo struct {

	// 任务Id
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称
	BotName *string `json:"BotName,omitempty" name:"BotName"`

	// 任务日期
	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`

	// 被叫号码
	CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"`

	// 开始通话时间
	CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`

	// 通话时长
	Duration *int64 `json:"Duration,omitempty" name:"Duration"`

	// 录音文件地址
	CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"`

	// 对话日志。JSON格式
	DialogueLog *string `json:"DialogueLog,omitempty" name:"DialogueLog"`
}

type SingleBlackApply

type SingleBlackApply struct {

	// 黑名单类型,01代表手机号码。
	BlackType *string `json:"BlackType,omitempty" name:"BlackType"`

	// 操作类型,A为新增,D为删除。
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// 黑名单值,BlackType为01时,填写11位手机号码。
	BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"`

	// 备注。
	BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"`

	// 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。
	BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"`
}

type SingleRecord

type SingleRecord struct {

	// 案件编号。
	AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"`

	// 外呼日期。
	BizDate *string `json:"BizDate,omitempty" name:"BizDate"`

	// 开始呼叫时间。
	CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"`

	// 主叫号码。
	CallerPhone *string `json:"CallerPhone,omitempty" name:"CallerPhone"`

	// 呼叫方向,O为呼出,I为呼入。
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// 通话时长。
	Duration *int64 `json:"Duration,omitempty" name:"Duration"`

	// 产品ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 录音下载链接。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"`
}

type SmsSign added in v1.0.68

type SmsSign struct {

	// 短信签名ID
	SignId *string `json:"SignId,omitempty" name:"SignId"`

	// 短信签名名称
	SignName *string `json:"SignName,omitempty" name:"SignName"`
}

type SmsTemplate added in v1.0.68

type SmsTemplate struct {

	// 短信模板ID
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 短信模板名称
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
}

type UploadBotDataRequest added in v1.0.84

type UploadBotDataRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):UploadData
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务数据。JSON格式
	Data *string `json:"Data,omitempty" name:"Data"`

	// 任务ID,二者必填一个
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称,二者必填一个
	BotName *string `json:"BotName,omitempty" name:"BotName"`
}

func NewUploadBotDataRequest added in v1.0.84

func NewUploadBotDataRequest() (request *UploadBotDataRequest)

func (*UploadBotDataRequest) FromJsonString added in v1.0.84

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

func (*UploadBotDataRequest) ToJsonString added in v1.0.84

func (r *UploadBotDataRequest) ToJsonString() string

type UploadBotDataResponse added in v1.0.84

type UploadBotDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadBotDataResponse added in v1.0.84

func NewUploadBotDataResponse() (response *UploadBotDataResponse)

func (*UploadBotDataResponse) FromJsonString added in v1.0.84

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

func (*UploadBotDataResponse) ToJsonString added in v1.0.84

func (r *UploadBotDataResponse) ToJsonString() string

type UploadBotFileRequest added in v1.0.68

type UploadBotFileRequest struct {
	*tchttp.BaseRequest

	// 模块名。默认值(固定):AiApi
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名。默认值(固定):Upload
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 文件类型,输入input,停拨stop
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// 文件链接
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 任务ID,二者必填一个
	BotId *string `json:"BotId,omitempty" name:"BotId"`

	// 任务名称,二者必填一个
	BotName *string `json:"BotName,omitempty" name:"BotName"`
}

func NewUploadBotFileRequest added in v1.0.68

func NewUploadBotFileRequest() (request *UploadBotFileRequest)

func (*UploadBotFileRequest) FromJsonString added in v1.0.68

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

func (*UploadBotFileRequest) ToJsonString added in v1.0.68

func (r *UploadBotFileRequest) ToJsonString() string

type UploadBotFileResponse added in v1.0.68

type UploadBotFileResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadBotFileResponse added in v1.0.68

func NewUploadBotFileResponse() (response *UploadBotFileResponse)

func (*UploadBotFileResponse) FromJsonString added in v1.0.68

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

func (*UploadBotFileResponse) ToJsonString added in v1.0.68

func (r *UploadBotFileResponse) ToJsonString() string

type UploadDataFileRequest

type UploadDataFileRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Data
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:Upload
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// <p>上传类型,不填默认到期/逾期提醒文件,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒文件</li><li>repay:到期/逾期提醒停拨文件</li><li>callback:回访文件</li><li>callstop:回访停拨文件</li><li>blacklist:黑名单文件</li></ul>
	UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`

	// 文件,文件与文件地址上传只可选用一种,必须使用multipart/form-data协议来上传二进制流文件,建议使用xlsx格式,大小不超过5MB。
	File *string `json:"File,omitempty" name:"File"`

	// 文件上传地址,文件与文件地址上传只可选用一种,大小不超过50MB。
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// 实例ID,不传默认为系统分配的初始实例。
	InstId *string `json:"InstId,omitempty" name:"InstId"`
}

func NewUploadDataFileRequest

func NewUploadDataFileRequest() (request *UploadDataFileRequest)

func (*UploadDataFileRequest) FromJsonString

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

func (*UploadDataFileRequest) ToJsonString

func (r *UploadDataFileRequest) ToJsonString() string

type UploadDataFileResponse

type UploadDataFileResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据ID
		DataResId *string `json:"DataResId,omitempty" name:"DataResId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadDataFileResponse

func NewUploadDataFileResponse() (response *UploadDataFileResponse)

func (*UploadDataFileResponse) FromJsonString

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

func (*UploadDataFileResponse) ToJsonString

func (r *UploadDataFileResponse) ToJsonString() string

type UploadDataJsonRequest

type UploadDataJsonRequest struct {
	*tchttp.BaseRequest

	// 模块名,本接口取值:Data
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名,本接口取值:UploadJson
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 报文信息
	Data *string `json:"Data,omitempty" name:"Data"`

	// <p>上传类型,不填默认到期/逾期提醒数据,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒数据</li><li>repay:到期/逾期提醒停拨数据</li></ul>
	UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"`

	// 实例ID,不传默认为系统分配的初始实例。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewUploadDataJsonRequest

func NewUploadDataJsonRequest() (request *UploadDataJsonRequest)

func (*UploadDataJsonRequest) FromJsonString

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

func (*UploadDataJsonRequest) ToJsonString

func (r *UploadDataJsonRequest) ToJsonString() string

type UploadDataJsonResponse

type UploadDataJsonResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 响应报文信息
		// 注意:此字段可能返回 null,表示取不到有效值。
		Data *string `json:"Data,omitempty" name:"Data"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadDataJsonResponse

func NewUploadDataJsonResponse() (response *UploadDataJsonResponse)

func (*UploadDataJsonResponse) FromJsonString

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

func (*UploadDataJsonResponse) ToJsonString

func (r *UploadDataJsonResponse) ToJsonString() string

type UploadFileRequest

type UploadFileRequest struct {
	*tchttp.BaseRequest

	// 模块名
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 文件日期
	FileDate *string `json:"FileDate,omitempty" name:"FileDate"`
}

func NewUploadFileRequest

func NewUploadFileRequest() (request *UploadFileRequest)

func (*UploadFileRequest) FromJsonString

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

func (*UploadFileRequest) ToJsonString

func (r *UploadFileRequest) ToJsonString() string

type UploadFileResponse

type UploadFileResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadFileResponse

func NewUploadFileResponse() (response *UploadFileResponse)

func (*UploadFileResponse) FromJsonString

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

func (*UploadFileResponse) ToJsonString

func (r *UploadFileResponse) ToJsonString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL