moovio_sdk 0.14.7__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/models/components/__init__.py +89 -0
- 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/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/liststatements.py +100 -0
- moovio_sdk/sdk.py +3 -0
- moovio_sdk/statements.py +471 -0
- {moovio_sdk-0.14.7.dist-info → moovio_sdk-0.15.0.dist-info}/METADATA +53 -40
- {moovio_sdk-0.14.7.dist-info → moovio_sdk-0.15.0.dist-info}/RECORD +25 -9
- {moovio_sdk-0.14.7.dist-info → moovio_sdk-0.15.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .billingcountandamount import BillingCountAndAmount, BillingCountAndAmountTypedDict
|
|
5
|
+
from .billinginterchangeprogramfee import (
|
|
6
|
+
BillingInterchangeProgramFee,
|
|
7
|
+
BillingInterchangeProgramFeeTypedDict,
|
|
8
|
+
)
|
|
9
|
+
from moovio_sdk.types import BaseModel
|
|
10
|
+
import pydantic
|
|
11
|
+
from typing import List, Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CardBrandFeesTypedDict(TypedDict):
|
|
16
|
+
r"""A detailed breakdown of fees for a specific card brand."""
|
|
17
|
+
|
|
18
|
+
total: BillingCountAndAmountTypedDict
|
|
19
|
+
r"""Total fees for this card brand."""
|
|
20
|
+
interchange: NotRequired[BillingCountAndAmountTypedDict]
|
|
21
|
+
r"""Details of interchange fees."""
|
|
22
|
+
interchange_programs: NotRequired[List[BillingInterchangeProgramFeeTypedDict]]
|
|
23
|
+
r"""A list of interchange program fees."""
|
|
24
|
+
network_passthrough: NotRequired[BillingCountAndAmountTypedDict]
|
|
25
|
+
r"""Details of network passthrough fees."""
|
|
26
|
+
completed_domestic_online: NotRequired[BillingCountAndAmountTypedDict]
|
|
27
|
+
r"""Details of completed domestic online transactions."""
|
|
28
|
+
completed_domestic_in_person: NotRequired[BillingCountAndAmountTypedDict]
|
|
29
|
+
r"""Details of completed domestic in-person transactions."""
|
|
30
|
+
completed_international_online: NotRequired[BillingCountAndAmountTypedDict]
|
|
31
|
+
r"""Details of completed international online transactions."""
|
|
32
|
+
completed_international_in_person: NotRequired[BillingCountAndAmountTypedDict]
|
|
33
|
+
r"""Details of completed international in-person transactions."""
|
|
34
|
+
declines: NotRequired[BillingCountAndAmountTypedDict]
|
|
35
|
+
r"""Details of declined transactions."""
|
|
36
|
+
refunds: NotRequired[BillingCountAndAmountTypedDict]
|
|
37
|
+
r"""Details of refunded transactions."""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class CardBrandFees(BaseModel):
|
|
41
|
+
r"""A detailed breakdown of fees for a specific card brand."""
|
|
42
|
+
|
|
43
|
+
total: BillingCountAndAmount
|
|
44
|
+
r"""Total fees for this card brand."""
|
|
45
|
+
|
|
46
|
+
interchange: Optional[BillingCountAndAmount] = None
|
|
47
|
+
r"""Details of interchange fees."""
|
|
48
|
+
|
|
49
|
+
interchange_programs: Annotated[
|
|
50
|
+
Optional[List[BillingInterchangeProgramFee]],
|
|
51
|
+
pydantic.Field(alias="interchangePrograms"),
|
|
52
|
+
] = None
|
|
53
|
+
r"""A list of interchange program fees."""
|
|
54
|
+
|
|
55
|
+
network_passthrough: Annotated[
|
|
56
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="networkPassthrough")
|
|
57
|
+
] = None
|
|
58
|
+
r"""Details of network passthrough fees."""
|
|
59
|
+
|
|
60
|
+
completed_domestic_online: Annotated[
|
|
61
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="completedDomesticOnline")
|
|
62
|
+
] = None
|
|
63
|
+
r"""Details of completed domestic online transactions."""
|
|
64
|
+
|
|
65
|
+
completed_domestic_in_person: Annotated[
|
|
66
|
+
Optional[BillingCountAndAmount],
|
|
67
|
+
pydantic.Field(alias="completedDomesticInPerson"),
|
|
68
|
+
] = None
|
|
69
|
+
r"""Details of completed domestic in-person transactions."""
|
|
70
|
+
|
|
71
|
+
completed_international_online: Annotated[
|
|
72
|
+
Optional[BillingCountAndAmount],
|
|
73
|
+
pydantic.Field(alias="completedInternationalOnline"),
|
|
74
|
+
] = None
|
|
75
|
+
r"""Details of completed international online transactions."""
|
|
76
|
+
|
|
77
|
+
completed_international_in_person: Annotated[
|
|
78
|
+
Optional[BillingCountAndAmount],
|
|
79
|
+
pydantic.Field(alias="completedInternationalInPerson"),
|
|
80
|
+
] = None
|
|
81
|
+
r"""Details of completed international in-person transactions."""
|
|
82
|
+
|
|
83
|
+
declines: Optional[BillingCountAndAmount] = None
|
|
84
|
+
r"""Details of declined transactions."""
|
|
85
|
+
|
|
86
|
+
refunds: Optional[BillingCountAndAmount] = None
|
|
87
|
+
r"""Details of refunded transactions."""
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .billingcountandamount import BillingCountAndAmount, BillingCountAndAmountTypedDict
|
|
5
|
+
from moovio_sdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class InstantPaymentFeesTypedDict(TypedDict):
|
|
12
|
+
r"""A detailed breakdown of instant payment fees."""
|
|
13
|
+
|
|
14
|
+
rtp_credit_transaction: BillingCountAndAmountTypedDict
|
|
15
|
+
r"""Fees for RTP credit transactions."""
|
|
16
|
+
push_to_card_transaction: BillingCountAndAmountTypedDict
|
|
17
|
+
r"""Fees for push-to-card transactions."""
|
|
18
|
+
pull_from_card_transaction: BillingCountAndAmountTypedDict
|
|
19
|
+
r"""Fees for pull-from-card transactions."""
|
|
20
|
+
total: BillingCountAndAmountTypedDict
|
|
21
|
+
r"""Total instant payment fees."""
|
|
22
|
+
rtp_decline: NotRequired[BillingCountAndAmountTypedDict]
|
|
23
|
+
r"""Fees for RTP declines."""
|
|
24
|
+
push_to_card_decline: NotRequired[BillingCountAndAmountTypedDict]
|
|
25
|
+
r"""Fees for push-to-card declines."""
|
|
26
|
+
pull_from_card_decline: NotRequired[BillingCountAndAmountTypedDict]
|
|
27
|
+
r"""Fees for pull-from-card declines."""
|
|
28
|
+
pull_from_card_refund: NotRequired[BillingCountAndAmountTypedDict]
|
|
29
|
+
r"""Fees for pull-from-card refunds."""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class InstantPaymentFees(BaseModel):
|
|
33
|
+
r"""A detailed breakdown of instant payment fees."""
|
|
34
|
+
|
|
35
|
+
rtp_credit_transaction: Annotated[
|
|
36
|
+
BillingCountAndAmount, pydantic.Field(alias="rtpCreditTransaction")
|
|
37
|
+
]
|
|
38
|
+
r"""Fees for RTP credit transactions."""
|
|
39
|
+
|
|
40
|
+
push_to_card_transaction: Annotated[
|
|
41
|
+
BillingCountAndAmount, pydantic.Field(alias="pushToCardTransaction")
|
|
42
|
+
]
|
|
43
|
+
r"""Fees for push-to-card transactions."""
|
|
44
|
+
|
|
45
|
+
pull_from_card_transaction: Annotated[
|
|
46
|
+
BillingCountAndAmount, pydantic.Field(alias="pullFromCardTransaction")
|
|
47
|
+
]
|
|
48
|
+
r"""Fees for pull-from-card transactions."""
|
|
49
|
+
|
|
50
|
+
total: BillingCountAndAmount
|
|
51
|
+
r"""Total instant payment fees."""
|
|
52
|
+
|
|
53
|
+
rtp_decline: Annotated[
|
|
54
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="rtpDecline")
|
|
55
|
+
] = None
|
|
56
|
+
r"""Fees for RTP declines."""
|
|
57
|
+
|
|
58
|
+
push_to_card_decline: Annotated[
|
|
59
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="pushToCardDecline")
|
|
60
|
+
] = None
|
|
61
|
+
r"""Fees for push-to-card declines."""
|
|
62
|
+
|
|
63
|
+
pull_from_card_decline: Annotated[
|
|
64
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="pullFromCardDecline")
|
|
65
|
+
] = None
|
|
66
|
+
r"""Fees for pull-from-card declines."""
|
|
67
|
+
|
|
68
|
+
pull_from_card_refund: Annotated[
|
|
69
|
+
Optional[BillingCountAndAmount], pydantic.Field(alias="pullFromCardRefund")
|
|
70
|
+
] = None
|
|
71
|
+
r"""Fees for pull-from-card refunds."""
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .billingcountandamount import BillingCountAndAmount, BillingCountAndAmountTypedDict
|
|
5
|
+
from moovio_sdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OtherCardFeesTypedDict(TypedDict):
|
|
11
|
+
r"""A detailed breakdown of other card-related fees."""
|
|
12
|
+
|
|
13
|
+
disputes: BillingCountAndAmountTypedDict
|
|
14
|
+
r"""Fees for disputes."""
|
|
15
|
+
card_account_updater: BillingCountAndAmountTypedDict
|
|
16
|
+
r"""Fees for card account updater services."""
|
|
17
|
+
card_verification: BillingCountAndAmountTypedDict
|
|
18
|
+
r"""Fees for card verification."""
|
|
19
|
+
name_verification: BillingCountAndAmountTypedDict
|
|
20
|
+
r"""Fees for name verification."""
|
|
21
|
+
total: BillingCountAndAmountTypedDict
|
|
22
|
+
r"""Total other card fees."""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class OtherCardFees(BaseModel):
|
|
26
|
+
r"""A detailed breakdown of other card-related fees."""
|
|
27
|
+
|
|
28
|
+
disputes: BillingCountAndAmount
|
|
29
|
+
r"""Fees for disputes."""
|
|
30
|
+
|
|
31
|
+
card_account_updater: Annotated[
|
|
32
|
+
BillingCountAndAmount, pydantic.Field(alias="cardAccountUpdater")
|
|
33
|
+
]
|
|
34
|
+
r"""Fees for card account updater services."""
|
|
35
|
+
|
|
36
|
+
card_verification: Annotated[
|
|
37
|
+
BillingCountAndAmount, pydantic.Field(alias="cardVerification")
|
|
38
|
+
]
|
|
39
|
+
r"""Fees for card verification."""
|
|
40
|
+
|
|
41
|
+
name_verification: Annotated[
|
|
42
|
+
BillingCountAndAmount, pydantic.Field(alias="nameVerification")
|
|
43
|
+
]
|
|
44
|
+
r"""Fees for name verification."""
|
|
45
|
+
|
|
46
|
+
total: BillingCountAndAmount
|
|
47
|
+
r"""Total other card fees."""
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
|
|
5
|
+
from moovio_sdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PlatformFeesTypedDict(TypedDict):
|
|
11
|
+
r"""A detailed breakdown of platform fees."""
|
|
12
|
+
|
|
13
|
+
wallet_fee: AmountDecimalTypedDict
|
|
14
|
+
r"""Fees associated with wallet services."""
|
|
15
|
+
merchant_pci_fee: AmountDecimalTypedDict
|
|
16
|
+
r"""Fees for PCI compliance."""
|
|
17
|
+
total: AmountDecimalTypedDict
|
|
18
|
+
r"""Total platform fees."""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class PlatformFees(BaseModel):
|
|
22
|
+
r"""A detailed breakdown of platform fees."""
|
|
23
|
+
|
|
24
|
+
wallet_fee: Annotated[AmountDecimal, pydantic.Field(alias="walletFee")]
|
|
25
|
+
r"""Fees associated with wallet services."""
|
|
26
|
+
|
|
27
|
+
merchant_pci_fee: Annotated[AmountDecimal, pydantic.Field(alias="merchantPCIFee")]
|
|
28
|
+
r"""Fees for PCI compliance."""
|
|
29
|
+
|
|
30
|
+
total: AmountDecimal
|
|
31
|
+
r"""Total platform fees."""
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .achfees import ACHFees, ACHFeesTypedDict
|
|
5
|
+
from .billingsummary import BillingSummary, BillingSummaryTypedDict
|
|
6
|
+
from .cardacquiringfees import CardAcquiringFees, CardAcquiringFeesTypedDict
|
|
7
|
+
from .instantpaymentfees import InstantPaymentFees, InstantPaymentFeesTypedDict
|
|
8
|
+
from .othercardfees import OtherCardFees, OtherCardFeesTypedDict
|
|
9
|
+
from .platformfees import PlatformFees, PlatformFeesTypedDict
|
|
10
|
+
from datetime import datetime
|
|
11
|
+
from moovio_sdk.types import BaseModel
|
|
12
|
+
import pydantic
|
|
13
|
+
from typing import List, Optional
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class StatementTypedDict(TypedDict):
|
|
18
|
+
r"""A billing statement for a Moov account."""
|
|
19
|
+
|
|
20
|
+
statement_id: str
|
|
21
|
+
r"""The unique identifier for the statement."""
|
|
22
|
+
statement_name: str
|
|
23
|
+
r"""The name of the statement."""
|
|
24
|
+
file_name: str
|
|
25
|
+
r"""The name of the statement file."""
|
|
26
|
+
file_size: int
|
|
27
|
+
r"""The size of the statement file in bytes."""
|
|
28
|
+
billing_period_start_date_time: datetime
|
|
29
|
+
r"""The start date and time of the billing period."""
|
|
30
|
+
billing_period_end_date_time: datetime
|
|
31
|
+
r"""The end date and time of the billing period."""
|
|
32
|
+
subscription_i_ds: List[str]
|
|
33
|
+
r"""List of subscription IDs associated with this statement."""
|
|
34
|
+
summary: BillingSummaryTypedDict
|
|
35
|
+
r"""A summary of all fees included in this statement."""
|
|
36
|
+
created_on: datetime
|
|
37
|
+
r"""The date and time the statement was created."""
|
|
38
|
+
updated_on: datetime
|
|
39
|
+
r"""The date and time the statement was last updated."""
|
|
40
|
+
card_acquiring_fees: NotRequired[CardAcquiringFeesTypedDict]
|
|
41
|
+
r"""A detailed breakdown of card acquiring fees."""
|
|
42
|
+
ach_fees: NotRequired[ACHFeesTypedDict]
|
|
43
|
+
r"""A detailed breakdown of ACH fees."""
|
|
44
|
+
instant_payment_fees: NotRequired[InstantPaymentFeesTypedDict]
|
|
45
|
+
r"""A detailed breakdown of instant payment fees."""
|
|
46
|
+
platform_fees: NotRequired[PlatformFeesTypedDict]
|
|
47
|
+
r"""A detailed breakdown of platform fees."""
|
|
48
|
+
other_card_fees: NotRequired[OtherCardFeesTypedDict]
|
|
49
|
+
r"""A detailed breakdown of other card-related fees."""
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class Statement(BaseModel):
|
|
53
|
+
r"""A billing statement for a Moov account."""
|
|
54
|
+
|
|
55
|
+
statement_id: Annotated[str, pydantic.Field(alias="statementID")]
|
|
56
|
+
r"""The unique identifier for the statement."""
|
|
57
|
+
|
|
58
|
+
statement_name: Annotated[str, pydantic.Field(alias="statementName")]
|
|
59
|
+
r"""The name of the statement."""
|
|
60
|
+
|
|
61
|
+
file_name: Annotated[str, pydantic.Field(alias="fileName")]
|
|
62
|
+
r"""The name of the statement file."""
|
|
63
|
+
|
|
64
|
+
file_size: Annotated[int, pydantic.Field(alias="fileSize")]
|
|
65
|
+
r"""The size of the statement file in bytes."""
|
|
66
|
+
|
|
67
|
+
billing_period_start_date_time: Annotated[
|
|
68
|
+
datetime, pydantic.Field(alias="billingPeriodStartDateTime")
|
|
69
|
+
]
|
|
70
|
+
r"""The start date and time of the billing period."""
|
|
71
|
+
|
|
72
|
+
billing_period_end_date_time: Annotated[
|
|
73
|
+
datetime, pydantic.Field(alias="billingPeriodEndDateTime")
|
|
74
|
+
]
|
|
75
|
+
r"""The end date and time of the billing period."""
|
|
76
|
+
|
|
77
|
+
subscription_i_ds: Annotated[List[str], pydantic.Field(alias="subscriptionIDs")]
|
|
78
|
+
r"""List of subscription IDs associated with this statement."""
|
|
79
|
+
|
|
80
|
+
summary: BillingSummary
|
|
81
|
+
r"""A summary of all fees included in this statement."""
|
|
82
|
+
|
|
83
|
+
created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
|
|
84
|
+
r"""The date and time the statement was created."""
|
|
85
|
+
|
|
86
|
+
updated_on: Annotated[datetime, pydantic.Field(alias="updatedOn")]
|
|
87
|
+
r"""The date and time the statement was last updated."""
|
|
88
|
+
|
|
89
|
+
card_acquiring_fees: Annotated[
|
|
90
|
+
Optional[CardAcquiringFees], pydantic.Field(alias="cardAcquiringFees")
|
|
91
|
+
] = None
|
|
92
|
+
r"""A detailed breakdown of card acquiring fees."""
|
|
93
|
+
|
|
94
|
+
ach_fees: Annotated[Optional[ACHFees], pydantic.Field(alias="achFees")] = None
|
|
95
|
+
r"""A detailed breakdown of ACH fees."""
|
|
96
|
+
|
|
97
|
+
instant_payment_fees: Annotated[
|
|
98
|
+
Optional[InstantPaymentFees], pydantic.Field(alias="instantPaymentFees")
|
|
99
|
+
] = None
|
|
100
|
+
r"""A detailed breakdown of instant payment fees."""
|
|
101
|
+
|
|
102
|
+
platform_fees: Annotated[
|
|
103
|
+
Optional[PlatformFees], pydantic.Field(alias="platformFees")
|
|
104
|
+
] = None
|
|
105
|
+
r"""A detailed breakdown of platform fees."""
|
|
106
|
+
|
|
107
|
+
other_card_fees: Annotated[
|
|
108
|
+
Optional[OtherCardFees], pydantic.Field(alias="otherCardFees")
|
|
109
|
+
] = None
|
|
110
|
+
r"""A detailed breakdown of other card-related fees."""
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from moovio_sdk.types import BaseModel
|
|
5
|
+
import pydantic
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class WebhookBillingStatementCreatedTypedDict(TypedDict):
|
|
10
|
+
statement_id: str
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class WebhookBillingStatementCreated(BaseModel):
|
|
14
|
+
statement_id: Annotated[str, pydantic.Field(alias="statementID")]
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .webhookbillingstatementcreated import (
|
|
5
|
+
WebhookBillingStatementCreated,
|
|
6
|
+
WebhookBillingStatementCreatedTypedDict,
|
|
7
|
+
)
|
|
4
8
|
from .webhookdataaccountcreated import (
|
|
5
9
|
WebhookDataAccountCreated,
|
|
6
10
|
WebhookDataAccountCreatedTypedDict,
|
|
@@ -144,40 +148,41 @@ from typing_extensions import TypeAliasType
|
|
|
144
148
|
WebhookDataTypedDict = TypeAliasType(
|
|
145
149
|
"WebhookDataTypedDict",
|
|
146
150
|
Union[
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
WebhookBillingStatementCreatedTypedDict,
|
|
152
|
+
WebhookDataBankAccountDeletedTypedDict,
|
|
149
153
|
WebhookDataAccountDisconnectedTypedDict,
|
|
150
154
|
WebhookDataBalanceUpdatedTypedDict,
|
|
151
155
|
WebhookDataBankAccountCreatedTypedDict,
|
|
156
|
+
WebhookDataAccountUpdatedTypedDict,
|
|
157
|
+
WebhookDataRepresentativeCreatedTypedDict,
|
|
152
158
|
WebhookDataWalletCreatedTypedDict,
|
|
153
|
-
WebhookDataBankAccountDeletedTypedDict,
|
|
154
|
-
WebhookDataTerminalApplicationUpdatedTypedDict,
|
|
155
159
|
WebhookDataAccountCreatedTypedDict,
|
|
160
|
+
WebhookDataTerminalApplicationUpdatedTypedDict,
|
|
156
161
|
WebhookDataTerminalApplicationCreatedTypedDict,
|
|
157
162
|
WebhookDataSweepCreatedTypedDict,
|
|
158
163
|
WebhookDataRepresentativeDisabledTypedDict,
|
|
159
164
|
WebhookDataRepresentativeUpdatedTypedDict,
|
|
160
165
|
WebhookDataCancellationUpdatedTypedDict,
|
|
161
|
-
|
|
162
|
-
WebhookDataPaymentMethodEnabledTypedDict,
|
|
166
|
+
WebhookDataCapabilityRequestedTypedDict,
|
|
163
167
|
WebhookDataPaymentMethodDisabledTypedDict,
|
|
164
168
|
WebhookDataRefundCreatedTypedDict,
|
|
165
169
|
WebhookDataWalletUpdatedTypedDict,
|
|
166
170
|
WebhookDataTicketMessageAddedTypedDict,
|
|
167
|
-
|
|
171
|
+
WebhookDataPaymentMethodEnabledTypedDict,
|
|
168
172
|
WebhookDataCancellationCreatedTypedDict,
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
WebhookDataTicketCreatedTypedDict,
|
|
174
|
+
WebhookDataCardAutoUpdatedTypedDict,
|
|
175
|
+
WebhookDataTicketUpdatedTypedDict,
|
|
171
176
|
WebhookDataSweepUpdatedTypedDict,
|
|
172
177
|
WebhookDataCapabilityUpdatedTypedDict,
|
|
173
|
-
|
|
178
|
+
WebhookDataTransferCreatedTypedDict,
|
|
174
179
|
WebhookDataRefundUpdatedTypedDict,
|
|
175
|
-
WebhookDataBankAccountUpdatedTypedDict,
|
|
176
180
|
WebhookDataWalletTransactionUpdatedTypedDict,
|
|
177
|
-
|
|
181
|
+
WebhookDataBankAccountUpdatedTypedDict,
|
|
178
182
|
WebhookDataDisputeUpdatedTypedDict,
|
|
179
|
-
WebhookDataNetworkIDUpdatedTypedDict,
|
|
180
183
|
WebhookDataTransferUpdatedTypedDict,
|
|
184
|
+
WebhookDataDisputeCreatedTypedDict,
|
|
185
|
+
WebhookDataNetworkIDUpdatedTypedDict,
|
|
181
186
|
],
|
|
182
187
|
)
|
|
183
188
|
r"""The data for the webhook event. The contents are based on the event type."""
|
|
@@ -186,40 +191,41 @@ r"""The data for the webhook event. The contents are based on the event type."""
|
|
|
186
191
|
WebhookData = TypeAliasType(
|
|
187
192
|
"WebhookData",
|
|
188
193
|
Union[
|
|
189
|
-
|
|
190
|
-
|
|
194
|
+
WebhookBillingStatementCreated,
|
|
195
|
+
WebhookDataBankAccountDeleted,
|
|
191
196
|
WebhookDataAccountDisconnected,
|
|
192
197
|
WebhookDataBalanceUpdated,
|
|
193
198
|
WebhookDataBankAccountCreated,
|
|
199
|
+
WebhookDataAccountUpdated,
|
|
200
|
+
WebhookDataRepresentativeCreated,
|
|
194
201
|
WebhookDataWalletCreated,
|
|
195
|
-
WebhookDataBankAccountDeleted,
|
|
196
|
-
WebhookDataTerminalApplicationUpdated,
|
|
197
202
|
WebhookDataAccountCreated,
|
|
203
|
+
WebhookDataTerminalApplicationUpdated,
|
|
198
204
|
WebhookDataTerminalApplicationCreated,
|
|
199
205
|
WebhookDataSweepCreated,
|
|
200
206
|
WebhookDataRepresentativeDisabled,
|
|
201
207
|
WebhookDataRepresentativeUpdated,
|
|
202
208
|
WebhookDataCancellationUpdated,
|
|
203
|
-
|
|
204
|
-
WebhookDataPaymentMethodEnabled,
|
|
209
|
+
WebhookDataCapabilityRequested,
|
|
205
210
|
WebhookDataPaymentMethodDisabled,
|
|
206
211
|
WebhookDataRefundCreated,
|
|
207
212
|
WebhookDataWalletUpdated,
|
|
208
213
|
WebhookDataTicketMessageAdded,
|
|
209
|
-
|
|
214
|
+
WebhookDataPaymentMethodEnabled,
|
|
210
215
|
WebhookDataCancellationCreated,
|
|
211
|
-
|
|
212
|
-
|
|
216
|
+
WebhookDataTicketCreated,
|
|
217
|
+
WebhookDataCardAutoUpdated,
|
|
218
|
+
WebhookDataTicketUpdated,
|
|
213
219
|
WebhookDataSweepUpdated,
|
|
214
220
|
WebhookDataCapabilityUpdated,
|
|
215
|
-
|
|
221
|
+
WebhookDataTransferCreated,
|
|
216
222
|
WebhookDataRefundUpdated,
|
|
217
|
-
WebhookDataBankAccountUpdated,
|
|
218
223
|
WebhookDataWalletTransactionUpdated,
|
|
219
|
-
|
|
224
|
+
WebhookDataBankAccountUpdated,
|
|
220
225
|
WebhookDataDisputeUpdated,
|
|
221
|
-
WebhookDataNetworkIDUpdated,
|
|
222
226
|
WebhookDataTransferUpdated,
|
|
227
|
+
WebhookDataDisputeCreated,
|
|
228
|
+
WebhookDataNetworkIDUpdated,
|
|
223
229
|
],
|
|
224
230
|
)
|
|
225
231
|
r"""The data for the webhook event. The contents are based on the event type."""
|
|
@@ -514,6 +514,16 @@ if TYPE_CHECKING:
|
|
|
514
514
|
GetSchedulesResponse,
|
|
515
515
|
GetSchedulesResponseTypedDict,
|
|
516
516
|
)
|
|
517
|
+
from .getstatement import (
|
|
518
|
+
GetStatementGlobals,
|
|
519
|
+
GetStatementGlobalsTypedDict,
|
|
520
|
+
GetStatementRequest,
|
|
521
|
+
GetStatementRequestTypedDict,
|
|
522
|
+
GetStatementResponse,
|
|
523
|
+
GetStatementResponseResult,
|
|
524
|
+
GetStatementResponseResultTypedDict,
|
|
525
|
+
GetStatementResponseTypedDict,
|
|
526
|
+
)
|
|
517
527
|
from .getsweep import (
|
|
518
528
|
GetSweepGlobals,
|
|
519
529
|
GetSweepGlobalsTypedDict,
|
|
@@ -869,6 +879,14 @@ if TYPE_CHECKING:
|
|
|
869
879
|
ListSchedulesResponse,
|
|
870
880
|
ListSchedulesResponseTypedDict,
|
|
871
881
|
)
|
|
882
|
+
from .liststatements import (
|
|
883
|
+
ListStatementsGlobals,
|
|
884
|
+
ListStatementsGlobalsTypedDict,
|
|
885
|
+
ListStatementsRequest,
|
|
886
|
+
ListStatementsRequestTypedDict,
|
|
887
|
+
ListStatementsResponse,
|
|
888
|
+
ListStatementsResponseTypedDict,
|
|
889
|
+
)
|
|
872
890
|
from .listsweepconfigs import (
|
|
873
891
|
ListSweepConfigsGlobals,
|
|
874
892
|
ListSweepConfigsGlobalsTypedDict,
|
|
@@ -1545,6 +1563,14 @@ __all__ = [
|
|
|
1545
1563
|
"GetSchedulesRequestTypedDict",
|
|
1546
1564
|
"GetSchedulesResponse",
|
|
1547
1565
|
"GetSchedulesResponseTypedDict",
|
|
1566
|
+
"GetStatementGlobals",
|
|
1567
|
+
"GetStatementGlobalsTypedDict",
|
|
1568
|
+
"GetStatementRequest",
|
|
1569
|
+
"GetStatementRequestTypedDict",
|
|
1570
|
+
"GetStatementResponse",
|
|
1571
|
+
"GetStatementResponseResult",
|
|
1572
|
+
"GetStatementResponseResultTypedDict",
|
|
1573
|
+
"GetStatementResponseTypedDict",
|
|
1548
1574
|
"GetSweepConfigGlobals",
|
|
1549
1575
|
"GetSweepConfigGlobalsTypedDict",
|
|
1550
1576
|
"GetSweepConfigRequest",
|
|
@@ -1812,6 +1838,12 @@ __all__ = [
|
|
|
1812
1838
|
"ListSchedulesRequestTypedDict",
|
|
1813
1839
|
"ListSchedulesResponse",
|
|
1814
1840
|
"ListSchedulesResponseTypedDict",
|
|
1841
|
+
"ListStatementsGlobals",
|
|
1842
|
+
"ListStatementsGlobalsTypedDict",
|
|
1843
|
+
"ListStatementsRequest",
|
|
1844
|
+
"ListStatementsRequestTypedDict",
|
|
1845
|
+
"ListStatementsResponse",
|
|
1846
|
+
"ListStatementsResponseTypedDict",
|
|
1815
1847
|
"ListSweepConfigsGlobals",
|
|
1816
1848
|
"ListSweepConfigsGlobalsTypedDict",
|
|
1817
1849
|
"ListSweepConfigsRequest",
|
|
@@ -2415,6 +2447,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2415
2447
|
"GetSchedulesRequestTypedDict": ".getschedules",
|
|
2416
2448
|
"GetSchedulesResponse": ".getschedules",
|
|
2417
2449
|
"GetSchedulesResponseTypedDict": ".getschedules",
|
|
2450
|
+
"GetStatementGlobals": ".getstatement",
|
|
2451
|
+
"GetStatementGlobalsTypedDict": ".getstatement",
|
|
2452
|
+
"GetStatementRequest": ".getstatement",
|
|
2453
|
+
"GetStatementRequestTypedDict": ".getstatement",
|
|
2454
|
+
"GetStatementResponse": ".getstatement",
|
|
2455
|
+
"GetStatementResponseResult": ".getstatement",
|
|
2456
|
+
"GetStatementResponseResultTypedDict": ".getstatement",
|
|
2457
|
+
"GetStatementResponseTypedDict": ".getstatement",
|
|
2418
2458
|
"GetSweepGlobals": ".getsweep",
|
|
2419
2459
|
"GetSweepGlobalsTypedDict": ".getsweep",
|
|
2420
2460
|
"GetSweepRequest": ".getsweep",
|
|
@@ -2682,6 +2722,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2682
2722
|
"ListSchedulesRequestTypedDict": ".listschedules",
|
|
2683
2723
|
"ListSchedulesResponse": ".listschedules",
|
|
2684
2724
|
"ListSchedulesResponseTypedDict": ".listschedules",
|
|
2725
|
+
"ListStatementsGlobals": ".liststatements",
|
|
2726
|
+
"ListStatementsGlobalsTypedDict": ".liststatements",
|
|
2727
|
+
"ListStatementsRequest": ".liststatements",
|
|
2728
|
+
"ListStatementsRequestTypedDict": ".liststatements",
|
|
2729
|
+
"ListStatementsResponse": ".liststatements",
|
|
2730
|
+
"ListStatementsResponseTypedDict": ".liststatements",
|
|
2685
2731
|
"ListSweepConfigsGlobals": ".listsweepconfigs",
|
|
2686
2732
|
"ListSweepConfigsGlobalsTypedDict": ".listsweepconfigs",
|
|
2687
2733
|
"ListSweepConfigsRequest": ".listsweepconfigs",
|
|
@@ -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
|