antchain-bot 1.10.35__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.
- {antchain_bot-1.10.35.dist-info → antchain_bot-1.11.2.dist-info}/METADATA +1 -1
- antchain_bot-1.11.2.dist-info/RECORD +8 -0
- antchain_sdk_bot/__init__.py +1 -1
- antchain_sdk_bot/client.py +394 -2
- antchain_sdk_bot/models.py +984 -0
- antchain_bot-1.10.35.dist-info/RECORD +0 -8
- {antchain_bot-1.10.35.dist-info → antchain_bot-1.11.2.dist-info}/LICENSE +0 -0
- {antchain_bot-1.10.35.dist-info → antchain_bot-1.11.2.dist-info}/WHEEL +0 -0
- {antchain_bot-1.10.35.dist-info → antchain_bot-1.11.2.dist-info}/top_level.txt +0 -0
|
@@ -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,,
|
antchain_sdk_bot/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.
|
|
1
|
+
__version__ = '1.11.2'
|
antchain_sdk_bot/client.py
CHANGED
|
@@ -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.
|
|
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.
|
|
242
|
+
'sdk_version': '1.11.2',
|
|
243
243
|
'_prod_code': 'BOT',
|
|
244
244
|
'_prod_channel': 'undefined'
|
|
245
245
|
}
|
|
@@ -5741,6 +5741,398 @@ 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(
|
|
5745
|
+
self,
|
|
5746
|
+
request: bot_models.SignDigitalkeyWithholdRequest,
|
|
5747
|
+
) -> bot_models.SignDigitalkeyWithholdResponse:
|
|
5748
|
+
"""
|
|
5749
|
+
Description: 代扣签约链接获取
|
|
5750
|
+
Summary: 代扣签约链接获取
|
|
5751
|
+
"""
|
|
5752
|
+
runtime = util_models.RuntimeOptions()
|
|
5753
|
+
headers = {}
|
|
5754
|
+
return self.sign_digitalkey_withhold_ex(request, headers, runtime)
|
|
5755
|
+
|
|
5756
|
+
async def sign_digitalkey_withhold_async(
|
|
5757
|
+
self,
|
|
5758
|
+
request: bot_models.SignDigitalkeyWithholdRequest,
|
|
5759
|
+
) -> bot_models.SignDigitalkeyWithholdResponse:
|
|
5760
|
+
"""
|
|
5761
|
+
Description: 代扣签约链接获取
|
|
5762
|
+
Summary: 代扣签约链接获取
|
|
5763
|
+
"""
|
|
5764
|
+
runtime = util_models.RuntimeOptions()
|
|
5765
|
+
headers = {}
|
|
5766
|
+
return await self.sign_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
5767
|
+
|
|
5768
|
+
def sign_digitalkey_withhold_ex(
|
|
5769
|
+
self,
|
|
5770
|
+
request: bot_models.SignDigitalkeyWithholdRequest,
|
|
5771
|
+
headers: Dict[str, str],
|
|
5772
|
+
runtime: util_models.RuntimeOptions,
|
|
5773
|
+
) -> bot_models.SignDigitalkeyWithholdResponse:
|
|
5774
|
+
"""
|
|
5775
|
+
Description: 代扣签约链接获取
|
|
5776
|
+
Summary: 代扣签约链接获取
|
|
5777
|
+
"""
|
|
5778
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5782
|
+
)
|
|
5783
|
+
|
|
5784
|
+
async def sign_digitalkey_withhold_ex_async(
|
|
5785
|
+
self,
|
|
5786
|
+
request: bot_models.SignDigitalkeyWithholdRequest,
|
|
5787
|
+
headers: Dict[str, str],
|
|
5788
|
+
runtime: util_models.RuntimeOptions,
|
|
5789
|
+
) -> bot_models.SignDigitalkeyWithholdResponse:
|
|
5790
|
+
"""
|
|
5791
|
+
Description: 代扣签约链接获取
|
|
5792
|
+
Summary: 代扣签约链接获取
|
|
5793
|
+
"""
|
|
5794
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5798
|
+
)
|
|
5799
|
+
|
|
5800
|
+
def unbind_digitalkey_withhold(
|
|
5801
|
+
self,
|
|
5802
|
+
request: bot_models.UnbindDigitalkeyWithholdRequest,
|
|
5803
|
+
) -> bot_models.UnbindDigitalkeyWithholdResponse:
|
|
5804
|
+
"""
|
|
5805
|
+
Description: 代扣签约解除
|
|
5806
|
+
Summary: 代扣签约解除
|
|
5807
|
+
"""
|
|
5808
|
+
runtime = util_models.RuntimeOptions()
|
|
5809
|
+
headers = {}
|
|
5810
|
+
return self.unbind_digitalkey_withhold_ex(request, headers, runtime)
|
|
5811
|
+
|
|
5812
|
+
async def unbind_digitalkey_withhold_async(
|
|
5813
|
+
self,
|
|
5814
|
+
request: bot_models.UnbindDigitalkeyWithholdRequest,
|
|
5815
|
+
) -> bot_models.UnbindDigitalkeyWithholdResponse:
|
|
5816
|
+
"""
|
|
5817
|
+
Description: 代扣签约解除
|
|
5818
|
+
Summary: 代扣签约解除
|
|
5819
|
+
"""
|
|
5820
|
+
runtime = util_models.RuntimeOptions()
|
|
5821
|
+
headers = {}
|
|
5822
|
+
return await self.unbind_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
5823
|
+
|
|
5824
|
+
def unbind_digitalkey_withhold_ex(
|
|
5825
|
+
self,
|
|
5826
|
+
request: bot_models.UnbindDigitalkeyWithholdRequest,
|
|
5827
|
+
headers: Dict[str, str],
|
|
5828
|
+
runtime: util_models.RuntimeOptions,
|
|
5829
|
+
) -> bot_models.UnbindDigitalkeyWithholdResponse:
|
|
5830
|
+
"""
|
|
5831
|
+
Description: 代扣签约解除
|
|
5832
|
+
Summary: 代扣签约解除
|
|
5833
|
+
"""
|
|
5834
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5838
|
+
)
|
|
5839
|
+
|
|
5840
|
+
async def unbind_digitalkey_withhold_ex_async(
|
|
5841
|
+
self,
|
|
5842
|
+
request: bot_models.UnbindDigitalkeyWithholdRequest,
|
|
5843
|
+
headers: Dict[str, str],
|
|
5844
|
+
runtime: util_models.RuntimeOptions,
|
|
5845
|
+
) -> bot_models.UnbindDigitalkeyWithholdResponse:
|
|
5846
|
+
"""
|
|
5847
|
+
Description: 代扣签约解除
|
|
5848
|
+
Summary: 代扣签约解除
|
|
5849
|
+
"""
|
|
5850
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5854
|
+
)
|
|
5855
|
+
|
|
5856
|
+
def pay_digitalkey_withhold(
|
|
5857
|
+
self,
|
|
5858
|
+
request: bot_models.PayDigitalkeyWithholdRequest,
|
|
5859
|
+
) -> bot_models.PayDigitalkeyWithholdResponse:
|
|
5860
|
+
"""
|
|
5861
|
+
Description: 代扣支付
|
|
5862
|
+
Summary: 代扣支付
|
|
5863
|
+
"""
|
|
5864
|
+
runtime = util_models.RuntimeOptions()
|
|
5865
|
+
headers = {}
|
|
5866
|
+
return self.pay_digitalkey_withhold_ex(request, headers, runtime)
|
|
5867
|
+
|
|
5868
|
+
async def pay_digitalkey_withhold_async(
|
|
5869
|
+
self,
|
|
5870
|
+
request: bot_models.PayDigitalkeyWithholdRequest,
|
|
5871
|
+
) -> bot_models.PayDigitalkeyWithholdResponse:
|
|
5872
|
+
"""
|
|
5873
|
+
Description: 代扣支付
|
|
5874
|
+
Summary: 代扣支付
|
|
5875
|
+
"""
|
|
5876
|
+
runtime = util_models.RuntimeOptions()
|
|
5877
|
+
headers = {}
|
|
5878
|
+
return await self.pay_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
5879
|
+
|
|
5880
|
+
def pay_digitalkey_withhold_ex(
|
|
5881
|
+
self,
|
|
5882
|
+
request: bot_models.PayDigitalkeyWithholdRequest,
|
|
5883
|
+
headers: Dict[str, str],
|
|
5884
|
+
runtime: util_models.RuntimeOptions,
|
|
5885
|
+
) -> bot_models.PayDigitalkeyWithholdResponse:
|
|
5886
|
+
"""
|
|
5887
|
+
Description: 代扣支付
|
|
5888
|
+
Summary: 代扣支付
|
|
5889
|
+
"""
|
|
5890
|
+
UtilClient.validate_model(request)
|
|
5891
|
+
return TeaCore.from_map(
|
|
5892
|
+
bot_models.PayDigitalkeyWithholdResponse(),
|
|
5893
|
+
self.do_request('1.0', 'blockchain.bot.digitalkey.withhold.pay', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
|
|
5894
|
+
)
|
|
5895
|
+
|
|
5896
|
+
async def pay_digitalkey_withhold_ex_async(
|
|
5897
|
+
self,
|
|
5898
|
+
request: bot_models.PayDigitalkeyWithholdRequest,
|
|
5899
|
+
headers: Dict[str, str],
|
|
5900
|
+
runtime: util_models.RuntimeOptions,
|
|
5901
|
+
) -> bot_models.PayDigitalkeyWithholdResponse:
|
|
5902
|
+
"""
|
|
5903
|
+
Description: 代扣支付
|
|
5904
|
+
Summary: 代扣支付
|
|
5905
|
+
"""
|
|
5906
|
+
UtilClient.validate_model(request)
|
|
5907
|
+
return TeaCore.from_map(
|
|
5908
|
+
bot_models.PayDigitalkeyWithholdResponse(),
|
|
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
|
+
)
|
|
5911
|
+
|
|
5912
|
+
def refuse_digitalkey_withhold(
|
|
5913
|
+
self,
|
|
5914
|
+
request: bot_models.RefuseDigitalkeyWithholdRequest,
|
|
5915
|
+
) -> bot_models.RefuseDigitalkeyWithholdResponse:
|
|
5916
|
+
"""
|
|
5917
|
+
Description: 代扣支付退款
|
|
5918
|
+
Summary: 代扣支付退款
|
|
5919
|
+
"""
|
|
5920
|
+
runtime = util_models.RuntimeOptions()
|
|
5921
|
+
headers = {}
|
|
5922
|
+
return self.refuse_digitalkey_withhold_ex(request, headers, runtime)
|
|
5923
|
+
|
|
5924
|
+
async def refuse_digitalkey_withhold_async(
|
|
5925
|
+
self,
|
|
5926
|
+
request: bot_models.RefuseDigitalkeyWithholdRequest,
|
|
5927
|
+
) -> bot_models.RefuseDigitalkeyWithholdResponse:
|
|
5928
|
+
"""
|
|
5929
|
+
Description: 代扣支付退款
|
|
5930
|
+
Summary: 代扣支付退款
|
|
5931
|
+
"""
|
|
5932
|
+
runtime = util_models.RuntimeOptions()
|
|
5933
|
+
headers = {}
|
|
5934
|
+
return await self.refuse_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
5935
|
+
|
|
5936
|
+
def refuse_digitalkey_withhold_ex(
|
|
5937
|
+
self,
|
|
5938
|
+
request: bot_models.RefuseDigitalkeyWithholdRequest,
|
|
5939
|
+
headers: Dict[str, str],
|
|
5940
|
+
runtime: util_models.RuntimeOptions,
|
|
5941
|
+
) -> bot_models.RefuseDigitalkeyWithholdResponse:
|
|
5942
|
+
"""
|
|
5943
|
+
Description: 代扣支付退款
|
|
5944
|
+
Summary: 代扣支付退款
|
|
5945
|
+
"""
|
|
5946
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5950
|
+
)
|
|
5951
|
+
|
|
5952
|
+
async def refuse_digitalkey_withhold_ex_async(
|
|
5953
|
+
self,
|
|
5954
|
+
request: bot_models.RefuseDigitalkeyWithholdRequest,
|
|
5955
|
+
headers: Dict[str, str],
|
|
5956
|
+
runtime: util_models.RuntimeOptions,
|
|
5957
|
+
) -> bot_models.RefuseDigitalkeyWithholdResponse:
|
|
5958
|
+
"""
|
|
5959
|
+
Description: 代扣支付退款
|
|
5960
|
+
Summary: 代扣支付退款
|
|
5961
|
+
"""
|
|
5962
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
5966
|
+
)
|
|
5967
|
+
|
|
5968
|
+
def query_digitalkey_withhold(
|
|
5969
|
+
self,
|
|
5970
|
+
request: bot_models.QueryDigitalkeyWithholdRequest,
|
|
5971
|
+
) -> bot_models.QueryDigitalkeyWithholdResponse:
|
|
5972
|
+
"""
|
|
5973
|
+
Description: 代扣协议查询
|
|
5974
|
+
Summary: 代扣协议查询
|
|
5975
|
+
"""
|
|
5976
|
+
runtime = util_models.RuntimeOptions()
|
|
5977
|
+
headers = {}
|
|
5978
|
+
return self.query_digitalkey_withhold_ex(request, headers, runtime)
|
|
5979
|
+
|
|
5980
|
+
async def query_digitalkey_withhold_async(
|
|
5981
|
+
self,
|
|
5982
|
+
request: bot_models.QueryDigitalkeyWithholdRequest,
|
|
5983
|
+
) -> bot_models.QueryDigitalkeyWithholdResponse:
|
|
5984
|
+
"""
|
|
5985
|
+
Description: 代扣协议查询
|
|
5986
|
+
Summary: 代扣协议查询
|
|
5987
|
+
"""
|
|
5988
|
+
runtime = util_models.RuntimeOptions()
|
|
5989
|
+
headers = {}
|
|
5990
|
+
return await self.query_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
5991
|
+
|
|
5992
|
+
def query_digitalkey_withhold_ex(
|
|
5993
|
+
self,
|
|
5994
|
+
request: bot_models.QueryDigitalkeyWithholdRequest,
|
|
5995
|
+
headers: Dict[str, str],
|
|
5996
|
+
runtime: util_models.RuntimeOptions,
|
|
5997
|
+
) -> bot_models.QueryDigitalkeyWithholdResponse:
|
|
5998
|
+
"""
|
|
5999
|
+
Description: 代扣协议查询
|
|
6000
|
+
Summary: 代扣协议查询
|
|
6001
|
+
"""
|
|
6002
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6006
|
+
)
|
|
6007
|
+
|
|
6008
|
+
async def query_digitalkey_withhold_ex_async(
|
|
6009
|
+
self,
|
|
6010
|
+
request: bot_models.QueryDigitalkeyWithholdRequest,
|
|
6011
|
+
headers: Dict[str, str],
|
|
6012
|
+
runtime: util_models.RuntimeOptions,
|
|
6013
|
+
) -> bot_models.QueryDigitalkeyWithholdResponse:
|
|
6014
|
+
"""
|
|
6015
|
+
Description: 代扣协议查询
|
|
6016
|
+
Summary: 代扣协议查询
|
|
6017
|
+
"""
|
|
6018
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6022
|
+
)
|
|
6023
|
+
|
|
6024
|
+
def cancel_digitalkey_withhold(
|
|
6025
|
+
self,
|
|
6026
|
+
request: bot_models.CancelDigitalkeyWithholdRequest,
|
|
6027
|
+
) -> bot_models.CancelDigitalkeyWithholdResponse:
|
|
6028
|
+
"""
|
|
6029
|
+
Description: 代扣撤销
|
|
6030
|
+
Summary: 代扣撤销
|
|
6031
|
+
"""
|
|
6032
|
+
runtime = util_models.RuntimeOptions()
|
|
6033
|
+
headers = {}
|
|
6034
|
+
return self.cancel_digitalkey_withhold_ex(request, headers, runtime)
|
|
6035
|
+
|
|
6036
|
+
async def cancel_digitalkey_withhold_async(
|
|
6037
|
+
self,
|
|
6038
|
+
request: bot_models.CancelDigitalkeyWithholdRequest,
|
|
6039
|
+
) -> bot_models.CancelDigitalkeyWithholdResponse:
|
|
6040
|
+
"""
|
|
6041
|
+
Description: 代扣撤销
|
|
6042
|
+
Summary: 代扣撤销
|
|
6043
|
+
"""
|
|
6044
|
+
runtime = util_models.RuntimeOptions()
|
|
6045
|
+
headers = {}
|
|
6046
|
+
return await self.cancel_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
6047
|
+
|
|
6048
|
+
def cancel_digitalkey_withhold_ex(
|
|
6049
|
+
self,
|
|
6050
|
+
request: bot_models.CancelDigitalkeyWithholdRequest,
|
|
6051
|
+
headers: Dict[str, str],
|
|
6052
|
+
runtime: util_models.RuntimeOptions,
|
|
6053
|
+
) -> bot_models.CancelDigitalkeyWithholdResponse:
|
|
6054
|
+
"""
|
|
6055
|
+
Description: 代扣撤销
|
|
6056
|
+
Summary: 代扣撤销
|
|
6057
|
+
"""
|
|
6058
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6062
|
+
)
|
|
6063
|
+
|
|
6064
|
+
async def cancel_digitalkey_withhold_ex_async(
|
|
6065
|
+
self,
|
|
6066
|
+
request: bot_models.CancelDigitalkeyWithholdRequest,
|
|
6067
|
+
headers: Dict[str, str],
|
|
6068
|
+
runtime: util_models.RuntimeOptions,
|
|
6069
|
+
) -> bot_models.CancelDigitalkeyWithholdResponse:
|
|
6070
|
+
"""
|
|
6071
|
+
Description: 代扣撤销
|
|
6072
|
+
Summary: 代扣撤销
|
|
6073
|
+
"""
|
|
6074
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6078
|
+
)
|
|
6079
|
+
|
|
6080
|
+
def notify_digitalkey_withhold(
|
|
6081
|
+
self,
|
|
6082
|
+
request: bot_models.NotifyDigitalkeyWithholdRequest,
|
|
6083
|
+
) -> bot_models.NotifyDigitalkeyWithholdResponse:
|
|
6084
|
+
"""
|
|
6085
|
+
Description: 代扣扣款前预通知
|
|
6086
|
+
Summary: 代扣扣款前预通知
|
|
6087
|
+
"""
|
|
6088
|
+
runtime = util_models.RuntimeOptions()
|
|
6089
|
+
headers = {}
|
|
6090
|
+
return self.notify_digitalkey_withhold_ex(request, headers, runtime)
|
|
6091
|
+
|
|
6092
|
+
async def notify_digitalkey_withhold_async(
|
|
6093
|
+
self,
|
|
6094
|
+
request: bot_models.NotifyDigitalkeyWithholdRequest,
|
|
6095
|
+
) -> bot_models.NotifyDigitalkeyWithholdResponse:
|
|
6096
|
+
"""
|
|
6097
|
+
Description: 代扣扣款前预通知
|
|
6098
|
+
Summary: 代扣扣款前预通知
|
|
6099
|
+
"""
|
|
6100
|
+
runtime = util_models.RuntimeOptions()
|
|
6101
|
+
headers = {}
|
|
6102
|
+
return await self.notify_digitalkey_withhold_ex_async(request, headers, runtime)
|
|
6103
|
+
|
|
6104
|
+
def notify_digitalkey_withhold_ex(
|
|
6105
|
+
self,
|
|
6106
|
+
request: bot_models.NotifyDigitalkeyWithholdRequest,
|
|
6107
|
+
headers: Dict[str, str],
|
|
6108
|
+
runtime: util_models.RuntimeOptions,
|
|
6109
|
+
) -> bot_models.NotifyDigitalkeyWithholdResponse:
|
|
6110
|
+
"""
|
|
6111
|
+
Description: 代扣扣款前预通知
|
|
6112
|
+
Summary: 代扣扣款前预通知
|
|
6113
|
+
"""
|
|
6114
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6118
|
+
)
|
|
6119
|
+
|
|
6120
|
+
async def notify_digitalkey_withhold_ex_async(
|
|
6121
|
+
self,
|
|
6122
|
+
request: bot_models.NotifyDigitalkeyWithholdRequest,
|
|
6123
|
+
headers: Dict[str, str],
|
|
6124
|
+
runtime: util_models.RuntimeOptions,
|
|
6125
|
+
) -> bot_models.NotifyDigitalkeyWithholdResponse:
|
|
6126
|
+
"""
|
|
6127
|
+
Description: 代扣扣款前预通知
|
|
6128
|
+
Summary: 代扣扣款前预通知
|
|
6129
|
+
"""
|
|
6130
|
+
UtilClient.validate_model(request)
|
|
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)
|
|
6134
|
+
)
|
|
6135
|
+
|
|
5744
6136
|
def query_iotplatform_purchaseorder(
|
|
5745
6137
|
self,
|
|
5746
6138
|
request: bot_models.QueryIotplatformPurchaseorderRequest,
|