moovio_sdk 0.16.3__py3-none-any.whl → 0.17.1__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.

Files changed (104) hide show
  1. moovio_sdk/_version.py +3 -3
  2. moovio_sdk/account_terminal_applications.py +8 -8
  3. moovio_sdk/accounts.py +18 -18
  4. moovio_sdk/adjustments.py +4 -4
  5. moovio_sdk/apple_pay.py +10 -10
  6. moovio_sdk/authentication.py +4 -4
  7. moovio_sdk/avatars.py +2 -2
  8. moovio_sdk/bank_accounts.py +18 -18
  9. moovio_sdk/branding.py +8 -8
  10. moovio_sdk/capabilities.py +8 -8
  11. moovio_sdk/card_issuing.py +10 -10
  12. moovio_sdk/cards.py +10 -10
  13. moovio_sdk/disputes.py +22 -22
  14. moovio_sdk/end_to_end_encryption.py +4 -4
  15. moovio_sdk/enriched_address.py +2 -2
  16. moovio_sdk/enriched_profile.py +2 -2
  17. moovio_sdk/fee_plans.py +14 -14
  18. moovio_sdk/files.py +6 -6
  19. moovio_sdk/httpclient.py +0 -1
  20. moovio_sdk/images.py +833 -0
  21. moovio_sdk/industries.py +2 -2
  22. moovio_sdk/institutions.py +4 -4
  23. moovio_sdk/issuing_transactions.py +10 -10
  24. moovio_sdk/models/components/__init__.py +21 -0
  25. moovio_sdk/models/components/capabilityid.py +1 -0
  26. moovio_sdk/models/components/imagemetadata.py +40 -0
  27. moovio_sdk/models/components/paymentmethodswallet.py +4 -4
  28. moovio_sdk/models/components/sendfunds.py +6 -0
  29. moovio_sdk/models/components/sendfundserror.py +9 -0
  30. moovio_sdk/models/components/sendfundsinstantbank.py +18 -0
  31. moovio_sdk/models/components/sendfundsinstantbankerror.py +21 -0
  32. moovio_sdk/models/components/wallet.py +4 -4
  33. moovio_sdk/models/components/wallettype.py +2 -2
  34. moovio_sdk/models/errors/accountterminalapplicationerror.py +1 -1
  35. moovio_sdk/models/errors/addcapabilitieserror.py +1 -1
  36. moovio_sdk/models/errors/apierror.py +1 -1
  37. moovio_sdk/models/errors/assigncountrieserror.py +1 -1
  38. moovio_sdk/models/errors/authtokenrequesterror.py +1 -1
  39. moovio_sdk/models/errors/bankaccountvalidationerror.py +1 -1
  40. moovio_sdk/models/errors/brandvalidationerror.py +1 -1
  41. moovio_sdk/models/errors/cardacquiringrefund.py +1 -1
  42. moovio_sdk/models/errors/createaccounterror.py +1 -1
  43. moovio_sdk/models/errors/createpaymentlinkerror.py +1 -1
  44. moovio_sdk/models/errors/createsweepconfigerror.py +1 -1
  45. moovio_sdk/models/errors/createticketerror.py +1 -1
  46. moovio_sdk/models/errors/createwalletvalidationerror.py +1 -1
  47. moovio_sdk/models/errors/feeplanagreementerror.py +1 -1
  48. moovio_sdk/models/errors/fileuploadvalidationerror.py +1 -1
  49. moovio_sdk/models/errors/filevalidationerror.py +1 -1
  50. moovio_sdk/models/errors/genericerror.py +1 -1
  51. moovio_sdk/models/errors/linkapplepayerror.py +1 -1
  52. moovio_sdk/models/errors/linkcarderror.py +1 -1
  53. moovio_sdk/models/errors/listtransfersvalidationerror.py +1 -1
  54. moovio_sdk/models/errors/listwalletsvalidationerror.py +1 -1
  55. moovio_sdk/models/errors/listwallettransactionsvalidationerror.py +1 -1
  56. moovio_sdk/models/errors/microdepositvalidationerror.py +1 -1
  57. moovio_sdk/models/errors/mooverror.py +1 -1
  58. moovio_sdk/models/errors/no_response_error.py +1 -1
  59. moovio_sdk/models/errors/onboardinginviteerror.py +1 -1
  60. moovio_sdk/models/errors/patchaccounterror.py +1 -1
  61. moovio_sdk/models/errors/patchsweepconfigerror.py +1 -1
  62. moovio_sdk/models/errors/patchtransfervalidationerror.py +1 -1
  63. moovio_sdk/models/errors/patchwalletvalidationerror.py +1 -1
  64. moovio_sdk/models/errors/refundvalidationerror.py +1 -1
  65. moovio_sdk/models/errors/representativevalidationerror.py +1 -1
  66. moovio_sdk/models/errors/requestcarderror.py +1 -1
  67. moovio_sdk/models/errors/responsevalidationerror.py +1 -1
  68. moovio_sdk/models/errors/reversalvalidationerror.py +1 -1
  69. moovio_sdk/models/errors/revoketokenrequesterror.py +1 -1
  70. moovio_sdk/models/errors/schedulevalidationerror.py +1 -1
  71. moovio_sdk/models/errors/terminalapplicationerror.py +1 -1
  72. moovio_sdk/models/errors/transfer.py +1 -1
  73. moovio_sdk/models/errors/transferoptionsvalidationerror.py +1 -1
  74. moovio_sdk/models/errors/transfervalidationerror.py +1 -1
  75. moovio_sdk/models/errors/updatecarderror.py +1 -1
  76. moovio_sdk/models/errors/updateissuedcarderror.py +1 -1
  77. moovio_sdk/models/errors/updatepaymentlinkerror.py +1 -1
  78. moovio_sdk/models/errors/updateticketerror.py +1 -1
  79. moovio_sdk/models/errors/updateunderwritingerror.py +1 -1
  80. moovio_sdk/models/errors/upsertunderwritingerror.py +1 -1
  81. moovio_sdk/models/operations/__init__.py +80 -0
  82. moovio_sdk/models/operations/deleteimage.py +67 -0
  83. moovio_sdk/models/operations/getimagemetadata.py +71 -0
  84. moovio_sdk/models/operations/getpublicimage.py +74 -0
  85. moovio_sdk/models/operations/listimagemetadata.py +64 -0
  86. moovio_sdk/onboarding.py +8 -8
  87. moovio_sdk/payment_links.py +12 -12
  88. moovio_sdk/payment_methods.py +4 -4
  89. moovio_sdk/ping.py +2 -2
  90. moovio_sdk/receipts.py +4 -4
  91. moovio_sdk/representatives.py +10 -10
  92. moovio_sdk/scheduling.py +12 -12
  93. moovio_sdk/sdk.py +3 -0
  94. moovio_sdk/statements.py +4 -4
  95. moovio_sdk/support.py +10 -10
  96. moovio_sdk/sweeps.py +12 -12
  97. moovio_sdk/terminal_applications.py +10 -10
  98. moovio_sdk/transfers.py +22 -22
  99. moovio_sdk/underwriting.py +6 -6
  100. moovio_sdk/wallet_transactions.py +4 -4
  101. moovio_sdk/wallets.py +8 -8
  102. {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/METADATA +51 -45
  103. {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/RECORD +104 -96
  104. {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/WHEEL +0 -0
moovio_sdk/industries.py CHANGED
@@ -79,7 +79,7 @@ class Industries(BaseSDK):
79
79
  config=self.sdk_configuration,
80
80
  base_url=base_url or "",
81
81
  operation_id="listIndustries",
82
- oauth2_scopes=[],
82
+ oauth2_scopes=None,
83
83
  security_source=get_security_from_env(
84
84
  self.sdk_configuration.security, components.Security
85
85
  ),
@@ -177,7 +177,7 @@ class Industries(BaseSDK):
177
177
  config=self.sdk_configuration,
178
178
  base_url=base_url or "",
179
179
  operation_id="listIndustries",
180
- oauth2_scopes=[],
180
+ oauth2_scopes=None,
181
181
  security_source=get_security_from_env(
182
182
  self.sdk_configuration.security, components.Security
183
183
  ),
@@ -87,7 +87,7 @@ class Institutions(BaseSDK):
87
87
  config=self.sdk_configuration,
88
88
  base_url=base_url or "",
89
89
  operation_id="searchInstitutions",
90
- oauth2_scopes=[],
90
+ oauth2_scopes=None,
91
91
  security_source=get_security_from_env(
92
92
  self.sdk_configuration.security, components.Security
93
93
  ),
@@ -195,7 +195,7 @@ class Institutions(BaseSDK):
195
195
  config=self.sdk_configuration,
196
196
  base_url=base_url or "",
197
197
  operation_id="searchInstitutions",
198
- oauth2_scopes=[],
198
+ oauth2_scopes=None,
199
199
  security_source=get_security_from_env(
200
200
  self.sdk_configuration.security, components.Security
201
201
  ),
@@ -302,7 +302,7 @@ class Institutions(BaseSDK):
302
302
  config=self.sdk_configuration,
303
303
  base_url=base_url or "",
304
304
  operation_id="listInstitutions",
305
- oauth2_scopes=[],
305
+ oauth2_scopes=None,
306
306
  security_source=get_security_from_env(
307
307
  self.sdk_configuration.security, components.Security
308
308
  ),
@@ -413,7 +413,7 @@ class Institutions(BaseSDK):
413
413
  config=self.sdk_configuration,
414
414
  base_url=base_url or "",
415
415
  operation_id="listInstitutions",
416
- oauth2_scopes=[],
416
+ oauth2_scopes=None,
417
417
  security_source=get_security_from_env(
418
418
  self.sdk_configuration.security, components.Security
419
419
  ),
@@ -96,7 +96,7 @@ class IssuingTransactions(BaseSDK):
96
96
  config=self.sdk_configuration,
97
97
  base_url=base_url or "",
98
98
  operation_id="listIssuedCardAuthorizations",
99
- oauth2_scopes=[],
99
+ oauth2_scopes=None,
100
100
  security_source=get_security_from_env(
101
101
  self.sdk_configuration.security, components.Security
102
102
  ),
@@ -212,7 +212,7 @@ class IssuingTransactions(BaseSDK):
212
212
  config=self.sdk_configuration,
213
213
  base_url=base_url or "",
214
214
  operation_id="listIssuedCardAuthorizations",
215
- oauth2_scopes=[],
215
+ oauth2_scopes=None,
216
216
  security_source=get_security_from_env(
217
217
  self.sdk_configuration.security, components.Security
218
218
  ),
@@ -313,7 +313,7 @@ class IssuingTransactions(BaseSDK):
313
313
  config=self.sdk_configuration,
314
314
  base_url=base_url or "",
315
315
  operation_id="getIssuedCardAuthorization",
316
- oauth2_scopes=[],
316
+ oauth2_scopes=None,
317
317
  security_source=get_security_from_env(
318
318
  self.sdk_configuration.security, components.Security
319
319
  ),
@@ -414,7 +414,7 @@ class IssuingTransactions(BaseSDK):
414
414
  config=self.sdk_configuration,
415
415
  base_url=base_url or "",
416
416
  operation_id="getIssuedCardAuthorization",
417
- oauth2_scopes=[],
417
+ oauth2_scopes=None,
418
418
  security_source=get_security_from_env(
419
419
  self.sdk_configuration.security, components.Security
420
420
  ),
@@ -521,7 +521,7 @@ class IssuingTransactions(BaseSDK):
521
521
  config=self.sdk_configuration,
522
522
  base_url=base_url or "",
523
523
  operation_id="listIssuedCardAuthorizationEvents",
524
- oauth2_scopes=[],
524
+ oauth2_scopes=None,
525
525
  security_source=get_security_from_env(
526
526
  self.sdk_configuration.security, components.Security
527
527
  ),
@@ -628,7 +628,7 @@ class IssuingTransactions(BaseSDK):
628
628
  config=self.sdk_configuration,
629
629
  base_url=base_url or "",
630
630
  operation_id="listIssuedCardAuthorizationEvents",
631
- oauth2_scopes=[],
631
+ oauth2_scopes=None,
632
632
  security_source=get_security_from_env(
633
633
  self.sdk_configuration.security, components.Security
634
634
  ),
@@ -741,7 +741,7 @@ class IssuingTransactions(BaseSDK):
741
741
  config=self.sdk_configuration,
742
742
  base_url=base_url or "",
743
743
  operation_id="listIssuedCardTransactions",
744
- oauth2_scopes=[],
744
+ oauth2_scopes=None,
745
745
  security_source=get_security_from_env(
746
746
  self.sdk_configuration.security, components.Security
747
747
  ),
@@ -854,7 +854,7 @@ class IssuingTransactions(BaseSDK):
854
854
  config=self.sdk_configuration,
855
855
  base_url=base_url or "",
856
856
  operation_id="listIssuedCardTransactions",
857
- oauth2_scopes=[],
857
+ oauth2_scopes=None,
858
858
  security_source=get_security_from_env(
859
859
  self.sdk_configuration.security, components.Security
860
860
  ),
@@ -955,7 +955,7 @@ class IssuingTransactions(BaseSDK):
955
955
  config=self.sdk_configuration,
956
956
  base_url=base_url or "",
957
957
  operation_id="getIssuedCardTransaction",
958
- oauth2_scopes=[],
958
+ oauth2_scopes=None,
959
959
  security_source=get_security_from_env(
960
960
  self.sdk_configuration.security, components.Security
961
961
  ),
@@ -1056,7 +1056,7 @@ class IssuingTransactions(BaseSDK):
1056
1056
  config=self.sdk_configuration,
1057
1057
  base_url=base_url or "",
1058
1058
  operation_id="getIssuedCardTransaction",
1059
- oauth2_scopes=[],
1059
+ oauth2_scopes=None,
1060
1060
  security_source=get_security_from_env(
1061
1061
  self.sdk_configuration.security, components.Security
1062
1062
  ),
@@ -512,6 +512,7 @@ if TYPE_CHECKING:
512
512
  )
513
513
  from .granttype import GrantType
514
514
  from .guestprofile import GuestProfile, GuestProfileTypedDict
515
+ from .imagemetadata import ImageMetadata, ImageMetadataTypedDict
515
516
  from .incurredfee import IncurredFee, IncurredFeeTypedDict
516
517
  from .individualname import IndividualName, IndividualNameTypedDict
517
518
  from .individualnameerror import IndividualNameError, IndividualNameErrorTypedDict
@@ -827,6 +828,14 @@ if TYPE_CHECKING:
827
828
  from .sendfundsach import SendFundsAch, SendFundsAchTypedDict
828
829
  from .sendfundsacherror import SendFundsAchError, SendFundsAchErrorTypedDict
829
830
  from .sendfundserror import SendFundsError, SendFundsErrorTypedDict
831
+ from .sendfundsinstantbank import (
832
+ SendFundsInstantBank,
833
+ SendFundsInstantBankTypedDict,
834
+ )
835
+ from .sendfundsinstantbankerror import (
836
+ SendFundsInstantBankError,
837
+ SendFundsInstantBankErrorTypedDict,
838
+ )
830
839
  from .sendfundspushtocard import SendFundsPushToCard, SendFundsPushToCardTypedDict
831
840
  from .sendfundspushtocarderror import (
832
841
  SendFundsPushToCardError,
@@ -1555,6 +1564,8 @@ __all__ = [
1555
1564
  "GrantType",
1556
1565
  "GuestProfile",
1557
1566
  "GuestProfileTypedDict",
1567
+ "ImageMetadata",
1568
+ "ImageMetadataTypedDict",
1558
1569
  "IncurredFee",
1559
1570
  "IncurredFeeTypedDict",
1560
1571
  "IndividualName",
@@ -1835,6 +1846,10 @@ __all__ = [
1835
1846
  "SendFundsAchTypedDict",
1836
1847
  "SendFundsError",
1837
1848
  "SendFundsErrorTypedDict",
1849
+ "SendFundsInstantBank",
1850
+ "SendFundsInstantBankError",
1851
+ "SendFundsInstantBankErrorTypedDict",
1852
+ "SendFundsInstantBankTypedDict",
1838
1853
  "SendFundsPushToCard",
1839
1854
  "SendFundsPushToCardError",
1840
1855
  "SendFundsPushToCardErrorTypedDict",
@@ -2500,6 +2515,8 @@ _dynamic_imports: dict[str, str] = {
2500
2515
  "GrantType": ".granttype",
2501
2516
  "GuestProfile": ".guestprofile",
2502
2517
  "GuestProfileTypedDict": ".guestprofile",
2518
+ "ImageMetadata": ".imagemetadata",
2519
+ "ImageMetadataTypedDict": ".imagemetadata",
2503
2520
  "IncurredFee": ".incurredfee",
2504
2521
  "IncurredFeeTypedDict": ".incurredfee",
2505
2522
  "IndividualName": ".individualname",
@@ -2784,6 +2801,10 @@ _dynamic_imports: dict[str, str] = {
2784
2801
  "SendFundsAchErrorTypedDict": ".sendfundsacherror",
2785
2802
  "SendFundsError": ".sendfundserror",
2786
2803
  "SendFundsErrorTypedDict": ".sendfundserror",
2804
+ "SendFundsInstantBank": ".sendfundsinstantbank",
2805
+ "SendFundsInstantBankTypedDict": ".sendfundsinstantbank",
2806
+ "SendFundsInstantBankError": ".sendfundsinstantbankerror",
2807
+ "SendFundsInstantBankErrorTypedDict": ".sendfundsinstantbankerror",
2787
2808
  "SendFundsPushToCard": ".sendfundspushtocard",
2788
2809
  "SendFundsPushToCardTypedDict": ".sendfundspushtocard",
2789
2810
  "SendFundsPushToCardError": ".sendfundspushtocarderror",
@@ -16,6 +16,7 @@ class CapabilityID(str, Enum):
16
16
  MONEY_TRANSFER_PUSH_TO_CARD = "money-transfer.push-to-card"
17
17
  SEND_FUNDS_ACH = "send-funds.ach"
18
18
  SEND_FUNDS_RTP = "send-funds.rtp"
19
+ SEND_FUNDS_INSTANT_BANK = "send-funds.instant-bank"
19
20
  COLLECT_FUNDS = "collect-funds"
20
21
  COLLECT_FUNDS_CARD_PAYMENTS = "collect-funds.card-payments"
21
22
  MONEY_TRANSFER_PULL_FROM_CARD = "money-transfer.pull-from-card"
@@ -0,0 +1,40 @@
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.types import BaseModel
6
+ import pydantic
7
+ from typing import Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class ImageMetadataTypedDict(TypedDict):
12
+ r"""Metadata about an uploaded image."""
13
+
14
+ image_id: str
15
+ link: str
16
+ r"""A public URL to access the image. An optional `size={width}x{height}`
17
+ query parameter can be provided to resize the image.
18
+ """
19
+ created_on: datetime
20
+ updated_on: datetime
21
+ alt_text: NotRequired[str]
22
+ r"""Alternative text for the image."""
23
+
24
+
25
+ class ImageMetadata(BaseModel):
26
+ r"""Metadata about an uploaded image."""
27
+
28
+ image_id: Annotated[str, pydantic.Field(alias="imageID")]
29
+
30
+ link: str
31
+ r"""A public URL to access the image. An optional `size={width}x{height}`
32
+ query parameter can be provided to resize the image.
33
+ """
34
+
35
+ created_on: Annotated[datetime, pydantic.Field(alias="createdOn")]
36
+
37
+ updated_on: Annotated[datetime, pydantic.Field(alias="updatedOn")]
38
+
39
+ alt_text: Annotated[Optional[str], pydantic.Field(alias="altText")] = None
40
+ r"""Alternative text for the image."""
@@ -12,8 +12,8 @@ class PaymentMethodsWalletTypedDict(TypedDict):
12
12
  partner_account_id: str
13
13
  wallet_type: WalletType
14
14
  r"""Type of a wallet.
15
- - `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.
16
- - `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.
15
+ - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
16
+ - `general`: An additional, user-defined wallet created via API or Dashboard.
17
17
  """
18
18
 
19
19
 
@@ -24,6 +24,6 @@ class PaymentMethodsWallet(BaseModel):
24
24
 
25
25
  wallet_type: Annotated[WalletType, pydantic.Field(alias="walletType")]
26
26
  r"""Type of a wallet.
27
- - `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.
28
- - `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.
27
+ - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
28
+ - `general`: An additional, user-defined wallet created via API or Dashboard.
29
29
  """
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .sendfundsach import SendFundsAch, SendFundsAchTypedDict
5
+ from .sendfundsinstantbank import SendFundsInstantBank, SendFundsInstantBankTypedDict
5
6
  from .sendfundspushtocard import SendFundsPushToCard, SendFundsPushToCardTypedDict
6
7
  from .sendfundsrtp import SendFundsRtp, SendFundsRtpTypedDict
7
8
  from moovio_sdk.types import BaseModel
@@ -14,6 +15,7 @@ class SendFundsTypedDict(TypedDict):
14
15
  ach: NotRequired[SendFundsAchTypedDict]
15
16
  push_to_card: NotRequired[SendFundsPushToCardTypedDict]
16
17
  rtp: NotRequired[SendFundsRtpTypedDict]
18
+ instant_bank: NotRequired[SendFundsInstantBankTypedDict]
17
19
 
18
20
 
19
21
  class SendFunds(BaseModel):
@@ -24,3 +26,7 @@ class SendFunds(BaseModel):
24
26
  ] = None
25
27
 
26
28
  rtp: Optional[SendFundsRtp] = None
29
+
30
+ instant_bank: Annotated[
31
+ Optional[SendFundsInstantBank], pydantic.Field(alias="instantBank")
32
+ ] = None
@@ -2,6 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .sendfundsacherror import SendFundsAchError, SendFundsAchErrorTypedDict
5
+ from .sendfundsinstantbankerror import (
6
+ SendFundsInstantBankError,
7
+ SendFundsInstantBankErrorTypedDict,
8
+ )
5
9
  from .sendfundspushtocarderror import (
6
10
  SendFundsPushToCardError,
7
11
  SendFundsPushToCardErrorTypedDict,
@@ -17,6 +21,7 @@ class SendFundsErrorTypedDict(TypedDict):
17
21
  ach: NotRequired[SendFundsAchErrorTypedDict]
18
22
  push_to_card: NotRequired[SendFundsPushToCardErrorTypedDict]
19
23
  rtp: NotRequired[SendFundsRtpErrorTypedDict]
24
+ instant_bank: NotRequired[SendFundsInstantBankErrorTypedDict]
20
25
 
21
26
 
22
27
  class SendFundsError(BaseModel):
@@ -27,3 +32,7 @@ class SendFundsError(BaseModel):
27
32
  ] = None
28
33
 
29
34
  rtp: Optional[SendFundsRtpError] = None
35
+
36
+ instant_bank: Annotated[
37
+ Optional[SendFundsInstantBankError], pydantic.Field(alias="instantBank")
38
+ ] = 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 SendFundsInstantBankTypedDict(TypedDict):
12
+ estimated_activity: NotRequired[EstimatedActivityTypedDict]
13
+
14
+
15
+ class SendFundsInstantBank(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 SendFundsInstantBankErrorTypedDict(TypedDict):
15
+ estimated_activity: NotRequired[EstimatedActivityErrorTypedDict]
16
+
17
+
18
+ class SendFundsInstantBankError(BaseModel):
19
+ estimated_activity: Annotated[
20
+ Optional[EstimatedActivityError], pydantic.Field(alias="estimatedActivity")
21
+ ] = None
@@ -29,8 +29,8 @@ class WalletTypedDict(TypedDict):
29
29
  """
30
30
  wallet_type: WalletType
31
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.
32
+ - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
33
+ - `general`: An additional, user-defined wallet created via API or Dashboard.
34
34
  """
35
35
  description: str
36
36
  r"""Description of the wallet"""
@@ -62,8 +62,8 @@ class Wallet(BaseModel):
62
62
 
63
63
  wallet_type: Annotated[WalletType, pydantic.Field(alias="walletType")]
64
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.
65
+ - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
66
+ - `general`: An additional, user-defined wallet created via API or Dashboard.
67
67
  """
68
68
 
69
69
  description: str
@@ -6,8 +6,8 @@ from enum import Enum
6
6
 
7
7
  class WalletType(str, Enum):
8
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.
9
+ - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
10
+ - `general`: An additional, user-defined wallet created via API or Dashboard.
11
11
  """
12
12
 
13
13
  DEFAULT = "default"
@@ -16,7 +16,7 @@ class AccountTerminalApplicationErrorData(BaseModel):
16
16
  ] = None
17
17
 
18
18
 
19
- @dataclass(frozen=True)
19
+ @dataclass(unsafe_hash=True)
20
20
  class AccountTerminalApplicationError(MoovError):
21
21
  data: AccountTerminalApplicationErrorData = field(hash=False)
22
22
 
@@ -14,7 +14,7 @@ class AddCapabilitiesErrorData(BaseModel):
14
14
  capabilities: Optional[Dict[str, str]] = None
15
15
 
16
16
 
17
- @dataclass(frozen=True)
17
+ @dataclass(unsafe_hash=True)
18
18
  class AddCapabilitiesError(MoovError):
19
19
  data: AddCapabilitiesErrorData = field(hash=False)
20
20
 
@@ -9,7 +9,7 @@ from moovio_sdk.models.errors import MoovError
9
9
  MAX_MESSAGE_LEN = 10_000
10
10
 
11
11
 
12
- @dataclass(frozen=True)
12
+ @dataclass(unsafe_hash=True)
13
13
  class APIError(MoovError):
14
14
  """The fallback error class if no more specific error class is matched."""
15
15
 
@@ -12,7 +12,7 @@ class AssignCountriesErrorData(BaseModel):
12
12
  countries: Dict[str, str]
13
13
 
14
14
 
15
- @dataclass(frozen=True)
15
+ @dataclass(unsafe_hash=True)
16
16
  class AssignCountriesError(MoovError):
17
17
  data: AssignCountriesErrorData = field(hash=False)
18
18
 
@@ -14,7 +14,7 @@ class AuthTokenRequestErrorData(BaseModel):
14
14
  refresh_token: Optional[str] = None
15
15
 
16
16
 
17
- @dataclass(frozen=True)
17
+ @dataclass(unsafe_hash=True)
18
18
  class AuthTokenRequestError(MoovError):
19
19
  data: AuthTokenRequestErrorData = field(hash=False)
20
20
 
@@ -22,7 +22,7 @@ class BankAccountValidationErrorData(BaseModel):
22
22
  error: Optional[str] = None
23
23
 
24
24
 
25
- @dataclass(frozen=True)
25
+ @dataclass(unsafe_hash=True)
26
26
  class BankAccountValidationError(MoovError):
27
27
  data: BankAccountValidationErrorData = field(hash=False)
28
28
 
@@ -15,7 +15,7 @@ class BrandValidationErrorData(BaseModel):
15
15
  colors: Optional[components_colorsvalidationerror.ColorsValidationError] = None
16
16
 
17
17
 
18
- @dataclass(frozen=True)
18
+ @dataclass(unsafe_hash=True)
19
19
  class BrandValidationError(MoovError):
20
20
  data: BrandValidationErrorData = field(hash=False)
21
21
 
@@ -34,7 +34,7 @@ class CardAcquiringRefundData(BaseModel):
34
34
  ] = None
35
35
 
36
36
 
37
- @dataclass(frozen=True)
37
+ @dataclass(unsafe_hash=True)
38
38
  class CardAcquiringRefund(MoovError):
39
39
  r"""Details of a card refund."""
40
40
 
@@ -40,7 +40,7 @@ class CreateAccountErrorData(BaseModel):
40
40
  capabilities: Optional[Dict[str, str]] = None
41
41
 
42
42
 
43
- @dataclass(frozen=True)
43
+ @dataclass(unsafe_hash=True)
44
44
  class CreateAccountError(MoovError):
45
45
  data: CreateAccountErrorData = field(hash=False)
46
46
 
@@ -38,7 +38,7 @@ class CreatePaymentLinkErrorData(BaseModel):
38
38
  payout: Optional[components_payoutdetailserror.PayoutDetailsError] = None
39
39
 
40
40
 
41
- @dataclass(frozen=True)
41
+ @dataclass(unsafe_hash=True)
42
42
  class CreatePaymentLinkError(MoovError):
43
43
  data: CreatePaymentLinkErrorData = field(hash=False)
44
44
 
@@ -32,7 +32,7 @@ class CreateSweepConfigErrorData(BaseModel):
32
32
  ] = None
33
33
 
34
34
 
35
- @dataclass(frozen=True)
35
+ @dataclass(unsafe_hash=True)
36
36
  class CreateSweepConfigError(MoovError):
37
37
  data: CreateSweepConfigErrorData = field(hash=False)
38
38
 
@@ -27,7 +27,7 @@ class CreateTicketErrorData(BaseModel):
27
27
  foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
28
28
 
29
29
 
30
- @dataclass(frozen=True)
30
+ @dataclass(unsafe_hash=True)
31
31
  class CreateTicketError(MoovError):
32
32
  data: CreateTicketErrorData = field(hash=False)
33
33
 
@@ -16,7 +16,7 @@ class CreateWalletValidationErrorData(BaseModel):
16
16
  metadata: Optional[str] = None
17
17
 
18
18
 
19
- @dataclass(frozen=True)
19
+ @dataclass(unsafe_hash=True)
20
20
  class CreateWalletValidationError(MoovError):
21
21
  data: CreateWalletValidationErrorData = field(hash=False)
22
22
 
@@ -14,7 +14,7 @@ class FeePlanAgreementErrorData(BaseModel):
14
14
  plan_id: Annotated[Optional[str], pydantic.Field(alias="planID")] = None
15
15
 
16
16
 
17
- @dataclass(frozen=True)
17
+ @dataclass(unsafe_hash=True)
18
18
  class FeePlanAgreementError(MoovError):
19
19
  data: FeePlanAgreementErrorData = field(hash=False)
20
20
 
@@ -27,7 +27,7 @@ class FileUploadValidationErrorData(BaseModel):
27
27
  file: Optional[File] = None
28
28
 
29
29
 
30
- @dataclass(frozen=True)
30
+ @dataclass(unsafe_hash=True)
31
31
  class FileUploadValidationError(MoovError):
32
32
  data: FileUploadValidationErrorData = field(hash=False)
33
33
 
@@ -22,7 +22,7 @@ class FileValidationErrorData(BaseModel):
22
22
  metadata: Optional[str] = None
23
23
 
24
24
 
25
- @dataclass(frozen=True)
25
+ @dataclass(unsafe_hash=True)
26
26
  class FileValidationError(MoovError):
27
27
  data: FileValidationErrorData = field(hash=False)
28
28
 
@@ -12,7 +12,7 @@ class GenericErrorData(BaseModel):
12
12
  error: str
13
13
 
14
14
 
15
- @dataclass(frozen=True)
15
+ @dataclass(unsafe_hash=True)
16
16
  class GenericError(MoovError):
17
17
  data: GenericErrorData = field(hash=False)
18
18
 
@@ -28,7 +28,7 @@ class LinkApplePayErrorData(BaseModel):
28
28
  r"""Describes an error within the `token.transactionIdentifier` request field."""
29
29
 
30
30
 
31
- @dataclass(frozen=True)
31
+ @dataclass(unsafe_hash=True)
32
32
  class LinkApplePayError(MoovError):
33
33
  data: LinkApplePayErrorData = field(hash=False)
34
34
 
@@ -39,7 +39,7 @@ class LinkCardErrorData(BaseModel):
39
39
  verify_name: Annotated[Optional[str], pydantic.Field(alias="verifyName")] = None
40
40
 
41
41
 
42
- @dataclass(frozen=True)
42
+ @dataclass(unsafe_hash=True)
43
43
  class LinkCardError(MoovError):
44
44
  data: LinkCardErrorData = field(hash=False)
45
45
 
@@ -40,7 +40,7 @@ class ListTransfersValidationErrorData(BaseModel):
40
40
  disputed: Optional[str] = None
41
41
 
42
42
 
43
- @dataclass(frozen=True)
43
+ @dataclass(unsafe_hash=True)
44
44
  class ListTransfersValidationError(MoovError):
45
45
  data: ListTransfersValidationErrorData = field(hash=False)
46
46
 
@@ -20,7 +20,7 @@ class ListWalletsValidationErrorData(BaseModel):
20
20
  count: Optional[str] = None
21
21
 
22
22
 
23
- @dataclass(frozen=True)
23
+ @dataclass(unsafe_hash=True)
24
24
  class ListWalletsValidationError(MoovError):
25
25
  data: ListWalletsValidationErrorData = field(hash=False)
26
26
 
@@ -52,7 +52,7 @@ class ListWalletTransactionsValidationErrorData(BaseModel):
52
52
  count: Optional[str] = None
53
53
 
54
54
 
55
- @dataclass(frozen=True)
55
+ @dataclass(unsafe_hash=True)
56
56
  class ListWalletTransactionsValidationError(MoovError):
57
57
  data: ListWalletTransactionsValidationErrorData = field(hash=False)
58
58
 
@@ -12,7 +12,7 @@ class MicroDepositValidationErrorData(BaseModel):
12
12
  amounts: Optional[str] = None
13
13
 
14
14
 
15
- @dataclass(frozen=True)
15
+ @dataclass(unsafe_hash=True)
16
16
  class MicroDepositValidationError(MoovError):
17
17
  data: MicroDepositValidationErrorData = field(hash=False)
18
18
 
@@ -5,7 +5,7 @@ from typing import Optional
5
5
  from dataclasses import dataclass, field
6
6
 
7
7
 
8
- @dataclass(frozen=True)
8
+ @dataclass(unsafe_hash=True)
9
9
  class MoovError(Exception):
10
10
  """The base class for all HTTP error responses."""
11
11