moovio_sdk 0.14.0__py3-none-any.whl → 0.14.2__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.
Files changed (28) hide show
  1. moovio_sdk/_version.py +3 -3
  2. moovio_sdk/models/components/__init__.py +32 -8
  3. moovio_sdk/models/components/createwallet.py +26 -0
  4. moovio_sdk/models/components/patchwallet.py +34 -0
  5. moovio_sdk/models/components/paymentlinkpayoutdetails.py +2 -0
  6. moovio_sdk/models/components/paymentlinkpayoutdetailsupdate.py +5 -3
  7. moovio_sdk/models/components/payoutrecipient.py +10 -3
  8. moovio_sdk/models/components/payoutrecipienterror.py +4 -0
  9. moovio_sdk/models/components/requirementid.py +126 -18
  10. moovio_sdk/models/components/wallet.py +51 -1
  11. moovio_sdk/models/components/walletstatus.py +14 -0
  12. moovio_sdk/models/components/wallettype.py +14 -0
  13. moovio_sdk/models/components/webhookdata.py +24 -12
  14. moovio_sdk/models/components/webhookdatawalletcreated.py +17 -0
  15. moovio_sdk/models/components/webhookdatawalletupdated.py +29 -0
  16. moovio_sdk/models/components/webhookeventtype.py +2 -0
  17. moovio_sdk/models/errors/__init__.py +10 -0
  18. moovio_sdk/models/errors/createwalleterror.py +29 -0
  19. moovio_sdk/models/errors/patchwalleterror.py +31 -0
  20. moovio_sdk/models/operations/__init__.py +40 -0
  21. moovio_sdk/models/operations/createwallet.py +80 -0
  22. moovio_sdk/models/operations/listwallets.py +40 -2
  23. moovio_sdk/models/operations/updatewallet.py +89 -0
  24. moovio_sdk/wallets.py +569 -1
  25. {moovio_sdk-0.14.0.dist-info → moovio_sdk-0.14.2.dist-info}/METADATA +53 -39
  26. {moovio_sdk-0.14.0.dist-info → moovio_sdk-0.14.2.dist-info}/RECORD +27 -18
  27. moovio_sdk/models/components/payoutrecipientupdate.py +0 -24
  28. {moovio_sdk-0.14.0.dist-info → moovio_sdk-0.14.2.dist-info}/WHEEL +0 -0
moovio_sdk/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "moovio_sdk"
6
- __version__: str = "0.14.0"
6
+ __version__: str = "0.14.2"
7
7
  __openapi_doc_version__: str = "latest"
8
- __gen_version__: str = "2.687.13"
9
- __user_agent__: str = "speakeasy-sdk/python 0.14.0 2.687.13 latest moovio_sdk"
8
+ __gen_version__: str = "2.692.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.14.2 2.692.0 latest moovio_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -356,6 +356,7 @@ if TYPE_CHECKING:
356
356
  CreateTransferSourceCard,
357
357
  CreateTransferSourceCardTypedDict,
358
358
  )
359
+ from .createwallet import CreateWallet, CreateWalletTypedDict
359
360
  from .customersupport import CustomerSupport, CustomerSupportTypedDict
360
361
  from .customersupporterror import (
361
362
  CustomerSupportError,
@@ -653,6 +654,7 @@ if TYPE_CHECKING:
653
654
  Status,
654
655
  )
655
656
  from .patchtransfer import PatchTransfer, PatchTransferTypedDict
657
+ from .patchwallet import PatchWallet, PatchWalletTypedDict
656
658
  from .paymentdetailserror import PaymentDetailsError, PaymentDetailsErrorTypedDict
657
659
  from .paymentlink import PaymentLink, PaymentLinkTypedDict
658
660
  from .paymentlinkcustomeroptions import (
@@ -701,10 +703,6 @@ if TYPE_CHECKING:
701
703
  PayoutRecipientError,
702
704
  PayoutRecipientErrorTypedDict,
703
705
  )
704
- from .payoutrecipientupdate import (
705
- PayoutRecipientUpdate,
706
- PayoutRecipientUpdateTypedDict,
707
- )
708
706
  from .pendinglitigation import PendingLitigation
709
707
  from .phonenumber import PhoneNumber, PhoneNumberTypedDict
710
708
  from .phonenumbererror import PhoneNumberError, PhoneNumberErrorTypedDict
@@ -937,10 +935,12 @@ if TYPE_CHECKING:
937
935
  WalletAvailableBalance,
938
936
  WalletAvailableBalanceTypedDict,
939
937
  )
938
+ from .walletstatus import WalletStatus
940
939
  from .wallettransaction import WalletTransaction, WalletTransactionTypedDict
941
940
  from .wallettransactionsourcetype import WalletTransactionSourceType
942
941
  from .wallettransactionstatus import WalletTransactionStatus
943
942
  from .wallettransactiontype import WalletTransactionType
943
+ from .wallettype import WalletType
944
944
  from .webhookdata import WebhookData, WebhookDataTypedDict
945
945
  from .webhookdataaccountcreated import (
946
946
  WebhookDataAccountCreated,
@@ -1067,10 +1067,18 @@ if TYPE_CHECKING:
1067
1067
  WebhookDataTransferUpdated,
1068
1068
  WebhookDataTransferUpdatedTypedDict,
1069
1069
  )
1070
+ from .webhookdatawalletcreated import (
1071
+ WebhookDataWalletCreated,
1072
+ WebhookDataWalletCreatedTypedDict,
1073
+ )
1070
1074
  from .webhookdatawallettransactionupdated import (
1071
1075
  WebhookDataWalletTransactionUpdated,
1072
1076
  WebhookDataWalletTransactionUpdatedTypedDict,
1073
1077
  )
1078
+ from .webhookdatawalletupdated import (
1079
+ WebhookDataWalletUpdated,
1080
+ WebhookDataWalletUpdatedTypedDict,
1081
+ )
1074
1082
  from .webhookevent import WebhookEvent, WebhookEventTypedDict
1075
1083
  from .webhookeventtype import WebhookEventType
1076
1084
  from .webhooktransferpaymentmethoddetails import (
@@ -1374,6 +1382,8 @@ __all__ = [
1374
1382
  "CreateTransferSourceCardTypedDict",
1375
1383
  "CreateTransferSourceTypedDict",
1376
1384
  "CreateTransferTypedDict",
1385
+ "CreateWallet",
1386
+ "CreateWalletTypedDict",
1377
1387
  "CreatedTransfer",
1378
1388
  "CreatedTransferTypedDict",
1379
1389
  "CustomerSupport",
@@ -1625,6 +1635,8 @@ __all__ = [
1625
1635
  "PatchSweepConfigTypedDict",
1626
1636
  "PatchTransfer",
1627
1637
  "PatchTransferTypedDict",
1638
+ "PatchWallet",
1639
+ "PatchWalletTypedDict",
1628
1640
  "PaymentDetailsError",
1629
1641
  "PaymentDetailsErrorTypedDict",
1630
1642
  "PaymentLink",
@@ -1659,8 +1671,6 @@ __all__ = [
1659
1671
  "PayoutRecipientError",
1660
1672
  "PayoutRecipientErrorTypedDict",
1661
1673
  "PayoutRecipientTypedDict",
1662
- "PayoutRecipientUpdate",
1663
- "PayoutRecipientUpdateTypedDict",
1664
1674
  "PendingLitigation",
1665
1675
  "Phone",
1666
1676
  "PhoneNumber",
@@ -1905,11 +1915,13 @@ __all__ = [
1905
1915
  "Wallet",
1906
1916
  "WalletAvailableBalance",
1907
1917
  "WalletAvailableBalanceTypedDict",
1918
+ "WalletStatus",
1908
1919
  "WalletTransaction",
1909
1920
  "WalletTransactionSourceType",
1910
1921
  "WalletTransactionStatus",
1911
1922
  "WalletTransactionType",
1912
1923
  "WalletTransactionTypedDict",
1924
+ "WalletType",
1913
1925
  "WalletTypedDict",
1914
1926
  "WebhookData",
1915
1927
  "WebhookDataAccountCreated",
@@ -1976,8 +1988,12 @@ __all__ = [
1976
1988
  "WebhookDataTransferUpdated",
1977
1989
  "WebhookDataTransferUpdatedTypedDict",
1978
1990
  "WebhookDataTypedDict",
1991
+ "WebhookDataWalletCreated",
1992
+ "WebhookDataWalletCreatedTypedDict",
1979
1993
  "WebhookDataWalletTransactionUpdated",
1980
1994
  "WebhookDataWalletTransactionUpdatedTypedDict",
1995
+ "WebhookDataWalletUpdated",
1996
+ "WebhookDataWalletUpdatedTypedDict",
1981
1997
  "WebhookEvent",
1982
1998
  "WebhookEventType",
1983
1999
  "WebhookEventTypedDict",
@@ -2285,6 +2301,8 @@ _dynamic_imports: dict[str, str] = {
2285
2301
  "CreateTransferSourceACHTypedDict": ".createtransfersourceach",
2286
2302
  "CreateTransferSourceCard": ".createtransfersourcecard",
2287
2303
  "CreateTransferSourceCardTypedDict": ".createtransfersourcecard",
2304
+ "CreateWallet": ".createwallet",
2305
+ "CreateWalletTypedDict": ".createwallet",
2288
2306
  "CustomerSupport": ".customersupport",
2289
2307
  "CustomerSupportTypedDict": ".customersupport",
2290
2308
  "CustomerSupportError": ".customersupporterror",
@@ -2539,6 +2557,8 @@ _dynamic_imports: dict[str, str] = {
2539
2557
  "Status": ".patchsweepconfig",
2540
2558
  "PatchTransfer": ".patchtransfer",
2541
2559
  "PatchTransferTypedDict": ".patchtransfer",
2560
+ "PatchWallet": ".patchwallet",
2561
+ "PatchWalletTypedDict": ".patchwallet",
2542
2562
  "PaymentDetailsError": ".paymentdetailserror",
2543
2563
  "PaymentDetailsErrorTypedDict": ".paymentdetailserror",
2544
2564
  "PaymentLink": ".paymentlink",
@@ -2573,8 +2593,6 @@ _dynamic_imports: dict[str, str] = {
2573
2593
  "PayoutRecipientTypedDict": ".payoutrecipient",
2574
2594
  "PayoutRecipientError": ".payoutrecipienterror",
2575
2595
  "PayoutRecipientErrorTypedDict": ".payoutrecipienterror",
2576
- "PayoutRecipientUpdate": ".payoutrecipientupdate",
2577
- "PayoutRecipientUpdateTypedDict": ".payoutrecipientupdate",
2578
2596
  "PendingLitigation": ".pendinglitigation",
2579
2597
  "PhoneNumber": ".phonenumber",
2580
2598
  "PhoneNumberTypedDict": ".phonenumber",
@@ -2815,11 +2833,13 @@ _dynamic_imports: dict[str, str] = {
2815
2833
  "WalletTypedDict": ".wallet",
2816
2834
  "WalletAvailableBalance": ".walletavailablebalance",
2817
2835
  "WalletAvailableBalanceTypedDict": ".walletavailablebalance",
2836
+ "WalletStatus": ".walletstatus",
2818
2837
  "WalletTransaction": ".wallettransaction",
2819
2838
  "WalletTransactionTypedDict": ".wallettransaction",
2820
2839
  "WalletTransactionSourceType": ".wallettransactionsourcetype",
2821
2840
  "WalletTransactionStatus": ".wallettransactionstatus",
2822
2841
  "WalletTransactionType": ".wallettransactiontype",
2842
+ "WalletType": ".wallettype",
2823
2843
  "WebhookData": ".webhookdata",
2824
2844
  "WebhookDataTypedDict": ".webhookdata",
2825
2845
  "WebhookDataAccountCreated": ".webhookdataaccountcreated",
@@ -2885,8 +2905,12 @@ _dynamic_imports: dict[str, str] = {
2885
2905
  "WebhookDataTransferStatus": ".webhookdatatransferstatus",
2886
2906
  "WebhookDataTransferUpdated": ".webhookdatatransferupdated",
2887
2907
  "WebhookDataTransferUpdatedTypedDict": ".webhookdatatransferupdated",
2908
+ "WebhookDataWalletCreated": ".webhookdatawalletcreated",
2909
+ "WebhookDataWalletCreatedTypedDict": ".webhookdatawalletcreated",
2888
2910
  "WebhookDataWalletTransactionUpdated": ".webhookdatawallettransactionupdated",
2889
2911
  "WebhookDataWalletTransactionUpdatedTypedDict": ".webhookdatawallettransactionupdated",
2912
+ "WebhookDataWalletUpdated": ".webhookdatawalletupdated",
2913
+ "WebhookDataWalletUpdatedTypedDict": ".webhookdatawalletupdated",
2890
2914
  "WebhookEvent": ".webhookevent",
2891
2915
  "WebhookEventTypedDict": ".webhookevent",
2892
2916
  "WebhookEventType": ".webhookeventtype",
@@ -0,0 +1,26 @@
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 Dict, Optional
6
+ from typing_extensions import NotRequired, TypedDict
7
+
8
+
9
+ class CreateWalletTypedDict(TypedDict):
10
+ name: str
11
+ r"""Name of the wallet."""
12
+ description: NotRequired[str]
13
+ r"""Description of the wallet."""
14
+ metadata: NotRequired[Dict[str, str]]
15
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
16
+
17
+
18
+ class CreateWallet(BaseModel):
19
+ name: str
20
+ r"""Name of the wallet."""
21
+
22
+ description: Optional[str] = None
23
+ r"""Description of the wallet."""
24
+
25
+ metadata: Optional[Dict[str, str]] = None
26
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
@@ -0,0 +1,34 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .walletstatus import WalletStatus
5
+ from moovio_sdk.types import BaseModel
6
+ from typing import Dict, Optional
7
+ from typing_extensions import NotRequired, TypedDict
8
+
9
+
10
+ class PatchWalletTypedDict(TypedDict):
11
+ name: NotRequired[str]
12
+ status: NotRequired[WalletStatus]
13
+ r"""Status of a wallet.
14
+ - `active`: The wallet is available for use and has an enabled payment method.
15
+ - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
16
+ """
17
+ description: NotRequired[str]
18
+ metadata: NotRequired[Dict[str, str]]
19
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
20
+
21
+
22
+ class PatchWallet(BaseModel):
23
+ name: Optional[str] = None
24
+
25
+ status: Optional[WalletStatus] = None
26
+ r"""Status of a wallet.
27
+ - `active`: The wallet is available for use and has an enabled payment method.
28
+ - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
29
+ """
30
+
31
+ description: Optional[str] = None
32
+
33
+ metadata: Optional[Dict[str, str]] = None
34
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
@@ -14,6 +14,7 @@ class PaymentLinkPayoutDetailsTypedDict(TypedDict):
14
14
  r"""A list of payment methods that should be supported for this payment link."""
15
15
  recipient: PayoutRecipientTypedDict
16
16
  r"""Specify the intended recipient of the payout.
17
+ Either `email` or `phone` must be specified, but not both.
17
18
 
18
19
  This information will be used to authenticate the end user when they follow the payment link.
19
20
  """
@@ -27,6 +28,7 @@ class PaymentLinkPayoutDetails(BaseModel):
27
28
 
28
29
  recipient: PayoutRecipient
29
30
  r"""Specify the intended recipient of the payout.
31
+ Either `email` or `phone` must be specified, but not both.
30
32
 
31
33
  This information will be used to authenticate the end user when they follow the payment link.
32
34
  """
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .disbursementpaymentmethodtype import DisbursementPaymentMethodType
5
- from .payoutrecipientupdate import PayoutRecipientUpdate, PayoutRecipientUpdateTypedDict
5
+ from .payoutrecipient import PayoutRecipient, PayoutRecipientTypedDict
6
6
  from moovio_sdk.types import BaseModel
7
7
  import pydantic
8
8
  from typing import List, Optional
@@ -12,8 +12,9 @@ from typing_extensions import Annotated, NotRequired, TypedDict
12
12
  class PaymentLinkPayoutDetailsUpdateTypedDict(TypedDict):
13
13
  allowed_methods: NotRequired[List[DisbursementPaymentMethodType]]
14
14
  r"""A list of payment methods that should be supported for this payment link."""
15
- recipient: NotRequired[PayoutRecipientUpdateTypedDict]
15
+ recipient: NotRequired[PayoutRecipientTypedDict]
16
16
  r"""Specify the intended recipient of the payout.
17
+ Either `email` or `phone` must be specified, but not both.
17
18
 
18
19
  This information will be used to authenticate the end user when they follow the payment link.
19
20
  """
@@ -26,8 +27,9 @@ class PaymentLinkPayoutDetailsUpdate(BaseModel):
26
27
  ] = None
27
28
  r"""A list of payment methods that should be supported for this payment link."""
28
29
 
29
- recipient: Optional[PayoutRecipientUpdate] = None
30
+ recipient: Optional[PayoutRecipient] = None
30
31
  r"""Specify the intended recipient of the payout.
32
+ Either `email` or `phone` must be specified, but not both.
31
33
 
32
34
  This information will be used to authenticate the end user when they follow the payment link.
33
35
  """
@@ -1,23 +1,30 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .phonenumber import PhoneNumber, PhoneNumberTypedDict
4
5
  from moovio_sdk.types import BaseModel
5
- from typing_extensions import TypedDict
6
+ from typing import Optional
7
+ from typing_extensions import NotRequired, TypedDict
6
8
 
7
9
 
8
10
  class PayoutRecipientTypedDict(TypedDict):
9
11
  r"""Specify the intended recipient of the payout.
12
+ Either `email` or `phone` must be specified, but not both.
10
13
 
11
14
  This information will be used to authenticate the end user when they follow the payment link.
12
15
  """
13
16
 
14
- email: str
17
+ email: NotRequired[str]
18
+ phone: NotRequired[PhoneNumberTypedDict]
15
19
 
16
20
 
17
21
  class PayoutRecipient(BaseModel):
18
22
  r"""Specify the intended recipient of the payout.
23
+ Either `email` or `phone` must be specified, but not both.
19
24
 
20
25
  This information will be used to authenticate the end user when they follow the payment link.
21
26
  """
22
27
 
23
- email: str
28
+ email: Optional[str] = None
29
+
30
+ phone: Optional[PhoneNumber] = None
@@ -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 .phonenumbererror import PhoneNumberError, PhoneNumberErrorTypedDict
4
5
  from moovio_sdk.types import BaseModel
5
6
  from typing import Optional
6
7
  from typing_extensions import NotRequired, TypedDict
@@ -8,7 +9,10 @@ from typing_extensions import NotRequired, TypedDict
8
9
 
9
10
  class PayoutRecipientErrorTypedDict(TypedDict):
10
11
  email: NotRequired[str]
12
+ phone: NotRequired[PhoneNumberErrorTypedDict]
11
13
 
12
14
 
13
15
  class PayoutRecipientError(BaseModel):
14
16
  email: Optional[str] = None
17
+
18
+ phone: Optional[PhoneNumberError] = None
@@ -70,28 +70,136 @@ class RequirementID(str, Enum):
70
70
  REPRESENTATIVE_REP_UUID_OWNERSHIP = "representative.{rep-uuid}.ownership"
71
71
  DOCUMENT_DOC_UUID_ = "document.{doc-uuid}"
72
72
  UNDERWRITING_BUSINESS_PRESENCE = "underwriting.businessPresence"
73
- UNDERWRITING_CAPABILITY_CARD_ACCEPTANCE_METHODS = (
74
- "underwriting.{capability}.cardAcceptanceMethods"
73
+ UNDERWRITING_GEOGRAPHIC_REACH = "underwriting.geographicReach"
74
+ UNDERWRITING_VOLUME_SHARE_BY_CUSTOMER_TYPE = (
75
+ "underwriting.volumeShareByCustomerType"
75
76
  )
76
- UNDERWRITING_CAPABILITY_CURRENTLY_ACCEPTS_CARDS = (
77
- "underwriting.{capability}.currentlyAcceptsCards"
77
+ UNDERWRITING_PENDING_LITIGATION = "underwriting.pendingLitigation"
78
+ UNDERWRITING_DOCUMENTS_PROCESSING_STATEMENTS_PAST3_MONTHS = (
79
+ "underwriting.documents.processingStatementsPast3Months"
78
80
  )
79
- UNDERWRITING_CAPABILITY_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = (
80
- "underwriting.{capability}.estimatedActivity.averageTransactionAmount"
81
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_CARD_ACCEPTANCE_METHODS = (
82
+ "underwriting.collectFunds.cardPayments.cardAcceptanceMethods"
81
83
  )
82
- UNDERWRITING_CAPABILITY_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = (
83
- "underwriting.{capability}.estimatedActivity.maximumTransactionAmount"
84
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_CURRENTLY_ACCEPTS_CARDS = (
85
+ "underwriting.collectFunds.cardPayments.currentlyAcceptsCards"
84
86
  )
85
- UNDERWRITING_CAPABILITY_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
86
- "underwriting.{capability}.estimatedActivity.monthlyVolumeRange"
87
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = "underwriting.collectFunds.cardPayments.estimatedActivity.averageTransactionAmount"
88
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = "underwriting.collectFunds.cardPayments.estimatedActivity.maximumTransactionAmount"
89
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
90
+ "underwriting.collectFunds.cardPayments.estimatedActivity.monthlyVolumeRange"
87
91
  )
88
- UNDERWRITING_CAPABILITY_FULFILLMENT = "underwriting.{capability}.fulfillment"
89
- UNDERWRITING_GEOGRAPHIC_REACH = "underwriting.geographicReach"
90
- UNDERWRITING_PENDING_LITIGATION = "underwriting.pendingLitigation"
91
- UNDERWRITING_DOCUMENTS_PROCESSING_STATEMENTS_PAST3_MONTHS = (
92
- "underwriting.documents.processingStatementsPast3Months"
92
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_FULFILLMENT = (
93
+ "underwriting.collectFunds.cardPayments.fulfillment"
93
94
  )
94
- UNDERWRITING_CAPABILITY_REFUND_POLICY = "underwriting.{capability}.refundPolicy"
95
- UNDERWRITING_VOLUME_SHARE_BY_CUSTOMER_TYPE = (
96
- "underwriting.volumeShareByCustomerType"
95
+ UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_REFUND_POLICY = (
96
+ "underwriting.collectFunds.cardPayments.refundPolicy"
97
+ )
98
+ UNDERWRITING_COLLECT_FUNDS_ACH_CARD_ACCEPTANCE_METHODS = (
99
+ "underwriting.collectFunds.ach.cardAcceptanceMethods"
100
+ )
101
+ UNDERWRITING_COLLECT_FUNDS_ACH_CURRENTLY_ACCEPTS_CARDS = (
102
+ "underwriting.collectFunds.ach.currentlyAcceptsCards"
103
+ )
104
+ UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = (
105
+ "underwriting.collectFunds.ach.estimatedActivity.averageTransactionAmount"
106
+ )
107
+ UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = (
108
+ "underwriting.collectFunds.ach.estimatedActivity.maximumTransactionAmount"
109
+ )
110
+ UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
111
+ "underwriting.collectFunds.ach.estimatedActivity.monthlyVolumeRange"
112
+ )
113
+ UNDERWRITING_COLLECT_FUNDS_ACH_FULFILLMENT = (
114
+ "underwriting.collectFunds.ach.fulfillment"
115
+ )
116
+ UNDERWRITING_COLLECT_FUNDS_ACH_REFUND_POLICY = (
117
+ "underwriting.collectFunds.ach.refundPolicy"
118
+ )
119
+ UNDERWRITING_SEND_FUNDS_ACH_CARD_ACCEPTANCE_METHODS = (
120
+ "underwriting.sendFunds.ach.cardAcceptanceMethods"
121
+ )
122
+ UNDERWRITING_SEND_FUNDS_ACH_CURRENTLY_ACCEPTS_CARDS = (
123
+ "underwriting.sendFunds.ach.currentlyAcceptsCards"
124
+ )
125
+ UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = (
126
+ "underwriting.sendFunds.ach.estimatedActivity.averageTransactionAmount"
127
+ )
128
+ UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = (
129
+ "underwriting.sendFunds.ach.estimatedActivity.maximumTransactionAmount"
130
+ )
131
+ UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
132
+ "underwriting.sendFunds.ach.estimatedActivity.monthlyVolumeRange"
133
+ )
134
+ UNDERWRITING_SEND_FUNDS_ACH_FULFILLMENT = "underwriting.sendFunds.ach.fulfillment"
135
+ UNDERWRITING_SEND_FUNDS_ACH_REFUND_POLICY = (
136
+ "underwriting.sendFunds.ach.refundPolicy"
137
+ )
138
+ UNDERWRITING_SEND_FUNDS_RTP_CARD_ACCEPTANCE_METHODS = (
139
+ "underwriting.sendFunds.rtp.cardAcceptanceMethods"
140
+ )
141
+ UNDERWRITING_SEND_FUNDS_RTP_CURRENTLY_ACCEPTS_CARDS = (
142
+ "underwriting.sendFunds.rtp.currentlyAcceptsCards"
143
+ )
144
+ UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = (
145
+ "underwriting.sendFunds.rtp.estimatedActivity.averageTransactionAmount"
146
+ )
147
+ UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = (
148
+ "underwriting.sendFunds.rtp.estimatedActivity.maximumTransactionAmount"
149
+ )
150
+ UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
151
+ "underwriting.sendFunds.rtp.estimatedActivity.monthlyVolumeRange"
152
+ )
153
+ UNDERWRITING_SEND_FUNDS_RTP_FULFILLMENT = "underwriting.sendFunds.rtp.fulfillment"
154
+ UNDERWRITING_SEND_FUNDS_RTP_REFUND_POLICY = (
155
+ "underwriting.sendFunds.rtp.refundPolicy"
156
+ )
157
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_CARD_ACCEPTANCE_METHODS = (
158
+ "underwriting.sendFunds.pushToCard.cardAcceptanceMethods"
159
+ )
160
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_CURRENTLY_ACCEPTS_CARDS = (
161
+ "underwriting.sendFunds.pushToCard.currentlyAcceptsCards"
162
+ )
163
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = "underwriting.sendFunds.pushToCard.estimatedActivity.averageTransactionAmount"
164
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = "underwriting.sendFunds.pushToCard.estimatedActivity.maximumTransactionAmount"
165
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
166
+ "underwriting.sendFunds.pushToCard.estimatedActivity.monthlyVolumeRange"
167
+ )
168
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_FULFILLMENT = (
169
+ "underwriting.sendFunds.pushToCard.fulfillment"
170
+ )
171
+ UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_REFUND_POLICY = (
172
+ "underwriting.sendFunds.pushToCard.refundPolicy"
173
+ )
174
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_CARD_ACCEPTANCE_METHODS = (
175
+ "underwriting.moneyTransfer.pullFromCard.cardAcceptanceMethods"
176
+ )
177
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_CURRENTLY_ACCEPTS_CARDS = (
178
+ "underwriting.moneyTransfer.pullFromCard.currentlyAcceptsCards"
179
+ )
180
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = "underwriting.moneyTransfer.pullFromCard.estimatedActivity.averageTransactionAmount"
181
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = "underwriting.moneyTransfer.pullFromCard.estimatedActivity.maximumTransactionAmount"
182
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = "underwriting.moneyTransfer.pullFromCard.estimatedActivity.monthlyVolumeRange"
183
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_FULFILLMENT = (
184
+ "underwriting.moneyTransfer.pullFromCard.fulfillment"
185
+ )
186
+ UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_REFUND_POLICY = (
187
+ "underwriting.moneyTransfer.pullFromCard.refundPolicy"
188
+ )
189
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_CARD_ACCEPTANCE_METHODS = (
190
+ "underwriting.moneyTransfer.pushToCard.cardAcceptanceMethods"
191
+ )
192
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_CURRENTLY_ACCEPTS_CARDS = (
193
+ "underwriting.moneyTransfer.pushToCard.currentlyAcceptsCards"
194
+ )
195
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = "underwriting.moneyTransfer.pushToCard.estimatedActivity.averageTransactionAmount"
196
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = "underwriting.moneyTransfer.pushToCard.estimatedActivity.maximumTransactionAmount"
197
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = (
198
+ "underwriting.moneyTransfer.pushToCard.estimatedActivity.monthlyVolumeRange"
199
+ )
200
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_FULFILLMENT = (
201
+ "underwriting.moneyTransfer.pushToCard.fulfillment"
202
+ )
203
+ UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_REFUND_POLICY = (
204
+ "underwriting.moneyTransfer.pushToCard.refundPolicy"
97
205
  )
@@ -5,9 +5,13 @@ from .walletavailablebalance import (
5
5
  WalletAvailableBalance,
6
6
  WalletAvailableBalanceTypedDict,
7
7
  )
8
+ from .walletstatus import WalletStatus
9
+ from .wallettype import WalletType
10
+ from datetime import datetime
8
11
  from moovio_sdk.types import BaseModel
9
12
  import pydantic
10
- from typing_extensions import Annotated, TypedDict
13
+ from typing import Dict, Optional
14
+ from typing_extensions import Annotated, NotRequired, TypedDict
11
15
 
12
16
 
13
17
  class WalletTypedDict(TypedDict):
@@ -15,6 +19,25 @@ class WalletTypedDict(TypedDict):
15
19
 
16
20
  wallet_id: str
17
21
  available_balance: WalletAvailableBalanceTypedDict
22
+ partner_account_id: str
23
+ name: str
24
+ r"""Name of the wallet"""
25
+ status: WalletStatus
26
+ r"""Status of a wallet.
27
+ - `active`: The wallet is available for use and has an enabled payment method.
28
+ - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
29
+ """
30
+ wallet_type: WalletType
31
+ r"""Type of a wallet.
32
+ - `default`: The primary system-generated wallet automatically created by Moov when an account is granted the wallet capability. This generates a moov-wallet payment method that is available for use immediately. Only one default wallet exists per account.
33
+ - `general`: A user-defined wallet created via the API to segment funds for specific use cases. Users can create multiple general wallets per account to support internal business models or financial reporting needs.
34
+ """
35
+ description: str
36
+ r"""Description of the wallet"""
37
+ created_on: datetime
38
+ metadata: NotRequired[Dict[str, str]]
39
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
40
+ closed_on: NotRequired[datetime]
18
41
 
19
42
 
20
43
  class Wallet(BaseModel):
@@ -25,3 +48,30 @@ class Wallet(BaseModel):
25
48
  available_balance: Annotated[
26
49
  WalletAvailableBalance, pydantic.Field(alias="availableBalance")
27
50
  ]
51
+
52
+ partner_account_id: Annotated[str, pydantic.Field(alias="partnerAccountID")]
53
+
54
+ name: str
55
+ r"""Name of the wallet"""
56
+
57
+ status: WalletStatus
58
+ r"""Status of a wallet.
59
+ - `active`: The wallet is available for use and has an enabled payment method.
60
+ - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
61
+ """
62
+
63
+ wallet_type: Annotated[WalletType, pydantic.Field(alias="walletType")]
64
+ r"""Type of a wallet.
65
+ - `default`: The primary system-generated wallet automatically created by Moov when an account is granted the wallet capability. This generates a moov-wallet payment method that is available for use immediately. Only one default wallet exists per account.
66
+ - `general`: A user-defined wallet created via the API to segment funds for specific use cases. Users can create multiple general wallets per account to support internal business models or financial reporting needs.
67
+ """
68
+
69
+ description: str
70
+ r"""Description of the wallet"""
71
+
72
+ created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
73
+
74
+ metadata: Optional[Dict[str, str]] = None
75
+ r"""Free-form key-value pair list. Useful for storing information that is not captured elsewhere."""
76
+
77
+ closed_on: Annotated[Optional[datetime], pydantic.Field(alias="closedOn")] = None
@@ -0,0 +1,14 @@
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 WalletStatus(str, Enum):
8
+ r"""Status of a wallet.
9
+ - `active`: The wallet is available for use and has an enabled payment method.
10
+ - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
11
+ """
12
+
13
+ ACTIVE = "active"
14
+ CLOSED = "closed"
@@ -0,0 +1,14 @@
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 WalletType(str, Enum):
8
+ r"""Type of a wallet.
9
+ - `default`: The primary system-generated wallet automatically created by Moov when an account is granted the wallet capability. This generates a moov-wallet payment method that is available for use immediately. Only one default wallet exists per account.
10
+ - `general`: A user-defined wallet created via the API to segment funds for specific use cases. Users can create multiple general wallets per account to support internal business models or financial reporting needs.
11
+ """
12
+
13
+ DEFAULT = "default"
14
+ GENERAL = "general"