safeheron-api-sdk-python 1.1.24__tar.gz → 1.1.26__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 (25) hide show
  1. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/PKG-INFO +1 -1
  2. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/account_api.py +37 -0
  3. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/coin_api.py +4 -0
  4. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/webhook_api.py +1 -1
  5. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/whitelist_api.py +6 -0
  6. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python.egg-info/PKG-INFO +1 -1
  7. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/setup.py +1 -1
  8. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/LICENSE +0 -0
  9. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/README.rst +0 -0
  10. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/api_key_management_api.py +0 -0
  11. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/compliance_api.py +0 -0
  12. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/gas_api.py +0 -0
  13. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/mpc_sign_api.py +0 -0
  14. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/tools_api.py +0 -0
  15. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/transaction_api.py +0 -0
  16. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/api/web3_api.py +0 -0
  17. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/client.py +0 -0
  18. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/cosigner/co_signer_converter.py +0 -0
  19. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/tools.py +0 -0
  20. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python/webhook/webhook_converter.py +0 -0
  21. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python.egg-info/SOURCES.txt +0 -0
  22. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python.egg-info/dependency_links.txt +0 -0
  23. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python.egg-info/requires.txt +0 -0
  24. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/safeheron_api_sdk_python.egg-info/top_level.txt +0 -0
  25. {safeheron_api_sdk_python-1.1.24 → safeheron_api_sdk_python-1.1.26}/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.24
3
+ Version: 1.1.26
4
4
  Summary: Python for Safeheron API
5
5
  Home-page: https://github.com/Safeheron/safeheron-api-sdk-python
6
6
  Author: safeheron
@@ -29,6 +29,38 @@ class ListAccountRequest:
29
29
  self.customerRefId = None
30
30
 
31
31
 
32
+ class ListAccountV2Request:
33
+ def __init__(self):
34
+ # Query page direction, NEXT by default
35
+ # NEXT: ascending by accountIndex
36
+ # PREV: descending by accountIndex
37
+ self.direct = None
38
+ # The number of items to retrieve at a time, the default is 10, max is 100
39
+ self.limit = None
40
+ # accountKey of the first wallet account. Not required for the first page; for subsequent pages, provide the accountKey of the last record from the previous result
41
+ self.fromId = None
42
+ # Filter whether there are not-displayed wallet accounts in Safeheron Console
43
+ # True: retrieve hidden wallet accounts
44
+ # False: retrieve displayed wallet accounts
45
+ # Default: retrieve all wallet accounts
46
+ self.hiddenOnUI = None
47
+ # Filter wallets based on autoFuel setting:
48
+ # Default: Ignore this query parameter
49
+ # true: Only query wallets where autoFuel is set to true
50
+ # false: Only query wallets where autoFuel is set to false
51
+ self.autoFuel = None
52
+ # Wallet's archive status in Safeheron App and Web Console
53
+ # True: Archived
54
+ # False: Unarchived
55
+ self.archived = None
56
+ # Filter the response based on this account name prefix
57
+ self.namePrefix = None
58
+ # Filter the response based on this account name suffix
59
+ self.nameSuffix = None
60
+ # Merchant unique business ID (100 characters max)
61
+ self.customerRefId = None
62
+
63
+
32
64
  class OneAccountRequest:
33
65
  def __init__(self):
34
66
  # Wallet account key
@@ -204,6 +236,11 @@ class AccountApi:
204
236
  def list_accounts(self, request: ListAccountRequest):
205
237
  return self.api_client.send_request(request, '/v1/account/list')
206
238
 
239
+ # List Wallet Accounts V2
240
+ # Filter wallet account lists in team according to different combinations of conditions, using cursor-based pagination.
241
+ def list_accounts_v2(self, request: ListAccountV2Request):
242
+ return self.api_client.send_request(request, '/v2/account/list')
243
+
207
244
  # Retrieve a Single Wallet Account
208
245
  # Retrieve a single wallet account in the team by providing accountKey.
209
246
  def one_accounts(self, request: OneAccountRequest):
@@ -19,6 +19,10 @@ class CheckCoinAddressRequest:
19
19
  # True: verify
20
20
  # False: not verify
21
21
  self.checkAddressValid = None
22
+ # Verify if the Solana address is the Owner address (If no value is provided, 'false' by default)
23
+ # True: Verify
24
+ # False: Not verify
25
+ self.checkSolanaOwnerAddress = None
22
26
 
23
27
 
24
28
  class CoinBalanceSnapshotRequest:
@@ -23,7 +23,7 @@ class WebhookApi:
23
23
  def __init__(self, config):
24
24
  self.api_client = Client(config)
25
25
  # Re-push Transaction Webhook Events
26
- # Re-push the transaction webhook events generated in the last month. In certain situations, such as network jitter or your system being unavailable to receive webhook events, you may miss receiving notifications. You can use this interface to notify Safeheron to re-push the webhook events. It is important to note that for a single transaction, only the last webhook event will be re-pushed. For example, during the lifecycle of a transaction, multiple TRANSACTION_STATUS_CHANGED webhook events such as BROADCASTING, CONFIRMING, COMPLETED, etc., may be generated. The re-push will only send the last webhook event recorded by the current system. Re-pushing is supported for the following types of webhook events:
26
+ # Re-push the transaction webhook events generated in the last 15 days. In certain situations, such as network jitter or your system being unavailable to receive webhook events, you may miss receiving notifications. You can use this interface to notify Safeheron to re-push the webhook events. It is important to note that for a single transaction, only the last webhook event will be re-pushed. For example, during the lifecycle of a transaction, multiple TRANSACTION_STATUS_CHANGED webhook events such as BROADCASTING, CONFIRMING, COMPLETED, etc., may be generated. The re-push will only send the last webhook event recorded by the current system. Re-pushing is supported for the following types of webhook events:
27
27
  # Events related to asset transactions, including TRANSACTION_CREATED and TRANSACTION_STATUS_CHANGED.
28
28
  # Events related to MPC signing, including MPC_SIGN_CREATED and MPC_SIGN_STATUS_CHANGED.
29
29
  # Events related to Web3, including WEB3_SIGN_CREATED and WEB3_SIGN_STATUS_CHANGED.
@@ -68,6 +68,8 @@ class CreateWhitelistRequest:
68
68
  # False: Visible by default
69
69
  # True: Invisible; the invisible whitelist can only be managed and used through the API, such as querying, modifying, and using the whitelist as the destination address when initiating transactions
70
70
  self.hiddenOnUI = None
71
+ # Note
72
+ self.note = None
71
73
 
72
74
 
73
75
  class CreateFromTransactionWhitelistRequest:
@@ -86,6 +88,8 @@ class CreateFromTransactionWhitelistRequest:
86
88
  # False: Visible by default
87
89
  # True: Invisible; the invisible whitelist can only be managed and used through the API, such as querying, modifying, and using the whitelist as the destination address when initiating transactions
88
90
  self.hiddenOnUI = None
91
+ # Note
92
+ self.note = None
89
93
 
90
94
 
91
95
  class EditWhitelistRequest:
@@ -102,6 +106,8 @@ class EditWhitelistRequest:
102
106
  self.memo = None
103
107
  # When the whitelist is involved in a transaction approval policy, modifications will result in the new whitelist being directly applied to the approval policy. False by default, meaning that when involved in a transaction approval policy, it will not be modified.
104
108
  self.force = None
109
+ # Note
110
+ self.note = None
105
111
 
106
112
 
107
113
  class DeleteWhitelistRequest:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: safeheron_api_sdk_python
3
- Version: 1.1.24
3
+ Version: 1.1.26
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.24',
6
+ version='1.1.26',
7
7
  description='Python for Safeheron API',
8
8
  long_description=long_description,
9
9
  author='safeheron',