antchain-bot 1.11.1__tar.gz → 1.11.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/PKG-INFO +1 -1
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_bot.egg-info/PKG-INFO +1 -1
- antchain_bot-1.11.2/antchain_sdk_bot/__init__.py +1 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_sdk_bot/client.py +2 -2
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_sdk_bot/models.py +59 -0
- antchain_bot-1.11.1/antchain_sdk_bot/__init__.py +0 -1
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/LICENSE +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/MANIFEST.in +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/README-CN.md +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/README.md +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_bot.egg-info/SOURCES.txt +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_bot.egg-info/dependency_links.txt +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_bot.egg-info/requires.txt +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/antchain_bot.egg-info/top_level.txt +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/setup.cfg +0 -0
- {antchain_bot-1.11.1 → antchain_bot-1.11.2}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.11.2'
|
|
@@ -135,7 +135,7 @@ class Client:
|
|
|
135
135
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
136
136
|
'access_key': self._access_key_id,
|
|
137
137
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
138
|
-
'sdk_version': '1.11.
|
|
138
|
+
'sdk_version': '1.11.2',
|
|
139
139
|
'_prod_code': 'BOT',
|
|
140
140
|
'_prod_channel': 'undefined'
|
|
141
141
|
}
|
|
@@ -239,7 +239,7 @@ class Client:
|
|
|
239
239
|
'req_msg_id': AntchainUtils.get_nonce(),
|
|
240
240
|
'access_key': self._access_key_id,
|
|
241
241
|
'base_sdk_version': 'TeaSDK-2.0',
|
|
242
|
-
'sdk_version': '1.11.
|
|
242
|
+
'sdk_version': '1.11.2',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -6849,6 +6849,58 @@ class ProductKeyPageResponse(TeaModel):
|
|
|
6849
6849
|
return self
|
|
6850
6850
|
|
|
6851
6851
|
|
|
6852
|
+
class SubMerchantParams(TeaModel):
|
|
6853
|
+
def __init__(
|
|
6854
|
+
self,
|
|
6855
|
+
sub_merchant_id: str = None,
|
|
6856
|
+
sub_merchant_name: str = None,
|
|
6857
|
+
sub_merchant_service_name: str = None,
|
|
6858
|
+
sub_merchant_service_description: str = None,
|
|
6859
|
+
):
|
|
6860
|
+
# 子商户的商户id
|
|
6861
|
+
self.sub_merchant_id = sub_merchant_id
|
|
6862
|
+
# 子商户的商户名称
|
|
6863
|
+
self.sub_merchant_name = sub_merchant_name
|
|
6864
|
+
# 子商户的服务名称
|
|
6865
|
+
self.sub_merchant_service_name = sub_merchant_service_name
|
|
6866
|
+
# 子商户的服务描述
|
|
6867
|
+
self.sub_merchant_service_description = sub_merchant_service_description
|
|
6868
|
+
|
|
6869
|
+
def validate(self):
|
|
6870
|
+
self.validate_required(self.sub_merchant_id, 'sub_merchant_id')
|
|
6871
|
+
self.validate_required(self.sub_merchant_name, 'sub_merchant_name')
|
|
6872
|
+
self.validate_required(self.sub_merchant_service_name, 'sub_merchant_service_name')
|
|
6873
|
+
self.validate_required(self.sub_merchant_service_description, 'sub_merchant_service_description')
|
|
6874
|
+
|
|
6875
|
+
def to_map(self):
|
|
6876
|
+
_map = super().to_map()
|
|
6877
|
+
if _map is not None:
|
|
6878
|
+
return _map
|
|
6879
|
+
|
|
6880
|
+
result = dict()
|
|
6881
|
+
if self.sub_merchant_id is not None:
|
|
6882
|
+
result['sub_merchant_id'] = self.sub_merchant_id
|
|
6883
|
+
if self.sub_merchant_name is not None:
|
|
6884
|
+
result['sub_merchant_name'] = self.sub_merchant_name
|
|
6885
|
+
if self.sub_merchant_service_name is not None:
|
|
6886
|
+
result['sub_merchant_service_name'] = self.sub_merchant_service_name
|
|
6887
|
+
if self.sub_merchant_service_description is not None:
|
|
6888
|
+
result['sub_merchant_service_description'] = self.sub_merchant_service_description
|
|
6889
|
+
return result
|
|
6890
|
+
|
|
6891
|
+
def from_map(self, m: dict = None):
|
|
6892
|
+
m = m or dict()
|
|
6893
|
+
if m.get('sub_merchant_id') is not None:
|
|
6894
|
+
self.sub_merchant_id = m.get('sub_merchant_id')
|
|
6895
|
+
if m.get('sub_merchant_name') is not None:
|
|
6896
|
+
self.sub_merchant_name = m.get('sub_merchant_name')
|
|
6897
|
+
if m.get('sub_merchant_service_name') is not None:
|
|
6898
|
+
self.sub_merchant_service_name = m.get('sub_merchant_service_name')
|
|
6899
|
+
if m.get('sub_merchant_service_description') is not None:
|
|
6900
|
+
self.sub_merchant_service_description = m.get('sub_merchant_service_description')
|
|
6901
|
+
return self
|
|
6902
|
+
|
|
6903
|
+
|
|
6852
6904
|
class ChainModelResult(TeaModel):
|
|
6853
6905
|
def __init__(
|
|
6854
6906
|
self,
|
|
@@ -21917,6 +21969,7 @@ class SignDigitalkeyWithholdRequest(TeaModel):
|
|
|
21917
21969
|
alipay_user_id: str = None,
|
|
21918
21970
|
sign_scene: str = None,
|
|
21919
21971
|
external_agreement_no: str = None,
|
|
21972
|
+
sub_merchant: str = None,
|
|
21920
21973
|
sign_validity_period: str = None,
|
|
21921
21974
|
effect_time: int = None,
|
|
21922
21975
|
):
|
|
@@ -21939,6 +21992,8 @@ class SignDigitalkeyWithholdRequest(TeaModel):
|
|
|
21939
21992
|
self.sign_scene = sign_scene
|
|
21940
21993
|
# 商户签约号,代扣协议中标示用户的唯一签约号(确保在商户系统中唯一)。 格式规则:支持大写小写字母和数字,最长32位。 商户系统按需自定义传入,如果同一用户在同一产品码、同一签约场景下,签订了多份代扣协议,那么需要指定并传入该值
|
|
21941
21994
|
self.external_agreement_no = external_agreement_no
|
|
21995
|
+
# 子商户信息
|
|
21996
|
+
self.sub_merchant = sub_merchant
|
|
21942
21997
|
# 当前用户签约请求的协议有效周期。 整形数字加上时间单位的协议有效期,从发起签约请求的时间开始算起。 目前支持的时间单位: 1. d:天 2. m:月 如果未传入,默认为长期有效。
|
|
21943
21998
|
self.sign_validity_period = sign_validity_period
|
|
21944
21999
|
# 签约有效时间限制,单位是秒,有效范围是0-86400,商户传入此字段会用商户传入的值否则使用支付宝侧默认值,在有效时间外进行签约,会进行安全拦截;(备注:此字段适用于需要开通安全防控的商户,且依赖商户传入生成签约时的时间戳字段timestamp)
|
|
@@ -21979,6 +22034,8 @@ class SignDigitalkeyWithholdRequest(TeaModel):
|
|
|
21979
22034
|
result['sign_scene'] = self.sign_scene
|
|
21980
22035
|
if self.external_agreement_no is not None:
|
|
21981
22036
|
result['external_agreement_no'] = self.external_agreement_no
|
|
22037
|
+
if self.sub_merchant is not None:
|
|
22038
|
+
result['sub_merchant'] = self.sub_merchant
|
|
21982
22039
|
if self.sign_validity_period is not None:
|
|
21983
22040
|
result['sign_validity_period'] = self.sign_validity_period
|
|
21984
22041
|
if self.effect_time is not None:
|
|
@@ -22007,6 +22064,8 @@ class SignDigitalkeyWithholdRequest(TeaModel):
|
|
|
22007
22064
|
self.sign_scene = m.get('sign_scene')
|
|
22008
22065
|
if m.get('external_agreement_no') is not None:
|
|
22009
22066
|
self.external_agreement_no = m.get('external_agreement_no')
|
|
22067
|
+
if m.get('sub_merchant') is not None:
|
|
22068
|
+
self.sub_merchant = m.get('sub_merchant')
|
|
22010
22069
|
if m.get('sign_validity_period') is not None:
|
|
22011
22070
|
self.sign_validity_period = m.get('sign_validity_period')
|
|
22012
22071
|
if m.get('effect_time') is not None:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.11.1'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|