moovio_sdk 0.13.3__py3-none-any.whl → 0.13.4__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.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/models/components/terminalcard.py +14 -0
- moovio_sdk/models/operations/__init__.py +6 -20
- moovio_sdk/models/operations/createtransferoptions.py +32 -2
- moovio_sdk/transfers.py +12 -286
- {moovio_sdk-0.13.3.dist-info → moovio_sdk-0.13.4.dist-info}/METADATA +39 -46
- {moovio_sdk-0.13.3.dist-info → moovio_sdk-0.13.4.dist-info}/RECORD +8 -9
- moovio_sdk/models/operations/createtransferoptionsforaccount.py +0 -82
- {moovio_sdk-0.13.3.dist-info → moovio_sdk-0.13.4.dist-info}/WHEEL +0 -0
moovio_sdk/_version.py
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "moovio_sdk"
|
6
|
-
__version__: str = "0.13.
|
6
|
+
__version__: str = "0.13.4"
|
7
7
|
__openapi_doc_version__: str = "latest"
|
8
|
-
__gen_version__: str = "2.656.
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.13.
|
8
|
+
__gen_version__: str = "2.656.5"
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.13.4 2.656.5 latest moovio_sdk"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
@@ -36,6 +36,10 @@ class TerminalCardTypedDict(TypedDict):
|
|
36
36
|
r"""Country where the card was issued."""
|
37
37
|
last_four_card_number: NotRequired[str]
|
38
38
|
r"""Last four digits of the card number"""
|
39
|
+
application_id: NotRequired[str]
|
40
|
+
r"""Identifier for the point of sale terminal application."""
|
41
|
+
application_name: NotRequired[str]
|
42
|
+
r"""Name label for the point of sale terminal application."""
|
39
43
|
|
40
44
|
|
41
45
|
class TerminalCard(BaseModel):
|
@@ -76,3 +80,13 @@ class TerminalCard(BaseModel):
|
|
76
80
|
Optional[str], pydantic.Field(alias="lastFourCardNumber")
|
77
81
|
] = None
|
78
82
|
r"""Last four digits of the card number"""
|
83
|
+
|
84
|
+
application_id: Annotated[Optional[str], pydantic.Field(alias="applicationID")] = (
|
85
|
+
None
|
86
|
+
)
|
87
|
+
r"""Identifier for the point of sale terminal application."""
|
88
|
+
|
89
|
+
application_name: Annotated[
|
90
|
+
Optional[str], pydantic.Field(alias="applicationName")
|
91
|
+
] = None
|
92
|
+
r"""Name label for the point of sale terminal application."""
|
@@ -167,17 +167,11 @@ if TYPE_CHECKING:
|
|
167
167
|
from .createtransferoptions import (
|
168
168
|
CreateTransferOptionsGlobals,
|
169
169
|
CreateTransferOptionsGlobalsTypedDict,
|
170
|
+
CreateTransferOptionsRequest,
|
171
|
+
CreateTransferOptionsRequestTypedDict,
|
170
172
|
CreateTransferOptionsResponse,
|
171
173
|
CreateTransferOptionsResponseTypedDict,
|
172
174
|
)
|
173
|
-
from .createtransferoptionsforaccount import (
|
174
|
-
CreateTransferOptionsForAccountGlobals,
|
175
|
-
CreateTransferOptionsForAccountGlobalsTypedDict,
|
176
|
-
CreateTransferOptionsForAccountRequest,
|
177
|
-
CreateTransferOptionsForAccountRequestTypedDict,
|
178
|
-
CreateTransferOptionsForAccountResponse,
|
179
|
-
CreateTransferOptionsForAccountResponseTypedDict,
|
180
|
-
)
|
181
175
|
from .deletedisputeevidencefile import (
|
182
176
|
DeleteDisputeEvidenceFileGlobals,
|
183
177
|
DeleteDisputeEvidenceFileGlobalsTypedDict,
|
@@ -1255,14 +1249,10 @@ __all__ = [
|
|
1255
1249
|
"CreateTicketResponseTypedDict",
|
1256
1250
|
"CreateTransferGlobals",
|
1257
1251
|
"CreateTransferGlobalsTypedDict",
|
1258
|
-
"CreateTransferOptionsForAccountGlobals",
|
1259
|
-
"CreateTransferOptionsForAccountGlobalsTypedDict",
|
1260
|
-
"CreateTransferOptionsForAccountRequest",
|
1261
|
-
"CreateTransferOptionsForAccountRequestTypedDict",
|
1262
|
-
"CreateTransferOptionsForAccountResponse",
|
1263
|
-
"CreateTransferOptionsForAccountResponseTypedDict",
|
1264
1252
|
"CreateTransferOptionsGlobals",
|
1265
1253
|
"CreateTransferOptionsGlobalsTypedDict",
|
1254
|
+
"CreateTransferOptionsRequest",
|
1255
|
+
"CreateTransferOptionsRequestTypedDict",
|
1266
1256
|
"CreateTransferOptionsResponse",
|
1267
1257
|
"CreateTransferOptionsResponseTypedDict",
|
1268
1258
|
"CreateTransferRequest",
|
@@ -2117,14 +2107,10 @@ _dynamic_imports: dict[str, str] = {
|
|
2117
2107
|
"CreateTransferResponseTypedDict": ".createtransfer",
|
2118
2108
|
"CreateTransferOptionsGlobals": ".createtransferoptions",
|
2119
2109
|
"CreateTransferOptionsGlobalsTypedDict": ".createtransferoptions",
|
2110
|
+
"CreateTransferOptionsRequest": ".createtransferoptions",
|
2111
|
+
"CreateTransferOptionsRequestTypedDict": ".createtransferoptions",
|
2120
2112
|
"CreateTransferOptionsResponse": ".createtransferoptions",
|
2121
2113
|
"CreateTransferOptionsResponseTypedDict": ".createtransferoptions",
|
2122
|
-
"CreateTransferOptionsForAccountGlobals": ".createtransferoptionsforaccount",
|
2123
|
-
"CreateTransferOptionsForAccountGlobalsTypedDict": ".createtransferoptionsforaccount",
|
2124
|
-
"CreateTransferOptionsForAccountRequest": ".createtransferoptionsforaccount",
|
2125
|
-
"CreateTransferOptionsForAccountRequestTypedDict": ".createtransferoptionsforaccount",
|
2126
|
-
"CreateTransferOptionsForAccountResponse": ".createtransferoptionsforaccount",
|
2127
|
-
"CreateTransferOptionsForAccountResponseTypedDict": ".createtransferoptionsforaccount",
|
2128
2114
|
"DeleteDisputeEvidenceFileGlobals": ".deletedisputeevidencefile",
|
2129
2115
|
"DeleteDisputeEvidenceFileGlobalsTypedDict": ".deletedisputeevidencefile",
|
2130
2116
|
"DeleteDisputeEvidenceFileRequest": ".deletedisputeevidencefile",
|
@@ -1,9 +1,17 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
-
from moovio_sdk.models.components import
|
4
|
+
from moovio_sdk.models.components import (
|
5
|
+
createtransferoptions as components_createtransferoptions,
|
6
|
+
transferoptions as components_transferoptions,
|
7
|
+
)
|
5
8
|
from moovio_sdk.types import BaseModel
|
6
|
-
from moovio_sdk.utils import
|
9
|
+
from moovio_sdk.utils import (
|
10
|
+
FieldMetadata,
|
11
|
+
HeaderMetadata,
|
12
|
+
PathParamMetadata,
|
13
|
+
RequestMetadata,
|
14
|
+
)
|
7
15
|
import pydantic
|
8
16
|
from typing import Dict, List, Optional
|
9
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
@@ -41,6 +49,28 @@ class CreateTransferOptionsGlobals(BaseModel):
|
|
41
49
|
"""
|
42
50
|
|
43
51
|
|
52
|
+
class CreateTransferOptionsRequestTypedDict(TypedDict):
|
53
|
+
account_id: str
|
54
|
+
r"""The partner's Moov account ID."""
|
55
|
+
create_transfer_options: (
|
56
|
+
components_createtransferoptions.CreateTransferOptionsTypedDict
|
57
|
+
)
|
58
|
+
|
59
|
+
|
60
|
+
class CreateTransferOptionsRequest(BaseModel):
|
61
|
+
account_id: Annotated[
|
62
|
+
str,
|
63
|
+
pydantic.Field(alias="accountID"),
|
64
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
65
|
+
]
|
66
|
+
r"""The partner's Moov account ID."""
|
67
|
+
|
68
|
+
create_transfer_options: Annotated[
|
69
|
+
components_createtransferoptions.CreateTransferOptions,
|
70
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
71
|
+
]
|
72
|
+
|
73
|
+
|
44
74
|
class CreateTransferOptionsResponseTypedDict(TypedDict):
|
45
75
|
headers: Dict[str, List[str]]
|
46
76
|
result: components_transferoptions.TransferOptionsTypedDict
|
moovio_sdk/transfers.py
CHANGED
@@ -12,7 +12,7 @@ from typing import Any, Dict, List, Mapping, Optional, Union
|
|
12
12
|
|
13
13
|
|
14
14
|
class Transfers(BaseSDK):
|
15
|
-
def
|
15
|
+
def generate_options(
|
16
16
|
self,
|
17
17
|
*,
|
18
18
|
account_id: str,
|
@@ -29,7 +29,7 @@ class Transfers(BaseSDK):
|
|
29
29
|
server_url: Optional[str] = None,
|
30
30
|
timeout_ms: Optional[int] = None,
|
31
31
|
http_headers: Optional[Mapping[str, str]] = None,
|
32
|
-
) -> operations.
|
32
|
+
) -> operations.CreateTransferOptionsResponse:
|
33
33
|
r"""Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
34
34
|
supply in the request body.
|
35
35
|
|
@@ -59,7 +59,7 @@ class Transfers(BaseSDK):
|
|
59
59
|
else:
|
60
60
|
base_url = self._get_url(base_url, url_variables)
|
61
61
|
|
62
|
-
request = operations.
|
62
|
+
request = operations.CreateTransferOptionsRequest(
|
63
63
|
account_id=account_id,
|
64
64
|
create_transfer_options=components.CreateTransferOptions(
|
65
65
|
source=utils.get_pydantic_model(
|
@@ -84,7 +84,7 @@ class Transfers(BaseSDK):
|
|
84
84
|
user_agent_header="user-agent",
|
85
85
|
accept_header_value="application/json",
|
86
86
|
http_headers=http_headers,
|
87
|
-
_globals=operations.
|
87
|
+
_globals=operations.CreateTransferOptionsGlobals(
|
88
88
|
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
89
89
|
),
|
90
90
|
security=self.sdk_configuration.security,
|
@@ -110,7 +110,7 @@ class Transfers(BaseSDK):
|
|
110
110
|
hook_ctx=HookContext(
|
111
111
|
config=self.sdk_configuration,
|
112
112
|
base_url=base_url or "",
|
113
|
-
operation_id="
|
113
|
+
operation_id="createTransferOptions",
|
114
114
|
oauth2_scopes=[],
|
115
115
|
security_source=get_security_from_env(
|
116
116
|
self.sdk_configuration.security, components.Security
|
@@ -133,7 +133,7 @@ class Transfers(BaseSDK):
|
|
133
133
|
|
134
134
|
response_data: Any = None
|
135
135
|
if utils.match_response(http_res, "200", "application/json"):
|
136
|
-
return operations.
|
136
|
+
return operations.CreateTransferOptionsResponse(
|
137
137
|
result=unmarshal_json_response(components.TransferOptions, http_res),
|
138
138
|
headers=utils.get_response_headers(http_res.headers),
|
139
139
|
)
|
@@ -160,7 +160,7 @@ class Transfers(BaseSDK):
|
|
160
160
|
|
161
161
|
raise errors.APIError("Unexpected response received", http_res)
|
162
162
|
|
163
|
-
async def
|
163
|
+
async def generate_options_async(
|
164
164
|
self,
|
165
165
|
*,
|
166
166
|
account_id: str,
|
@@ -177,7 +177,7 @@ class Transfers(BaseSDK):
|
|
177
177
|
server_url: Optional[str] = None,
|
178
178
|
timeout_ms: Optional[int] = None,
|
179
179
|
http_headers: Optional[Mapping[str, str]] = None,
|
180
|
-
) -> operations.
|
180
|
+
) -> operations.CreateTransferOptionsResponse:
|
181
181
|
r"""Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
182
182
|
supply in the request body.
|
183
183
|
|
@@ -207,7 +207,7 @@ class Transfers(BaseSDK):
|
|
207
207
|
else:
|
208
208
|
base_url = self._get_url(base_url, url_variables)
|
209
209
|
|
210
|
-
request = operations.
|
210
|
+
request = operations.CreateTransferOptionsRequest(
|
211
211
|
account_id=account_id,
|
212
212
|
create_transfer_options=components.CreateTransferOptions(
|
213
213
|
source=utils.get_pydantic_model(
|
@@ -232,7 +232,7 @@ class Transfers(BaseSDK):
|
|
232
232
|
user_agent_header="user-agent",
|
233
233
|
accept_header_value="application/json",
|
234
234
|
http_headers=http_headers,
|
235
|
-
_globals=operations.
|
235
|
+
_globals=operations.CreateTransferOptionsGlobals(
|
236
236
|
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
237
237
|
),
|
238
238
|
security=self.sdk_configuration.security,
|
@@ -258,7 +258,7 @@ class Transfers(BaseSDK):
|
|
258
258
|
hook_ctx=HookContext(
|
259
259
|
config=self.sdk_configuration,
|
260
260
|
base_url=base_url or "",
|
261
|
-
operation_id="
|
261
|
+
operation_id="createTransferOptions",
|
262
262
|
oauth2_scopes=[],
|
263
263
|
security_source=get_security_from_env(
|
264
264
|
self.sdk_configuration.security, components.Security
|
@@ -281,7 +281,7 @@ class Transfers(BaseSDK):
|
|
281
281
|
|
282
282
|
response_data: Any = None
|
283
283
|
if utils.match_response(http_res, "200", "application/json"):
|
284
|
-
return operations.
|
284
|
+
return operations.CreateTransferOptionsResponse(
|
285
285
|
result=unmarshal_json_response(components.TransferOptions, http_res),
|
286
286
|
headers=utils.get_response_headers(http_res.headers),
|
287
287
|
)
|
@@ -2797,277 +2797,3 @@ class Transfers(BaseSDK):
|
|
2797
2797
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
2798
2798
|
|
2799
2799
|
raise errors.APIError("Unexpected response received", http_res)
|
2800
|
-
|
2801
|
-
def generate_options(
|
2802
|
-
self,
|
2803
|
-
*,
|
2804
|
-
source: Union[
|
2805
|
-
components.SourceDestinationOptions,
|
2806
|
-
components.SourceDestinationOptionsTypedDict,
|
2807
|
-
],
|
2808
|
-
destination: Union[
|
2809
|
-
components.SourceDestinationOptions,
|
2810
|
-
components.SourceDestinationOptionsTypedDict,
|
2811
|
-
],
|
2812
|
-
amount: Union[components.Amount, components.AmountTypedDict],
|
2813
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
2814
|
-
server_url: Optional[str] = None,
|
2815
|
-
timeout_ms: Optional[int] = None,
|
2816
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
2817
|
-
) -> operations.CreateTransferOptionsResponse:
|
2818
|
-
r"""Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
2819
|
-
supply in the request.
|
2820
|
-
|
2821
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
2822
|
-
|
2823
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
2824
|
-
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
2825
|
-
|
2826
|
-
:param source:
|
2827
|
-
:param destination:
|
2828
|
-
:param amount:
|
2829
|
-
:param retries: Override the default retry configuration for this method
|
2830
|
-
:param server_url: Override the default server URL for this method
|
2831
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
2832
|
-
:param http_headers: Additional headers to set or replace on requests.
|
2833
|
-
"""
|
2834
|
-
base_url = None
|
2835
|
-
url_variables = None
|
2836
|
-
if timeout_ms is None:
|
2837
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
2838
|
-
|
2839
|
-
if server_url is not None:
|
2840
|
-
base_url = server_url
|
2841
|
-
else:
|
2842
|
-
base_url = self._get_url(base_url, url_variables)
|
2843
|
-
|
2844
|
-
request = components.CreateTransferOptions(
|
2845
|
-
source=utils.get_pydantic_model(
|
2846
|
-
source, components.SourceDestinationOptions
|
2847
|
-
),
|
2848
|
-
destination=utils.get_pydantic_model(
|
2849
|
-
destination, components.SourceDestinationOptions
|
2850
|
-
),
|
2851
|
-
amount=utils.get_pydantic_model(amount, components.Amount),
|
2852
|
-
)
|
2853
|
-
|
2854
|
-
req = self._build_request(
|
2855
|
-
method="POST",
|
2856
|
-
path="/transfer-options",
|
2857
|
-
base_url=base_url,
|
2858
|
-
url_variables=url_variables,
|
2859
|
-
request=request,
|
2860
|
-
request_body_required=True,
|
2861
|
-
request_has_path_params=False,
|
2862
|
-
request_has_query_params=True,
|
2863
|
-
user_agent_header="user-agent",
|
2864
|
-
accept_header_value="application/json",
|
2865
|
-
http_headers=http_headers,
|
2866
|
-
_globals=operations.CreateTransferOptionsGlobals(
|
2867
|
-
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
2868
|
-
),
|
2869
|
-
security=self.sdk_configuration.security,
|
2870
|
-
get_serialized_body=lambda: utils.serialize_request_body(
|
2871
|
-
request, False, False, "json", components.CreateTransferOptions
|
2872
|
-
),
|
2873
|
-
timeout_ms=timeout_ms,
|
2874
|
-
)
|
2875
|
-
|
2876
|
-
if retries == UNSET:
|
2877
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
2878
|
-
retries = self.sdk_configuration.retry_config
|
2879
|
-
|
2880
|
-
retry_config = None
|
2881
|
-
if isinstance(retries, utils.RetryConfig):
|
2882
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
2883
|
-
|
2884
|
-
http_res = self.do_request(
|
2885
|
-
hook_ctx=HookContext(
|
2886
|
-
config=self.sdk_configuration,
|
2887
|
-
base_url=base_url or "",
|
2888
|
-
operation_id="createTransferOptions",
|
2889
|
-
oauth2_scopes=[],
|
2890
|
-
security_source=get_security_from_env(
|
2891
|
-
self.sdk_configuration.security, components.Security
|
2892
|
-
),
|
2893
|
-
),
|
2894
|
-
request=req,
|
2895
|
-
error_status_codes=[
|
2896
|
-
"400",
|
2897
|
-
"401",
|
2898
|
-
"403",
|
2899
|
-
"422",
|
2900
|
-
"429",
|
2901
|
-
"4XX",
|
2902
|
-
"500",
|
2903
|
-
"504",
|
2904
|
-
"5XX",
|
2905
|
-
],
|
2906
|
-
retry_config=retry_config,
|
2907
|
-
)
|
2908
|
-
|
2909
|
-
response_data: Any = None
|
2910
|
-
if utils.match_response(http_res, "200", "application/json"):
|
2911
|
-
return operations.CreateTransferOptionsResponse(
|
2912
|
-
result=unmarshal_json_response(components.TransferOptions, http_res),
|
2913
|
-
headers=utils.get_response_headers(http_res.headers),
|
2914
|
-
)
|
2915
|
-
if utils.match_response(http_res, "400", "application/json"):
|
2916
|
-
response_data = unmarshal_json_response(errors.GenericErrorData, http_res)
|
2917
|
-
raise errors.GenericError(response_data, http_res)
|
2918
|
-
if utils.match_response(http_res, "422", "application/json"):
|
2919
|
-
response_data = unmarshal_json_response(
|
2920
|
-
errors.TransferOptionsValidationErrorData, http_res
|
2921
|
-
)
|
2922
|
-
raise errors.TransferOptionsValidationError(response_data, http_res)
|
2923
|
-
if utils.match_response(http_res, ["401", "403", "429"], "*"):
|
2924
|
-
http_res_text = utils.stream_to_text(http_res)
|
2925
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
2926
|
-
if utils.match_response(http_res, ["500", "504"], "*"):
|
2927
|
-
http_res_text = utils.stream_to_text(http_res)
|
2928
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
2929
|
-
if utils.match_response(http_res, "4XX", "*"):
|
2930
|
-
http_res_text = utils.stream_to_text(http_res)
|
2931
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
2932
|
-
if utils.match_response(http_res, "5XX", "*"):
|
2933
|
-
http_res_text = utils.stream_to_text(http_res)
|
2934
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
2935
|
-
|
2936
|
-
raise errors.APIError("Unexpected response received", http_res)
|
2937
|
-
|
2938
|
-
async def generate_options_async(
|
2939
|
-
self,
|
2940
|
-
*,
|
2941
|
-
source: Union[
|
2942
|
-
components.SourceDestinationOptions,
|
2943
|
-
components.SourceDestinationOptionsTypedDict,
|
2944
|
-
],
|
2945
|
-
destination: Union[
|
2946
|
-
components.SourceDestinationOptions,
|
2947
|
-
components.SourceDestinationOptionsTypedDict,
|
2948
|
-
],
|
2949
|
-
amount: Union[components.Amount, components.AmountTypedDict],
|
2950
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
2951
|
-
server_url: Optional[str] = None,
|
2952
|
-
timeout_ms: Optional[int] = None,
|
2953
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
2954
|
-
) -> operations.CreateTransferOptionsResponse:
|
2955
|
-
r"""Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
2956
|
-
supply in the request.
|
2957
|
-
|
2958
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
2959
|
-
|
2960
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
2961
|
-
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
2962
|
-
|
2963
|
-
:param source:
|
2964
|
-
:param destination:
|
2965
|
-
:param amount:
|
2966
|
-
:param retries: Override the default retry configuration for this method
|
2967
|
-
:param server_url: Override the default server URL for this method
|
2968
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
2969
|
-
:param http_headers: Additional headers to set or replace on requests.
|
2970
|
-
"""
|
2971
|
-
base_url = None
|
2972
|
-
url_variables = None
|
2973
|
-
if timeout_ms is None:
|
2974
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
2975
|
-
|
2976
|
-
if server_url is not None:
|
2977
|
-
base_url = server_url
|
2978
|
-
else:
|
2979
|
-
base_url = self._get_url(base_url, url_variables)
|
2980
|
-
|
2981
|
-
request = components.CreateTransferOptions(
|
2982
|
-
source=utils.get_pydantic_model(
|
2983
|
-
source, components.SourceDestinationOptions
|
2984
|
-
),
|
2985
|
-
destination=utils.get_pydantic_model(
|
2986
|
-
destination, components.SourceDestinationOptions
|
2987
|
-
),
|
2988
|
-
amount=utils.get_pydantic_model(amount, components.Amount),
|
2989
|
-
)
|
2990
|
-
|
2991
|
-
req = self._build_request_async(
|
2992
|
-
method="POST",
|
2993
|
-
path="/transfer-options",
|
2994
|
-
base_url=base_url,
|
2995
|
-
url_variables=url_variables,
|
2996
|
-
request=request,
|
2997
|
-
request_body_required=True,
|
2998
|
-
request_has_path_params=False,
|
2999
|
-
request_has_query_params=True,
|
3000
|
-
user_agent_header="user-agent",
|
3001
|
-
accept_header_value="application/json",
|
3002
|
-
http_headers=http_headers,
|
3003
|
-
_globals=operations.CreateTransferOptionsGlobals(
|
3004
|
-
x_moov_version=self.sdk_configuration.globals.x_moov_version,
|
3005
|
-
),
|
3006
|
-
security=self.sdk_configuration.security,
|
3007
|
-
get_serialized_body=lambda: utils.serialize_request_body(
|
3008
|
-
request, False, False, "json", components.CreateTransferOptions
|
3009
|
-
),
|
3010
|
-
timeout_ms=timeout_ms,
|
3011
|
-
)
|
3012
|
-
|
3013
|
-
if retries == UNSET:
|
3014
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
3015
|
-
retries = self.sdk_configuration.retry_config
|
3016
|
-
|
3017
|
-
retry_config = None
|
3018
|
-
if isinstance(retries, utils.RetryConfig):
|
3019
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
3020
|
-
|
3021
|
-
http_res = await self.do_request_async(
|
3022
|
-
hook_ctx=HookContext(
|
3023
|
-
config=self.sdk_configuration,
|
3024
|
-
base_url=base_url or "",
|
3025
|
-
operation_id="createTransferOptions",
|
3026
|
-
oauth2_scopes=[],
|
3027
|
-
security_source=get_security_from_env(
|
3028
|
-
self.sdk_configuration.security, components.Security
|
3029
|
-
),
|
3030
|
-
),
|
3031
|
-
request=req,
|
3032
|
-
error_status_codes=[
|
3033
|
-
"400",
|
3034
|
-
"401",
|
3035
|
-
"403",
|
3036
|
-
"422",
|
3037
|
-
"429",
|
3038
|
-
"4XX",
|
3039
|
-
"500",
|
3040
|
-
"504",
|
3041
|
-
"5XX",
|
3042
|
-
],
|
3043
|
-
retry_config=retry_config,
|
3044
|
-
)
|
3045
|
-
|
3046
|
-
response_data: Any = None
|
3047
|
-
if utils.match_response(http_res, "200", "application/json"):
|
3048
|
-
return operations.CreateTransferOptionsResponse(
|
3049
|
-
result=unmarshal_json_response(components.TransferOptions, http_res),
|
3050
|
-
headers=utils.get_response_headers(http_res.headers),
|
3051
|
-
)
|
3052
|
-
if utils.match_response(http_res, "400", "application/json"):
|
3053
|
-
response_data = unmarshal_json_response(errors.GenericErrorData, http_res)
|
3054
|
-
raise errors.GenericError(response_data, http_res)
|
3055
|
-
if utils.match_response(http_res, "422", "application/json"):
|
3056
|
-
response_data = unmarshal_json_response(
|
3057
|
-
errors.TransferOptionsValidationErrorData, http_res
|
3058
|
-
)
|
3059
|
-
raise errors.TransferOptionsValidationError(response_data, http_res)
|
3060
|
-
if utils.match_response(http_res, ["401", "403", "429"], "*"):
|
3061
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
3062
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
3063
|
-
if utils.match_response(http_res, ["500", "504"], "*"):
|
3064
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
3065
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
3066
|
-
if utils.match_response(http_res, "4XX", "*"):
|
3067
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
3068
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
3069
|
-
if utils.match_response(http_res, "5XX", "*"):
|
3070
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
3071
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
3072
|
-
|
3073
|
-
raise errors.APIError("Unexpected response received", http_res)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: moovio_sdk
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.4
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9.2
|
@@ -1078,7 +1078,7 @@ you'll need to specify the `/terminal-applications.write` scope.
|
|
1078
1078
|
|
1079
1079
|
### [transfers](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/transfers/README.md)
|
1080
1080
|
|
1081
|
-
* [
|
1081
|
+
* [generate_options](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/transfers/README.md#generate_options) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
1082
1082
|
supply in the request body.
|
1083
1083
|
|
1084
1084
|
The accountID in the route should the partner's accountID.
|
@@ -1146,13 +1146,6 @@ to learn more.
|
|
1146
1146
|
|
1147
1147
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
1148
1148
|
to specify the `/accounts/{accountID}/transfers.write` scope.
|
1149
|
-
* [generate_options](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/transfers/README.md#generate_options) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
1150
|
-
supply in the request.
|
1151
|
-
|
1152
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
1153
|
-
|
1154
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1155
|
-
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
1156
1149
|
|
1157
1150
|
### [underwriting](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/underwriting/README.md)
|
1158
1151
|
|
@@ -1455,43 +1448,43 @@ with Moov(
|
|
1455
1448
|
|
1456
1449
|
|
1457
1450
|
**Inherit from [`MoovError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/mooverror.py)**:
|
1458
|
-
* [`GenericError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/genericerror.py): Applicable to
|
1459
|
-
* [`BrandValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/brandvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of
|
1460
|
-
* [`ScheduleValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/schedulevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
1461
|
-
* [`
|
1462
|
-
* [`
|
1463
|
-
* [`
|
1464
|
-
* [`
|
1465
|
-
* [`
|
1466
|
-
* [`
|
1467
|
-
* [`
|
1468
|
-
* [`
|
1469
|
-
* [`
|
1470
|
-
* [`
|
1471
|
-
* [`
|
1472
|
-
* [`
|
1473
|
-
* [`
|
1474
|
-
* [`
|
1475
|
-
* [`
|
1476
|
-
* [`
|
1477
|
-
* [`
|
1478
|
-
* [`
|
1479
|
-
* [`
|
1480
|
-
* [`
|
1481
|
-
* [`
|
1482
|
-
* [`
|
1483
|
-
* [`
|
1484
|
-
* [`TransferValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfervalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1485
|
-
* [`RefundValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/refundvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1486
|
-
* [`ReversalValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/reversalvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1487
|
-
* [`UpsertUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/upsertunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1488
|
-
* [`UpdateUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1489
|
-
* [`RequestCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/requestcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1490
|
-
* [`UpdateIssuedCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateissuedcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1491
|
-
* [`RevokeTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/revoketokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1492
|
-
* [`AuthTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/authtokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1493
|
-
* [`OnboardingInviteError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/onboardinginviteerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1494
|
-
* [`TerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/terminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
1451
|
+
* [`GenericError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/genericerror.py): Applicable to 61 of 142 methods.*
|
1452
|
+
* [`BrandValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/brandvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of 142 methods.*
|
1453
|
+
* [`ScheduleValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/schedulevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 142 methods.*
|
1454
|
+
* [`Transfer`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfer.py): Details of a Transfer. Status code `409`. Applicable to 1 of 142 methods.*
|
1455
|
+
* [`CardAcquiringRefund`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/cardacquiringrefund.py): Details of a card refund. Status code `409`. Applicable to 1 of 142 methods.*
|
1456
|
+
* [`CreateAccountResponseBody`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createaccountresponsebody.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1457
|
+
* [`UpdateAccountResponseBody`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateaccountresponsebody.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1458
|
+
* [`AssignCountriesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/assigncountrieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1459
|
+
* [`LinkApplePayError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkapplepayerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1460
|
+
* [`BankAccountValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/bankaccountvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1461
|
+
* [`MicroDepositValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/microdepositvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1462
|
+
* [`AddCapabilitiesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/addcapabilitieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1463
|
+
* [`LinkCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1464
|
+
* [`UpdateCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatecarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1465
|
+
* [`FileUploadValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/fileuploadvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1466
|
+
* [`FeePlanAgreementError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/feeplanagreementerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1467
|
+
* [`FileValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/filevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1468
|
+
* [`CreatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createpaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1469
|
+
* [`UpdatePaymentLinkError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updatepaymentlinkerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1470
|
+
* [`RepresentativeValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/representativevalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1471
|
+
* [`CreateSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1472
|
+
* [`PatchSweepConfigError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchsweepconfigerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1473
|
+
* [`AccountTerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/accountterminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1474
|
+
* [`CreateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1475
|
+
* [`UpdateTicketError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateticketerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1476
|
+
* [`TransferOptionsValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transferoptionsvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1477
|
+
* [`TransferValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfervalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1478
|
+
* [`RefundValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/refundvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1479
|
+
* [`ReversalValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/reversalvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1480
|
+
* [`UpsertUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/upsertunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1481
|
+
* [`UpdateUnderwritingError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateunderwritingerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1482
|
+
* [`RequestCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/requestcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1483
|
+
* [`UpdateIssuedCardError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/updateissuedcarderror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1484
|
+
* [`RevokeTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/revoketokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1485
|
+
* [`AuthTokenRequestError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/authtokenrequesterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1486
|
+
* [`OnboardingInviteError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/onboardinginviteerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1487
|
+
* [`TerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/terminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
1495
1488
|
* [`ResponseValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
1496
1489
|
|
1497
1490
|
</details>
|
@@ -3,7 +3,7 @@ moovio_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c
|
|
3
3
|
moovio_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
4
4
|
moovio_sdk/_hooks/sdkhooks.py,sha256=2XuMgiV2N7UE7lN00Is-c3spxVWigYitXS6xSmS_Qow,2560
|
5
5
|
moovio_sdk/_hooks/types.py,sha256=Yi9LD8_sd4zG7_idzCZY4MTxTXMhDlmCdpQvU4dXFI4,3049
|
6
|
-
moovio_sdk/_version.py,sha256=
|
6
|
+
moovio_sdk/_version.py,sha256=zjv0krIyoWEs8Yvm82Vc1yHFwvT7nxu7WAdwqNdKjo8,466
|
7
7
|
moovio_sdk/account_terminal_applications.py,sha256=FdmR9Yl_njyg2J-AK3d_I_OINKzkTZrq19JM4lHDzYM,38480
|
8
8
|
moovio_sdk/accounts.py,sha256=B82uLoV_GgKNYnUYfqFSePvla09WF-7Ws95tD51vBKI,100716
|
9
9
|
moovio_sdk/adjustments.py,sha256=U2AtbA2k71S1IpwjJ96LT4SdGUDqR3JEgOSvMm9a2yU,17613
|
@@ -390,7 +390,7 @@ moovio_sdk/models/components/taxidupdate.py,sha256=X2_Nw8Nvc0E1mahHDZqrqCKv4eyid
|
|
390
390
|
moovio_sdk/models/components/terminalapplication.py,sha256=GKmGi8i425YxFMW4BU_zTghe6YQkZ1Vc0w-LyiwEh3w,2455
|
391
391
|
moovio_sdk/models/components/terminalapplicationplatform.py,sha256=p-880ptVN5vub4DlYbP_VTPyPYuDEYMIZql2fI3FopU,296
|
392
392
|
moovio_sdk/models/components/terminalapplicationstatus.py,sha256=snaXCVyr1J3iEcrW09r3Mp1FtU46dbhGJgcTx3UlF04,326
|
393
|
-
moovio_sdk/models/components/terminalcard.py,sha256=
|
393
|
+
moovio_sdk/models/components/terminalcard.py,sha256=YPh3JRHQqRWKJrJxkUtv1KHMNWtpYe2STXGuFAPV9ek,3658
|
394
394
|
moovio_sdk/models/components/terminalconfiguration.py,sha256=cr5Rdj29p4F9bDrTI0ZpwRznr4OypV4tXb-NX4dT4f4,422
|
395
395
|
moovio_sdk/models/components/termsofservice.py,sha256=g_v_9ghfkFyf8OJTfuTy5hC1vCl3u3msGKl0tufIN6k,918
|
396
396
|
moovio_sdk/models/components/termsofserviceerror.py,sha256=KnpM_Tz-DH1GjqoIfQIIlq-9raPGVITItFbdot2m770,1093
|
@@ -522,7 +522,7 @@ moovio_sdk/models/errors/updateunderwritingerror.py,sha256=9Yvb0mE-TgADUbKPcmVGz
|
|
522
522
|
moovio_sdk/models/errors/upsertunderwritingerror.py,sha256=iiMZUIFT1beUXeeKw1HEDTb62XcywG6W2O4hxuQVNvQ,3110
|
523
523
|
moovio_sdk/models/internal/__init__.py,sha256=7kjDhcmI428H0YHeZHJRcKSXQE1N2dTPHi3FtLVFaMM,1120
|
524
524
|
moovio_sdk/models/internal/globals.py,sha256=uz3scUHVTLawU2bzU4ov4C3bSRwoNolTJ5O27QSMIgA,1701
|
525
|
-
moovio_sdk/models/operations/__init__.py,sha256=
|
525
|
+
moovio_sdk/models/operations/__init__.py,sha256=hEU8rEdDbBiat-CZ5MHlLwxf8JRKhI7MnRMar9pmJT0,122103
|
526
526
|
moovio_sdk/models/operations/acceptdispute.py,sha256=imJTeB7PuXqfKBqA-VkIAFFNpW92U7DMxPx7CEb9eDQ,2544
|
527
527
|
moovio_sdk/models/operations/assignaccountcountries.py,sha256=NIGZ5oNIW7Ei4Y7WNnMVqcYUSQgIq3o_TlR0_ptwLJg,2753
|
528
528
|
moovio_sdk/models/operations/cancelschedule.py,sha256=X0vmSDaW6vyM387Tf02KSBCZNggKxNYm_T0W5zJY494,2394
|
@@ -544,8 +544,7 @@ moovio_sdk/models/operations/createsweepconfig.py,sha256=mC-dbVIizvTJjYTygLrFOO-
|
|
544
544
|
moovio_sdk/models/operations/createterminalapplication.py,sha256=n7mnj-ixVXSV8El7dVhwueNm4Pd8xTiTefI1oayrIGE,2188
|
545
545
|
moovio_sdk/models/operations/createticket.py,sha256=GNg1dXQ3T4ywglSRkVN37nJ1ouiNU06tEousvPyZaJA,2663
|
546
546
|
moovio_sdk/models/operations/createtransfer.py,sha256=UeGpxBVsHy_sES-xLfdAqNFXExQxYgbPIQOOlAItzcU,4706
|
547
|
-
moovio_sdk/models/operations/createtransferoptions.py,sha256=
|
548
|
-
moovio_sdk/models/operations/createtransferoptionsforaccount.py,sha256=l0rIf6sLKZU4Kq5PvmTJtYYlMRqpvXuhgIn5_P7alT4,3005
|
547
|
+
moovio_sdk/models/operations/createtransferoptions.py,sha256=4bPqmO892YebolkzL3NeLQKylZu0neN5pUoEWdBpTm8,2945
|
549
548
|
moovio_sdk/models/operations/deletedisputeevidencefile.py,sha256=NHUuvakVuXiCwqI_gDDgjhFAAfKypztOzasr0S78KQE,2648
|
550
549
|
moovio_sdk/models/operations/deleterepresentative.py,sha256=H3bKQTMMsB9_wCqxfZqwgq-NljV5W-lGWzXIHEnxxv0,2582
|
551
550
|
moovio_sdk/models/operations/deleteterminalapplication.py,sha256=4PWTRg4RR--XoZK-ZZgjNYlMbefs-Diioc8Om1bbHO8,2307
|
@@ -679,7 +678,7 @@ moovio_sdk/sdkconfiguration.py,sha256=vvZHznUDI2m3Z8ddTKDFUXkQu4mNBGX8Q9Zx7XpR3W
|
|
679
678
|
moovio_sdk/support.py,sha256=0c71FrE0cI3juxZ07p_6kopwpxYrNndokE8ThVuOypQ,47657
|
680
679
|
moovio_sdk/sweeps.py,sha256=bp71dtVpazfJo3BmB7SKru5e9XLWgFKZEVJ4R-fw6WQ,61528
|
681
680
|
moovio_sdk/terminal_applications.py,sha256=dkqloZojg7fNo-cJ2HQxlwolKdKbgSljzBR6xz6E7tA,39457
|
682
|
-
moovio_sdk/transfers.py,sha256=
|
681
|
+
moovio_sdk/transfers.py,sha256=VqHZ4w2SHjVWoxY5AtqRBNAxcgY2N-aFLMKJ4XBMU7o,126143
|
683
682
|
moovio_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
684
683
|
moovio_sdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
685
684
|
moovio_sdk/underwriting.py,sha256=JoYSAiv8vOzVxZLcm9JYgtVoZQwuD0kp16odyyy49Kw,37104
|
@@ -702,6 +701,6 @@ moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
702
701
|
moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
703
702
|
moovio_sdk/wallet_transactions.py,sha256=rWA4_DLFg6QegHSA1GCsCQWx2EfO12vimnvYZg0dRbc,23208
|
704
703
|
moovio_sdk/wallets.py,sha256=V5yUDAo42AG9AlkMsY_9_mmF65JJM-9ApLJdxqIIZLE,17591
|
705
|
-
moovio_sdk-0.13.
|
706
|
-
moovio_sdk-0.13.
|
707
|
-
moovio_sdk-0.13.
|
704
|
+
moovio_sdk-0.13.4.dist-info/METADATA,sha256=ozn92NhsL7dY5drQh0darn24Oab4uwQ_cfk20FNLTwE,109468
|
705
|
+
moovio_sdk-0.13.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
706
|
+
moovio_sdk-0.13.4.dist-info/RECORD,,
|
@@ -1,82 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
from moovio_sdk.models.components import (
|
5
|
-
createtransferoptions as components_createtransferoptions,
|
6
|
-
transferoptions as components_transferoptions,
|
7
|
-
)
|
8
|
-
from moovio_sdk.types import BaseModel
|
9
|
-
from moovio_sdk.utils import (
|
10
|
-
FieldMetadata,
|
11
|
-
HeaderMetadata,
|
12
|
-
PathParamMetadata,
|
13
|
-
RequestMetadata,
|
14
|
-
)
|
15
|
-
import pydantic
|
16
|
-
from typing import Dict, List, Optional
|
17
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
18
|
-
|
19
|
-
|
20
|
-
class CreateTransferOptionsForAccountGlobalsTypedDict(TypedDict):
|
21
|
-
x_moov_version: NotRequired[str]
|
22
|
-
r"""Specify an API version.
|
23
|
-
|
24
|
-
API versioning follows the format `vYYYY.QQ.BB`, where
|
25
|
-
- `YYYY` is the year
|
26
|
-
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
27
|
-
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
28
|
-
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
29
|
-
|
30
|
-
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
31
|
-
"""
|
32
|
-
|
33
|
-
|
34
|
-
class CreateTransferOptionsForAccountGlobals(BaseModel):
|
35
|
-
x_moov_version: Annotated[
|
36
|
-
Optional[str],
|
37
|
-
pydantic.Field(alias="x-moov-version"),
|
38
|
-
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
39
|
-
] = "v2024.01.00"
|
40
|
-
r"""Specify an API version.
|
41
|
-
|
42
|
-
API versioning follows the format `vYYYY.QQ.BB`, where
|
43
|
-
- `YYYY` is the year
|
44
|
-
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
45
|
-
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
46
|
-
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
47
|
-
|
48
|
-
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
49
|
-
"""
|
50
|
-
|
51
|
-
|
52
|
-
class CreateTransferOptionsForAccountRequestTypedDict(TypedDict):
|
53
|
-
account_id: str
|
54
|
-
r"""The partner's Moov account ID."""
|
55
|
-
create_transfer_options: (
|
56
|
-
components_createtransferoptions.CreateTransferOptionsTypedDict
|
57
|
-
)
|
58
|
-
|
59
|
-
|
60
|
-
class CreateTransferOptionsForAccountRequest(BaseModel):
|
61
|
-
account_id: Annotated[
|
62
|
-
str,
|
63
|
-
pydantic.Field(alias="accountID"),
|
64
|
-
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
65
|
-
]
|
66
|
-
r"""The partner's Moov account ID."""
|
67
|
-
|
68
|
-
create_transfer_options: Annotated[
|
69
|
-
components_createtransferoptions.CreateTransferOptions,
|
70
|
-
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
71
|
-
]
|
72
|
-
|
73
|
-
|
74
|
-
class CreateTransferOptionsForAccountResponseTypedDict(TypedDict):
|
75
|
-
headers: Dict[str, List[str]]
|
76
|
-
result: components_transferoptions.TransferOptionsTypedDict
|
77
|
-
|
78
|
-
|
79
|
-
class CreateTransferOptionsForAccountResponse(BaseModel):
|
80
|
-
headers: Dict[str, List[str]]
|
81
|
-
|
82
|
-
result: components_transferoptions.TransferOptions
|
File without changes
|