antchain-bot 1.11.10__py3-none-any.whl → 1.11.13__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.
@@ -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.10',
138
+ 'sdk_version': '1.11.13',
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.10',
242
+ 'sdk_version': '1.11.13',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -4850,8 +4850,8 @@ class Client:
4850
4850
  request: bot_models.QueryIotbasicCategorylistRequest,
4851
4851
  ) -> bot_models.QueryIotbasicCategorylistResponse:
4852
4852
  """
4853
- Description: iotbasic-查询品类列表
4854
- Summary: iotbasic-查询品类列表
4853
+ Description: iotbasic-分页查询品类列表
4854
+ Summary: iotbasic-分页查询品类列表
4855
4855
  """
4856
4856
  runtime = util_models.RuntimeOptions()
4857
4857
  headers = {}
@@ -4862,8 +4862,8 @@ class Client:
4862
4862
  request: bot_models.QueryIotbasicCategorylistRequest,
4863
4863
  ) -> bot_models.QueryIotbasicCategorylistResponse:
4864
4864
  """
4865
- Description: iotbasic-查询品类列表
4866
- Summary: iotbasic-查询品类列表
4865
+ Description: iotbasic-分页查询品类列表
4866
+ Summary: iotbasic-分页查询品类列表
4867
4867
  """
4868
4868
  runtime = util_models.RuntimeOptions()
4869
4869
  headers = {}
@@ -4876,8 +4876,8 @@ class Client:
4876
4876
  runtime: util_models.RuntimeOptions,
4877
4877
  ) -> bot_models.QueryIotbasicCategorylistResponse:
4878
4878
  """
4879
- Description: iotbasic-查询品类列表
4880
- Summary: iotbasic-查询品类列表
4879
+ Description: iotbasic-分页查询品类列表
4880
+ Summary: iotbasic-分页查询品类列表
4881
4881
  """
4882
4882
  UtilClient.validate_model(request)
4883
4883
  return TeaCore.from_map(
@@ -4892,8 +4892,8 @@ class Client:
4892
4892
  runtime: util_models.RuntimeOptions,
4893
4893
  ) -> bot_models.QueryIotbasicCategorylistResponse:
4894
4894
  """
4895
- Description: iotbasic-查询品类列表
4896
- Summary: iotbasic-查询品类列表
4895
+ Description: iotbasic-分页查询品类列表
4896
+ Summary: iotbasic-分页查询品类列表
4897
4897
  """
4898
4898
  UtilClient.validate_model(request)
4899
4899
  return TeaCore.from_map(
@@ -5741,116 +5741,116 @@ class Client:
5741
5741
  await self.do_request_async('1.0', 'blockchain.bot.devicecorp.thingmodel.publish', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5742
5742
  )
5743
5743
 
5744
- def sign_digitalkey_withhold(
5744
+ def create_digitalkey_withholdsign(
5745
5745
  self,
5746
- request: bot_models.SignDigitalkeyWithholdRequest,
5747
- ) -> bot_models.SignDigitalkeyWithholdResponse:
5746
+ request: bot_models.CreateDigitalkeyWithholdsignRequest,
5747
+ ) -> bot_models.CreateDigitalkeyWithholdsignResponse:
5748
5748
  """
5749
5749
  Description: 代扣签约链接获取
5750
5750
  Summary: 代扣签约链接获取
5751
5751
  """
5752
5752
  runtime = util_models.RuntimeOptions()
5753
5753
  headers = {}
5754
- return self.sign_digitalkey_withhold_ex(request, headers, runtime)
5754
+ return self.create_digitalkey_withholdsign_ex(request, headers, runtime)
5755
5755
 
5756
- async def sign_digitalkey_withhold_async(
5756
+ async def create_digitalkey_withholdsign_async(
5757
5757
  self,
5758
- request: bot_models.SignDigitalkeyWithholdRequest,
5759
- ) -> bot_models.SignDigitalkeyWithholdResponse:
5758
+ request: bot_models.CreateDigitalkeyWithholdsignRequest,
5759
+ ) -> bot_models.CreateDigitalkeyWithholdsignResponse:
5760
5760
  """
5761
5761
  Description: 代扣签约链接获取
5762
5762
  Summary: 代扣签约链接获取
5763
5763
  """
5764
5764
  runtime = util_models.RuntimeOptions()
5765
5765
  headers = {}
5766
- return await self.sign_digitalkey_withhold_ex_async(request, headers, runtime)
5766
+ return await self.create_digitalkey_withholdsign_ex_async(request, headers, runtime)
5767
5767
 
5768
- def sign_digitalkey_withhold_ex(
5768
+ def create_digitalkey_withholdsign_ex(
5769
5769
  self,
5770
- request: bot_models.SignDigitalkeyWithholdRequest,
5770
+ request: bot_models.CreateDigitalkeyWithholdsignRequest,
5771
5771
  headers: Dict[str, str],
5772
5772
  runtime: util_models.RuntimeOptions,
5773
- ) -> bot_models.SignDigitalkeyWithholdResponse:
5773
+ ) -> bot_models.CreateDigitalkeyWithholdsignResponse:
5774
5774
  """
5775
5775
  Description: 代扣签约链接获取
5776
5776
  Summary: 代扣签约链接获取
5777
5777
  """
5778
5778
  UtilClient.validate_model(request)
5779
5779
  return TeaCore.from_map(
5780
- bot_models.SignDigitalkeyWithholdResponse(),
5781
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.sign', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5780
+ bot_models.CreateDigitalkeyWithholdsignResponse(),
5781
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdsign.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5782
5782
  )
5783
5783
 
5784
- async def sign_digitalkey_withhold_ex_async(
5784
+ async def create_digitalkey_withholdsign_ex_async(
5785
5785
  self,
5786
- request: bot_models.SignDigitalkeyWithholdRequest,
5786
+ request: bot_models.CreateDigitalkeyWithholdsignRequest,
5787
5787
  headers: Dict[str, str],
5788
5788
  runtime: util_models.RuntimeOptions,
5789
- ) -> bot_models.SignDigitalkeyWithholdResponse:
5789
+ ) -> bot_models.CreateDigitalkeyWithholdsignResponse:
5790
5790
  """
5791
5791
  Description: 代扣签约链接获取
5792
5792
  Summary: 代扣签约链接获取
5793
5793
  """
5794
5794
  UtilClient.validate_model(request)
5795
5795
  return TeaCore.from_map(
5796
- bot_models.SignDigitalkeyWithholdResponse(),
5797
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.sign', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5796
+ bot_models.CreateDigitalkeyWithholdsignResponse(),
5797
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdsign.create', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5798
5798
  )
5799
5799
 
5800
- def unbind_digitalkey_withhold(
5800
+ def unbind_digitalkey_withholdsign(
5801
5801
  self,
5802
- request: bot_models.UnbindDigitalkeyWithholdRequest,
5803
- ) -> bot_models.UnbindDigitalkeyWithholdResponse:
5802
+ request: bot_models.UnbindDigitalkeyWithholdsignRequest,
5803
+ ) -> bot_models.UnbindDigitalkeyWithholdsignResponse:
5804
5804
  """
5805
5805
  Description: 代扣签约解除
5806
5806
  Summary: 代扣签约解除
5807
5807
  """
5808
5808
  runtime = util_models.RuntimeOptions()
5809
5809
  headers = {}
5810
- return self.unbind_digitalkey_withhold_ex(request, headers, runtime)
5810
+ return self.unbind_digitalkey_withholdsign_ex(request, headers, runtime)
5811
5811
 
5812
- async def unbind_digitalkey_withhold_async(
5812
+ async def unbind_digitalkey_withholdsign_async(
5813
5813
  self,
5814
- request: bot_models.UnbindDigitalkeyWithholdRequest,
5815
- ) -> bot_models.UnbindDigitalkeyWithholdResponse:
5814
+ request: bot_models.UnbindDigitalkeyWithholdsignRequest,
5815
+ ) -> bot_models.UnbindDigitalkeyWithholdsignResponse:
5816
5816
  """
5817
5817
  Description: 代扣签约解除
5818
5818
  Summary: 代扣签约解除
5819
5819
  """
5820
5820
  runtime = util_models.RuntimeOptions()
5821
5821
  headers = {}
5822
- return await self.unbind_digitalkey_withhold_ex_async(request, headers, runtime)
5822
+ return await self.unbind_digitalkey_withholdsign_ex_async(request, headers, runtime)
5823
5823
 
5824
- def unbind_digitalkey_withhold_ex(
5824
+ def unbind_digitalkey_withholdsign_ex(
5825
5825
  self,
5826
- request: bot_models.UnbindDigitalkeyWithholdRequest,
5826
+ request: bot_models.UnbindDigitalkeyWithholdsignRequest,
5827
5827
  headers: Dict[str, str],
5828
5828
  runtime: util_models.RuntimeOptions,
5829
- ) -> bot_models.UnbindDigitalkeyWithholdResponse:
5829
+ ) -> bot_models.UnbindDigitalkeyWithholdsignResponse:
5830
5830
  """
5831
5831
  Description: 代扣签约解除
5832
5832
  Summary: 代扣签约解除
5833
5833
  """
5834
5834
  UtilClient.validate_model(request)
5835
5835
  return TeaCore.from_map(
5836
- bot_models.UnbindDigitalkeyWithholdResponse(),
5837
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.unbind', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5836
+ bot_models.UnbindDigitalkeyWithholdsignResponse(),
5837
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdsign.unbind', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5838
5838
  )
5839
5839
 
5840
- async def unbind_digitalkey_withhold_ex_async(
5840
+ async def unbind_digitalkey_withholdsign_ex_async(
5841
5841
  self,
5842
- request: bot_models.UnbindDigitalkeyWithholdRequest,
5842
+ request: bot_models.UnbindDigitalkeyWithholdsignRequest,
5843
5843
  headers: Dict[str, str],
5844
5844
  runtime: util_models.RuntimeOptions,
5845
- ) -> bot_models.UnbindDigitalkeyWithholdResponse:
5845
+ ) -> bot_models.UnbindDigitalkeyWithholdsignResponse:
5846
5846
  """
5847
5847
  Description: 代扣签约解除
5848
5848
  Summary: 代扣签约解除
5849
5849
  """
5850
5850
  UtilClient.validate_model(request)
5851
5851
  return TeaCore.from_map(
5852
- bot_models.UnbindDigitalkeyWithholdResponse(),
5853
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.unbind', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5852
+ bot_models.UnbindDigitalkeyWithholdsignResponse(),
5853
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdsign.unbind', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5854
5854
  )
5855
5855
 
5856
5856
  def pay_digitalkey_withhold(
@@ -5909,228 +5909,228 @@ class Client:
5909
5909
  await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.pay', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5910
5910
  )
5911
5911
 
5912
- def refuse_digitalkey_withhold(
5912
+ def refuse_digitalkey_withholdpay(
5913
5913
  self,
5914
- request: bot_models.RefuseDigitalkeyWithholdRequest,
5915
- ) -> bot_models.RefuseDigitalkeyWithholdResponse:
5914
+ request: bot_models.RefuseDigitalkeyWithholdpayRequest,
5915
+ ) -> bot_models.RefuseDigitalkeyWithholdpayResponse:
5916
5916
  """
5917
- Description: 代扣支付退款
5918
- Summary: 代扣支付退款
5917
+ Description: 代扣支付交易退款
5918
+ Summary: 代扣支付交易退款
5919
5919
  """
5920
5920
  runtime = util_models.RuntimeOptions()
5921
5921
  headers = {}
5922
- return self.refuse_digitalkey_withhold_ex(request, headers, runtime)
5922
+ return self.refuse_digitalkey_withholdpay_ex(request, headers, runtime)
5923
5923
 
5924
- async def refuse_digitalkey_withhold_async(
5924
+ async def refuse_digitalkey_withholdpay_async(
5925
5925
  self,
5926
- request: bot_models.RefuseDigitalkeyWithholdRequest,
5927
- ) -> bot_models.RefuseDigitalkeyWithholdResponse:
5926
+ request: bot_models.RefuseDigitalkeyWithholdpayRequest,
5927
+ ) -> bot_models.RefuseDigitalkeyWithholdpayResponse:
5928
5928
  """
5929
- Description: 代扣支付退款
5930
- Summary: 代扣支付退款
5929
+ Description: 代扣支付交易退款
5930
+ Summary: 代扣支付交易退款
5931
5931
  """
5932
5932
  runtime = util_models.RuntimeOptions()
5933
5933
  headers = {}
5934
- return await self.refuse_digitalkey_withhold_ex_async(request, headers, runtime)
5934
+ return await self.refuse_digitalkey_withholdpay_ex_async(request, headers, runtime)
5935
5935
 
5936
- def refuse_digitalkey_withhold_ex(
5936
+ def refuse_digitalkey_withholdpay_ex(
5937
5937
  self,
5938
- request: bot_models.RefuseDigitalkeyWithholdRequest,
5938
+ request: bot_models.RefuseDigitalkeyWithholdpayRequest,
5939
5939
  headers: Dict[str, str],
5940
5940
  runtime: util_models.RuntimeOptions,
5941
- ) -> bot_models.RefuseDigitalkeyWithholdResponse:
5941
+ ) -> bot_models.RefuseDigitalkeyWithholdpayResponse:
5942
5942
  """
5943
- Description: 代扣支付退款
5944
- Summary: 代扣支付退款
5943
+ Description: 代扣支付交易退款
5944
+ Summary: 代扣支付交易退款
5945
5945
  """
5946
5946
  UtilClient.validate_model(request)
5947
5947
  return TeaCore.from_map(
5948
- bot_models.RefuseDigitalkeyWithholdResponse(),
5949
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.refuse', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5948
+ bot_models.RefuseDigitalkeyWithholdpayResponse(),
5949
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdpay.refuse', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5950
5950
  )
5951
5951
 
5952
- async def refuse_digitalkey_withhold_ex_async(
5952
+ async def refuse_digitalkey_withholdpay_ex_async(
5953
5953
  self,
5954
- request: bot_models.RefuseDigitalkeyWithholdRequest,
5954
+ request: bot_models.RefuseDigitalkeyWithholdpayRequest,
5955
5955
  headers: Dict[str, str],
5956
5956
  runtime: util_models.RuntimeOptions,
5957
- ) -> bot_models.RefuseDigitalkeyWithholdResponse:
5957
+ ) -> bot_models.RefuseDigitalkeyWithholdpayResponse:
5958
5958
  """
5959
- Description: 代扣支付退款
5960
- Summary: 代扣支付退款
5959
+ Description: 代扣支付交易退款
5960
+ Summary: 代扣支付交易退款
5961
5961
  """
5962
5962
  UtilClient.validate_model(request)
5963
5963
  return TeaCore.from_map(
5964
- bot_models.RefuseDigitalkeyWithholdResponse(),
5965
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.refuse', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5964
+ bot_models.RefuseDigitalkeyWithholdpayResponse(),
5965
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdpay.refuse', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
5966
5966
  )
5967
5967
 
5968
- def query_digitalkey_withhold(
5968
+ def query_digitalkey_withholdsign(
5969
5969
  self,
5970
- request: bot_models.QueryDigitalkeyWithholdRequest,
5971
- ) -> bot_models.QueryDigitalkeyWithholdResponse:
5970
+ request: bot_models.QueryDigitalkeyWithholdsignRequest,
5971
+ ) -> bot_models.QueryDigitalkeyWithholdsignResponse:
5972
5972
  """
5973
5973
  Description: 代扣协议查询
5974
5974
  Summary: 代扣协议查询
5975
5975
  """
5976
5976
  runtime = util_models.RuntimeOptions()
5977
5977
  headers = {}
5978
- return self.query_digitalkey_withhold_ex(request, headers, runtime)
5978
+ return self.query_digitalkey_withholdsign_ex(request, headers, runtime)
5979
5979
 
5980
- async def query_digitalkey_withhold_async(
5980
+ async def query_digitalkey_withholdsign_async(
5981
5981
  self,
5982
- request: bot_models.QueryDigitalkeyWithholdRequest,
5983
- ) -> bot_models.QueryDigitalkeyWithholdResponse:
5982
+ request: bot_models.QueryDigitalkeyWithholdsignRequest,
5983
+ ) -> bot_models.QueryDigitalkeyWithholdsignResponse:
5984
5984
  """
5985
5985
  Description: 代扣协议查询
5986
5986
  Summary: 代扣协议查询
5987
5987
  """
5988
5988
  runtime = util_models.RuntimeOptions()
5989
5989
  headers = {}
5990
- return await self.query_digitalkey_withhold_ex_async(request, headers, runtime)
5990
+ return await self.query_digitalkey_withholdsign_ex_async(request, headers, runtime)
5991
5991
 
5992
- def query_digitalkey_withhold_ex(
5992
+ def query_digitalkey_withholdsign_ex(
5993
5993
  self,
5994
- request: bot_models.QueryDigitalkeyWithholdRequest,
5994
+ request: bot_models.QueryDigitalkeyWithholdsignRequest,
5995
5995
  headers: Dict[str, str],
5996
5996
  runtime: util_models.RuntimeOptions,
5997
- ) -> bot_models.QueryDigitalkeyWithholdResponse:
5997
+ ) -> bot_models.QueryDigitalkeyWithholdsignResponse:
5998
5998
  """
5999
5999
  Description: 代扣协议查询
6000
6000
  Summary: 代扣协议查询
6001
6001
  """
6002
6002
  UtilClient.validate_model(request)
6003
6003
  return TeaCore.from_map(
6004
- bot_models.QueryDigitalkeyWithholdResponse(),
6005
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6004
+ bot_models.QueryDigitalkeyWithholdsignResponse(),
6005
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdsign.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6006
6006
  )
6007
6007
 
6008
- async def query_digitalkey_withhold_ex_async(
6008
+ async def query_digitalkey_withholdsign_ex_async(
6009
6009
  self,
6010
- request: bot_models.QueryDigitalkeyWithholdRequest,
6010
+ request: bot_models.QueryDigitalkeyWithholdsignRequest,
6011
6011
  headers: Dict[str, str],
6012
6012
  runtime: util_models.RuntimeOptions,
6013
- ) -> bot_models.QueryDigitalkeyWithholdResponse:
6013
+ ) -> bot_models.QueryDigitalkeyWithholdsignResponse:
6014
6014
  """
6015
6015
  Description: 代扣协议查询
6016
6016
  Summary: 代扣协议查询
6017
6017
  """
6018
6018
  UtilClient.validate_model(request)
6019
6019
  return TeaCore.from_map(
6020
- bot_models.QueryDigitalkeyWithholdResponse(),
6021
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6020
+ bot_models.QueryDigitalkeyWithholdsignResponse(),
6021
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdsign.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6022
6022
  )
6023
6023
 
6024
- def cancel_digitalkey_withhold(
6024
+ def cancel_digitalkey_withholdpay(
6025
6025
  self,
6026
- request: bot_models.CancelDigitalkeyWithholdRequest,
6027
- ) -> bot_models.CancelDigitalkeyWithholdResponse:
6026
+ request: bot_models.CancelDigitalkeyWithholdpayRequest,
6027
+ ) -> bot_models.CancelDigitalkeyWithholdpayResponse:
6028
6028
  """
6029
- Description: 代扣撤销
6030
- Summary: 代扣撤销
6029
+ Description: 代扣支付撤销
6030
+ Summary: 代扣支付撤销
6031
6031
  """
6032
6032
  runtime = util_models.RuntimeOptions()
6033
6033
  headers = {}
6034
- return self.cancel_digitalkey_withhold_ex(request, headers, runtime)
6034
+ return self.cancel_digitalkey_withholdpay_ex(request, headers, runtime)
6035
6035
 
6036
- async def cancel_digitalkey_withhold_async(
6036
+ async def cancel_digitalkey_withholdpay_async(
6037
6037
  self,
6038
- request: bot_models.CancelDigitalkeyWithholdRequest,
6039
- ) -> bot_models.CancelDigitalkeyWithholdResponse:
6038
+ request: bot_models.CancelDigitalkeyWithholdpayRequest,
6039
+ ) -> bot_models.CancelDigitalkeyWithholdpayResponse:
6040
6040
  """
6041
- Description: 代扣撤销
6042
- Summary: 代扣撤销
6041
+ Description: 代扣支付撤销
6042
+ Summary: 代扣支付撤销
6043
6043
  """
6044
6044
  runtime = util_models.RuntimeOptions()
6045
6045
  headers = {}
6046
- return await self.cancel_digitalkey_withhold_ex_async(request, headers, runtime)
6046
+ return await self.cancel_digitalkey_withholdpay_ex_async(request, headers, runtime)
6047
6047
 
6048
- def cancel_digitalkey_withhold_ex(
6048
+ def cancel_digitalkey_withholdpay_ex(
6049
6049
  self,
6050
- request: bot_models.CancelDigitalkeyWithholdRequest,
6050
+ request: bot_models.CancelDigitalkeyWithholdpayRequest,
6051
6051
  headers: Dict[str, str],
6052
6052
  runtime: util_models.RuntimeOptions,
6053
- ) -> bot_models.CancelDigitalkeyWithholdResponse:
6053
+ ) -> bot_models.CancelDigitalkeyWithholdpayResponse:
6054
6054
  """
6055
- Description: 代扣撤销
6056
- Summary: 代扣撤销
6055
+ Description: 代扣支付撤销
6056
+ Summary: 代扣支付撤销
6057
6057
  """
6058
6058
  UtilClient.validate_model(request)
6059
6059
  return TeaCore.from_map(
6060
- bot_models.CancelDigitalkeyWithholdResponse(),
6061
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6060
+ bot_models.CancelDigitalkeyWithholdpayResponse(),
6061
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdpay.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6062
6062
  )
6063
6063
 
6064
- async def cancel_digitalkey_withhold_ex_async(
6064
+ async def cancel_digitalkey_withholdpay_ex_async(
6065
6065
  self,
6066
- request: bot_models.CancelDigitalkeyWithholdRequest,
6066
+ request: bot_models.CancelDigitalkeyWithholdpayRequest,
6067
6067
  headers: Dict[str, str],
6068
6068
  runtime: util_models.RuntimeOptions,
6069
- ) -> bot_models.CancelDigitalkeyWithholdResponse:
6069
+ ) -> bot_models.CancelDigitalkeyWithholdpayResponse:
6070
6070
  """
6071
- Description: 代扣撤销
6072
- Summary: 代扣撤销
6071
+ Description: 代扣支付撤销
6072
+ Summary: 代扣支付撤销
6073
6073
  """
6074
6074
  UtilClient.validate_model(request)
6075
6075
  return TeaCore.from_map(
6076
- bot_models.CancelDigitalkeyWithholdResponse(),
6077
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6076
+ bot_models.CancelDigitalkeyWithholdpayResponse(),
6077
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdpay.cancel', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6078
6078
  )
6079
6079
 
6080
- def notify_digitalkey_withhold(
6080
+ def notify_digitalkey_withholdpre(
6081
6081
  self,
6082
- request: bot_models.NotifyDigitalkeyWithholdRequest,
6083
- ) -> bot_models.NotifyDigitalkeyWithholdResponse:
6082
+ request: bot_models.NotifyDigitalkeyWithholdpreRequest,
6083
+ ) -> bot_models.NotifyDigitalkeyWithholdpreResponse:
6084
6084
  """
6085
6085
  Description: 代扣扣款前预通知
6086
6086
  Summary: 代扣扣款前预通知
6087
6087
  """
6088
6088
  runtime = util_models.RuntimeOptions()
6089
6089
  headers = {}
6090
- return self.notify_digitalkey_withhold_ex(request, headers, runtime)
6090
+ return self.notify_digitalkey_withholdpre_ex(request, headers, runtime)
6091
6091
 
6092
- async def notify_digitalkey_withhold_async(
6092
+ async def notify_digitalkey_withholdpre_async(
6093
6093
  self,
6094
- request: bot_models.NotifyDigitalkeyWithholdRequest,
6095
- ) -> bot_models.NotifyDigitalkeyWithholdResponse:
6094
+ request: bot_models.NotifyDigitalkeyWithholdpreRequest,
6095
+ ) -> bot_models.NotifyDigitalkeyWithholdpreResponse:
6096
6096
  """
6097
6097
  Description: 代扣扣款前预通知
6098
6098
  Summary: 代扣扣款前预通知
6099
6099
  """
6100
6100
  runtime = util_models.RuntimeOptions()
6101
6101
  headers = {}
6102
- return await self.notify_digitalkey_withhold_ex_async(request, headers, runtime)
6102
+ return await self.notify_digitalkey_withholdpre_ex_async(request, headers, runtime)
6103
6103
 
6104
- def notify_digitalkey_withhold_ex(
6104
+ def notify_digitalkey_withholdpre_ex(
6105
6105
  self,
6106
- request: bot_models.NotifyDigitalkeyWithholdRequest,
6106
+ request: bot_models.NotifyDigitalkeyWithholdpreRequest,
6107
6107
  headers: Dict[str, str],
6108
6108
  runtime: util_models.RuntimeOptions,
6109
- ) -> bot_models.NotifyDigitalkeyWithholdResponse:
6109
+ ) -> bot_models.NotifyDigitalkeyWithholdpreResponse:
6110
6110
  """
6111
6111
  Description: 代扣扣款前预通知
6112
6112
  Summary: 代扣扣款前预通知
6113
6113
  """
6114
6114
  UtilClient.validate_model(request)
6115
6115
  return TeaCore.from_map(
6116
- bot_models.NotifyDigitalkeyWithholdResponse(),
6117
- self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.notify', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6116
+ bot_models.NotifyDigitalkeyWithholdpreResponse(),
6117
+ self.do_request('1.0', 'blockchain.bot.digitalkey.withholdpre.notify', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6118
6118
  )
6119
6119
 
6120
- async def notify_digitalkey_withhold_ex_async(
6120
+ async def notify_digitalkey_withholdpre_ex_async(
6121
6121
  self,
6122
- request: bot_models.NotifyDigitalkeyWithholdRequest,
6122
+ request: bot_models.NotifyDigitalkeyWithholdpreRequest,
6123
6123
  headers: Dict[str, str],
6124
6124
  runtime: util_models.RuntimeOptions,
6125
- ) -> bot_models.NotifyDigitalkeyWithholdResponse:
6125
+ ) -> bot_models.NotifyDigitalkeyWithholdpreResponse:
6126
6126
  """
6127
6127
  Description: 代扣扣款前预通知
6128
6128
  Summary: 代扣扣款前预通知
6129
6129
  """
6130
6130
  UtilClient.validate_model(request)
6131
6131
  return TeaCore.from_map(
6132
- bot_models.NotifyDigitalkeyWithholdResponse(),
6133
- await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withhold.notify', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6132
+ bot_models.NotifyDigitalkeyWithholdpreResponse(),
6133
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdpre.notify', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6134
6134
  )
6135
6135
 
6136
6136
  def query_category_industryscenelist(
@@ -6413,6 +6413,208 @@ class Client:
6413
6413
  await self.do_request_async('1.0', 'blockchain.bot.digitalkey.withholdpay.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6414
6414
  )
6415
6415
 
6416
+ def query_digitalkey_tradepay(
6417
+ self,
6418
+ request: bot_models.QueryDigitalkeyTradepayRequest,
6419
+ ) -> bot_models.QueryDigitalkeyTradepayResponse:
6420
+ """
6421
+ Description: 代扣支付查询
6422
+ Summary: 代扣支付查询
6423
+ """
6424
+ runtime = util_models.RuntimeOptions()
6425
+ headers = {}
6426
+ return self.query_digitalkey_tradepay_ex(request, headers, runtime)
6427
+
6428
+ async def query_digitalkey_tradepay_async(
6429
+ self,
6430
+ request: bot_models.QueryDigitalkeyTradepayRequest,
6431
+ ) -> bot_models.QueryDigitalkeyTradepayResponse:
6432
+ """
6433
+ Description: 代扣支付查询
6434
+ Summary: 代扣支付查询
6435
+ """
6436
+ runtime = util_models.RuntimeOptions()
6437
+ headers = {}
6438
+ return await self.query_digitalkey_tradepay_ex_async(request, headers, runtime)
6439
+
6440
+ def query_digitalkey_tradepay_ex(
6441
+ self,
6442
+ request: bot_models.QueryDigitalkeyTradepayRequest,
6443
+ headers: Dict[str, str],
6444
+ runtime: util_models.RuntimeOptions,
6445
+ ) -> bot_models.QueryDigitalkeyTradepayResponse:
6446
+ """
6447
+ Description: 代扣支付查询
6448
+ Summary: 代扣支付查询
6449
+ """
6450
+ UtilClient.validate_model(request)
6451
+ return TeaCore.from_map(
6452
+ bot_models.QueryDigitalkeyTradepayResponse(),
6453
+ self.do_request('1.0', 'blockchain.bot.digitalkey.tradepay.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6454
+ )
6455
+
6456
+ async def query_digitalkey_tradepay_ex_async(
6457
+ self,
6458
+ request: bot_models.QueryDigitalkeyTradepayRequest,
6459
+ headers: Dict[str, str],
6460
+ runtime: util_models.RuntimeOptions,
6461
+ ) -> bot_models.QueryDigitalkeyTradepayResponse:
6462
+ """
6463
+ Description: 代扣支付查询
6464
+ Summary: 代扣支付查询
6465
+ """
6466
+ UtilClient.validate_model(request)
6467
+ return TeaCore.from_map(
6468
+ bot_models.QueryDigitalkeyTradepayResponse(),
6469
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.tradepay.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6470
+ )
6471
+
6472
+ def get_digitalkey_deviceinfo(
6473
+ self,
6474
+ request: bot_models.GetDigitalkeyDeviceinfoRequest,
6475
+ ) -> bot_models.GetDigitalkeyDeviceinfoResponse:
6476
+ """
6477
+ Description: iotbasic-查询数控设备信息
6478
+ Summary: iotbasic-查询数控设备信息
6479
+ """
6480
+ runtime = util_models.RuntimeOptions()
6481
+ headers = {}
6482
+ return self.get_digitalkey_deviceinfo_ex(request, headers, runtime)
6483
+
6484
+ async def get_digitalkey_deviceinfo_async(
6485
+ self,
6486
+ request: bot_models.GetDigitalkeyDeviceinfoRequest,
6487
+ ) -> bot_models.GetDigitalkeyDeviceinfoResponse:
6488
+ """
6489
+ Description: iotbasic-查询数控设备信息
6490
+ Summary: iotbasic-查询数控设备信息
6491
+ """
6492
+ runtime = util_models.RuntimeOptions()
6493
+ headers = {}
6494
+ return await self.get_digitalkey_deviceinfo_ex_async(request, headers, runtime)
6495
+
6496
+ def get_digitalkey_deviceinfo_ex(
6497
+ self,
6498
+ request: bot_models.GetDigitalkeyDeviceinfoRequest,
6499
+ headers: Dict[str, str],
6500
+ runtime: util_models.RuntimeOptions,
6501
+ ) -> bot_models.GetDigitalkeyDeviceinfoResponse:
6502
+ """
6503
+ Description: iotbasic-查询数控设备信息
6504
+ Summary: iotbasic-查询数控设备信息
6505
+ """
6506
+ UtilClient.validate_model(request)
6507
+ return TeaCore.from_map(
6508
+ bot_models.GetDigitalkeyDeviceinfoResponse(),
6509
+ self.do_request('1.0', 'blockchain.bot.digitalkey.deviceinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6510
+ )
6511
+
6512
+ async def get_digitalkey_deviceinfo_ex_async(
6513
+ self,
6514
+ request: bot_models.GetDigitalkeyDeviceinfoRequest,
6515
+ headers: Dict[str, str],
6516
+ runtime: util_models.RuntimeOptions,
6517
+ ) -> bot_models.GetDigitalkeyDeviceinfoResponse:
6518
+ """
6519
+ Description: iotbasic-查询数控设备信息
6520
+ Summary: iotbasic-查询数控设备信息
6521
+ """
6522
+ UtilClient.validate_model(request)
6523
+ return TeaCore.from_map(
6524
+ bot_models.GetDigitalkeyDeviceinfoResponse(),
6525
+ await self.do_request_async('1.0', 'blockchain.bot.digitalkey.deviceinfo.get', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6526
+ )
6527
+
6528
+ def upload_iotbasic_appmanagerfile(
6529
+ self,
6530
+ request: bot_models.UploadIotbasicAppmanagerfileRequest,
6531
+ ) -> bot_models.UploadIotbasicAppmanagerfileResponse:
6532
+ """
6533
+ Description: iotbasic-上传apk文件
6534
+ Summary: iotbasic-上传apk文件
6535
+ """
6536
+ runtime = util_models.RuntimeOptions()
6537
+ headers = {}
6538
+ return self.upload_iotbasic_appmanagerfile_ex(request, headers, runtime)
6539
+
6540
+ async def upload_iotbasic_appmanagerfile_async(
6541
+ self,
6542
+ request: bot_models.UploadIotbasicAppmanagerfileRequest,
6543
+ ) -> bot_models.UploadIotbasicAppmanagerfileResponse:
6544
+ """
6545
+ Description: iotbasic-上传apk文件
6546
+ Summary: iotbasic-上传apk文件
6547
+ """
6548
+ runtime = util_models.RuntimeOptions()
6549
+ headers = {}
6550
+ return await self.upload_iotbasic_appmanagerfile_ex_async(request, headers, runtime)
6551
+
6552
+ def upload_iotbasic_appmanagerfile_ex(
6553
+ self,
6554
+ request: bot_models.UploadIotbasicAppmanagerfileRequest,
6555
+ headers: Dict[str, str],
6556
+ runtime: util_models.RuntimeOptions,
6557
+ ) -> bot_models.UploadIotbasicAppmanagerfileResponse:
6558
+ """
6559
+ Description: iotbasic-上传apk文件
6560
+ Summary: iotbasic-上传apk文件
6561
+ """
6562
+ if not UtilClient.is_unset(request.file_object):
6563
+ upload_req = bot_models.CreateAntcloudGatewayxFileUploadRequest(
6564
+ auth_token=request.auth_token,
6565
+ api_code='blockchain.bot.iotbasic.appmanagerfile.upload',
6566
+ file_name=request.file_object_name
6567
+ )
6568
+ upload_resp = self.create_antcloud_gatewayx_file_upload_ex(upload_req, headers, runtime)
6569
+ if not AntchainUtils.is_success(upload_resp.result_code, 'ok'):
6570
+ upload_iotbasic_appmanagerfile_response = bot_models.UploadIotbasicAppmanagerfileResponse(
6571
+ req_msg_id=upload_resp.req_msg_id,
6572
+ result_code=upload_resp.result_code,
6573
+ result_msg=upload_resp.result_msg
6574
+ )
6575
+ return upload_iotbasic_appmanagerfile_response
6576
+ upload_headers = AntchainUtils.parse_upload_headers(upload_resp.upload_headers)
6577
+ AntchainUtils.put_object(request.file_object, upload_headers, upload_resp.upload_url)
6578
+ request.file_id = upload_resp.file_id
6579
+ UtilClient.validate_model(request)
6580
+ return TeaCore.from_map(
6581
+ bot_models.UploadIotbasicAppmanagerfileResponse(),
6582
+ self.do_request('1.0', 'blockchain.bot.iotbasic.appmanagerfile.upload', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6583
+ )
6584
+
6585
+ async def upload_iotbasic_appmanagerfile_ex_async(
6586
+ self,
6587
+ request: bot_models.UploadIotbasicAppmanagerfileRequest,
6588
+ headers: Dict[str, str],
6589
+ runtime: util_models.RuntimeOptions,
6590
+ ) -> bot_models.UploadIotbasicAppmanagerfileResponse:
6591
+ """
6592
+ Description: iotbasic-上传apk文件
6593
+ Summary: iotbasic-上传apk文件
6594
+ """
6595
+ if not UtilClient.is_unset(request.file_object):
6596
+ upload_req = bot_models.CreateAntcloudGatewayxFileUploadRequest(
6597
+ auth_token=request.auth_token,
6598
+ api_code='blockchain.bot.iotbasic.appmanagerfile.upload',
6599
+ file_name=request.file_object_name
6600
+ )
6601
+ upload_resp = await self.create_antcloud_gatewayx_file_upload_ex_async(upload_req, headers, runtime)
6602
+ if not AntchainUtils.is_success(upload_resp.result_code, 'ok'):
6603
+ upload_iotbasic_appmanagerfile_response = bot_models.UploadIotbasicAppmanagerfileResponse(
6604
+ req_msg_id=upload_resp.req_msg_id,
6605
+ result_code=upload_resp.result_code,
6606
+ result_msg=upload_resp.result_msg
6607
+ )
6608
+ return upload_iotbasic_appmanagerfile_response
6609
+ upload_headers = AntchainUtils.parse_upload_headers(upload_resp.upload_headers)
6610
+ await AntchainUtils.put_object_async(request.file_object, upload_headers, upload_resp.upload_url)
6611
+ request.file_id = upload_resp.file_id
6612
+ UtilClient.validate_model(request)
6613
+ return TeaCore.from_map(
6614
+ bot_models.UploadIotbasicAppmanagerfileResponse(),
6615
+ await self.do_request_async('1.0', 'blockchain.bot.iotbasic.appmanagerfile.upload', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
6616
+ )
6617
+
6416
6618
  def query_iotplatform_purchaseorder(
6417
6619
  self,
6418
6620
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -12746,8 +12948,8 @@ class Client:
12746
12948
  request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12747
12949
  ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12748
12950
  """
12749
- Description: 客户添加SKU授权白名单
12750
- Summary: 客户添加SKU授权白名单
12951
+ Description: 添加SKU授权白名单
12952
+ Summary: 添加SKU授权白名单
12751
12953
  """
12752
12954
  runtime = util_models.RuntimeOptions()
12753
12955
  headers = {}
@@ -12758,8 +12960,8 @@ class Client:
12758
12960
  request: bot_models.ImportTechintegrationSkugrantwhitelistRequest,
12759
12961
  ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12760
12962
  """
12761
- Description: 客户添加SKU授权白名单
12762
- Summary: 客户添加SKU授权白名单
12963
+ Description: 添加SKU授权白名单
12964
+ Summary: 添加SKU授权白名单
12763
12965
  """
12764
12966
  runtime = util_models.RuntimeOptions()
12765
12967
  headers = {}
@@ -12772,8 +12974,8 @@ class Client:
12772
12974
  runtime: util_models.RuntimeOptions,
12773
12975
  ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12774
12976
  """
12775
- Description: 客户添加SKU授权白名单
12776
- Summary: 客户添加SKU授权白名单
12977
+ Description: 添加SKU授权白名单
12978
+ Summary: 添加SKU授权白名单
12777
12979
  """
12778
12980
  UtilClient.validate_model(request)
12779
12981
  return TeaCore.from_map(
@@ -12788,8 +12990,8 @@ class Client:
12788
12990
  runtime: util_models.RuntimeOptions,
12789
12991
  ) -> bot_models.ImportTechintegrationSkugrantwhitelistResponse:
12790
12992
  """
12791
- Description: 客户添加SKU授权白名单
12792
- Summary: 客户添加SKU授权白名单
12993
+ Description: 添加SKU授权白名单
12994
+ Summary: 添加SKU授权白名单
12793
12995
  """
12794
12996
  UtilClient.validate_model(request)
12795
12997
  return TeaCore.from_map(
@@ -12797,6 +12999,62 @@ class Client:
12797
12999
  await self.do_request_async('1.0', 'blockchain.bot.techintegration.skugrantwhitelist.import', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
12798
13000
  )
12799
13001
 
13002
+ def send_thing_data(
13003
+ self,
13004
+ request: bot_models.SendThingDataRequest,
13005
+ ) -> bot_models.SendThingDataResponse:
13006
+ """
13007
+ Description: 物模型数据上报
13008
+ Summary: 物模型数据上报
13009
+ """
13010
+ runtime = util_models.RuntimeOptions()
13011
+ headers = {}
13012
+ return self.send_thing_data_ex(request, headers, runtime)
13013
+
13014
+ async def send_thing_data_async(
13015
+ self,
13016
+ request: bot_models.SendThingDataRequest,
13017
+ ) -> bot_models.SendThingDataResponse:
13018
+ """
13019
+ Description: 物模型数据上报
13020
+ Summary: 物模型数据上报
13021
+ """
13022
+ runtime = util_models.RuntimeOptions()
13023
+ headers = {}
13024
+ return await self.send_thing_data_ex_async(request, headers, runtime)
13025
+
13026
+ def send_thing_data_ex(
13027
+ self,
13028
+ request: bot_models.SendThingDataRequest,
13029
+ headers: Dict[str, str],
13030
+ runtime: util_models.RuntimeOptions,
13031
+ ) -> bot_models.SendThingDataResponse:
13032
+ """
13033
+ Description: 物模型数据上报
13034
+ Summary: 物模型数据上报
13035
+ """
13036
+ UtilClient.validate_model(request)
13037
+ return TeaCore.from_map(
13038
+ bot_models.SendThingDataResponse(),
13039
+ self.do_request('1.0', 'blockchain.bot.thing.data.send', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
13040
+ )
13041
+
13042
+ async def send_thing_data_ex_async(
13043
+ self,
13044
+ request: bot_models.SendThingDataRequest,
13045
+ headers: Dict[str, str],
13046
+ runtime: util_models.RuntimeOptions,
13047
+ ) -> bot_models.SendThingDataResponse:
13048
+ """
13049
+ Description: 物模型数据上报
13050
+ Summary: 物模型数据上报
13051
+ """
13052
+ UtilClient.validate_model(request)
13053
+ return TeaCore.from_map(
13054
+ bot_models.SendThingDataResponse(),
13055
+ await self.do_request_async('1.0', 'blockchain.bot.thing.data.send', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
13056
+ )
13057
+
12800
13058
  def exec_thingsdid_oneapi(
12801
13059
  self,
12802
13060
  request: bot_models.ExecThingsdidOneapiRequest,