moovio_sdk 0.3.8__py3-none-any.whl → 0.3.9__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/createterminalapplication.py +8 -8
- moovio_sdk/models/components/terminalapplication.py +8 -8
- moovio_sdk/terminal_applications.py +8 -8
- moovio_sdk/utils/serializers.py +9 -5
- {moovio_sdk-0.3.8.dist-info → moovio_sdk-0.3.9.dist-info}/METADATA +2 -2
- {moovio_sdk-0.3.8.dist-info → moovio_sdk-0.3.9.dist-info}/RECORD +8 -8
- {moovio_sdk-0.3.8.dist-info → moovio_sdk-0.3.9.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.3.
|
6
|
+
__version__: str = "0.3.9"
|
7
7
|
__openapi_doc_version__: str = "latest"
|
8
|
-
__gen_version__: str = "2.
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
8
|
+
__gen_version__: str = "2.545.2"
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.9 2.545.2 latest moovio_sdk"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
@@ -14,13 +14,13 @@ class CreateTerminalApplicationTypedDict(TypedDict):
|
|
14
14
|
platform: TerminalApplicationPlatform
|
15
15
|
r"""Platform of the terminal application."""
|
16
16
|
app_bundle_id: NotRequired[str]
|
17
|
-
r"""The app bundle identifier of the terminal application. Required if platform is ios
|
17
|
+
r"""The app bundle identifier of the terminal application. Required if platform is `ios`."""
|
18
18
|
package_name: NotRequired[str]
|
19
|
-
r"""The app package name of the terminal application. Required if platform is android
|
19
|
+
r"""The app package name of the terminal application. Required if platform is `android`."""
|
20
20
|
sha256_digest: NotRequired[str]
|
21
|
-
r"""The app version of the terminal application. Required if paltform is android
|
21
|
+
r"""The app version of the terminal application. Required if paltform is `android`."""
|
22
22
|
version_code: NotRequired[str]
|
23
|
-
r"""The app version of the terminal application. Required if platform is android
|
23
|
+
r"""The app version of the terminal application. Required if platform is `android`."""
|
24
24
|
|
25
25
|
|
26
26
|
class CreateTerminalApplication(BaseModel):
|
@@ -30,13 +30,13 @@ class CreateTerminalApplication(BaseModel):
|
|
30
30
|
r"""Platform of the terminal application."""
|
31
31
|
|
32
32
|
app_bundle_id: Annotated[Optional[str], pydantic.Field(alias="appBundleID")] = None
|
33
|
-
r"""The app bundle identifier of the terminal application. Required if platform is ios
|
33
|
+
r"""The app bundle identifier of the terminal application. Required if platform is `ios`."""
|
34
34
|
|
35
35
|
package_name: Annotated[Optional[str], pydantic.Field(alias="packageName")] = None
|
36
|
-
r"""The app package name of the terminal application. Required if platform is android
|
36
|
+
r"""The app package name of the terminal application. Required if platform is `android`."""
|
37
37
|
|
38
38
|
sha256_digest: Annotated[Optional[str], pydantic.Field(alias="sha256Digest")] = None
|
39
|
-
r"""The app version of the terminal application. Required if paltform is android
|
39
|
+
r"""The app version of the terminal application. Required if paltform is `android`."""
|
40
40
|
|
41
41
|
version_code: Annotated[Optional[str], pydantic.Field(alias="versionCode")] = None
|
42
|
-
r"""The app version of the terminal application. Required if platform is android
|
42
|
+
r"""The app version of the terminal application. Required if platform is `android`."""
|
@@ -19,13 +19,13 @@ class TerminalApplicationTypedDict(TypedDict):
|
|
19
19
|
platform: TerminalApplicationPlatform
|
20
20
|
r"""Platform of the terminal application."""
|
21
21
|
app_bundle_id: NotRequired[str]
|
22
|
-
r"""The app bundle identifier of the terminal application. Will be returned if platform is ios
|
22
|
+
r"""The app bundle identifier of the terminal application. Will be returned if platform is `ios`."""
|
23
23
|
package_name: NotRequired[str]
|
24
|
-
r"""The app package name of the terminal application. Will be returned if platform is android
|
24
|
+
r"""The app package name of the terminal application. Will be returned if platform is `android`."""
|
25
25
|
sha256_digest: NotRequired[str]
|
26
|
-
r"""The app version of the terminal application Will be returned if platform is android
|
26
|
+
r"""The app version of the terminal application Will be returned if platform is `android`."""
|
27
27
|
version_code: NotRequired[str]
|
28
|
-
r"""The app version of the terminal application Will be returned if platform is android
|
28
|
+
r"""The app version of the terminal application Will be returned if platform is `android`."""
|
29
29
|
|
30
30
|
|
31
31
|
class TerminalApplication(BaseModel):
|
@@ -43,13 +43,13 @@ class TerminalApplication(BaseModel):
|
|
43
43
|
r"""Platform of the terminal application."""
|
44
44
|
|
45
45
|
app_bundle_id: Annotated[Optional[str], pydantic.Field(alias="appBundleID")] = None
|
46
|
-
r"""The app bundle identifier of the terminal application. Will be returned if platform is ios
|
46
|
+
r"""The app bundle identifier of the terminal application. Will be returned if platform is `ios`."""
|
47
47
|
|
48
48
|
package_name: Annotated[Optional[str], pydantic.Field(alias="packageName")] = None
|
49
|
-
r"""The app package name of the terminal application. Will be returned if platform is android
|
49
|
+
r"""The app package name of the terminal application. Will be returned if platform is `android`."""
|
50
50
|
|
51
51
|
sha256_digest: Annotated[Optional[str], pydantic.Field(alias="sha256Digest")] = None
|
52
|
-
r"""The app version of the terminal application Will be returned if platform is android
|
52
|
+
r"""The app version of the terminal application Will be returned if platform is `android`."""
|
53
53
|
|
54
54
|
version_code: Annotated[Optional[str], pydantic.Field(alias="versionCode")] = None
|
55
|
-
r"""The app version of the terminal application Will be returned if platform is android
|
55
|
+
r"""The app version of the terminal application Will be returned if platform is `android`."""
|
@@ -29,10 +29,10 @@ class TerminalApplications(BaseSDK):
|
|
29
29
|
you'll need to specify the `/terminalApplications.write` scope.
|
30
30
|
|
31
31
|
:param platform: Platform of the terminal application.
|
32
|
-
:param app_bundle_id: The app bundle identifier of the terminal application. Required if platform is ios
|
33
|
-
:param package_name: The app package name of the terminal application. Required if platform is android
|
34
|
-
:param sha256_digest: The app version of the terminal application. Required if paltform is android
|
35
|
-
:param version_code: The app version of the terminal application. Required if platform is android
|
32
|
+
:param app_bundle_id: The app bundle identifier of the terminal application. Required if platform is `ios`.
|
33
|
+
:param package_name: The app package name of the terminal application. Required if platform is `android`.
|
34
|
+
:param sha256_digest: The app version of the terminal application. Required if paltform is `android`.
|
35
|
+
:param version_code: The app version of the terminal application. Required if platform is `android`.
|
36
36
|
:param retries: Override the default retry configuration for this method
|
37
37
|
:param server_url: Override the default server URL for this method
|
38
38
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
@@ -177,10 +177,10 @@ class TerminalApplications(BaseSDK):
|
|
177
177
|
you'll need to specify the `/terminalApplications.write` scope.
|
178
178
|
|
179
179
|
:param platform: Platform of the terminal application.
|
180
|
-
:param app_bundle_id: The app bundle identifier of the terminal application. Required if platform is ios
|
181
|
-
:param package_name: The app package name of the terminal application. Required if platform is android
|
182
|
-
:param sha256_digest: The app version of the terminal application. Required if paltform is android
|
183
|
-
:param version_code: The app version of the terminal application. Required if platform is android
|
180
|
+
:param app_bundle_id: The app bundle identifier of the terminal application. Required if platform is `ios`.
|
181
|
+
:param package_name: The app package name of the terminal application. Required if platform is `android`.
|
182
|
+
:param sha256_digest: The app version of the terminal application. Required if paltform is `android`.
|
183
|
+
:param version_code: The app version of the terminal application. Required if platform is `android`.
|
184
184
|
:param retries: Override the default retry configuration for this method
|
185
185
|
:param server_url: Override the default server URL for this method
|
186
186
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
moovio_sdk/utils/serializers.py
CHANGED
@@ -7,14 +7,15 @@ import httpx
|
|
7
7
|
from typing_extensions import get_origin
|
8
8
|
from pydantic import ConfigDict, create_model
|
9
9
|
from pydantic_core import from_json
|
10
|
-
from
|
10
|
+
from typing_inspection.typing_objects import is_union
|
11
11
|
|
12
12
|
from ..types.basemodel import BaseModel, Nullable, OptionalNullable, Unset
|
13
13
|
|
14
14
|
|
15
15
|
def serialize_decimal(as_str: bool):
|
16
16
|
def serialize(d):
|
17
|
-
|
17
|
+
# Optional[T] is a Union[T, None]
|
18
|
+
if is_union(type(d)) and type(None) in get_args(type(d)) and d is None:
|
18
19
|
return None
|
19
20
|
if isinstance(d, Unset):
|
20
21
|
return d
|
@@ -42,7 +43,8 @@ def validate_decimal(d):
|
|
42
43
|
|
43
44
|
def serialize_float(as_str: bool):
|
44
45
|
def serialize(f):
|
45
|
-
|
46
|
+
# Optional[T] is a Union[T, None]
|
47
|
+
if is_union(type(f)) and type(None) in get_args(type(f)) and f is None:
|
46
48
|
return None
|
47
49
|
if isinstance(f, Unset):
|
48
50
|
return f
|
@@ -70,7 +72,8 @@ def validate_float(f):
|
|
70
72
|
|
71
73
|
def serialize_int(as_str: bool):
|
72
74
|
def serialize(i):
|
73
|
-
|
75
|
+
# Optional[T] is a Union[T, None]
|
76
|
+
if is_union(type(i)) and type(None) in get_args(type(i)) and i is None:
|
74
77
|
return None
|
75
78
|
if isinstance(i, Unset):
|
76
79
|
return i
|
@@ -118,7 +121,8 @@ def validate_open_enum(is_int: bool):
|
|
118
121
|
|
119
122
|
def validate_const(v):
|
120
123
|
def validate(c):
|
121
|
-
|
124
|
+
# Optional[T] is a Union[T, None]
|
125
|
+
if is_union(type(c)) and type(None) in get_args(type(c)) and c is None:
|
122
126
|
return None
|
123
127
|
|
124
128
|
if v != c:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: moovio_sdk
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.9
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9
|
@@ -14,7 +14,7 @@ Requires-Dist: eval-type-backport (>=0.2.0)
|
|
14
14
|
Requires-Dist: httpx (>=0.28.1)
|
15
15
|
Requires-Dist: pydantic (>=2.10.3)
|
16
16
|
Requires-Dist: python-dateutil (>=2.8.2)
|
17
|
-
Requires-Dist: typing-
|
17
|
+
Requires-Dist: typing-inspection (>=0.4.0)
|
18
18
|
Project-URL: Documentation, https://docs.moov.io/
|
19
19
|
Project-URL: Homepage, https://moov.io/
|
20
20
|
Project-URL: Repository, https://github.com/moovfinancial/moov-python.git
|
@@ -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=xAyw_8EoIrUHL-zLoqXrogOkBq1ZFICNGZfp9xne2ww,2813
|
6
|
-
moovio_sdk/_version.py,sha256=
|
6
|
+
moovio_sdk/_version.py,sha256=X_AWJWvDrLhUZLEJoSidP8Z4UyuonhbaNCbprJbPl-Y,464
|
7
7
|
moovio_sdk/accounts.py,sha256=owJJuChHd-iucAiR4JWlaMYD1oKvjzCYSO6rckje6vs,107907
|
8
8
|
moovio_sdk/adjustments.py,sha256=m7S8Vn0KB4bMaTQTX50sCPvNZr72kjA6DTLxeJ2U-fc,19272
|
9
9
|
moovio_sdk/apple_pay.py,sha256=D5agY7yrZrZEtuadtY0_oQq3bSRpTy_bUG90T0iXDck,60723
|
@@ -151,7 +151,7 @@ moovio_sdk/models/components/createrefundresponse.py,sha256=HR0jQ_liHzN-n3GKsVsf
|
|
151
151
|
moovio_sdk/models/components/createrepresentative.py,sha256=s96vpJi63rn_eoSyBpfPTPVt06K4QrdOW5Qv-Zvpj8g,1773
|
152
152
|
moovio_sdk/models/components/createreversal.py,sha256=Su8LFP2dXo_84EUe54n67m7ZhMoqQCo5EYjh_987nQk,534
|
153
153
|
moovio_sdk/models/components/createsweepconfig.py,sha256=wwaBYecuKBgZhZCzhfPc47zZjixPc8zrRXr1WbeCLkI,1572
|
154
|
-
moovio_sdk/models/components/createterminalapplication.py,sha256=
|
154
|
+
moovio_sdk/models/components/createterminalapplication.py,sha256=qFaF7CGqgsFNchG3TfIPZvY-3o_n-BG-CLsxWVyB7fE,1976
|
155
155
|
moovio_sdk/models/components/createtransfer.py,sha256=aUMxmB3pzZ7OVWxy4raghscZeORc1wKnNv7dwnZeiA0,2060
|
156
156
|
moovio_sdk/models/components/createtransferdestination.py,sha256=scEOQUi5sqGHwLYCcMAj64DV_RceTKd2GylgqJIFKNQ,1268
|
157
157
|
moovio_sdk/models/components/createtransferdestinationach.py,sha256=j3oOkMzBeV3cDuk7CX3FksGo9vfyDRz8mD7r89EPSxo,1062
|
@@ -334,7 +334,7 @@ moovio_sdk/models/components/sweepconfigstatus.py,sha256=8tmbGIJLrSwCl_8zEUZpffJ
|
|
334
334
|
moovio_sdk/models/components/sweepstatus.py,sha256=YA564vw2Ssav2ApmX759gglEvccESDjaT16St-DExRI,316
|
335
335
|
moovio_sdk/models/components/taxid.py,sha256=FlIbSAU1A7lpdwn-_Z_RBHlFJwY7rtMjKDD9yjxHTWA,638
|
336
336
|
moovio_sdk/models/components/taxidupdate.py,sha256=xA71BaMKWdE6TQLBHGmC9r0LS8g9OkORf4mQi9hgoI8,731
|
337
|
-
moovio_sdk/models/components/terminalapplication.py,sha256=
|
337
|
+
moovio_sdk/models/components/terminalapplication.py,sha256=GKmGi8i425YxFMW4BU_zTghe6YQkZ1Vc0w-LyiwEh3w,2455
|
338
338
|
moovio_sdk/models/components/terminalapplicationplatform.py,sha256=p-880ptVN5vub4DlYbP_VTPyPYuDEYMIZql2fI3FopU,296
|
339
339
|
moovio_sdk/models/components/terminalapplicationstatus.py,sha256=snaXCVyr1J3iEcrW09r3Mp1FtU46dbhGJgcTx3UlF04,326
|
340
340
|
moovio_sdk/models/components/termsofservice.py,sha256=g_v_9ghfkFyf8OJTfuTy5hC1vCl3u3msGKl0tufIN6k,918
|
@@ -559,7 +559,7 @@ moovio_sdk/scheduling.py,sha256=NY6aBbpq3Pm7iEHzHcBenEr7F2zwp1Xrpj8MC9KRr_g,6536
|
|
559
559
|
moovio_sdk/sdk.py,sha256=J6rXCBZ4_c5GE3duJR9mb2FExgDfFo9Qe2ixxUOXIvw,10045
|
560
560
|
moovio_sdk/sdkconfiguration.py,sha256=7NP1kNUcms-14o77cdoPmV7ZGWTtCLqqMTWN6pdwm-8,1822
|
561
561
|
moovio_sdk/sweeps.py,sha256=6QLuQRTQRRQ3qRyG9ZBPz1fkK3tnZeRAg_0YK6Scdts,66711
|
562
|
-
moovio_sdk/terminal_applications.py,sha256=
|
562
|
+
moovio_sdk/terminal_applications.py,sha256=MJVg8ikMsL8Pb90-7Tgmv-qKivpuom7nH_N2wy8L9H0,42822
|
563
563
|
moovio_sdk/transfers.py,sha256=OXubA3dXZlJs5zdZfsSsurf9tGI6JmVRvJKLzPVJoZ4,131702
|
564
564
|
moovio_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
565
565
|
moovio_sdk/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
@@ -576,11 +576,11 @@ moovio_sdk/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHE
|
|
576
576
|
moovio_sdk/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
577
577
|
moovio_sdk/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
578
578
|
moovio_sdk/utils/security.py,sha256=BsH7JYMMBVykWbbF_zg6piMh0R8TPidQ8D2_RbzlKs8,6104
|
579
|
-
moovio_sdk/utils/serializers.py,sha256=
|
579
|
+
moovio_sdk/utils/serializers.py,sha256=QnZYapciPo23C4_rrZVZwseQErG9eHkEd2Z0hp2q2WI,5214
|
580
580
|
moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
581
581
|
moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
582
582
|
moovio_sdk/wallet_transactions.py,sha256=gP5AYXIn4LkCtm1ncheuWGxZCK0d67b20UIDheo_Khg,24943
|
583
583
|
moovio_sdk/wallets.py,sha256=5RcHiuHxBDi2YmK0V83s1hwEN-29aFar17LsQIYXpo0,19250
|
584
|
-
moovio_sdk-0.3.
|
585
|
-
moovio_sdk-0.3.
|
586
|
-
moovio_sdk-0.3.
|
584
|
+
moovio_sdk-0.3.9.dist-info/METADATA,sha256=RaK8WZwX31wg-6_oeK5Fd2wYTViM3q2m3Tm4RWB3Q5A,103757
|
585
|
+
moovio_sdk-0.3.9.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
586
|
+
moovio_sdk-0.3.9.dist-info/RECORD,,
|
File without changes
|