moovio_sdk 0.14.6__py3-none-any.whl → 0.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of moovio_sdk might be problematic. Click here for more details.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/accounts.py +4 -4
- moovio_sdk/models/components/__init__.py +89 -0
- moovio_sdk/models/components/account.py +2 -2
- moovio_sdk/models/components/achfees.py +59 -0
- moovio_sdk/models/components/billingcountandamount.py +25 -0
- moovio_sdk/models/components/billinginterchangeprogramfee.py +57 -0
- moovio_sdk/models/components/billingsummary.py +102 -0
- moovio_sdk/models/components/billingsummarydetails.py +36 -0
- moovio_sdk/models/components/billingsummaryinterchange.py +36 -0
- moovio_sdk/models/components/cardacquiringfees.py +36 -0
- moovio_sdk/models/components/cardbrandfees.py +87 -0
- moovio_sdk/models/components/instantpaymentfees.py +71 -0
- moovio_sdk/models/components/othercardfees.py +47 -0
- moovio_sdk/models/components/platformfees.py +31 -0
- moovio_sdk/models/components/profile.py +2 -2
- moovio_sdk/models/components/statement.py +110 -0
- moovio_sdk/models/components/webhookbillingstatementcreated.py +14 -0
- moovio_sdk/models/components/webhookdata.py +32 -26
- moovio_sdk/models/components/webhookeventtype.py +1 -0
- moovio_sdk/models/operations/__init__.py +46 -0
- moovio_sdk/models/operations/getstatement.py +83 -0
- moovio_sdk/models/operations/listaccounts.py +4 -0
- moovio_sdk/models/operations/liststatements.py +100 -0
- moovio_sdk/sdk.py +3 -0
- moovio_sdk/statements.py +471 -0
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/METADATA +54 -41
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/RECORD +29 -13
- {moovio_sdk-0.14.6.dist-info → moovio_sdk-0.15.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
import httpx
|
|
5
|
+
from moovio_sdk.models.components import statement as components_statement
|
|
6
|
+
from moovio_sdk.types import BaseModel
|
|
7
|
+
from moovio_sdk.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
|
|
8
|
+
import pydantic
|
|
9
|
+
from typing import Dict, List, Optional, Union
|
|
10
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class GetStatementGlobalsTypedDict(TypedDict):
|
|
14
|
+
x_moov_version: NotRequired[str]
|
|
15
|
+
r"""Specify an API version.
|
|
16
|
+
|
|
17
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
18
|
+
- `YYYY` is the year
|
|
19
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
20
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
21
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
22
|
+
|
|
23
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class GetStatementGlobals(BaseModel):
|
|
28
|
+
x_moov_version: Annotated[
|
|
29
|
+
Optional[str],
|
|
30
|
+
pydantic.Field(alias="x-moov-version"),
|
|
31
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
32
|
+
] = "v2024.01.00"
|
|
33
|
+
r"""Specify an API version.
|
|
34
|
+
|
|
35
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
36
|
+
- `YYYY` is the year
|
|
37
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
38
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
39
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
40
|
+
|
|
41
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class GetStatementRequestTypedDict(TypedDict):
|
|
46
|
+
account_id: str
|
|
47
|
+
statement_id: str
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class GetStatementRequest(BaseModel):
|
|
51
|
+
account_id: Annotated[
|
|
52
|
+
str,
|
|
53
|
+
pydantic.Field(alias="accountID"),
|
|
54
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
statement_id: Annotated[
|
|
58
|
+
str,
|
|
59
|
+
pydantic.Field(alias="statementID"),
|
|
60
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
GetStatementResponseResultTypedDict = TypeAliasType(
|
|
65
|
+
"GetStatementResponseResultTypedDict",
|
|
66
|
+
Union[components_statement.StatementTypedDict, httpx.Response],
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
GetStatementResponseResult = TypeAliasType(
|
|
71
|
+
"GetStatementResponseResult", Union[components_statement.Statement, httpx.Response]
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class GetStatementResponseTypedDict(TypedDict):
|
|
76
|
+
headers: Dict[str, List[str]]
|
|
77
|
+
result: GetStatementResponseResultTypedDict
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class GetStatementResponse(BaseModel):
|
|
81
|
+
headers: Dict[str, List[str]]
|
|
82
|
+
|
|
83
|
+
result: GetStatementResponseResult
|
|
@@ -56,6 +56,8 @@ class ListAccountsRequestTypedDict(TypedDict):
|
|
|
56
56
|
<li>Individual Profile `firstName`, `middleName`, and `lastName`</li>
|
|
57
57
|
<li>Business Profile `legalBusinessName`</li>
|
|
58
58
|
</ul>
|
|
59
|
+
|
|
60
|
+
Filtering by Guest Profile `name` is not currently supported.
|
|
59
61
|
"""
|
|
60
62
|
email: NotRequired[str]
|
|
61
63
|
r"""Filter connected accounts by email address.
|
|
@@ -99,6 +101,8 @@ class ListAccountsRequest(BaseModel):
|
|
|
99
101
|
<li>Individual Profile `firstName`, `middleName`, and `lastName`</li>
|
|
100
102
|
<li>Business Profile `legalBusinessName`</li>
|
|
101
103
|
</ul>
|
|
104
|
+
|
|
105
|
+
Filtering by Guest Profile `name` is not currently supported.
|
|
102
106
|
"""
|
|
103
107
|
|
|
104
108
|
email: Annotated[
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from moovio_sdk.models.components import statement as components_statement
|
|
6
|
+
from moovio_sdk.types import BaseModel
|
|
7
|
+
from moovio_sdk.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
HeaderMetadata,
|
|
10
|
+
PathParamMetadata,
|
|
11
|
+
QueryParamMetadata,
|
|
12
|
+
)
|
|
13
|
+
import pydantic
|
|
14
|
+
from typing import Dict, List, Optional
|
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class ListStatementsGlobalsTypedDict(TypedDict):
|
|
19
|
+
x_moov_version: NotRequired[str]
|
|
20
|
+
r"""Specify an API version.
|
|
21
|
+
|
|
22
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
23
|
+
- `YYYY` is the year
|
|
24
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
25
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
26
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
|
+
|
|
28
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ListStatementsGlobals(BaseModel):
|
|
33
|
+
x_moov_version: Annotated[
|
|
34
|
+
Optional[str],
|
|
35
|
+
pydantic.Field(alias="x-moov-version"),
|
|
36
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
37
|
+
] = "v2024.01.00"
|
|
38
|
+
r"""Specify an API version.
|
|
39
|
+
|
|
40
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
41
|
+
- `YYYY` is the year
|
|
42
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
43
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
44
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
45
|
+
|
|
46
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ListStatementsRequestTypedDict(TypedDict):
|
|
51
|
+
account_id: str
|
|
52
|
+
billing_period_start_date_time: NotRequired[datetime]
|
|
53
|
+
r"""Optional date-time which inclusively filters all statements where billing period is on or after this date-time."""
|
|
54
|
+
billing_period_end_date_time: NotRequired[datetime]
|
|
55
|
+
r"""Optional date-time which exclusively filters all statements where billing period is before this date-time."""
|
|
56
|
+
skip: NotRequired[int]
|
|
57
|
+
count: NotRequired[int]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class ListStatementsRequest(BaseModel):
|
|
61
|
+
account_id: Annotated[
|
|
62
|
+
str,
|
|
63
|
+
pydantic.Field(alias="accountID"),
|
|
64
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
billing_period_start_date_time: Annotated[
|
|
68
|
+
Optional[datetime],
|
|
69
|
+
pydantic.Field(alias="billingPeriodStartDateTime"),
|
|
70
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
71
|
+
] = None
|
|
72
|
+
r"""Optional date-time which inclusively filters all statements where billing period is on or after this date-time."""
|
|
73
|
+
|
|
74
|
+
billing_period_end_date_time: Annotated[
|
|
75
|
+
Optional[datetime],
|
|
76
|
+
pydantic.Field(alias="billingPeriodEndDateTime"),
|
|
77
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
78
|
+
] = None
|
|
79
|
+
r"""Optional date-time which exclusively filters all statements where billing period is before this date-time."""
|
|
80
|
+
|
|
81
|
+
skip: Annotated[
|
|
82
|
+
Optional[int],
|
|
83
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
84
|
+
] = None
|
|
85
|
+
|
|
86
|
+
count: Annotated[
|
|
87
|
+
Optional[int],
|
|
88
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
89
|
+
] = None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class ListStatementsResponseTypedDict(TypedDict):
|
|
93
|
+
headers: Dict[str, List[str]]
|
|
94
|
+
result: List[components_statement.StatementTypedDict]
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class ListStatementsResponse(BaseModel):
|
|
98
|
+
headers: Dict[str, List[str]]
|
|
99
|
+
|
|
100
|
+
result: List[components_statement.Statement]
|
moovio_sdk/sdk.py
CHANGED
|
@@ -43,6 +43,7 @@ if TYPE_CHECKING:
|
|
|
43
43
|
from moovio_sdk.receipts import Receipts
|
|
44
44
|
from moovio_sdk.representatives import Representatives
|
|
45
45
|
from moovio_sdk.scheduling import Scheduling
|
|
46
|
+
from moovio_sdk.statements import Statements
|
|
46
47
|
from moovio_sdk.support import Support
|
|
47
48
|
from moovio_sdk.sweeps import Sweeps
|
|
48
49
|
from moovio_sdk.terminal_applications import TerminalApplications
|
|
@@ -73,6 +74,7 @@ class Moov(BaseSDK):
|
|
|
73
74
|
payment_methods: "PaymentMethods"
|
|
74
75
|
representatives: "Representatives"
|
|
75
76
|
scheduling: "Scheduling"
|
|
77
|
+
statements: "Statements"
|
|
76
78
|
sweeps: "Sweeps"
|
|
77
79
|
account_terminal_applications: "AccountTerminalApplications"
|
|
78
80
|
support: "Support"
|
|
@@ -108,6 +110,7 @@ class Moov(BaseSDK):
|
|
|
108
110
|
"payment_methods": ("moovio_sdk.payment_methods", "PaymentMethods"),
|
|
109
111
|
"representatives": ("moovio_sdk.representatives", "Representatives"),
|
|
110
112
|
"scheduling": ("moovio_sdk.scheduling", "Scheduling"),
|
|
113
|
+
"statements": ("moovio_sdk.statements", "Statements"),
|
|
111
114
|
"sweeps": ("moovio_sdk.sweeps", "Sweeps"),
|
|
112
115
|
"account_terminal_applications": (
|
|
113
116
|
"moovio_sdk.account_terminal_applications",
|