robosystems-client 0.2.12__py3-none-any.whl → 0.2.14__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 robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +81 -9
- robosystems_client/api/agent/execute_specific_agent.py +73 -5
- robosystems_client/api/agent/get_agent_metadata.py +1 -1
- robosystems_client/api/agent/list_agents.py +1 -1
- robosystems_client/api/billing/{update_org_payment_method.py → create_portal_session.py} +57 -47
- robosystems_client/api/credits_/list_credit_transactions.py +4 -4
- robosystems_client/api/subgraphs/create_subgraph.py +4 -4
- robosystems_client/api/subgraphs/delete_subgraph.py +8 -8
- robosystems_client/extensions/__init__.py +25 -0
- robosystems_client/extensions/agent_client.py +526 -0
- robosystems_client/extensions/extensions.py +3 -0
- robosystems_client/models/__init__.py +2 -6
- robosystems_client/models/checkout_status_response.py +2 -1
- robosystems_client/models/create_checkout_request.py +2 -1
- robosystems_client/models/create_checkout_request_resource_config.py +4 -1
- robosystems_client/models/create_subgraph_request.py +5 -26
- robosystems_client/models/graph_subscription_response.py +21 -0
- robosystems_client/models/list_subgraphs_response.py +9 -0
- robosystems_client/models/{update_payment_method_request.py → portal_session_response.py} +12 -12
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/RECORD +23 -25
- robosystems_client/api/subscriptions/cancel_subscription.py +0 -193
- robosystems_client/models/cancellation_response.py +0 -76
- robosystems_client/models/update_payment_method_response.py +0 -74
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
-
|
|
4
|
-
from attrs import define as _attrs_define
|
|
5
|
-
from attrs import field as _attrs_field
|
|
6
|
-
|
|
7
|
-
if TYPE_CHECKING:
|
|
8
|
-
from ..models.payment_method import PaymentMethod
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
T = TypeVar("T", bound="UpdatePaymentMethodResponse")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@_attrs_define
|
|
15
|
-
class UpdatePaymentMethodResponse:
|
|
16
|
-
"""Response for payment method update.
|
|
17
|
-
|
|
18
|
-
Attributes:
|
|
19
|
-
message (str): Success message
|
|
20
|
-
payment_method (PaymentMethod): Payment method information.
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
message: str
|
|
24
|
-
payment_method: "PaymentMethod"
|
|
25
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
-
|
|
27
|
-
def to_dict(self) -> dict[str, Any]:
|
|
28
|
-
message = self.message
|
|
29
|
-
|
|
30
|
-
payment_method = self.payment_method.to_dict()
|
|
31
|
-
|
|
32
|
-
field_dict: dict[str, Any] = {}
|
|
33
|
-
field_dict.update(self.additional_properties)
|
|
34
|
-
field_dict.update(
|
|
35
|
-
{
|
|
36
|
-
"message": message,
|
|
37
|
-
"payment_method": payment_method,
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
return field_dict
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
45
|
-
from ..models.payment_method import PaymentMethod
|
|
46
|
-
|
|
47
|
-
d = dict(src_dict)
|
|
48
|
-
message = d.pop("message")
|
|
49
|
-
|
|
50
|
-
payment_method = PaymentMethod.from_dict(d.pop("payment_method"))
|
|
51
|
-
|
|
52
|
-
update_payment_method_response = cls(
|
|
53
|
-
message=message,
|
|
54
|
-
payment_method=payment_method,
|
|
55
|
-
)
|
|
56
|
-
|
|
57
|
-
update_payment_method_response.additional_properties = d
|
|
58
|
-
return update_payment_method_response
|
|
59
|
-
|
|
60
|
-
@property
|
|
61
|
-
def additional_keys(self) -> list[str]:
|
|
62
|
-
return list(self.additional_properties.keys())
|
|
63
|
-
|
|
64
|
-
def __getitem__(self, key: str) -> Any:
|
|
65
|
-
return self.additional_properties[key]
|
|
66
|
-
|
|
67
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
68
|
-
self.additional_properties[key] = value
|
|
69
|
-
|
|
70
|
-
def __delitem__(self, key: str) -> None:
|
|
71
|
-
del self.additional_properties[key]
|
|
72
|
-
|
|
73
|
-
def __contains__(self, key: str) -> bool:
|
|
74
|
-
return key in self.additional_properties
|
|
File without changes
|
{robosystems_client-0.2.12.dist-info → robosystems_client-0.2.14.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|