antchain-bot 1.11.2__tar.gz → 1.11.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain_bot
3
- Version: 1.11.2
3
+ Version: 1.11.3
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.11.2
3
+ Version: 1.11.3
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 @@
1
+ __version__ = '1.11.3'
@@ -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.2',
138
+ 'sdk_version': '1.11.3',
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.2',
242
+ 'sdk_version': '1.11.3',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -21969,7 +21969,7 @@ class SignDigitalkeyWithholdRequest(TeaModel):
21969
21969
  alipay_user_id: str = None,
21970
21970
  sign_scene: str = None,
21971
21971
  external_agreement_no: str = None,
21972
- sub_merchant: str = None,
21972
+ sub_merchant: SubMerchantParams = None,
21973
21973
  sign_validity_period: str = None,
21974
21974
  effect_time: int = None,
21975
21975
  ):
@@ -22007,6 +22007,8 @@ class SignDigitalkeyWithholdRequest(TeaModel):
22007
22007
  self.validate_required(self.external_logon_id, 'external_logon_id')
22008
22008
  self.validate_required(self.sign_scene, 'sign_scene')
22009
22009
  self.validate_required(self.external_agreement_no, 'external_agreement_no')
22010
+ if self.sub_merchant:
22011
+ self.sub_merchant.validate()
22010
22012
 
22011
22013
  def to_map(self):
22012
22014
  _map = super().to_map()
@@ -22035,7 +22037,7 @@ class SignDigitalkeyWithholdRequest(TeaModel):
22035
22037
  if self.external_agreement_no is not None:
22036
22038
  result['external_agreement_no'] = self.external_agreement_no
22037
22039
  if self.sub_merchant is not None:
22038
- result['sub_merchant'] = self.sub_merchant
22040
+ result['sub_merchant'] = self.sub_merchant.to_map()
22039
22041
  if self.sign_validity_period is not None:
22040
22042
  result['sign_validity_period'] = self.sign_validity_period
22041
22043
  if self.effect_time is not None:
@@ -22065,7 +22067,8 @@ class SignDigitalkeyWithholdRequest(TeaModel):
22065
22067
  if m.get('external_agreement_no') is not None:
22066
22068
  self.external_agreement_no = m.get('external_agreement_no')
22067
22069
  if m.get('sub_merchant') is not None:
22068
- self.sub_merchant = m.get('sub_merchant')
22070
+ temp_model = SubMerchantParams()
22071
+ self.sub_merchant = temp_model.from_map(m['sub_merchant'])
22069
22072
  if m.get('sign_validity_period') is not None:
22070
22073
  self.sign_validity_period = m.get('sign_validity_period')
22071
22074
  if m.get('effect_time') is not None:
@@ -1 +0,0 @@
1
- __version__ = '1.11.2'
File without changes
File without changes
File without changes
File without changes
File without changes