antchain-bot 1.11.1__py3-none-any.whl → 1.11.2__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.11.1
3
+ Version: 1.11.2
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -0,0 +1,8 @@
1
+ antchain_sdk_bot/__init__.py,sha256=H-6R8gUq3MUNNT4xpCN_gTw8Ps6JCfpA2-xg_w6XjCc,22
2
+ antchain_sdk_bot/client.py,sha256=wTIK1nSyKYAngTRt5vWUepIwWkXKG63SLIz5X03uiso,538680
3
+ antchain_sdk_bot/models.py,sha256=2AWvInRUoUsMvbvQ5OQqRliU6PAplgBX4oaT9JVEFPo,1384347
4
+ antchain_bot-1.11.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.11.2.dist-info/METADATA,sha256=K2IuCBLjWoegWQeEprX08DxAtXcOGkVtgVGbi0vWTn8,1988
6
+ antchain_bot-1.11.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.11.2.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.11.2.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.11.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.1',
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.1',
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,8 +0,0 @@
1
- antchain_sdk_bot/__init__.py,sha256=R29RzUYA602nY1Rz408Jea9q4JPXyryMb3D6aH2wUHo,22
2
- antchain_sdk_bot/client.py,sha256=iluOPbe_t8EqkOuhkq1Uv1aDJfUqsxw8-JJK-sV6wI8,538680
3
- antchain_sdk_bot/models.py,sha256=e3WX63o0IigrVh_UEbnL_SdBPoRvde73CmF2ix5r-hk,1381769
4
- antchain_bot-1.11.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- antchain_bot-1.11.1.dist-info/METADATA,sha256=NT9zc5dlykPCyvmJvVXyZ_lGO2BFh83N16kC-fXkcsw,1988
6
- antchain_bot-1.11.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- antchain_bot-1.11.1.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
- antchain_bot-1.11.1.dist-info/RECORD,,