Documentation
¶
Index ¶
- type AgentInfo
- type AgentSpec
- type AuditResp
- type AuditStaticsResp
- type AuthorizedUserInfo
- type CertInfo
- type CertResp
- type CertSpec
- type ComStamp
- type ContractInfo
- type ContractSpec
- type ContractVerifySpec
- type CountByPeriodResp
- type CreateContractSpec
- type CreateOrderInfo
- type DetailAgentInfo
- type DownloadContractInfo
- type DownloadContractResp
- type EditAgentSpec
- type EidtStampSpec
- type EvidenceFile
- type GetCountResp
- type GetEvidenceResp
- type HistoryContractInfo
- type KeywordInfo
- type PaddingInfo
- type PaddingSpec
- type PageAgentResp
- type PageAgentSpec
- type PageContractResp
- type PageSignContractInfo
- type PageStampHistoryResp
- type PdfPageInfo
- type PdfViewInfo
- type PerStamp
- type PreviewAndHistoryResp
- type ReadySignContractResp
- type RecordListResp
- type RenewCertSpec
- type RevokeCertSpec
- type SaveEvidenceResp
- type SignContractSpec
- type SignItem
- type SignStampInfo
- type SignUserContractStatus
- type SignatureInfo
- type SmqStatisticsInfo
- type SmsSpec
- type StampHistoryInfo
- type StampInfo
- type StampResult
- type StampSpec
- type StatisticsInfo
- type TemplateInfo
- type TemplateSpec
- type UpdateCertSpec
- type UserCenterInfo
- type UserCenterInfoSpec
- type UserCenterSmsCodeSpec
- type UserInfo
- type UserResp
- type UserTypeResp
- type VerifyInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentInfo ¶ added in v1.62.0
type AgentInfo struct {
/* 授权信息ID (Optional) */
Id string `json:"id"`
/* 授权企业 (Optional) */
CompanyName string `json:"companyName"`
/* 被授权人 (Optional) */
AgentName string `json:"agentName"`
/* 被授权人手机号 (Optional) */
AgentPhone string `json:"agentPhone"`
/* 被授权人身份证号 (Optional) */
AgentIdCardNum string `json:"agentIdCardNum"`
/* 授权书名称 (Optional) */
AgentFileName string `json:"agentFileName"`
/* 授权时间 (Optional) */
CreateTime string `json:"createTime"`
/* 备注 (Optional) */
Note string `json:"note"`
}
type AgentSpec ¶ added in v1.62.0
type AgentSpec struct {
/* 被授权人姓名 (Optional) */
AgentName string `json:"agentName"`
/* 被授权人身份证号 (Optional) */
AgentIdcardNum string `json:"agentIdcardNum"`
/* 被授权人手机号 (Optional) */
AgentPhone string `json:"agentPhone"`
/* 授权书(base64)--pdf格式 (Optional) */
AgentAuthFile string `json:"agentAuthFile"`
/* 授权书名称 (Optional) */
AgentFileName string `json:"agentFileName"`
}
type AuditResp ¶ added in v1.59.0
type AuditResp struct {
/* 总数 (Optional) */
TotalElements int `json:"totalElements"`
/* 总页数 (Optional) */
TotalPages int `json:"totalPages"`
/* 是否最后一页 (Optional) */
Last bool `json:"last"`
/* 当前第几页,从0开始 (Optional) */
Number int `json:"number"`
/* 每页大小 (Optional) */
Size int `json:"size"`
/* 当前页数量 (Optional) */
NumberOfElements int `json:"numberOfElements"`
/* 是否第一页 (Optional) */
First bool `json:"first"`
/* 忽略 (Optional) */
Pageable string `json:"pageable"`
/* 忽略 (Optional) */
Sort string `json:"sort"`
/* (Optional) */
Content []interface{} `json:"content"`
}
type AuditStaticsResp ¶ added in v1.59.0
type AuthorizedUserInfo ¶ added in v1.62.0
type CertInfo ¶ added in v1.63.0
type CertInfo struct {
/* 证书序列号 (Optional) */
SerialNo string `json:"serialNo"`
/* 证书状态 (Optional) */
CertStatus string `json:"certStatus"`
/* 个人用户姓名或企业名 (Optional) */
Name string `json:"name"`
/* 0:个人用户,1:企业用户 (Optional) */
UserType int `json:"userType"`
/* 证件号 (Optional) */
IdentifyValue string `json:"identifyValue"`
/* 证书算法 (Optional) */
KeyAlg string `json:"keyAlg"`
/* 证书过期时间 (Optional) */
NotAfter int64 `json:"notAfter"`
/* 证书有效期开始 (Optional) */
NotBefore string `json:"notBefore"`
/* 证书渠道 (Optional) */
CaType string `json:"caType"`
/* 证书信息 (Optional) */
SignCert string `json:"signCert"`
/* 加密证书 (Optional) */
EncryptCert string `json:"encryptCert"`
/* 加密证书序列号 (Optional) */
EncryptCertSn string `json:"encryptCertSn"`
/* KMC协议响应 (Optional) */
CertKmcRep string `json:"certKmcRep"`
/* 父证书序列号 (Optional) */
ParentCertSerialNumber string `json:"parentCertSerialNumber"`
}
type CertResp ¶ added in v1.63.0
type CertResp struct {
/* 证书序列号 (Optional) */
CertSerialNumber string `json:"certSerialNumber"`
/* 证书过期时间 (Optional) */
CertNotafter int64 `json:"certNotafter"`
/* 证书有效期开始 (Optional) */
CertNotbefore int64 `json:"certNotbefore"`
/* 证书颁发者DN (Optional) */
CertIssueDn string `json:"certIssueDn"`
/* 证书使用者DN (Optional) */
CertSubjectDn string `json:"certSubjectDn"`
/* 证书信息 (Optional) */
CertSignBuf string `json:"certSignBuf"`
/* 证书使用者信息 (Optional) */
CertCn string `json:"certCn"`
/* 加密证书序列号 (Optional) */
CertSerialnumberKmc string `json:"certSerialnumberKmc"`
/* KMC协议响应1 (Optional) */
CertKmcRep1 string `json:"certKmcRep1"`
/* 用户加密证书 (Optional) */
CertSignBufKmc string `json:"certSignBufKmc"`
/* 父证书序列号 (Optional) */
ParentCertSerialNumber string `json:"parentCertSerialNumber"`
}
type CertSpec ¶ added in v1.63.0
type CertSpec struct {
/* 个人用户姓名或企业名 (Optional) */
UserName *string `json:"userName"`
/* 0:个人用户,1:企业用户 (Optional) */
UserType *int `json:"userType"`
/* 邮箱 (Optional) */
Mail *string `json:"mail"`
/* 手机号 (Optional) */
Phone *string `json:"phone"`
/* 证件号类型。个人用户:身份证(idCardNum),护照(passportNum),港澳通行证(mtpNum),自定义(customUserId)。企业用户:统一社会信用代码(usci),组织机构代码(orgCode),工商营业执照(businessNum),自定义(customUserId) (Optional) */
IdentifyField *string `json:"identifyField"`
/* 证件号 (Optional) */
IdentifyValue *string `json:"identifyValue"`
/* 证件渠道,目前仅有 四川CA(SXCA) (Optional) */
CaType *string `json:"caType"`
/* 证书算法 rsa、sm2 (Optional) */
Alg *string `json:"alg"`
/* 1 事件证书(短期证书,证书有效期1天-30天) 0 普通证书(证书有效期一年)。默认为 0 (Optional) */
CertExpire *int `json:"certExpire"`
/* P10 (Optional) */
CertReqBuf *string `json:"certReqBuf"`
}
type ComStamp ¶
type ComStamp struct {
/* 最多盖章数目(默认10) (Optional) */
StampMax *int `json:"stampMax"`
/* 盖章类型(0 坐标 1 关键字 默认1 ) (Optional) */
SignPositionType *int `json:"signPositionType"`
/* 盖章关键字(与坐标二选一) (Optional) */
Keyword *string `json:"keyword"`
/* 盖章X坐标(与关键字二选一) (Optional) */
PositionX *int `json:"positionX"`
/* 盖章Y坐标(与关键字二选一) (Optional) */
PositionY *int `json:"positionY"`
/* 盖章X坐标偏移量(配合positionX) (Optional) */
OffsetX *int `json:"offsetX"`
/* 盖章Y坐标偏移量(配合positionY) (Optional) */
OffsetY *int `json:"offsetY"`
/* 盖章页码(选择坐标盖章时需要) (Optional) */
Page *int `json:"page"`
/* 印章名称 (Optional) */
SealName *string `json:"sealName"`
/* 印章图像base64(建议png格式,不传使用默认圆形章) (Optional) */
ImageB64 *string `json:"imageB64"`
/* 印章ID (Optional) */
StampId *string `json:"stampId"`
/* 印章描述 (Optional) */
Desc *string `json:"desc"`
/* 是否作为以后签章默认章 (Optional) */
IsDefault *bool `json:"isDefault"`
/* 图片类型,只支持png格式 (Optional) */
ImageType *string `json:"imageType"`
/* 图片大小,高度*宽度 (Optional) */
ImageSize *int `json:"imageSize"`
/* 图片高度 (Optional) */
ImageHeight *int `json:"imageHeight"`
/* 图片宽度 (Optional) */
ImageWidth *int `json:"imageWidth"`
/* 公司名称 (Optional) */
OrgName *string `json:"orgName"`
/* 法人姓名 (Optional) */
LegalPersonName *string `json:"legalPersonName"`
/* 代办人姓名 (Optional) */
TransactorName *string `json:"transactorName"`
/* 代办人身份证号码 (Optional) */
TransactorIdCardNum *string `json:"transactorIdCardNum"`
/* 代办人手机号 (Optional) */
TransactorMobile *string `json:"transactorMobile"`
/* 标记字段 - usci(统一社会信用码) orgCode(组织机构代码) businessNum (工商营业执照号) (Optional) */
IdentifyType *string `json:"identifyType"`
/* 标记值 (Optional) */
IdentifyValue *string `json:"identifyValue"`
/* 自定义签章类型time(带时间印章)、crossPage(骑缝章)(如需增加时间戳,此字段传time,会覆盖contractSpec中的定义) (Optional) */
StampStyle *string `json:"stampStyle"`
/* 0:普通证书 1:事件证书(默认为0,普通证书。会覆盖contractSpec中的定义) (Optional) */
CertExpire *int `json:"certExpire"`
/* 页范围,仅在坐标签章生效 1. all,表示所有页码;2. 数字以逗号分隔,形如:"1,2,3""1,2,3";3. 以短横线:以短横线'-'分隔的两个数字,会被扩展为⼀段范围,形如:"2-4";4:规则2和3可以混用,形如:"2-4,7" (Optional) */
PageRange *string `json:"pageRange"`
/* 关键字盖章坐标位置(right盖章在关键字右边,left盖章在关键字左边,center盖章在关键字中间。不传默认center) (Optional) */
PositionPoint *string `json:"positionPoint"`
/* 关键字盖章,关键字中心点是否和印章中心点重合,默认false,positionPoint为center时生效 (Optional) */
KeywordCenter *bool `json:"keywordCenter"`
}
type ContractInfo ¶
type ContractInfo struct {
/* 合同ID (Optional) */
ContractId string `json:"contractId"`
/* 合同标题 (Optional) */
ContractTitle string `json:"contractTitle"`
/* 印章名称(可能有多个印章) (Optional) */
StampNames []string `json:"stampNames"`
/* 合同文件(base64) (Optional) */
ContractContent string `json:"contractContent"`
/* 合同文件摘要 (Optional) */
ContractDigest string `json:"contractDigest"`
/* 合同签章时间 (Optional) */
CreateTime string `json:"createTime"`
/* 业务流水号 (Optional) */
BusinessId string `json:"businessId"`
}
type ContractSpec ¶
type ContractSpec struct {
/* 个人用户盖章信息(个人用户盖章信息、企业用户盖章信息 至少存在一项) (Optional) */
PersonStamps []PerStamp `json:"personStamps"`
/* 企业用户盖章信息(个人用户盖章信息、企业用户盖章信息 至少存在一项) (Optional) */
CompanyStamps []ComStamp `json:"companyStamps"`
/* 合同文件(base64) (Optional) */
ContractContent *string `json:"contractContent"`
/* 合同模板文件(base64) (Optional) */
TemplateContent *string `json:"templateContent"`
/* 合同模板文件ID (Optional) */
TemplateId *string `json:"templateId"`
/* 合同标题或名称 (Optional) */
ContractTitle *string `json:"contractTitle"`
/* 证书类型 (Optional) */
CaType *string `json:"caType"`
/* 自定义签章类型(如需增加时间戳,此字段传time) (Optional) */
StampStyle *string `json:"stampStyle"`
/* 0:普通证书 1:事件证书(默认为0,普通证书) (Optional) */
CertExpire *int `json:"certExpire"`
/* 证书类型 (Optional) */
BusinessId *string `json:"businessId"`
/* 签署完的合同是否在京东云存储(默认为false,不存储) (Optional) */
NeedStorage *bool `json:"needStorage"`
/* 是否需要返回已签署的合同(默认为true) (Optional) */
NeedContract *bool `json:"needContract"`
/* 部门信息 (Optional) */
Dept *string `json:"dept"`
/* 页范围,仅在坐标签章生效(personStamps,companyStamps中的该属性优先生效) 1. all,表示所有页码;2. 数字以逗号分隔,形如:"1,2,3""1,2,3";3. 以短横线:以短横线'-'分隔的两个数字,会被扩展为⼀段范围,形如:"2-4";4:规则2和3可以混用,形如:"2-4,7" (Optional) */
PageRange *string `json:"pageRange"`
}
type ContractVerifySpec ¶
type CountByPeriodResp ¶ added in v1.59.0
type CreateContractSpec ¶ added in v1.62.0
type CreateContractSpec struct {
/* 合同名称 (Optional) */
FileName string `json:"fileName"`
/* 签署人信息 (Optional) */
Users []UserInfo `json:"users"`
/* 签署类型(0 坐标 1 关键字) (Optional) */
SignPositionType int `json:"signPositionType"`
/* 签署顺序类型(0 顺序签署,1 无序签署) (Optional) */
OrderSign int `json:"orderSign"`
/* 合同文件(base64) (Optional) */
ContractBase64 string `json:"contractBase64"`
/* 合同编号 (Optional) */
ContractNo string `json:"contractNo"`
/* 合同子编号 (Optional) */
ContractNoSub string `json:"contractNoSub"`
/* 备注 (Optional) */
Note string `json:"note"`
/* 合同所属用户Id (Optional) */
OwnerCloudUserId string `json:"ownerCloudUserId"`
}
type CreateOrderInfo ¶ added in v1.62.0
type CreateOrderInfo struct {
/* 页面签署buyId (Optional) */
PageSignBuyId string `json:"pageSignBuyId"`
/* api签署buyId (Optional) */
ApiSignBuyId string `json:"apiSignBuyId"`
/* 合同存储buyId (Optional) */
StorageBuyId string `json:"storageBuyId"`
/* 实名类型 0个人实名 1企业实名 -1未实名 (Optional) */
UserType int `json:"userType"`
}
type DetailAgentInfo ¶ added in v1.62.0
type DetailAgentInfo struct {
/* 授权ID (Optional) */
AgentId string `json:"agentId"`
/* 授权人姓名 (Optional) */
AgentName string `json:"agentName"`
/* 手机号 (Optional) */
AgentPhone string `json:"agentPhone"`
/* 身份证号 (Optional) */
AgentIdCardNum string `json:"agentIdCardNum"`
/* 授权书名称 (Optional) */
AgentFileName string `json:"agentFileName"`
/* 授权书信息 (Optional) */
AgentPageInfos []PdfPageInfo `json:"agentPageInfos"`
}
type DownloadContractInfo ¶ added in v1.62.0
type DownloadContractInfo struct {
/* 合同id (Optional) */
ContractId string `json:"contractId"`
/* 合同名称 (Optional) */
ContractName string `json:"contractName"`
/* 合同base64 (Optional) */
ContractContent string `json:"contractContent"`
/* 合同hash (Optional) */
ContractDigest string `json:"contractDigest"`
/* 操作时间 格式:yyyy-MM-dd HH:mm:ss (Optional) */
CreateTime string `json:"createTime"`
}
type DownloadContractResp ¶ added in v1.62.0
type DownloadContractResp struct {
/* 合同数量 (Optional) */
TotalCount int `json:"totalCount"`
/* 合同信息 (Optional) */
ContractList []DownloadContractInfo `json:"contractList"`
}
type EditAgentSpec ¶ added in v1.62.0
type EidtStampSpec ¶ added in v1.62.0
type EvidenceFile ¶ added in v1.63.0
type GetCountResp ¶ added in v1.59.0
type GetCountResp struct {
/* 存取证总数 (Optional) */
TotalNumber int `json:"totalNumber"`
/* 总取证次数 (Optional) */
GetNumber int `json:"getNumber"`
/* 总存证次数 (Optional) */
PutNumber int `json:"putNumber"`
/* 总获取存证报告数 (Optional) */
CzReportNumber int `json:"czReportNumber"`
/* 今日存取证总数 (Optional) */
TotalTodayNumber int `json:"totalTodayNumber"`
/* 今日获取存证报告数 (Optional) */
CzReportTodayNumber int `json:"czReportTodayNumber"`
/* 今日存证数 (Optional) */
PutTodayNumber int `json:"putTodayNumber"`
/* 今日取证数 (Optional) */
GetTodayNumber int `json:"getTodayNumber"`
/* 昨日存取证总数 (Optional) */
TotalYesterdayNumber int `json:"totalYesterdayNumber"`
/* 昨日存证数 (Optional) */
PutYesterdayNumber int `json:"putYesterdayNumber"`
/* 昨日获取存证报告数 (Optional) */
CzReportYesterdayNumber int `json:"czReportYesterdayNumber"`
/* 昨日取证数 (Optional) */
GetYesterdayNumber int `json:"getYesterdayNumber"`
}
type GetEvidenceResp ¶ added in v1.59.0
type GetEvidenceResp struct {
/* 存证编号 (Optional) */
EvidenceId string `json:"evidenceId"`
/* 取证请求流水号(单证据链存证用户无需关心) (Optional) */
MessageId string `json:"messageId"`
/* 存证请求的流水号(单证据链存证用户无需关心) (Optional) */
EvidenceMessageId string `json:"evidenceMessageId"`
/* 取证结果文件 (Optional) */
EvidenceFileList []EvidenceFile `json:"evidenceFileList"`
}
type HistoryContractInfo ¶ added in v1.62.0
type HistoryContractInfo struct {
/* 操作者 (Optional) */
Name string `json:"name"`
/* 操作时间 格式:yyyy-MM-dd HH:mm:ss (Optional) */
CreateTime string `json:"createTime"`
/* 合同状态 (Optional) */
Status int `json:"status"`
/* 合同状态描述 (Optional) */
StatusDescription string `json:"statusDescription"`
/* 合同id (Optional) */
ContractId string `json:"contractId"`
/* 合同名称 (Optional) */
FileName string `json:"fileName"`
/* 操作记录整体描述信息 (Optional) */
Description string `json:"description"`
}
type KeywordInfo ¶ added in v1.63.0
type PaddingInfo ¶ added in v1.42.0
type PaddingSpec ¶ added in v1.42.0
type PaddingSpec struct {
/* 填充信息
1. 成对出现(占位符,替换值)
2. 填充信息必须全部填写(与word模板上传时holdingKeys数量以及名称保持一致)
(Optional) */
PaddingInfo []PaddingInfo `json:"paddingInfo"`
}
type PageAgentResp ¶ added in v1.62.0
type PageAgentSpec ¶ added in v1.62.0
type PageContractResp ¶ added in v1.62.0
type PageContractResp struct {
/* 合同列表 (Optional) */
List []PageSignContractInfo `json:"list"`
/* 查询数量 (Optional) */
TotalCount int `json:"totalCount"`
/* 页码,默认为1 (Optional) */
PageNumber int `json:"pageNumber"`
/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
PageSize int `json:"pageSize"`
}
type PageSignContractInfo ¶ added in v1.62.0
type PageSignContractInfo struct {
/* 合同ID (Optional) */
ContractId string `json:"contractId"`
/* 合同记录ID (Optional) */
ContractRecordId string `json:"contractRecordId"`
/* 合同名称 (Optional) */
FileName string `json:"fileName"`
/* 合同大小 (Optional) */
FileSize string `json:"fileSize"`
/* 合同编号 (Optional) */
ContractNo string `json:"contractNo"`
/* 合同子编号 (Optional) */
ContractNoSub string `json:"contractNoSub"`
/* 签署顺序类型 (Optional) */
OrderSign int `json:"orderSign"`
/* 签署顺序描述 (Optional) */
OrderSignDescription string `json:"orderSignDescription"`
/* 备注 (Optional) */
Note string `json:"note"`
/* 发起方 (Optional) */
SenderName string `json:"senderName"`
/* 格式:yyyy-MM-dd HH:mm:ss (Optional) */
CreateTime string `json:"createTime"`
/* 合同状态 (Optional) */
Status int `json:"status"`
/* 合同状态描述 (Optional) */
StatusDescription string `json:"statusDescription"`
/* 签署人列表 (Optional) */
SignUserList []SignUserContractStatus `json:"signUserList"`
/* 拒签用户id (Optional) */
RejectUserId string `json:"rejectUserId"`
/* 拒签用户名 (Optional) */
RejectUserName string `json:"rejectUserName"`
/* 签署类型 (0:坐标盖章 1:关键字盖章) (Optional) */
SignPositionType int `json:"signPositionType"`
/* 签署类型描述 (Optional) */
SignPositionTypeDescription string `json:"signPositionTypeDescription"`
}
type PageStampHistoryResp ¶ added in v1.62.0
type PageStampHistoryResp struct {
/* 印章操作记录列表 (Optional) */
List []StampHistoryInfo `json:"list"`
/* 印章操作记录数量 (Optional) */
TotalCount int `json:"totalCount"`
/* 页码,默认为1 (Optional) */
PageNumber int `json:"pageNumber"`
/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
PageSize int `json:"pageSize"`
}
type PdfPageInfo ¶ added in v1.62.0
type PdfViewInfo ¶ added in v1.62.0
type PdfViewInfo struct {
/* pdfBase64 (Optional) */
PdfBase64 string `json:"pdfBase64"`
/* 总页数 (Optional) */
NumberOfPages int `json:"numberOfPages"`
/* 合同信息 (Optional) */
PageInfos []PdfPageInfo `json:"pageInfos"`
}
type PerStamp ¶
type PerStamp struct {
/* 最多盖章数目(默认10) (Optional) */
StampMax *int `json:"stampMax"`
/* 盖章类型(0 坐标 1 关键字,默认为 1) (Optional) */
SignPositionType *int `json:"signPositionType"`
/* 盖章关键字(与坐标二选一) (Optional) */
Keyword *string `json:"keyword"`
/* 盖章X坐标(与关键字二选一) (Optional) */
PositionX *int `json:"positionX"`
/* 盖章Y坐标(与关键字二选一) (Optional) */
PositionY *int `json:"positionY"`
/* 盖章X坐标偏移量(配合positionX) (Optional) */
OffsetX *int `json:"offsetX"`
/* 盖章Y坐标偏移量(配合positionY) (Optional) */
OffsetY *int `json:"offsetY"`
/* 盖章页码(选择坐标盖章时需要传入本参数) (Optional) */
Page *int `json:"page"`
/* 印章名称 (Optional) */
SealName *string `json:"sealName"`
/* 印章图像base64(建议png格式,不传使用默认方形章) (Optional) */
ImageB64 *string `json:"imageB64"`
/* 印章ID (Optional) */
StampId *string `json:"stampId"`
/* 印章描述 (Optional) */
Desc *string `json:"desc"`
/* 是否作为以后签章默认章 (Optional) */
IsDefault *bool `json:"isDefault"`
/* 图片类型 (Optional) */
ImageType *string `json:"imageType"`
/* 图片大小,高度*宽度 (Optional) */
ImageSize *int `json:"imageSize"`
/* 图片高度 (Optional) */
ImageHeight *int `json:"imageHeight"`
/* 图片宽度 (Optional) */
ImageWidth *int `json:"imageWidth"`
/* 姓名 (Optional) */
PersonalName *string `json:"personalName"`
/* 手机号 (Optional) */
Mobile *string `json:"mobile"`
/* 标记字段 - idCardNum(身份证) passportNum(护照) mtpNum(港澳通行证) (Optional) */
IdentifyType *string `json:"identifyType"`
/* 标记值 (Optional) */
IdentifyValue *string `json:"identifyValue"`
/* 自定义签章类型 time(带时间印章)、crossPage(骑缝章)(如需增加时间戳,此字段传time,会覆盖contractSpec中的定义) (Optional) */
StampStyle *string `json:"stampStyle"`
/* 0:普通证书 1:事件证书(默认为0,普通证书。会覆盖contractSpec中的定义) (Optional) */
CertExpire *int `json:"certExpire"`
/* 页范围,仅在坐标签章生效 1. all,表示所有页码;2. 数字以逗号分隔,形如:"1,2,3""1,2,3";3. 以短横线:以短横线'-'分隔的两个数字,会被扩展为⼀段范围,形如:"2-4";4:规则2和3可以混用,形如:"2-4,7" (Optional) */
PageRange *string `json:"pageRange"`
/* 关键字盖章坐标位置(right盖章在关键字右边,left盖章在关键字左边,center盖章在关键字中间。不传默认center) (Optional) */
PositionPoint *string `json:"positionPoint"`
/* 关键字盖章,关键字中心点是否和印章中心点重合,默认false,positionPoint为center时生效 (Optional) */
KeywordCenter *bool `json:"keywordCenter"`
}
type PreviewAndHistoryResp ¶ added in v1.62.0
type PreviewAndHistoryResp struct {
/* 合同操作历史记录 (Optional) */
HistoryInfo []HistoryContractInfo `json:"historyInfo"`
/* 用户名 (Optional) */
Names []string `json:"names"`
/* (Optional) */
PdfViewInfo PdfViewInfo `json:"pdfViewInfo"`
}
type ReadySignContractResp ¶ added in v1.62.0
type ReadySignContractResp struct {
/* 关键字设置 (Optional) */
KeywordInfos []KeywordInfo `json:"keywordInfos"`
/* 合同信息 (Optional) */
PageInfos []PdfPageInfo `json:"pageInfos"`
/* 印章信息 (Optional) */
SignStamps []SignStampInfo `json:"signStamps"`
/* 合同名称 (Optional) */
FileName string `json:"fileName"`
/* 《电子认证服务协议》(文本形式) (Optional) */
CertificationAgreement string `json:"certificationAgreement"`
/* 接收短信验证码手机号(意愿验证手机号) (Optional) */
Mobile string `json:"mobile"`
/* 合同发起人 (Optional) */
SenderName string `json:"senderName"`
/* 当前签署人 (Optional) */
SigningName string `json:"signingName"`
/* 0:坐标盖章 1:关键字盖章 (Optional) */
SignPositionType int `json:"signPositionType"`
/* 待签署文件hash (Optional) */
Hash string `json:"hash"`
}
type RecordListResp ¶ added in v1.59.0
type RecordListResp struct {
/* 当前是第几页,page (Optional) */
Number int `json:"number"`
/* 是否是最后一页 (Optional) */
Last bool `json:"last"`
/* 当前页数量 (Optional) */
NumberOfElements int `json:"numberOfElements"`
/* 每页数量 (Optional) */
Size int `json:"size"`
/* 总共多少页 (Optional) */
TotalPages int `json:"totalPages"`
/* 是否第一页 (Optional) */
First bool `json:"first"`
/* 是否为空 (Optional) */
Empty bool `json:"empty"`
/* 总数目 (Optional) */
TotalElements int `json:"totalElements"`
/* (Optional) */
Content []interface{} `json:"content"`
}
type RenewCertSpec ¶ added in v1.63.0
type RevokeCertSpec ¶ added in v1.63.0
type SaveEvidenceResp ¶ added in v1.59.0
type SignContractSpec ¶ added in v1.62.0
type SignContractSpec struct {
/* 合同记录Id (Optional) */
ContractRecordId string `json:"contractRecordId"`
/* 短信验证码 (Optional) */
SmsCode string `json:"smsCode"`
/* 手机号(不需要回传手机号,字段暂留) (Optional) */
Mobile string `json:"mobile"`
/* 印章id (关键字盖章使用的印章,不传使用默认印章) (Optional) */
StampId string `json:"stampId"`
/* 待签署文件hash (Optional) */
Hash string `json:"hash"`
/* 坐标盖章印章信息 (Optional) */
Signatures []SignatureInfo `json:"signatures"`
}
type SignStampInfo ¶ added in v1.62.0
type SignUserContractStatus ¶ added in v1.62.0
type SignatureInfo ¶ added in v1.62.0
type SmqStatisticsInfo ¶ added in v1.63.0
type SmsSpec ¶ added in v1.62.0
type SmsSpec struct {
/* 合同记录Id (Optional) */
ContractRecordId string `json:"contractRecordId"`
}
type StampHistoryInfo ¶ added in v1.62.0
type StampHistoryInfo struct {
/* 印章操作记录ID (Optional) */
Id string `json:"id"`
/* 操作主体 (Optional) */
CreatedBy string `json:"createdBy"`
/* 联系方式 (Optional) */
OperatorPhone string `json:"operatorPhone"`
/* 操作时间 (Optional) */
CreateTime string `json:"createTime"`
/* 操作类型:创建印章、编辑印章、删除印章、加盖印章 (Optional) */
OperatorType string `json:"operatorType"`
/* 备注——合同信息 (Optional) */
Note string `json:"note"`
}
type StampInfo ¶
type StampInfo struct {
/* 印章ID (Optional) */
StampId string `json:"stampId"`
/* 印章名称 (Optional) */
StampName string `json:"stampName"`
/* 印章图片(base64) (Optional) */
StampContent string `json:"stampContent"`
/* 印章摘要 (Optional) */
StampDigest string `json:"stampDigest"`
/* 印章上传时间 (Optional) */
CreateTime string `json:"createTime"`
/* 印章下载地址 (Optional) */
StampUrl string `json:"stampUrl"`
/* 印章属性 (Optional) */
StampAttributes string `json:"stampAttributes"`
}
type StampResult ¶
type StampResult struct {
/* 验证结果 (Optional) */
Verified bool `json:"verified"`
/* 时间戳 (Optional) */
Timestamp string `json:"timestamp"`
/* 签名算法信息 (Optional) */
Algorithm string `json:"algorithm"`
/* 证书信息 (Optional) */
CertInfo string `json:"certInfo"`
/* 是否验证根证书 (Optional) */
ChainRootVerified bool `json:"chainRootVerified"`
/* 子类型 (Optional) */
SubType string `json:"subType"`
}
type StatisticsInfo ¶
type StatisticsInfo struct {
/* 已签合同数量 (Optional) */
ContractNumber int `json:"contractNumber"`
/* 印章数量 (Optional) */
StampNumber int `json:"stampNumber"`
/* 合同模板数量 (Optional) */
TemplateNumber int `json:"templateNumber"`
/* 是否启用存管 (Optional) */
ContractSave bool `json:"contractSave"`
/* 已用存储空间容量(单位:MB) (Optional) */
UsedSpace int `json:"usedSpace"`
/* 签章系统加密密钥ID (Optional) */
KmsKeyId string `json:"kmsKeyId"`
/* 签章次数统计[24小时,7天,30天] (Optional) */
SignStatistic []SignItem `json:"signStatistic"`
}
type TemplateInfo ¶
type TemplateInfo struct {
/* 合同模板ID (Optional) */
TemplateId string `json:"templateId"`
/* 合同模板名称 (Optional) */
TemplateName string `json:"templateName"`
/* 合同模板标题 (Optional) */
TemplateTitle string `json:"templateTitle"`
/* 合同模板文件名称 (Optional) */
TemplateFileName string `json:"templateFileName"`
/* 合同模板文件(base64) (Optional) */
TemplateContent string `json:"templateContent"`
/* 合同模板文件摘要 (Optional) */
TemplateDigest string `json:"templateDigest"`
/* 合同模板文件类型 pdf,word,pdf-auto (Optional) */
TemplateType string `json:"templateType"`
/* 填充信息 (Optional) */
PaddingInfo []PaddingInfo `json:"paddingInfo"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
}
type TemplateSpec ¶
type TemplateSpec struct {
/* 合同模板文件(base64) (Optional) */
TemplateContent *string `json:"templateContent"`
/* 合同模板名称 (Optional) */
TemplateName *string `json:"templateName"`
/* 合同模板标题 (Optional) */
TemplateTitle *string `json:"templateTitle"`
/* 模板类型 pdf,word (word为可编辑模板) (Optional) */
TemplateType *string `json:"templateType"`
/* 备注 (Optional) */
Note *string `json:"note"`
/* 占位符关键字,templateType为word时必传
在word文档中为双大括号里的内容, 比如{{单位名称}}
(Optional) */
HoldingKeys []string `json:"holdingKeys"`
}
type UpdateCertSpec ¶ added in v1.63.0
type UpdateCertSpec struct {
/* 个人用户姓名或企业名 (Optional) */
UserName *string `json:"userName"`
/* 0:个人用户,1:企业用户 (Optional) */
UserType *int `json:"userType"`
/* 邮箱 (Optional) */
Mail *string `json:"mail"`
/* 手机号 (Optional) */
Phone *string `json:"phone"`
/* 证件号类型。个人用户:身份证(idCardNum),护照(passportNum),港澳通行证(mtpNum),自定义(customUserId)。企业用户:统一社会信用代码(usci),组织机构代码(orgCode),工商营业执照(businessNum),自定义(customUserId) (Optional) */
IdentifyField *string `json:"identifyField"`
/* 证件号 (Optional) */
IdentifyValue *string `json:"identifyValue"`
/* P10 (Optional) */
CertReqBuf *string `json:"certReqBuf"`
/* 证书序列号 (Optional) */
CertSerialNumber *string `json:"certSerialNumber"`
}
type UserCenterInfo ¶ added in v1.62.0
type UserCenterInfo struct {
/* 个人用户-姓名,企业用户-法人姓名 (Optional) */
Name string `json:"name"`
/* 个人用户-身份证号,企业用户-法人身份证号 (Optional) */
IdCardNum string `json:"idCardNum"`
/* 个人用户-个人手机号,企业用户-法人手机号 (Optional) */
Mobile string `json:"mobile"`
/* 用户类型 0个人用户 1企业用户 (Optional) */
UserType int `json:"userType"`
}
type UserCenterInfoSpec ¶ added in v1.62.0
type UserCenterSmsCodeSpec ¶ added in v1.62.0
type UserCenterSmsCodeSpec struct {
/* 手机号 (Optional) */
Mobile string `json:"mobile"`
}
type UserInfo ¶ added in v1.62.0
type UserInfo struct {
/* 姓名 或 企业名 (Optional) */
Name string `json:"name"`
/* 手机号(个人信息需要设置) (Optional) */
Mobile string `json:"mobile"`
/* 身份证号(个人信息需要设置) (Optional) */
IdCardNum string `json:"idCardNum"`
/* 签署序号 (Optional) */
SignOrder int `json:"signOrder"`
/* 用户类型 (0 个人用户,1 企业用户 ) (Optional) */
UserType int `json:"userType"`
/* 关键字签署时,需要设置盖章关键字 (Optional) */
Keyword string `json:"keyword"`
}
type UserResp ¶ added in v1.59.0
type UserResp struct {
/* 总数 (Optional) */
TotalElements int `json:"totalElements"`
/* 总页数 (Optional) */
TotalPages int `json:"totalPages"`
/* 是否最后一页 (Optional) */
Last bool `json:"last"`
/* 当前第几页,从0开始 (Optional) */
Number int `json:"number"`
/* 每页大小 (Optional) */
Size int `json:"size"`
/* 当前页数量 (Optional) */
NumberOfElements int `json:"numberOfElements"`
/* 是否第一页 (Optional) */
First bool `json:"first"`
/* 忽略 (Optional) */
Pageable string `json:"pageable"`
/* 忽略 (Optional) */
Sort string `json:"sort"`
/* (Optional) */
Content []interface{} `json:"content"`
}
type UserTypeResp ¶ added in v1.59.0
type VerifyInfo ¶
type VerifyInfo struct {
/* 验签是否成功,true 成功 false 失败 (Optional) */
Success bool `json:"success"`
/* 验证消息 (Optional) */
Message string `json:"message"`
/* 签章验证列表 (Optional) */
Results []StampResult `json:"results"`
}
Source Files
¶
- AgentInfo.go
- AgentSpec.go
- AuditResp.go
- AuditStaticsResp.go
- AuthorizedUserInfo.go
- CertInfo.go
- CertResp.go
- CertSpec.go
- ComStamp.go
- ContractInfo.go
- ContractSpec.go
- ContractVerifySpec.go
- CountByPeriodResp.go
- CreateContractSpec.go
- CreateOrderInfo.go
- DetailAgentInfo.go
- DownloadContractInfo.go
- DownloadContractResp.go
- EditAgentSpec.go
- EidtStampSpec.go
- EvidenceFile.go
- GetCountResp.go
- GetEvidenceResp.go
- HistoryContractInfo.go
- KeywordInfo.go
- PaddingInfo.go
- PaddingSpec.go
- PageAgentResp.go
- PageAgentSpec.go
- PageContractResp.go
- PageSignContractInfo.go
- PageStampHistoryResp.go
- PdfPageInfo.go
- PdfViewInfo.go
- PerStamp.go
- PreviewAndHistoryResp.go
- ReadySignContractResp.go
- RecordListResp.go
- RenewCertSpec.go
- RevokeCertSpec.go
- SaveEvidenceResp.go
- SignContractSpec.go
- SignItem.go
- SignStampInfo.go
- SignUserContractStatus.go
- SignatureInfo.go
- SmqStatisticsInfo.go
- SmsSpec.go
- StampHistoryInfo.go
- StampInfo.go
- StampResult.go
- StampSpec.go
- StatisticsInfo.go
- TemplateInfo.go
- TemplateSpec.go
- UpdateCertSpec.go
- UserCenterInfo.go
- UserCenterInfoSpec.go
- UserCenterSmsCodeSpec.go
- UserInfo.go
- UserResp.go
- UserTypeResp.go
- VerifyInfo.go
Click to show internal directories.
Click to hide internal directories.