moovio_sdk 0.14.3__py3-none-any.whl → 0.14.5__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/createticket.py +9 -1
- moovio_sdk/models/components/ticket.py +3 -0
- moovio_sdk/models/components/underwritingstatus.py +2 -2
- moovio_sdk/models/components/webhookdata.py +16 -16
- moovio_sdk/models/components/webhookdataticketcreated.py +5 -1
- moovio_sdk/models/components/webhookdataticketmessageadded.py +5 -1
- moovio_sdk/models/components/webhookdataticketupdated.py +5 -1
- moovio_sdk/models/errors/accountterminalapplicationerror.py +4 -2
- moovio_sdk/models/errors/addcapabilitieserror.py +4 -2
- moovio_sdk/models/errors/apierror.py +2 -0
- moovio_sdk/models/errors/assigncountrieserror.py +4 -2
- moovio_sdk/models/errors/authtokenrequesterror.py +4 -2
- moovio_sdk/models/errors/bankaccountvalidationerror.py +4 -2
- moovio_sdk/models/errors/brandvalidationerror.py +4 -2
- moovio_sdk/models/errors/cardacquiringrefund.py +4 -2
- moovio_sdk/models/errors/createaccounterror.py +4 -2
- moovio_sdk/models/errors/createpaymentlinkerror.py +4 -2
- moovio_sdk/models/errors/createsweepconfigerror.py +4 -2
- moovio_sdk/models/errors/createticketerror.py +10 -2
- moovio_sdk/models/errors/createwalleterror.py +4 -2
- moovio_sdk/models/errors/feeplanagreementerror.py +4 -2
- moovio_sdk/models/errors/fileuploadvalidationerror.py +4 -2
- moovio_sdk/models/errors/filevalidationerror.py +4 -2
- moovio_sdk/models/errors/genericerror.py +4 -2
- moovio_sdk/models/errors/linkapplepayerror.py +4 -2
- moovio_sdk/models/errors/linkcarderror.py +4 -2
- moovio_sdk/models/errors/microdepositvalidationerror.py +4 -2
- moovio_sdk/models/errors/mooverror.py +11 -7
- moovio_sdk/models/errors/no_response_error.py +5 -1
- moovio_sdk/models/errors/onboardinginviteerror.py +4 -2
- moovio_sdk/models/errors/patchaccounterror.py +4 -2
- moovio_sdk/models/errors/patchsweepconfigerror.py +4 -2
- moovio_sdk/models/errors/patchwalleterror.py +4 -2
- moovio_sdk/models/errors/refundvalidationerror.py +4 -2
- moovio_sdk/models/errors/representativevalidationerror.py +4 -2
- moovio_sdk/models/errors/requestcarderror.py +4 -2
- moovio_sdk/models/errors/responsevalidationerror.py +2 -0
- moovio_sdk/models/errors/reversalvalidationerror.py +4 -2
- moovio_sdk/models/errors/revoketokenrequesterror.py +4 -2
- moovio_sdk/models/errors/schedulevalidationerror.py +4 -2
- moovio_sdk/models/errors/terminalapplicationerror.py +4 -2
- moovio_sdk/models/errors/transfer.py +4 -2
- moovio_sdk/models/errors/transferoptionsvalidationerror.py +4 -2
- moovio_sdk/models/errors/transfervalidationerror.py +4 -2
- moovio_sdk/models/errors/updatecarderror.py +4 -2
- moovio_sdk/models/errors/updateissuedcarderror.py +4 -2
- moovio_sdk/models/errors/updatepaymentlinkerror.py +4 -2
- moovio_sdk/models/errors/updateticketerror.py +4 -2
- moovio_sdk/models/errors/updateunderwritingerror.py +4 -2
- moovio_sdk/models/errors/upsertunderwritingerror.py +4 -2
- moovio_sdk/models/operations/listtickets.py +7 -0
- moovio_sdk/support.py +18 -0
- {moovio_sdk-0.14.3.dist-info → moovio_sdk-0.14.5.dist-info}/METADATA +1 -1
- {moovio_sdk-0.14.3.dist-info → moovio_sdk-0.14.5.dist-info}/RECORD +56 -56
- {moovio_sdk-0.14.3.dist-info → moovio_sdk-0.14.5.dist-info}/WHEEL +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
end2endencryptionerror as components_end2endencryptionerror,
|
@@ -38,8 +39,9 @@ class LinkCardErrorData(BaseModel):
|
|
38
39
|
verify_name: Annotated[Optional[str], pydantic.Field(alias="verifyName")] = None
|
39
40
|
|
40
41
|
|
42
|
+
@dataclass(frozen=True)
|
41
43
|
class LinkCardError(MoovError):
|
42
|
-
data: LinkCardErrorData
|
44
|
+
data: LinkCardErrorData = field(hash=False)
|
43
45
|
|
44
46
|
def __init__(
|
45
47
|
self,
|
@@ -49,4 +51,4 @@ class LinkCardError(MoovError):
|
|
49
51
|
):
|
50
52
|
message = body or raw_response.text
|
51
53
|
super().__init__(message, raw_response, body)
|
52
|
-
self
|
54
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -11,8 +12,9 @@ class MicroDepositValidationErrorData(BaseModel):
|
|
11
12
|
amounts: Optional[str] = None
|
12
13
|
|
13
14
|
|
15
|
+
@dataclass(frozen=True)
|
14
16
|
class MicroDepositValidationError(MoovError):
|
15
|
-
data: MicroDepositValidationErrorData
|
17
|
+
data: MicroDepositValidationErrorData = field(hash=False)
|
16
18
|
|
17
19
|
def __init__(
|
18
20
|
self,
|
@@ -22,4 +24,4 @@ class MicroDepositValidationError(MoovError):
|
|
22
24
|
):
|
23
25
|
message = body or raw_response.text
|
24
26
|
super().__init__(message, raw_response, body)
|
25
|
-
self
|
27
|
+
object.__setattr__(self, "data", data)
|
@@ -2,25 +2,29 @@
|
|
2
2
|
|
3
3
|
import httpx
|
4
4
|
from typing import Optional
|
5
|
+
from dataclasses import dataclass, field
|
5
6
|
|
6
7
|
|
8
|
+
@dataclass(frozen=True)
|
7
9
|
class MoovError(Exception):
|
8
10
|
"""The base class for all HTTP error responses."""
|
9
11
|
|
10
12
|
message: str
|
11
13
|
status_code: int
|
12
14
|
body: str
|
13
|
-
headers: httpx.Headers
|
14
|
-
raw_response: httpx.Response
|
15
|
+
headers: httpx.Headers = field(hash=False)
|
16
|
+
raw_response: httpx.Response = field(hash=False)
|
15
17
|
|
16
18
|
def __init__(
|
17
19
|
self, message: str, raw_response: httpx.Response, body: Optional[str] = None
|
18
20
|
):
|
19
|
-
self
|
20
|
-
self
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
object.__setattr__(self, "message", message)
|
22
|
+
object.__setattr__(self, "status_code", raw_response.status_code)
|
23
|
+
object.__setattr__(
|
24
|
+
self, "body", body if body is not None else raw_response.text
|
25
|
+
)
|
26
|
+
object.__setattr__(self, "headers", raw_response.headers)
|
27
|
+
object.__setattr__(self, "raw_response", raw_response)
|
24
28
|
|
25
29
|
def __str__(self):
|
26
30
|
return self.message
|
@@ -1,12 +1,16 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
|
+
from dataclasses import dataclass
|
4
|
+
|
5
|
+
|
6
|
+
@dataclass(frozen=True)
|
3
7
|
class NoResponseError(Exception):
|
4
8
|
"""Error raised when no HTTP response is received from the server."""
|
5
9
|
|
6
10
|
message: str
|
7
11
|
|
8
12
|
def __init__(self, message: str = "No response received"):
|
9
|
-
self
|
13
|
+
object.__setattr__(self, "message", message)
|
10
14
|
super().__init__(message)
|
11
15
|
|
12
16
|
def __str__(self):
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -25,8 +26,9 @@ class OnboardingInviteErrorData(BaseModel):
|
|
25
26
|
] = None
|
26
27
|
|
27
28
|
|
29
|
+
@dataclass(frozen=True)
|
28
30
|
class OnboardingInviteError(MoovError):
|
29
|
-
data: OnboardingInviteErrorData
|
31
|
+
data: OnboardingInviteErrorData = field(hash=False)
|
30
32
|
|
31
33
|
def __init__(
|
32
34
|
self,
|
@@ -36,4 +38,4 @@ class OnboardingInviteError(MoovError):
|
|
36
38
|
):
|
37
39
|
message = body or raw_response.text
|
38
40
|
super().__init__(message, raw_response, body)
|
39
|
-
self
|
41
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
createaccountsettings as components_createaccountsettings,
|
@@ -37,8 +38,9 @@ class PatchAccountErrorData(BaseModel):
|
|
37
38
|
error: Optional[str] = None
|
38
39
|
|
39
40
|
|
41
|
+
@dataclass(frozen=True)
|
40
42
|
class PatchAccountError(MoovError):
|
41
|
-
data: PatchAccountErrorData
|
43
|
+
data: PatchAccountErrorData = field(hash=False)
|
42
44
|
|
43
45
|
def __init__(
|
44
46
|
self,
|
@@ -48,4 +50,4 @@ class PatchAccountError(MoovError):
|
|
48
50
|
):
|
49
51
|
message = body or raw_response.text
|
50
52
|
super().__init__(message, raw_response, body)
|
51
|
-
self
|
53
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -29,8 +30,9 @@ class PatchSweepConfigErrorData(BaseModel):
|
|
29
30
|
] = None
|
30
31
|
|
31
32
|
|
33
|
+
@dataclass(frozen=True)
|
32
34
|
class PatchSweepConfigError(MoovError):
|
33
|
-
data: PatchSweepConfigErrorData
|
35
|
+
data: PatchSweepConfigErrorData = field(hash=False)
|
34
36
|
|
35
37
|
def __init__(
|
36
38
|
self,
|
@@ -40,4 +42,4 @@ class PatchSweepConfigError(MoovError):
|
|
40
42
|
):
|
41
43
|
message = body or raw_response.text
|
42
44
|
super().__init__(message, raw_response, body)
|
43
|
-
self
|
45
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -17,8 +18,9 @@ class PatchWalletErrorData(BaseModel):
|
|
17
18
|
metadata: Optional[str] = None
|
18
19
|
|
19
20
|
|
21
|
+
@dataclass(frozen=True)
|
20
22
|
class PatchWalletError(MoovError):
|
21
|
-
data: PatchWalletErrorData
|
23
|
+
data: PatchWalletErrorData = field(hash=False)
|
22
24
|
|
23
25
|
def __init__(
|
24
26
|
self,
|
@@ -28,4 +30,4 @@ class PatchWalletError(MoovError):
|
|
28
30
|
):
|
29
31
|
message = body or raw_response.text
|
30
32
|
super().__init__(message, raw_response, body)
|
31
|
-
self
|
33
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -14,8 +15,9 @@ class RefundValidationErrorData(BaseModel):
|
|
14
15
|
r"""Used for generic errors when invalid request data isn't attributed to a single request field."""
|
15
16
|
|
16
17
|
|
18
|
+
@dataclass(frozen=True)
|
17
19
|
class RefundValidationError(MoovError):
|
18
|
-
data: RefundValidationErrorData
|
20
|
+
data: RefundValidationErrorData = field(hash=False)
|
19
21
|
|
20
22
|
def __init__(
|
21
23
|
self,
|
@@ -25,4 +27,4 @@ class RefundValidationError(MoovError):
|
|
25
27
|
):
|
26
28
|
message = body or raw_response.text
|
27
29
|
super().__init__(message, raw_response, body)
|
28
|
-
self
|
30
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
addresserror as components_addresserror,
|
@@ -59,8 +60,9 @@ class RepresentativeValidationErrorData(BaseModel):
|
|
59
60
|
error: Error
|
60
61
|
|
61
62
|
|
63
|
+
@dataclass(frozen=True)
|
62
64
|
class RepresentativeValidationError(MoovError):
|
63
|
-
data: RepresentativeValidationErrorData
|
65
|
+
data: RepresentativeValidationErrorData = field(hash=False)
|
64
66
|
|
65
67
|
def __init__(
|
66
68
|
self,
|
@@ -70,4 +72,4 @@ class RepresentativeValidationError(MoovError):
|
|
70
72
|
):
|
71
73
|
message = body or raw_response.text
|
72
74
|
super().__init__(message, raw_response, body)
|
73
|
-
self
|
75
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
cardexpirationerror as components_cardexpirationerror,
|
@@ -33,8 +34,9 @@ class RequestCardErrorData(BaseModel):
|
|
33
34
|
controls: Optional[components_issuingcontrolserror.IssuingControlsError] = None
|
34
35
|
|
35
36
|
|
37
|
+
@dataclass(frozen=True)
|
36
38
|
class RequestCardError(MoovError):
|
37
|
-
data: RequestCardErrorData
|
39
|
+
data: RequestCardErrorData = field(hash=False)
|
38
40
|
|
39
41
|
def __init__(
|
40
42
|
self,
|
@@ -44,4 +46,4 @@ class RequestCardError(MoovError):
|
|
44
46
|
):
|
45
47
|
message = body or raw_response.text
|
46
48
|
super().__init__(message, raw_response, body)
|
47
|
-
self
|
49
|
+
object.__setattr__(self, "data", data)
|
@@ -2,10 +2,12 @@
|
|
2
2
|
|
3
3
|
import httpx
|
4
4
|
from typing import Optional
|
5
|
+
from dataclasses import dataclass
|
5
6
|
|
6
7
|
from moovio_sdk.models.errors import MoovError
|
7
8
|
|
8
9
|
|
10
|
+
@dataclass(frozen=True)
|
9
11
|
class ResponseValidationError(MoovError):
|
10
12
|
"""Error raised when there is a type mismatch between the response data and the expected Pydantic model."""
|
11
13
|
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -11,8 +12,9 @@ class ReversalValidationErrorData(BaseModel):
|
|
11
12
|
amount: Optional[str] = None
|
12
13
|
|
13
14
|
|
15
|
+
@dataclass(frozen=True)
|
14
16
|
class ReversalValidationError(MoovError):
|
15
|
-
data: ReversalValidationErrorData
|
17
|
+
data: ReversalValidationErrorData = field(hash=False)
|
16
18
|
|
17
19
|
def __init__(
|
18
20
|
self,
|
@@ -22,4 +24,4 @@ class ReversalValidationError(MoovError):
|
|
22
24
|
):
|
23
25
|
message = body or raw_response.text
|
24
26
|
super().__init__(message, raw_response, body)
|
25
|
-
self
|
27
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -13,8 +14,9 @@ class RevokeTokenRequestErrorData(BaseModel):
|
|
13
14
|
token_type_hint: Optional[str] = None
|
14
15
|
|
15
16
|
|
17
|
+
@dataclass(frozen=True)
|
16
18
|
class RevokeTokenRequestError(MoovError):
|
17
|
-
data: RevokeTokenRequestErrorData
|
19
|
+
data: RevokeTokenRequestErrorData = field(hash=False)
|
18
20
|
|
19
21
|
def __init__(
|
20
22
|
self,
|
@@ -24,4 +26,4 @@ class RevokeTokenRequestError(MoovError):
|
|
24
26
|
):
|
25
27
|
message = body or raw_response.text
|
26
28
|
super().__init__(message, raw_response, body)
|
27
|
-
self
|
29
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -15,8 +16,9 @@ class ScheduleValidationErrorData(BaseModel):
|
|
15
16
|
description: Optional[str] = None
|
16
17
|
|
17
18
|
|
19
|
+
@dataclass(frozen=True)
|
18
20
|
class ScheduleValidationError(MoovError):
|
19
|
-
data: ScheduleValidationErrorData
|
21
|
+
data: ScheduleValidationErrorData = field(hash=False)
|
20
22
|
|
21
23
|
def __init__(
|
22
24
|
self,
|
@@ -26,4 +28,4 @@ class ScheduleValidationError(MoovError):
|
|
26
28
|
):
|
27
29
|
message = body or raw_response.text
|
28
30
|
super().__init__(message, raw_response, body)
|
29
|
-
self
|
31
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -21,8 +22,9 @@ class TerminalApplicationErrorData(BaseModel):
|
|
21
22
|
version_code: Annotated[Optional[str], pydantic.Field(alias="versionCode")] = None
|
22
23
|
|
23
24
|
|
25
|
+
@dataclass(frozen=True)
|
24
26
|
class TerminalApplicationError(MoovError):
|
25
|
-
data: TerminalApplicationErrorData
|
27
|
+
data: TerminalApplicationErrorData = field(hash=False)
|
26
28
|
|
27
29
|
def __init__(
|
28
30
|
self,
|
@@ -32,4 +34,4 @@ class TerminalApplicationError(MoovError):
|
|
32
34
|
):
|
33
35
|
message = body or raw_response.text
|
34
36
|
super().__init__(message, raw_response, body)
|
35
|
-
self
|
37
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
from datetime import datetime
|
5
6
|
import httpx
|
6
7
|
from moovio_sdk.models.components import (
|
@@ -115,10 +116,11 @@ class TransferData(BaseModel):
|
|
115
116
|
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
116
117
|
|
117
118
|
|
119
|
+
@dataclass(frozen=True)
|
118
120
|
class Transfer(MoovError):
|
119
121
|
r"""Details of a Transfer."""
|
120
122
|
|
121
|
-
data: TransferData
|
123
|
+
data: TransferData = field(hash=False)
|
122
124
|
|
123
125
|
def __init__(
|
124
126
|
self,
|
@@ -128,4 +130,4 @@ class Transfer(MoovError):
|
|
128
130
|
):
|
129
131
|
message = body or raw_response.text
|
130
132
|
super().__init__(message, raw_response, body)
|
131
|
-
self
|
133
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -15,8 +16,9 @@ class TransferOptionsValidationErrorData(BaseModel):
|
|
15
16
|
destination: Optional[str] = None
|
16
17
|
|
17
18
|
|
19
|
+
@dataclass(frozen=True)
|
18
20
|
class TransferOptionsValidationError(MoovError):
|
19
|
-
data: TransferOptionsValidationErrorData
|
21
|
+
data: TransferOptionsValidationErrorData = field(hash=False)
|
20
22
|
|
21
23
|
def __init__(
|
22
24
|
self,
|
@@ -26,4 +28,4 @@ class TransferOptionsValidationError(MoovError):
|
|
26
28
|
):
|
27
29
|
message = body or raw_response.text
|
28
30
|
super().__init__(message, raw_response, body)
|
29
|
-
self
|
31
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -40,8 +41,9 @@ class TransferValidationErrorData(BaseModel):
|
|
40
41
|
r"""Used for generic errors when invalid request data isn't attributed to a single request field."""
|
41
42
|
|
42
43
|
|
44
|
+
@dataclass(frozen=True)
|
43
45
|
class TransferValidationError(MoovError):
|
44
|
-
data: TransferValidationErrorData
|
46
|
+
data: TransferValidationErrorData = field(hash=False)
|
45
47
|
|
46
48
|
def __init__(
|
47
49
|
self,
|
@@ -51,4 +53,4 @@ class TransferValidationError(MoovError):
|
|
51
53
|
):
|
52
54
|
message = body or raw_response.text
|
53
55
|
super().__init__(message, raw_response, body)
|
54
|
-
self
|
56
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
end2endencryptionerror as components_end2endencryptionerror,
|
@@ -34,8 +35,9 @@ class UpdateCardErrorData(BaseModel):
|
|
34
35
|
holder_name: Annotated[Optional[str], pydantic.Field(alias="holderName")] = None
|
35
36
|
|
36
37
|
|
38
|
+
@dataclass(frozen=True)
|
37
39
|
class UpdateCardError(MoovError):
|
38
|
-
data: UpdateCardErrorData
|
40
|
+
data: UpdateCardErrorData = field(hash=False)
|
39
41
|
|
40
42
|
def __init__(
|
41
43
|
self,
|
@@ -45,4 +47,4 @@ class UpdateCardError(MoovError):
|
|
45
47
|
):
|
46
48
|
message = body or raw_response.text
|
47
49
|
super().__init__(message, raw_response, body)
|
48
|
-
self
|
50
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
createauthorizedusererror as components_createauthorizedusererror,
|
@@ -23,8 +24,9 @@ class UpdateIssuedCardErrorData(BaseModel):
|
|
23
24
|
] = None
|
24
25
|
|
25
26
|
|
27
|
+
@dataclass(frozen=True)
|
26
28
|
class UpdateIssuedCardError(MoovError):
|
27
|
-
data: UpdateIssuedCardErrorData
|
29
|
+
data: UpdateIssuedCardErrorData = field(hash=False)
|
28
30
|
|
29
31
|
def __init__(
|
30
32
|
self,
|
@@ -34,4 +36,4 @@ class UpdateIssuedCardError(MoovError):
|
|
34
36
|
):
|
35
37
|
message = body or raw_response.text
|
36
38
|
super().__init__(message, raw_response, body)
|
37
|
-
self
|
39
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
amountvalidationerror as components_amountvalidationerror,
|
@@ -27,8 +28,9 @@ class UpdatePaymentLinkErrorData(BaseModel):
|
|
27
28
|
payout: Optional[components_payoutdetailserror.PayoutDetailsError] = None
|
28
29
|
|
29
30
|
|
31
|
+
@dataclass(frozen=True)
|
30
32
|
class UpdatePaymentLinkError(MoovError):
|
31
|
-
data: UpdatePaymentLinkErrorData
|
33
|
+
data: UpdatePaymentLinkErrorData = field(hash=False)
|
32
34
|
|
33
35
|
def __init__(
|
34
36
|
self,
|
@@ -38,4 +40,4 @@ class UpdatePaymentLinkError(MoovError):
|
|
38
40
|
):
|
39
41
|
message = body or raw_response.text
|
40
42
|
super().__init__(message, raw_response, body)
|
41
|
-
self
|
43
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.errors import MoovError
|
6
7
|
from moovio_sdk.types import BaseModel
|
@@ -11,8 +12,9 @@ class UpdateTicketErrorData(BaseModel):
|
|
11
12
|
status: Optional[str] = None
|
12
13
|
|
13
14
|
|
15
|
+
@dataclass(frozen=True)
|
14
16
|
class UpdateTicketError(MoovError):
|
15
|
-
data: UpdateTicketErrorData
|
17
|
+
data: UpdateTicketErrorData = field(hash=False)
|
16
18
|
|
17
19
|
def __init__(
|
18
20
|
self,
|
@@ -22,4 +24,4 @@ class UpdateTicketError(MoovError):
|
|
22
24
|
):
|
23
25
|
message = body or raw_response.text
|
24
26
|
super().__init__(message, raw_response, body)
|
25
|
-
self
|
27
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
cardvolumedistributionerror as components_cardvolumedistributionerror,
|
@@ -61,8 +62,9 @@ class UpdateUnderwritingErrorData(BaseModel):
|
|
61
62
|
error: UpdateUnderwritingErrorError
|
62
63
|
|
63
64
|
|
65
|
+
@dataclass(frozen=True)
|
64
66
|
class UpdateUnderwritingError(MoovError):
|
65
|
-
data: UpdateUnderwritingErrorData
|
67
|
+
data: UpdateUnderwritingErrorData = field(hash=False)
|
66
68
|
|
67
69
|
def __init__(
|
68
70
|
self,
|
@@ -72,4 +74,4 @@ class UpdateUnderwritingError(MoovError):
|
|
72
74
|
):
|
73
75
|
message = body or raw_response.text
|
74
76
|
super().__init__(message, raw_response, body)
|
75
|
-
self
|
77
|
+
object.__setattr__(self, "data", data)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
|
+
from dataclasses import dataclass, field
|
4
5
|
import httpx
|
5
6
|
from moovio_sdk.models.components import (
|
6
7
|
cardvolumedistributionerror as components_cardvolumedistributionerror,
|
@@ -82,8 +83,9 @@ class UpsertUnderwritingErrorData(BaseModel):
|
|
82
83
|
] = None
|
83
84
|
|
84
85
|
|
86
|
+
@dataclass(frozen=True)
|
85
87
|
class UpsertUnderwritingError(MoovError):
|
86
|
-
data: UpsertUnderwritingErrorData
|
88
|
+
data: UpsertUnderwritingErrorData = field(hash=False)
|
87
89
|
|
88
90
|
def __init__(
|
89
91
|
self,
|
@@ -93,4 +95,4 @@ class UpsertUnderwritingError(MoovError):
|
|
93
95
|
):
|
94
96
|
message = body or raw_response.text
|
95
97
|
super().__init__(message, raw_response, body)
|
96
|
-
self
|
98
|
+
object.__setattr__(self, "data", data)
|
@@ -55,6 +55,7 @@ class ListTicketsRequestTypedDict(TypedDict):
|
|
55
55
|
cursor: NotRequired[str]
|
56
56
|
count: NotRequired[int]
|
57
57
|
status: NotRequired[components_ticketstatus.TicketStatus]
|
58
|
+
foreign_id: NotRequired[str]
|
58
59
|
|
59
60
|
|
60
61
|
class ListTicketsRequest(BaseModel):
|
@@ -79,6 +80,12 @@ class ListTicketsRequest(BaseModel):
|
|
79
80
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
80
81
|
] = None
|
81
82
|
|
83
|
+
foreign_id: Annotated[
|
84
|
+
Optional[str],
|
85
|
+
pydantic.Field(alias="foreignID"),
|
86
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
87
|
+
] = None
|
88
|
+
|
82
89
|
|
83
90
|
class ListTicketsResponseBodyTypedDict(TypedDict):
|
84
91
|
r"""A paginated list of items. The `nextPage` field is omitted if there are no more pages available."""
|