// Code generated by goctl. DO NOT EDIT.
package types

type QueryDetailByOrderIdReq struct {
	OrderId string `path:"order_id"`
}

type QueryDetailByOrderNoReq struct {
	OrderNo string `path:"order_no"`
}

type QueryExampleReq struct {
	Feature string `form:"feature"`
}

type QueryGenerateShareLinkReq struct {
	OrderId *string `json:"order_id,optional"`
	OrderNo *string `json:"order_no,optional"`
}

type QueryGenerateShareLinkResp struct {
	ShareLink string `json:"share_link"`
}

type QueryListReq struct {
	Page     int64 `form:"page"`      // 页码
	PageSize int64 `form:"page_size"` // 每页数据量
}

type QueryListResp struct {
	Total int64   `json:"total"` // 总记录数
	List  []Query `json:"list"`  // 查询列表
}

type QueryProvisionalOrderReq struct {
	Id string `path:"id"`
}

type QueryProvisionalOrderResp struct {
	Name    string  `json:"name"`
	IdCard  string  `json:"id_card"`
	Mobile  string  `json:"mobile"`
	Product Product `json:"product"`
}

type QueryRetryReq struct {
	Id string `path:"id"`
}

type QueryRetryResp struct {
	Query
}

type QueryServiceReq struct {
	Product         string `path:"product"`
	Data            string `json:"data" validate:"required"`
	AgentIdentifier string `json:"agent_identifier,optional"`
	App             bool   `json:"app,optional"`
}

type QueryServiceResp struct {
	Id           string `json:"id"`
	AccessToken  string `json:"accessToken"`
	AccessExpire int64  `json:"accessExpire"`
	RefreshAfter int64  `json:"refreshAfter"`
}

type QueryShareDetailReq struct {
	Id string `path:"id"`
}

type QuerySingleTestReq struct {
	Params map[string]interface{} `json:"params"`
	Api    string                 `json:"api"`
}

type QuerySingleTestResp struct {
	Data interface{} `json:"data"`
	Api  string      `json:"api"`
}

type UpdateQueryDataReq struct {
	Id        string `json:"id"`         // 查询ID
	QueryData string `json:"query_data"` // 查询数据(未加密的JSON)
}

type UpdateQueryDataResp struct {
	Id        string `json:"id"`
	UpdatedAt string `json:"updated_at"` // 更新时间
}
