Skip to content

Commit 36f1e86

Browse files
publish jdcloud-sdk-python 1.6.304
1 parent 7b78014 commit 36f1e86

6 files changed

Lines changed: 52 additions & 19 deletions

File tree

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# 更新历史 #
2-
| 发布时间 | 版本号 | 更新 | 说明 |
3-
| ---------------| -----------|-----------|---------|
4-
| 2024-05-30 | 2.0.9 | 电子签章 |修复模板、印章列表 |
5-
| 2024-03-11 | 2.0.8 | 证书代理 | |
6-
| 2024-01-30 | 2.0.7 | 电子签章新版本sdk | |
7-
| 2023-09-22 | 2.0.6 | 增加盖章位置参数 | |
8-
| 2023-06-16 | 2.0.5 | 增加获取存证报告接口 | |
9-
| 2023-05-15 | 2.0.4 | 添加页面签署功能,兼容已有api签署接口 | |
10-
| 2023-03-23 | 2.0.3 | 多证据链存取证参数调整 | |
11-
| 2023-02-10 | 2.0.2 | 签署合同增加时间戳参数 | |
12-
| 2022-09-13 | 2.0.0 | 增加存取证接口 | |
13-
| 2021-06-24 | 1.1.1 | 完善合同下载功能 | |
14-
| 2020-08-27 | 1.1.0 | 增加可编辑模板功能 | |
15-
| 2020-08-10 | 1.0.1 | 使用默认章样式 | |
16-
| 2019-08-01 | 1.0.0 | 初始化 | |
2+
| 发布时间 | 版本号 | 更新 | 说明 |
3+
|------------|-------|----------------------|------------------|
4+
| 2026-01-14 | 2.1.0 | 支持国密证书 | 2.1.0只对内发布,沿用版本号 |
5+
| 2024-09-24 | 2.1.0 | 电子签章 | 开通服务、关闭服务 |
6+
| 2024-05-30 | 2.0.9 | 电子签章 | 修复模板、印章列表 |
7+
| 2024-03-11 | 2.0.8 | 证书代理 | |
8+
| 2024-01-30 | 2.0.7 | 电子签章新版本sdk | |
9+
| 2023-09-22 | 2.0.6 | 增加盖章位置参数 | |
10+
| 2023-06-16 | 2.0.5 | 增加获取存证报告接口 | |
11+
| 2023-05-15 | 2.0.4 | 添加页面签署功能,兼容已有api签署接口 | |
12+
| 2023-03-23 | 2.0.3 | 多证据链存取证参数调整 | |
13+
| 2023-02-10 | 2.0.2 | 签署合同增加时间戳参数 | |
14+
| 2022-09-13 | 2.0.0 | 增加存取证接口 | |
15+
| 2021-06-24 | 1.1.1 | 完善合同下载功能 | |
16+
| 2020-08-27 | 1.1.0 | 增加可编辑模板功能 | |
17+
| 2020-08-10 | 1.0.1 | 使用默认章样式 | |
18+
| 2019-08-01 | 1.0.0 | 初始化 | |
1719

jdcloud_sdk/services/cloudsign/client/CloudsignClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def __init__(self, credential, config=None, logger=None):
2626
if config is None:
2727
config = Config('cloudsign.jdcloud-api.com')
2828

29-
super(CloudsignClient, self).__init__(credential, config, 'cloudsign', '2.0.9', logger)
29+
super(CloudsignClient, self).__init__(credential, config, 'cloudsign', '2.1.0', logger)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
20+
class CloseByPinSpec(object):
21+
22+
def __init__(self, pin=None):
23+
"""
24+
:param pin: (Optional) pin
25+
"""
26+
27+
self.pin = pin

jdcloud_sdk/services/cloudsign/models/ComStamp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class ComStamp(object):
2121

22-
def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX=None, positionY=None, offsetX=None, offsetY=None, page=None, sealName=None, imageB64=None, stampId=None, desc=None, isDefault=None, imageType=None, imageSize=None, imageHeight=None, imageWidth=None, orgName=None, legalPersonName=None, transactorName=None, transactorIdCardNum=None, transactorMobile=None, identifyType=None, identifyValue=None, stampStyle=None, certExpire=None, pageRange=None, positionPoint=None, keywordCenter=None):
22+
def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX=None, positionY=None, offsetX=None, offsetY=None, page=None, sealName=None, imageB64=None, stampId=None, desc=None, isDefault=None, imageType=None, imageSize=None, imageHeight=None, imageWidth=None, orgName=None, legalPersonName=None, transactorName=None, transactorIdCardNum=None, transactorMobile=None, identifyType=None, identifyValue=None, stampStyle=None, certExpire=None, certType=None, pageRange=None, positionPoint=None, keywordCenter=None):
2323
"""
2424
:param stampMax: (Optional) 最多盖章数目(默认10)
2525
:param signPositionType: (Optional) 盖章类型(0 坐标 1 关键字 默认1 )
@@ -47,6 +47,7 @@ def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX
4747
:param identifyValue: (Optional) 标记值
4848
:param stampStyle: (Optional) 自定义签章类型time(带时间印章)、crossPage(骑缝章)(如需增加时间戳,此字段传time,会覆盖contractSpec中的定义)
4949
:param certExpire: (Optional) 0:普通证书 1:事件证书(默认为0,普通证书。会覆盖contractSpec中的定义)
50+
:param certType: (Optional) 0:RSA 1:SM2(国密证书)(默认为0,RSA证书)
5051
:param pageRange: (Optional) 页范围,仅在坐标签章生效 1. all,表示所有页码;2. 数字以逗号分隔,形如:"1,2,3""1,2,3";3. 以短横线:以短横线'-'分隔的两个数字,会被扩展为⼀段范围,形如:"2-4";4:规则2和3可以混用,形如:"2-4,7"
5152
:param positionPoint: (Optional) 关键字盖章坐标位置(right盖章在关键字右边,left盖章在关键字左边,center盖章在关键字中间。不传默认center)
5253
:param keywordCenter: (Optional) 关键字盖章,关键字中心点是否和印章中心点重合,默认false,positionPoint为center时生效
@@ -78,6 +79,7 @@ def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX
7879
self.identifyValue = identifyValue
7980
self.stampStyle = stampStyle
8081
self.certExpire = certExpire
82+
self.certType = certType
8183
self.pageRange = pageRange
8284
self.positionPoint = positionPoint
8385
self.keywordCenter = keywordCenter

jdcloud_sdk/services/cloudsign/models/PerStamp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class PerStamp(object):
2121

22-
def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX=None, positionY=None, offsetX=None, offsetY=None, page=None, sealName=None, imageB64=None, stampId=None, desc=None, isDefault=None, imageType=None, imageSize=None, imageHeight=None, imageWidth=None, personalName=None, mobile=None, identifyType=None, identifyValue=None, stampStyle=None, certExpire=None, pageRange=None, positionPoint=None, keywordCenter=None):
22+
def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX=None, positionY=None, offsetX=None, offsetY=None, page=None, sealName=None, imageB64=None, stampId=None, desc=None, isDefault=None, imageType=None, imageSize=None, imageHeight=None, imageWidth=None, personalName=None, mobile=None, identifyType=None, identifyValue=None, stampStyle=None, certExpire=None, certType=None, pageRange=None, positionPoint=None, keywordCenter=None):
2323
"""
2424
:param stampMax: (Optional) 最多盖章数目(默认10)
2525
:param signPositionType: (Optional) 盖章类型(0 坐标 1 关键字,默认为 1)
@@ -44,6 +44,7 @@ def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX
4444
:param identifyValue: (Optional) 标记值
4545
:param stampStyle: (Optional) 自定义签章类型 time(带时间印章)、crossPage(骑缝章)(如需增加时间戳,此字段传time,会覆盖contractSpec中的定义)
4646
:param certExpire: (Optional) 0:普通证书 1:事件证书(默认为0,普通证书。会覆盖contractSpec中的定义)
47+
:param certType: (Optional) 0:RSA 1:SM2(国密证书)(默认为0,RSA证书)
4748
:param pageRange: (Optional) 页范围,仅在坐标签章生效 1. all,表示所有页码;2. 数字以逗号分隔,形如:"1,2,3""1,2,3";3. 以短横线:以短横线'-'分隔的两个数字,会被扩展为⼀段范围,形如:"2-4";4:规则2和3可以混用,形如:"2-4,7"
4849
:param positionPoint: (Optional) 关键字盖章坐标位置(right盖章在关键字右边,left盖章在关键字左边,center盖章在关键字中间。不传默认center)
4950
:param keywordCenter: (Optional) 关键字盖章,关键字中心点是否和印章中心点重合,默认false,positionPoint为center时生效
@@ -72,6 +73,7 @@ def __init__(self, stampMax=None, signPositionType=None, keyword=None, positionX
7273
self.identifyValue = identifyValue
7374
self.stampStyle = stampStyle
7475
self.certExpire = certExpire
76+
self.certType = certType
7577
self.pageRange = pageRange
7678
self.positionPoint = positionPoint
7779
self.keywordCenter = keywordCenter

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='jdcloud_sdk',
12-
version="1.6.303",
12+
version="1.6.304",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",
1515
author='JDCloud API Gateway Team',

0 commit comments

Comments
 (0)