circle-developer-controlled-wallets 1.0__py3-none-any.whl → 1.1.0__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.
Potentially problematic release.
This version of circle-developer-controlled-wallets might be problematic. Click here for more details.
- circle/web3/developer_controlled_wallets/__init__.py +26 -24
- circle/web3/developer_controlled_wallets/api/signing_api.py +2 -2
- circle/web3/developer_controlled_wallets/api/token_lookup_api.py +1 -1
- circle/web3/developer_controlled_wallets/api/transactions_api.py +25 -23
- circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +118 -80
- circle/web3/developer_controlled_wallets/api/wallets_api.py +240 -209
- circle/web3/developer_controlled_wallets/api_client.py +1 -1
- circle/web3/developer_controlled_wallets/configuration.py +3 -3
- circle/web3/developer_controlled_wallets/models/__init__.py +25 -23
- circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_response.py +1 -1
- circle/web3/developer_controlled_wallets/models/account_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/bad_request_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/balance.py +1 -1
- circle/web3/developer_controlled_wallets/models/blockchain.py +3 -1
- circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_response.py +1 -1
- circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +4 -4
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +6 -5
- circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +1 -1
- circle/web3/developer_controlled_wallets/models/{create_developer_wallet_request.py → create_wallet_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{create_developer_wallet_set_request.py → create_wallet_set_request.py} +11 -11
- circle/web3/developer_controlled_wallets/models/custody_type.py +1 -1
- circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_response.py → developer_wallet_set.py} +26 -17
- circle/web3/developer_controlled_wallets/models/{wallet_set_response.py → end_user_wallet_set.py} +24 -20
- circle/web3/developer_controlled_wallets/models/{ext_wallet_response_wallet.py → eoa_wallet.py} +29 -25
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +2 -2
- circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request_blockchain.py +40 -0
- circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +2 -1
- circle/web3/developer_controlled_wallets/models/nft.py +1 -1
- circle/web3/developer_controlled_wallets/models/not_authorized_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/not_found_response.py +85 -0
- circle/web3/developer_controlled_wallets/models/sca_wallet.py +117 -0
- circle/web3/developer_controlled_wallets/models/token_blockchain.py +42 -0
- circle/web3/developer_controlled_wallets/models/token_response.py +3 -3
- circle/web3/developer_controlled_wallets/models/transaction.py +3 -3
- circle/web3/developer_controlled_wallets/models/{ext_update_wallet_metadata_request.py → update_wallet_request.py} +9 -9
- circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_request.py → update_wallet_set_request.py} +8 -8
- circle/web3/developer_controlled_wallets/models/{wallet_response.py → wallet.py} +17 -22
- circle/web3/developer_controlled_wallets/models/{update_wallet200_response.py → wallet2.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{ext_wallet_response.py → wallet2_data.py} +13 -13
- circle/web3/developer_controlled_wallets/models/wallet_metadata.py +1 -1
- circle/web3/developer_controlled_wallets/models/wallet_set.py +87 -0
- circle/web3/developer_controlled_wallets/models/{get_wallet200_response.py → wallet_set2.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_wallet_set_by_id_response.py → wallet_set2_data.py} +12 -12
- circle/web3/developer_controlled_wallets/models/{list_wallets200_response.py → wallet_sets.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{get_wallet_sets_response.py → wallet_sets_data.py} +12 -12
- circle/web3/developer_controlled_wallets/models/wallet_sets_data_wallet_sets_inner.py +140 -0
- circle/web3/developer_controlled_wallets/models/wallet_state.py +1 -1
- circle/web3/developer_controlled_wallets/models/{get_wallet_set200_response.py → wallets.py} +13 -13
- circle/web3/developer_controlled_wallets/models/{ext_get_all_wallets_response.py → wallets_data.py} +13 -13
- circle/web3/developer_controlled_wallets/models/wallets_data_wallets_inner.py +140 -0
- {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/METADATA +4 -4
- {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/RECORD +54 -52
- circle/web3/developer_controlled_wallets/models/create_developer_wallet200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_developer_wallet_response.py +0 -91
- circle/web3/developer_controlled_wallets/models/create_developer_wallet_set_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/create_wallet_set200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/ext_get_wallet_by_id_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/list_wallet_sets200_response.py +0 -87
- circle/web3/developer_controlled_wallets/models/update_wallet_set200_response.py +0 -87
- {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/WHEEL +0 -0
- {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.get_wallet_sets_response import GetWalletSetsResponse
|
|
20
|
-
|
|
21
|
-
class ListWalletSets200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
ListWalletSets200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[GetWalletSetsResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> ListWalletSets200Response:
|
|
52
|
-
"""Create an instance of ListWalletSets200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> ListWalletSets200Response:
|
|
68
|
-
"""Create an instance of ListWalletSets200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return ListWalletSets200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = ListWalletSets200Response.parse_obj({
|
|
83
|
-
"data": GetWalletSetsResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
The version of the OpenAPI document: 1.0
|
|
5
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
-
|
|
7
|
-
Do not edit the class manually.
|
|
8
|
-
""" # noqa: E501
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from __future__ import annotations
|
|
12
|
-
import pprint
|
|
13
|
-
import re # noqa: F401
|
|
14
|
-
import json
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
from typing import Optional
|
|
18
|
-
from pydantic import BaseModel
|
|
19
|
-
from circle.web3.developer_controlled_wallets.models.update_wallet_set_metadata_response import UpdateWalletSetMetadataResponse
|
|
20
|
-
|
|
21
|
-
class UpdateWalletSet200Response(BaseModel):
|
|
22
|
-
"""
|
|
23
|
-
UpdateWalletSet200Response
|
|
24
|
-
"""
|
|
25
|
-
data: Optional[UpdateWalletSetMetadataResponse] = None
|
|
26
|
-
__properties = ["data"]
|
|
27
|
-
|
|
28
|
-
def __init__(self, **kwargs):
|
|
29
|
-
if "idempotencyKey" in self.__properties and not kwargs.get("idempotency_key"):
|
|
30
|
-
kwargs["idempotency_key"] = "#REFILL_PLACEHOLDER"
|
|
31
|
-
|
|
32
|
-
if "entitySecretCiphertext" in self.__properties and not kwargs.get("entity_secret_ciphertext"):
|
|
33
|
-
kwargs["entity_secret_ciphertext"] = "#REFILL_PLACEHOLDER"
|
|
34
|
-
super().__init__(**kwargs)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Config:
|
|
38
|
-
"""Pydantic configuration"""
|
|
39
|
-
allow_population_by_field_name = True
|
|
40
|
-
validate_assignment = True
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.dict(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(self.to_dict())
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> UpdateWalletSet200Response:
|
|
52
|
-
"""Create an instance of UpdateWalletSet200Response from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self):
|
|
56
|
-
"""Returns the dictionary representation of the model using alias"""
|
|
57
|
-
_dict = self.dict(by_alias=True,
|
|
58
|
-
exclude={
|
|
59
|
-
},
|
|
60
|
-
exclude_none=True)
|
|
61
|
-
# override the default output from pydantic by calling `to_dict()` of data
|
|
62
|
-
if self.data:
|
|
63
|
-
_dict['data'] = self.data.to_dict()
|
|
64
|
-
return _dict
|
|
65
|
-
|
|
66
|
-
@classmethod
|
|
67
|
-
def from_dict(cls, obj: dict) -> UpdateWalletSet200Response:
|
|
68
|
-
"""Create an instance of UpdateWalletSet200Response from a dict"""
|
|
69
|
-
if obj is None:
|
|
70
|
-
return None
|
|
71
|
-
|
|
72
|
-
if not isinstance(obj, dict):
|
|
73
|
-
return UpdateWalletSet200Response.parse_obj(obj)
|
|
74
|
-
|
|
75
|
-
# fill idempotency_key and ciphertext with placeholder for auto_fill
|
|
76
|
-
if "idempotencyKey" in cls.__properties and not obj.get("idempotencyKey"):
|
|
77
|
-
obj["idempotencyKey"] = "#REFILL_PLACEHOLDER"
|
|
78
|
-
|
|
79
|
-
if "entitySecretCiphertext" in cls.__properties and not obj.get("entitySecretCiphertext"):
|
|
80
|
-
obj["entitySecretCiphertext"] = "#REFILL_PLACEHOLDER"
|
|
81
|
-
|
|
82
|
-
_obj = UpdateWalletSet200Response.parse_obj({
|
|
83
|
-
"data": UpdateWalletSetMetadataResponse.from_dict(obj.get("data")) if obj.get("data") is not None else None
|
|
84
|
-
})
|
|
85
|
-
return _obj
|
|
86
|
-
|
|
87
|
-
|
|
File without changes
|