moovio_sdk 0.11.6__py3-none-any.whl → 0.12.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.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/models/components/__init__.py +205 -0
- moovio_sdk/models/components/businesspresence.py +13 -0
- moovio_sdk/models/components/cardacceptancemethods.py +37 -0
- moovio_sdk/models/components/cardacceptancemethodserror.py +27 -0
- moovio_sdk/models/components/collectfunds.py +25 -0
- moovio_sdk/models/components/collectfundsach.py +18 -0
- moovio_sdk/models/components/collectfundsacherror.py +21 -0
- moovio_sdk/models/components/collectfundscardpayments.py +41 -0
- moovio_sdk/models/components/collectfundscardpaymentserror.py +43 -0
- moovio_sdk/models/components/collectfundserror.py +25 -0
- moovio_sdk/models/components/createdtransfer.py +5 -0
- moovio_sdk/models/components/createtransfer.py +5 -0
- moovio_sdk/models/components/estimatedactivity.py +30 -0
- moovio_sdk/models/components/estimatedactivityerror.py +27 -0
- moovio_sdk/models/components/fulfillment.py +19 -0
- moovio_sdk/models/components/fulfillmenterror.py +17 -0
- moovio_sdk/models/components/fulfillmentmethod.py +16 -0
- moovio_sdk/models/components/fulfillmenttimeframe.py +15 -0
- moovio_sdk/models/components/geographicreach.py +10 -0
- moovio_sdk/models/components/moneytransfer.py +30 -0
- moovio_sdk/models/components/moneytransfererror.py +30 -0
- moovio_sdk/models/components/moneytransferpullfromcard.py +18 -0
- moovio_sdk/models/components/moneytransferpullfromcarderror.py +21 -0
- moovio_sdk/models/components/moneytransferpushtocard.py +18 -0
- moovio_sdk/models/components/moneytransferpushtocarderror.py +21 -0
- moovio_sdk/models/components/monthlyvolumerange.py +17 -0
- moovio_sdk/models/components/pendinglitigation.py +17 -0
- moovio_sdk/models/components/refundpolicy.py +16 -0
- moovio_sdk/models/components/sendfunds.py +26 -0
- moovio_sdk/models/components/sendfundsach.py +18 -0
- moovio_sdk/models/components/sendfundsacherror.py +21 -0
- moovio_sdk/models/components/sendfundserror.py +29 -0
- moovio_sdk/models/components/sendfundspushtocard.py +18 -0
- moovio_sdk/models/components/sendfundspushtocarderror.py +21 -0
- moovio_sdk/models/components/sendfundsrtp.py +18 -0
- moovio_sdk/models/components/sendfundsrtperror.py +21 -0
- moovio_sdk/models/components/transfer.py +5 -0
- moovio_sdk/models/components/underwriting.py +67 -20
- moovio_sdk/models/components/upsertunderwriting.py +56 -0
- moovio_sdk/models/components/volumesharebycustomertype.py +20 -0
- moovio_sdk/models/components/volumesharebycustomertypeerror.py +20 -0
- moovio_sdk/models/components/webhookdata.py +10 -10
- moovio_sdk/models/components/webhookdatatransfercreated.py +5 -1
- moovio_sdk/models/components/webhookdatatransferupdated.py +5 -1
- moovio_sdk/models/errors/__init__.py +8 -0
- moovio_sdk/models/errors/transfer.py +3 -0
- moovio_sdk/models/errors/upsertunderwritingerror.py +89 -0
- moovio_sdk/models/operations/__init__.py +20 -0
- moovio_sdk/models/operations/listtransfers.py +9 -0
- moovio_sdk/models/operations/saveunderwriting.py +78 -0
- moovio_sdk/transfers.py +12 -0
- moovio_sdk/underwriting.py +368 -0
- {moovio_sdk-0.11.6.dist-info → moovio_sdk-0.12.0.dist-info}/METADATA +7 -1
- {moovio_sdk-0.11.6.dist-info → moovio_sdk-0.12.0.dist-info}/RECORD +56 -18
- {moovio_sdk-0.11.6.dist-info → moovio_sdk-0.12.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .cardacceptancemethodserror import (
|
5
|
+
CardAcceptanceMethodsError,
|
6
|
+
CardAcceptanceMethodsErrorTypedDict,
|
7
|
+
)
|
8
|
+
from .estimatedactivityerror import (
|
9
|
+
EstimatedActivityError,
|
10
|
+
EstimatedActivityErrorTypedDict,
|
11
|
+
)
|
12
|
+
from .fulfillmenterror import FulfillmentError, FulfillmentErrorTypedDict
|
13
|
+
from moovio_sdk.types import BaseModel
|
14
|
+
import pydantic
|
15
|
+
from typing import Optional
|
16
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
17
|
+
|
18
|
+
|
19
|
+
class CollectFundsCardPaymentsErrorTypedDict(TypedDict):
|
20
|
+
card_acceptance_methods: NotRequired[CardAcceptanceMethodsErrorTypedDict]
|
21
|
+
currently_accepts_cards: NotRequired[str]
|
22
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
23
|
+
fulfillment: NotRequired[FulfillmentErrorTypedDict]
|
24
|
+
refund_policy: NotRequired[str]
|
25
|
+
|
26
|
+
|
27
|
+
class CollectFundsCardPaymentsError(BaseModel):
|
28
|
+
card_acceptance_methods: Annotated[
|
29
|
+
Optional[CardAcceptanceMethodsError],
|
30
|
+
pydantic.Field(alias="cardAcceptanceMethods"),
|
31
|
+
] = None
|
32
|
+
|
33
|
+
currently_accepts_cards: Annotated[
|
34
|
+
Optional[str], pydantic.Field(alias="currentlyAcceptsCards")
|
35
|
+
] = None
|
36
|
+
|
37
|
+
estimated_activity: Annotated[
|
38
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
39
|
+
] = None
|
40
|
+
|
41
|
+
fulfillment: Optional[FulfillmentError] = None
|
42
|
+
|
43
|
+
refund_policy: Annotated[Optional[str], pydantic.Field(alias="refundPolicy")] = None
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .collectfundsacherror import CollectFundsAchError, CollectFundsAchErrorTypedDict
|
5
|
+
from .collectfundscardpaymentserror import (
|
6
|
+
CollectFundsCardPaymentsError,
|
7
|
+
CollectFundsCardPaymentsErrorTypedDict,
|
8
|
+
)
|
9
|
+
from moovio_sdk.types import BaseModel
|
10
|
+
import pydantic
|
11
|
+
from typing import Optional
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
13
|
+
|
14
|
+
|
15
|
+
class CollectFundsErrorTypedDict(TypedDict):
|
16
|
+
ach: NotRequired[CollectFundsAchErrorTypedDict]
|
17
|
+
card_payments: NotRequired[CollectFundsCardPaymentsErrorTypedDict]
|
18
|
+
|
19
|
+
|
20
|
+
class CollectFundsError(BaseModel):
|
21
|
+
ach: Optional[CollectFundsAchError] = None
|
22
|
+
|
23
|
+
card_payments: Annotated[
|
24
|
+
Optional[CollectFundsCardPaymentsError], pydantic.Field(alias="cardPayments")
|
25
|
+
] = None
|
@@ -53,6 +53,8 @@ class CreatedTransferTypedDict(TypedDict):
|
|
53
53
|
payment_link_code: NotRequired[str]
|
54
54
|
sales_tax_amount: NotRequired[AmountTypedDict]
|
55
55
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
56
|
+
foreign_id: NotRequired[str]
|
57
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
56
58
|
|
57
59
|
|
58
60
|
class CreatedTransfer(BaseModel):
|
@@ -132,3 +134,6 @@ class CreatedTransfer(BaseModel):
|
|
132
134
|
Optional[Amount], pydantic.Field(alias="salesTaxAmount")
|
133
135
|
] = None
|
134
136
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
137
|
+
|
138
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
139
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
@@ -28,6 +28,8 @@ class CreateTransferTypedDict(TypedDict):
|
|
28
28
|
r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
|
29
29
|
sales_tax_amount: NotRequired[AmountTypedDict]
|
30
30
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
31
|
+
foreign_id: NotRequired[str]
|
32
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
31
33
|
|
32
34
|
|
33
35
|
class CreateTransfer(BaseModel):
|
@@ -54,3 +56,6 @@ class CreateTransfer(BaseModel):
|
|
54
56
|
Optional[Amount], pydantic.Field(alias="salesTaxAmount")
|
55
57
|
] = None
|
56
58
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
59
|
+
|
60
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
61
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .monthlyvolumerange import MonthlyVolumeRange
|
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 EstimatedActivityTypedDict(TypedDict):
|
12
|
+
average_transaction_amount: NotRequired[int]
|
13
|
+
maximum_transaction_amount: NotRequired[int]
|
14
|
+
monthly_volume_range: NotRequired[MonthlyVolumeRange]
|
15
|
+
r"""The low value in each range is included. The high value in each range is excluded."""
|
16
|
+
|
17
|
+
|
18
|
+
class EstimatedActivity(BaseModel):
|
19
|
+
average_transaction_amount: Annotated[
|
20
|
+
Optional[int], pydantic.Field(alias="averageTransactionAmount")
|
21
|
+
] = None
|
22
|
+
|
23
|
+
maximum_transaction_amount: Annotated[
|
24
|
+
Optional[int], pydantic.Field(alias="maximumTransactionAmount")
|
25
|
+
] = None
|
26
|
+
|
27
|
+
monthly_volume_range: Annotated[
|
28
|
+
Optional[MonthlyVolumeRange], pydantic.Field(alias="monthlyVolumeRange")
|
29
|
+
] = None
|
30
|
+
r"""The low value in each range is included. The high value in each range is excluded."""
|
@@ -0,0 +1,27 @@
|
|
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 import Optional
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
8
|
+
|
9
|
+
|
10
|
+
class EstimatedActivityErrorTypedDict(TypedDict):
|
11
|
+
average_transaction_amount: NotRequired[str]
|
12
|
+
maximum_transaction_amount: NotRequired[str]
|
13
|
+
monthly_volume_range: NotRequired[str]
|
14
|
+
|
15
|
+
|
16
|
+
class EstimatedActivityError(BaseModel):
|
17
|
+
average_transaction_amount: Annotated[
|
18
|
+
Optional[str], pydantic.Field(alias="averageTransactionAmount")
|
19
|
+
] = None
|
20
|
+
|
21
|
+
maximum_transaction_amount: Annotated[
|
22
|
+
Optional[str], pydantic.Field(alias="maximumTransactionAmount")
|
23
|
+
] = None
|
24
|
+
|
25
|
+
monthly_volume_range: Annotated[
|
26
|
+
Optional[str], pydantic.Field(alias="monthlyVolumeRange")
|
27
|
+
] = None
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .fulfillmentmethod import FulfillmentMethod
|
5
|
+
from .fulfillmenttimeframe import FulfillmentTimeframe
|
6
|
+
from moovio_sdk.types import BaseModel
|
7
|
+
from typing import Optional
|
8
|
+
from typing_extensions import NotRequired, TypedDict
|
9
|
+
|
10
|
+
|
11
|
+
class FulfillmentTypedDict(TypedDict):
|
12
|
+
method: NotRequired[FulfillmentMethod]
|
13
|
+
timeframe: NotRequired[FulfillmentTimeframe]
|
14
|
+
|
15
|
+
|
16
|
+
class Fulfillment(BaseModel):
|
17
|
+
method: Optional[FulfillmentMethod] = None
|
18
|
+
|
19
|
+
timeframe: Optional[FulfillmentTimeframe] = None
|
@@ -0,0 +1,17 @@
|
|
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
|
+
from typing import Optional
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
7
|
+
|
8
|
+
|
9
|
+
class FulfillmentErrorTypedDict(TypedDict):
|
10
|
+
method: NotRequired[str]
|
11
|
+
timeframe: NotRequired[str]
|
12
|
+
|
13
|
+
|
14
|
+
class FulfillmentError(BaseModel):
|
15
|
+
method: Optional[str] = None
|
16
|
+
|
17
|
+
timeframe: Optional[str] = None
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class FulfillmentMethod(str, Enum):
|
8
|
+
BILL_OR_DEBT_PAYMENT = "bill-or-debt-payment"
|
9
|
+
DIGITAL_CONTENT = "digital-content"
|
10
|
+
DONATION = "donation"
|
11
|
+
IN_PERSON_SERVICE = "in-person-service"
|
12
|
+
LOCAL_PICKUP_OR_DELIVERY = "local-pickup-or-delivery"
|
13
|
+
OTHER = "other"
|
14
|
+
REMOTE_SERVICE = "remote-service"
|
15
|
+
SHIPPED_PHYSICAL_GOODS = "shipped-physical-goods"
|
16
|
+
SUBSCRIPTION_OR_MEMBERSHIP = "subscription-or-membership"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class FulfillmentTimeframe(str, Enum):
|
8
|
+
IMMEDIATE = "immediate"
|
9
|
+
OTHER = "other"
|
10
|
+
OVER_30_DAYS = "over-30-days"
|
11
|
+
PRE_ORDER = "pre-order"
|
12
|
+
RECURRING_SCHEDULE = "recurring-schedule"
|
13
|
+
SCHEDULED_EVENT = "scheduled-event"
|
14
|
+
WITHIN_30_DAYS = "within-30-days"
|
15
|
+
WITHIN_7_DAYS = "within-7-days"
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class GeographicReach(str, Enum):
|
8
|
+
INTERNATIONAL_ONLY = "international-only"
|
9
|
+
US_AND_INTERNATIONAL = "us-and-international"
|
10
|
+
US_ONLY = "us-only"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .moneytransferpullfromcard import (
|
5
|
+
MoneyTransferPullFromCard,
|
6
|
+
MoneyTransferPullFromCardTypedDict,
|
7
|
+
)
|
8
|
+
from .moneytransferpushtocard import (
|
9
|
+
MoneyTransferPushToCard,
|
10
|
+
MoneyTransferPushToCardTypedDict,
|
11
|
+
)
|
12
|
+
from moovio_sdk.types import BaseModel
|
13
|
+
import pydantic
|
14
|
+
from typing import Optional
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class MoneyTransferTypedDict(TypedDict):
|
19
|
+
pull_from_card: NotRequired[MoneyTransferPullFromCardTypedDict]
|
20
|
+
push_to_card: NotRequired[MoneyTransferPushToCardTypedDict]
|
21
|
+
|
22
|
+
|
23
|
+
class MoneyTransfer(BaseModel):
|
24
|
+
pull_from_card: Annotated[
|
25
|
+
Optional[MoneyTransferPullFromCard], pydantic.Field(alias="pullFromCard")
|
26
|
+
] = None
|
27
|
+
|
28
|
+
push_to_card: Annotated[
|
29
|
+
Optional[MoneyTransferPushToCard], pydantic.Field(alias="pushToCard")
|
30
|
+
] = None
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .moneytransferpullfromcarderror import (
|
5
|
+
MoneyTransferPullFromCardError,
|
6
|
+
MoneyTransferPullFromCardErrorTypedDict,
|
7
|
+
)
|
8
|
+
from .moneytransferpushtocarderror import (
|
9
|
+
MoneyTransferPushToCardError,
|
10
|
+
MoneyTransferPushToCardErrorTypedDict,
|
11
|
+
)
|
12
|
+
from moovio_sdk.types import BaseModel
|
13
|
+
import pydantic
|
14
|
+
from typing import Optional
|
15
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
|
+
|
17
|
+
|
18
|
+
class MoneyTransferErrorTypedDict(TypedDict):
|
19
|
+
pull_from_card: NotRequired[MoneyTransferPullFromCardErrorTypedDict]
|
20
|
+
push_to_card: NotRequired[MoneyTransferPushToCardErrorTypedDict]
|
21
|
+
|
22
|
+
|
23
|
+
class MoneyTransferError(BaseModel):
|
24
|
+
pull_from_card: Annotated[
|
25
|
+
Optional[MoneyTransferPullFromCardError], pydantic.Field(alias="pullFromCard")
|
26
|
+
] = None
|
27
|
+
|
28
|
+
push_to_card: Annotated[
|
29
|
+
Optional[MoneyTransferPushToCardError], pydantic.Field(alias="pushToCard")
|
30
|
+
] = None
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivity import EstimatedActivity, EstimatedActivityTypedDict
|
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 MoneyTransferPullFromCardTypedDict(TypedDict):
|
12
|
+
estimated_activity: NotRequired[EstimatedActivityTypedDict]
|
13
|
+
|
14
|
+
|
15
|
+
class MoneyTransferPullFromCard(BaseModel):
|
16
|
+
estimated_activity: Annotated[
|
17
|
+
Optional[EstimatedActivity], pydantic.Field(alias="estimatedActivity")
|
18
|
+
] = None
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivityerror import (
|
5
|
+
EstimatedActivityError,
|
6
|
+
EstimatedActivityErrorTypedDict,
|
7
|
+
)
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class MoneyTransferPullFromCardErrorTypedDict(TypedDict):
|
15
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
16
|
+
|
17
|
+
|
18
|
+
class MoneyTransferPullFromCardError(BaseModel):
|
19
|
+
estimated_activity: Annotated[
|
20
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
21
|
+
] = None
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivity import EstimatedActivity, EstimatedActivityTypedDict
|
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 MoneyTransferPushToCardTypedDict(TypedDict):
|
12
|
+
estimated_activity: NotRequired[EstimatedActivityTypedDict]
|
13
|
+
|
14
|
+
|
15
|
+
class MoneyTransferPushToCard(BaseModel):
|
16
|
+
estimated_activity: Annotated[
|
17
|
+
Optional[EstimatedActivity], pydantic.Field(alias="estimatedActivity")
|
18
|
+
] = None
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivityerror import (
|
5
|
+
EstimatedActivityError,
|
6
|
+
EstimatedActivityErrorTypedDict,
|
7
|
+
)
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class MoneyTransferPushToCardErrorTypedDict(TypedDict):
|
15
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
16
|
+
|
17
|
+
|
18
|
+
class MoneyTransferPushToCardError(BaseModel):
|
19
|
+
estimated_activity: Annotated[
|
20
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
21
|
+
] = None
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class MonthlyVolumeRange(str, Enum):
|
8
|
+
r"""The low value in each range is included. The high value in each range is excluded."""
|
9
|
+
|
10
|
+
UNDER_10K = "under-10k"
|
11
|
+
TEN_K_50_K = "10K-50K"
|
12
|
+
FIFTY_K_100_K = "50K-100K"
|
13
|
+
ONE_HUNDRED_K_250_K = "100K-250K"
|
14
|
+
TWO_HUNDRED_AND_FIFTY_K_500_K = "250K-500K"
|
15
|
+
FIVE_HUNDRED_K_1_M = "500K-1M"
|
16
|
+
ONE_M_5_M = "1M-5M"
|
17
|
+
OVER_5M = "over-5m"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class PendingLitigation(str, Enum):
|
8
|
+
BANKRUPTCY_OR_INSOLVENCY = "bankruptcy-or-insolvency"
|
9
|
+
CONSUMER_PROTECTION_OR_CLASS_ACTION = "consumer-protection-or-class-action"
|
10
|
+
DATA_BREACH_OR_PRIVACY = "data-breach-or-privacy"
|
11
|
+
EMPLOYMENT_OR_WORKPLACE_DISPUTES = "employment-or-workplace-disputes"
|
12
|
+
FRAUD_OR_FINANCIAL_CRIME = "fraud-or-financial-crime"
|
13
|
+
GOVERNMENT_ENFORCEMENT_OR_INVESTIGATION = "government-enforcement-or-investigation"
|
14
|
+
INTELLECTUAL_PROPERTY = "intellectual-property"
|
15
|
+
NONE = "none"
|
16
|
+
OTHER = "other"
|
17
|
+
PERSONAL_INJURY_OR_MEDICAL = "personal-injury-or-medical"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from enum import Enum
|
5
|
+
|
6
|
+
|
7
|
+
class RefundPolicy(str, Enum):
|
8
|
+
CONDITIONAL_REFUND = "conditional-refund"
|
9
|
+
CUSTOM_POLICY = "custom-policy"
|
10
|
+
EVENT_BASED_POLICY = "event-based-policy"
|
11
|
+
FULL_REFUND_EXTENDED_WINDOW = "full-refund-extended-window"
|
12
|
+
FULL_REFUND_WITHIN_30_DAYS = "full-refund-within-30-days"
|
13
|
+
NO_REFUNDS = "no-refunds"
|
14
|
+
PARTIAL_REFUND = "partial-refund"
|
15
|
+
PRORATED_REFUND = "prorated-refund"
|
16
|
+
STORE_CREDIT_ONLY = "store-credit-only"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .sendfundsach import SendFundsAch, SendFundsAchTypedDict
|
5
|
+
from .sendfundspushtocard import SendFundsPushToCard, SendFundsPushToCardTypedDict
|
6
|
+
from .sendfundsrtp import SendFundsRtp, SendFundsRtpTypedDict
|
7
|
+
from moovio_sdk.types import BaseModel
|
8
|
+
import pydantic
|
9
|
+
from typing import Optional
|
10
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
11
|
+
|
12
|
+
|
13
|
+
class SendFundsTypedDict(TypedDict):
|
14
|
+
ach: NotRequired[SendFundsAchTypedDict]
|
15
|
+
push_to_card: NotRequired[SendFundsPushToCardTypedDict]
|
16
|
+
rtp: NotRequired[SendFundsRtpTypedDict]
|
17
|
+
|
18
|
+
|
19
|
+
class SendFunds(BaseModel):
|
20
|
+
ach: Optional[SendFundsAch] = None
|
21
|
+
|
22
|
+
push_to_card: Annotated[
|
23
|
+
Optional[SendFundsPushToCard], pydantic.Field(alias="pushToCard")
|
24
|
+
] = None
|
25
|
+
|
26
|
+
rtp: Optional[SendFundsRtp] = None
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivity import EstimatedActivity, EstimatedActivityTypedDict
|
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 SendFundsAchTypedDict(TypedDict):
|
12
|
+
estimated_activity: NotRequired[EstimatedActivityTypedDict]
|
13
|
+
|
14
|
+
|
15
|
+
class SendFundsAch(BaseModel):
|
16
|
+
estimated_activity: Annotated[
|
17
|
+
Optional[EstimatedActivity], pydantic.Field(alias="estimatedActivity")
|
18
|
+
] = None
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivityerror import (
|
5
|
+
EstimatedActivityError,
|
6
|
+
EstimatedActivityErrorTypedDict,
|
7
|
+
)
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class SendFundsAchErrorTypedDict(TypedDict):
|
15
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
16
|
+
|
17
|
+
|
18
|
+
class SendFundsAchError(BaseModel):
|
19
|
+
estimated_activity: Annotated[
|
20
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
21
|
+
] = None
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .sendfundsacherror import SendFundsAchError, SendFundsAchErrorTypedDict
|
5
|
+
from .sendfundspushtocarderror import (
|
6
|
+
SendFundsPushToCardError,
|
7
|
+
SendFundsPushToCardErrorTypedDict,
|
8
|
+
)
|
9
|
+
from .sendfundsrtperror import SendFundsRtpError, SendFundsRtpErrorTypedDict
|
10
|
+
from moovio_sdk.types import BaseModel
|
11
|
+
import pydantic
|
12
|
+
from typing import Optional
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
14
|
+
|
15
|
+
|
16
|
+
class SendFundsErrorTypedDict(TypedDict):
|
17
|
+
ach: NotRequired[SendFundsAchErrorTypedDict]
|
18
|
+
push_to_card: NotRequired[SendFundsPushToCardErrorTypedDict]
|
19
|
+
rtp: NotRequired[SendFundsRtpErrorTypedDict]
|
20
|
+
|
21
|
+
|
22
|
+
class SendFundsError(BaseModel):
|
23
|
+
ach: Optional[SendFundsAchError] = None
|
24
|
+
|
25
|
+
push_to_card: Annotated[
|
26
|
+
Optional[SendFundsPushToCardError], pydantic.Field(alias="pushToCard")
|
27
|
+
] = None
|
28
|
+
|
29
|
+
rtp: Optional[SendFundsRtpError] = None
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivity import EstimatedActivity, EstimatedActivityTypedDict
|
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 SendFundsPushToCardTypedDict(TypedDict):
|
12
|
+
estimated_activity: NotRequired[EstimatedActivityTypedDict]
|
13
|
+
|
14
|
+
|
15
|
+
class SendFundsPushToCard(BaseModel):
|
16
|
+
estimated_activity: Annotated[
|
17
|
+
Optional[EstimatedActivity], pydantic.Field(alias="estimatedActivity")
|
18
|
+
] = None
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivityerror import (
|
5
|
+
EstimatedActivityError,
|
6
|
+
EstimatedActivityErrorTypedDict,
|
7
|
+
)
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class SendFundsPushToCardErrorTypedDict(TypedDict):
|
15
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
16
|
+
|
17
|
+
|
18
|
+
class SendFundsPushToCardError(BaseModel):
|
19
|
+
estimated_activity: Annotated[
|
20
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
21
|
+
] = None
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivity import EstimatedActivity, EstimatedActivityTypedDict
|
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 SendFundsRtpTypedDict(TypedDict):
|
12
|
+
estimated_activity: NotRequired[EstimatedActivityTypedDict]
|
13
|
+
|
14
|
+
|
15
|
+
class SendFundsRtp(BaseModel):
|
16
|
+
estimated_activity: Annotated[
|
17
|
+
Optional[EstimatedActivity], pydantic.Field(alias="estimatedActivity")
|
18
|
+
] = None
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from .estimatedactivityerror import (
|
5
|
+
EstimatedActivityError,
|
6
|
+
EstimatedActivityErrorTypedDict,
|
7
|
+
)
|
8
|
+
from moovio_sdk.types import BaseModel
|
9
|
+
import pydantic
|
10
|
+
from typing import Optional
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
+
|
13
|
+
|
14
|
+
class SendFundsRtpErrorTypedDict(TypedDict):
|
15
|
+
estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
|
16
|
+
|
17
|
+
|
18
|
+
class SendFundsRtpError(BaseModel):
|
19
|
+
estimated_activity: Annotated[
|
20
|
+
Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
|
21
|
+
] = None
|
@@ -58,6 +58,8 @@ class TransferTypedDict(TypedDict):
|
|
58
58
|
payment_link_code: NotRequired[str]
|
59
59
|
sales_tax_amount: NotRequired[AmountTypedDict]
|
60
60
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
61
|
+
foreign_id: NotRequired[str]
|
62
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
61
63
|
|
62
64
|
|
63
65
|
class Transfer(BaseModel):
|
@@ -144,3 +146,6 @@ class Transfer(BaseModel):
|
|
144
146
|
Optional[Amount], pydantic.Field(alias="salesTaxAmount")
|
145
147
|
] = None
|
146
148
|
r"""Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged."""
|
149
|
+
|
150
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
151
|
+
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|