safeheron-api-sdk-python 1.1.19__tar.gz → 1.1.20__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.
Files changed (24) hide show
  1. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/PKG-INFO +1 -1
  2. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/account_api.py +26 -1
  3. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python.egg-info/PKG-INFO +1 -1
  4. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/setup.py +1 -1
  5. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/LICENSE +0 -0
  6. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/README.rst +0 -0
  7. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/api_key_management_api.py +0 -0
  8. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/coin_api.py +0 -0
  9. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/gas_api.py +0 -0
  10. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/mpc_sign_api.py +0 -0
  11. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/tools_api.py +0 -0
  12. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/transaction_api.py +0 -0
  13. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/web3_api.py +0 -0
  14. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/webhook_api.py +0 -0
  15. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/api/whitelist_api.py +0 -0
  16. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/client.py +0 -0
  17. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/cosigner/co_signer_converter.py +0 -0
  18. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/tools.py +0 -0
  19. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python/webhook/webhook_converter.py +0 -0
  20. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python.egg-info/SOURCES.txt +0 -0
  21. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python.egg-info/dependency_links.txt +0 -0
  22. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python.egg-info/requires.txt +0 -0
  23. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/safeheron_api_sdk_python.egg-info/top_level.txt +0 -0
  24. {safeheron_api_sdk_python-1.1.19 → safeheron_api_sdk_python-1.1.20}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: safeheron_api_sdk_python
3
- Version: 1.1.19
3
+ Version: 1.1.20
4
4
  Summary: Python for Safeheron API
5
5
  Home-page: https://github.com/Safeheron/safeheron-api-sdk-python
6
6
  Author: safeheron
@@ -12,6 +12,15 @@ class ListAccountRequest:
12
12
  # False: retrieve displayed wallet accounts
13
13
  # Default: retrieve all wallet accounts
14
14
  self.hiddenOnUI = None
15
+ # Filter wallets based on autoFuel setting:
16
+ # Default: Ignore this query parameter
17
+ # true: Only query wallets where autoFuel is set to true
18
+ # false: Only query wallets where autoFuel is set to false
19
+ self.autoFuel = None
20
+ # Wallet's archive status in Safeheron App and Web Console
21
+ # True: Archived
22
+ # False: Unarchived
23
+ self.archived = None
15
24
  # Filter the response based on this account name prefix
16
25
  self.namePrefix = None
17
26
  # Filter the response based on this account name suffix
@@ -36,11 +45,13 @@ class CreateAccountRequest:
36
45
  # Merchant unique business ID (100 characters max)
37
46
  # The customerRefId uniquely represents a wallet. In the case of duplicate customerRefId values (for example, when resubmitting due to request timeouts or other errors), the data returned by the interface will remain consistent
38
47
  self.customerRefId = None
39
- # Whether display in Safeheron Console
48
+ # Whether display in Safeheron Console
40
49
  # True: not display
41
50
  # False: display
42
51
  # Default: false
43
52
  self.hiddenOnUI = None
53
+ # Auto-refuel. If set to true, the Gas Service will automatically supplement the Gas fee for the wallet when a transaction is initiated. The default value is false
54
+ self.autoFuel = None
44
55
  # Account tag
45
56
  self.accountTag = None
46
57
  # Coin key list, 20 array elements max
@@ -56,6 +67,8 @@ class BatchCreateAccountRequest:
56
67
  # False: display
57
68
  # Default: true
58
69
  self.hiddenOnUI = None
70
+ # Auto-refuel. If set to true, the Gas Service will automatically supplement the Gas fee for the wallet when a transaction is initiated. The default value is false
71
+ self.autoFuel = None
59
72
  # Number of wallets to be created, greater than 0, less than 100
60
73
  self.count = None
61
74
  # Account tag
@@ -79,6 +92,13 @@ class BatchUpdateAccountTagRequest:
79
92
  # Account tag
80
93
  self.accountTag = None
81
94
 
95
+ class BatchUpdateAccountFuelRequest:
96
+ def __init__(self):
97
+ # Account key, max is 100
98
+ self.accountKeyList = None
99
+ # If set to true, Gas Service will automatically supplement the transaction fee (Gas) for the wallet when a transaction is initiated
100
+ self.autoFuel = None
101
+
82
102
 
83
103
  class CreateAccountCoinRequest:
84
104
  def __init__(self):
@@ -211,6 +231,11 @@ class AccountApi:
211
231
  def batch_update_account_tag(self, request: BatchUpdateAccountTagRequest):
212
232
  return self.api_client.send_request(request, '/v1/account/batch/update/tag')
213
233
 
234
+ # Batch Set Auto-Fuel
235
+ # Set the autoFuel property for a batch of wallet accounts. Setting it to true means that the Gas Service will automatically supplement the transaction fee (Gas) for that wallet when a transaction is initiated; setting it to false means the Gas Service will no longer supplement the transaction fee for the wallet.
236
+ def batch_update_account_autofuel(self, request: BatchUpdateAccountFuelRequest):
237
+ return self.api_client.send_request(request, '/v1/account/batch/update/autofuel')
238
+
214
239
  # Add Coins to a Wallet Account V1
215
240
  # Add a new coin to your wallet account, while generating the default address group for the added coin. Once successfully completed, it will return the address information of the newly created default address group. In case the added currency already exists within the account, it will promptly return the existing default address group information for that coin.
216
241
  # In a wallet account, UTXO-based cryptocurrencies can have multiple address groups, while other types of cryptocurrencies usually have only one. To check whether a particular cryptocurrency supports the addition of multiple address groups, simply check the 'isMultipleAddress' parameter through the Coin List.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: safeheron_api_sdk_python
3
- Version: 1.1.19
3
+ Version: 1.1.20
4
4
  Summary: Python for Safeheron API
5
5
  Home-page: https://github.com/Safeheron/safeheron-api-sdk-python
6
6
  Author: safeheron
@@ -3,7 +3,7 @@ from setuptools import find_packages
3
3
  with open("README.rst", "r") as f:
4
4
  long_description = f.read()
5
5
  setup(name='safeheron_api_sdk_python',
6
- version='1.1.19',
6
+ version='1.1.20',
7
7
  description='Python for Safeheron API',
8
8
  long_description=long_description,
9
9
  author='safeheron',