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

Potentially problematic release.


This version of moovio_sdk might be problematic. Click here for more details.

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.17.1"
6
+ __version__: str = "0.17.2"
7
7
  __openapi_doc_version__: str = "latest"
8
8
  __gen_version__: str = "2.723.11"
9
- __user_agent__: str = "speakeasy-sdk/python 0.17.1 2.723.11 latest moovio_sdk"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.17.2 2.723.11 latest moovio_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -962,6 +962,7 @@ if TYPE_CHECKING:
962
962
  VolumeByCustomerTypeError,
963
963
  VolumeByCustomerTypeErrorTypedDict,
964
964
  )
965
+ from .volumerange import VolumeRange, VolumeRangeTypedDict
965
966
  from .volumesharebycustomertype import (
966
967
  VolumeShareByCustomerType,
967
968
  VolumeShareByCustomerTypeTypedDict,
@@ -1988,6 +1989,8 @@ __all__ = [
1988
1989
  "VolumeByCustomerTypeError",
1989
1990
  "VolumeByCustomerTypeErrorTypedDict",
1990
1991
  "VolumeByCustomerTypeTypedDict",
1992
+ "VolumeRange",
1993
+ "VolumeRangeTypedDict",
1991
1994
  "VolumeShareByCustomerType",
1992
1995
  "VolumeShareByCustomerTypeError",
1993
1996
  "VolumeShareByCustomerTypeErrorTypedDict",
@@ -2943,6 +2946,8 @@ _dynamic_imports: dict[str, str] = {
2943
2946
  "VolumeByCustomerTypeTypedDict": ".volumebycustomertype",
2944
2947
  "VolumeByCustomerTypeError": ".volumebycustomertypeerror",
2945
2948
  "VolumeByCustomerTypeErrorTypedDict": ".volumebycustomertypeerror",
2949
+ "VolumeRange": ".volumerange",
2950
+ "VolumeRangeTypedDict": ".volumerange",
2946
2951
  "VolumeShareByCustomerType": ".volumesharebycustomertype",
2947
2952
  "VolumeShareByCustomerTypeTypedDict": ".volumesharebycustomertype",
2948
2953
  "VolumeShareByCustomerTypeError": ".volumesharebycustomertypeerror",
@@ -2,15 +2,18 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from .volumerange import VolumeRange, VolumeRangeTypedDict
5
6
  from moovio_sdk.types import BaseModel
6
7
  import pydantic
7
- from typing import Optional
8
+ from typing import List, Optional
8
9
  from typing_extensions import Annotated, NotRequired, TypedDict
9
10
 
10
11
 
11
12
  class FeePropertiesTypedDict(TypedDict):
12
13
  r"""Defines the specific parameters used for fee calculation."""
13
14
 
15
+ volume_ranges: List[VolumeRangeTypedDict]
16
+ r"""Defines the volume ranges for tiered pricing models."""
14
17
  fixed_amount: NotRequired[AmountDecimalTypedDict]
15
18
  r"""A fixed fee that is applied to the amount of each transaction in the `fixed` and `blended` fee models."""
16
19
  variable_rate: NotRequired[str]
@@ -27,6 +30,9 @@ class FeePropertiesTypedDict(TypedDict):
27
30
  class FeeProperties(BaseModel):
28
31
  r"""Defines the specific parameters used for fee calculation."""
29
32
 
33
+ volume_ranges: Annotated[List[VolumeRange], pydantic.Field(alias="volumeRanges")]
34
+ r"""Defines the volume ranges for tiered pricing models."""
35
+
30
36
  fixed_amount: Annotated[
31
37
  Optional[AmountDecimal], pydantic.Field(alias="fixedAmount")
32
38
  ] = None
@@ -15,9 +15,12 @@ from typing_extensions import Annotated, NotRequired, TypedDict
15
15
  class PartnerPricingTypedDict(TypedDict):
16
16
  plan_id: str
17
17
  name: str
18
- r"""The name of the fee plan."""
19
- revenue_share: int
20
- r"""The integer percentage value of the revenue split for partner."""
18
+ r"""The name of the partner pricing plan."""
19
+ revenue_share: str
20
+ r"""The decimal-formatted numerical string of the revenue split for partner.
21
+
22
+ For example, 2.25% is '2.25'.
23
+ """
21
24
  card_acquiring_model: CardAcquiringModel
22
25
  r"""Specifies the card processing pricing model"""
23
26
  billable_fees: List[BillableFeeTypedDict]
@@ -34,10 +37,13 @@ class PartnerPricing(BaseModel):
34
37
  plan_id: Annotated[str, pydantic.Field(alias="planID")]
35
38
 
36
39
  name: str
37
- r"""The name of the fee plan."""
40
+ r"""The name of the partner pricing plan."""
41
+
42
+ revenue_share: Annotated[str, pydantic.Field(alias="revenueShare")]
43
+ r"""The decimal-formatted numerical string of the revenue split for partner.
38
44
 
39
- revenue_share: Annotated[int, pydantic.Field(alias="revenueShare")]
40
- r"""The integer percentage value of the revenue split for partner."""
45
+ For example, 2.25% is '2.25'.
46
+ """
41
47
 
42
48
  card_acquiring_model: Annotated[
43
49
  CardAcquiringModel, pydantic.Field(alias="cardAcquiringModel")
@@ -27,8 +27,11 @@ class PartnerPricingAgreementTypedDict(TypedDict):
27
27
  r"""The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference."""
28
28
  monthly_platform_fee: MonthlyPlatformFeeTypedDict
29
29
  r"""Fixed recurring amount paid in the billing period regardless of usage."""
30
- revenue_share: int
31
- r"""The integer percentage value of the revenue split for partner."""
30
+ revenue_share: str
31
+ r"""The decimal-formatted numerical string of the revenue split for partner.
32
+
33
+ For example, 2.25% is '2.25'.
34
+ """
32
35
  account_id: NotRequired[str]
33
36
  description: NotRequired[str]
34
37
  r"""The description of the agreement."""
@@ -63,8 +66,11 @@ class PartnerPricingAgreement(BaseModel):
63
66
  ]
64
67
  r"""Fixed recurring amount paid in the billing period regardless of usage."""
65
68
 
66
- revenue_share: Annotated[int, pydantic.Field(alias="revenueShare")]
67
- r"""The integer percentage value of the revenue split for partner."""
69
+ revenue_share: Annotated[str, pydantic.Field(alias="revenueShare")]
70
+ r"""The decimal-formatted numerical string of the revenue split for partner.
71
+
72
+ For example, 2.25% is '2.25'.
73
+ """
68
74
 
69
75
  account_id: Annotated[Optional[str], pydantic.Field(alias="accountID")] = None
70
76
 
@@ -0,0 +1,37 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .amountdecimal import AmountDecimal, AmountDecimalTypedDict
5
+ from moovio_sdk.types import BaseModel
6
+ import pydantic
7
+ from typing import Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class VolumeRangeTypedDict(TypedDict):
12
+ r"""Defines the volume ranges for tiered pricing models."""
13
+
14
+ from_value: int
15
+ r"""Specifies the lower value of a tier for the fee."""
16
+ flat_amount: AmountDecimalTypedDict
17
+ r"""The flat amount for a whole tier of the fee."""
18
+ per_unit_amount: AmountDecimalTypedDict
19
+ r"""The unit price for a specific tier of the fee."""
20
+ to_value: NotRequired[int]
21
+ r"""Specifies the upper value of a tier for the fee."""
22
+
23
+
24
+ class VolumeRange(BaseModel):
25
+ r"""Defines the volume ranges for tiered pricing models."""
26
+
27
+ from_value: Annotated[int, pydantic.Field(alias="fromValue")]
28
+ r"""Specifies the lower value of a tier for the fee."""
29
+
30
+ flat_amount: Annotated[AmountDecimal, pydantic.Field(alias="flatAmount")]
31
+ r"""The flat amount for a whole tier of the fee."""
32
+
33
+ per_unit_amount: Annotated[AmountDecimal, pydantic.Field(alias="perUnitAmount")]
34
+ r"""The unit price for a specific tier of the fee."""
35
+
36
+ to_value: Annotated[Optional[int], pydantic.Field(alias="toValue")] = None
37
+ r"""Specifies the upper value of a tier for the fee."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moovio_sdk
3
- Version: 0.17.1
3
+ Version: 0.17.2
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -3,7 +3,7 @@ moovio_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c
3
3
  moovio_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
4
4
  moovio_sdk/_hooks/sdkhooks.py,sha256=2XuMgiV2N7UE7lN00Is-c3spxVWigYitXS6xSmS_Qow,2560
5
5
  moovio_sdk/_hooks/types.py,sha256=Yi9LD8_sd4zG7_idzCZY4MTxTXMhDlmCdpQvU4dXFI4,3049
6
- moovio_sdk/_version.py,sha256=yMRbr7MCiXbqcU_GOTyvFL7-deg88NO0oUibAOFVPjE,468
6
+ moovio_sdk/_version.py,sha256=eHg_8I92Kke2t54DQMG2Rd263udUUVCLMOnQTii9S3A,468
7
7
  moovio_sdk/account_terminal_applications.py,sha256=P1WRR9YHhtETL3uJkzthEbOVTWYcFwXBYEP2b7vn-v8,38538
8
8
  moovio_sdk/accounts.py,sha256=UC-9ywSHR7Ve4av6XC2nrh45qp06zHAiD5msPmOxI0g,100662
9
9
  moovio_sdk/adjustments.py,sha256=zQFf-OpN1kIDwlmZN4-j_3WdvRA6xBROylzLlTDoA24,17621
@@ -28,7 +28,7 @@ moovio_sdk/industries.py,sha256=Fr2NPvvhPrE_8yEQQKO6AlmXwxFdiFkTJXkPEm-R1zw,9376
28
28
  moovio_sdk/institutions.py,sha256=F4mO-lCYZwAtq22psCWwOtMm1-OkL2f6CiS3v-KBgZ4,20531
29
29
  moovio_sdk/issuing_transactions.py,sha256=HPPLkRZaQESCtmfrpzCL8XaCm2-R8iZDGzCVbQEX_F8,48969
30
30
  moovio_sdk/models/__init__.py,sha256=wIW9sbvSKlrGyoPY4mXvHqw-_Inpl6zqpN6U6j-w6SU,83
31
- moovio_sdk/models/components/__init__.py,sha256=FUolZu0Vt54OhxxRe19N_DiC6lh1RJrN-8_8sGrOZw0,127534
31
+ moovio_sdk/models/components/__init__.py,sha256=qCSQ6c3boTaqn2rzFK8bIAnoP0Y0kjdIdlnzuQavb_Q,127723
32
32
  moovio_sdk/models/components/account.py,sha256=gIzVHHbfwM-YZns1m9b2z6es5mX-LtCOd7C0N-oPBBA,4189
33
33
  moovio_sdk/models/components/accountcapability.py,sha256=LJ908Zr4lw2qtMwUMLWoscTUjj5wV7YlZ4Z0Vv_abjg,527
34
34
  moovio_sdk/models/components/accountcountries.py,sha256=sI1VAu3PqS2HTOarkT7f6FbkgUT55NL57PvAZKcbRHw,456
@@ -221,7 +221,7 @@ moovio_sdk/models/components/feemodel.py,sha256=M98YekU7JfnwG613Zi6SJE9hcUBIHiqM
221
221
  moovio_sdk/models/components/feeplan.py,sha256=0WIFfE3jd8CupBAi-66bjUN10f1vEv6e_9_uv6bKl5c,2381
222
222
  moovio_sdk/models/components/feeplanagreement.py,sha256=JI_xx9o8rkYRT9GkjnAxJemFwXliPYXoqmZ68yT0U8k,2642
223
223
  moovio_sdk/models/components/feeplanagreementstatus.py,sha256=D7q_iy4vh1Xaex6BwftVoKmV2BGdEhPm8FtFCTR1jHQ,225
224
- moovio_sdk/models/components/feeproperties.py,sha256=Ajpyc7ggfsVDXcuhv4SmvtJTyM2K7eRvZs15__142uU,2212
224
+ moovio_sdk/models/components/feeproperties.py,sha256=Pw6uEK7Qu1L7OQDhu00muymLWOg9dvQHuckNcGXTjTE,2538
225
225
  moovio_sdk/models/components/filedetails.py,sha256=qVMztRp46CEWFAdhISAWZXqv435UKQyzHc5-Rae5KGw,1601
226
226
  moovio_sdk/models/components/filepurpose.py,sha256=GXnCUyNBzW7jBPisein8PENT7gK-x2fM9BaVNhfN1uU,518
227
227
  moovio_sdk/models/components/filestatus.py,sha256=95-wSRDwAOyNl0VOsQp4RwNgH9MHs37ldSFMy4EPd5M,268
@@ -308,8 +308,8 @@ moovio_sdk/models/components/onboardinginviterequest.py,sha256=7xl0dxgF7dNKNZrtI
308
308
  moovio_sdk/models/components/onboardingpartneraccount.py,sha256=r5WjWw0x0ScKm4_CwX2jS7cDFn9K7bedVC50kNzITVI,1110
309
309
  moovio_sdk/models/components/othercardfees.py,sha256=2uKj8XtiDaJURBvNl6y2NXULwC_KRQA4x7fjJpeRE1s,1554
310
310
  moovio_sdk/models/components/partialscheduleaccount.py,sha256=EtOAuIhRyc6nLEWadS7CsA_MeablSzM7w4k4UR565zQ,590
311
- moovio_sdk/models/components/partnerpricing.py,sha256=XH8XCRTML7AyygqRtLqF-QedIsgB8vKBSLANmR2iEE8,2531
312
- moovio_sdk/models/components/partnerpricingagreement.py,sha256=bh3DknfJcKHKyP3cCvNNmOSbxHKgpiVRhEhcenNPcLY,2900
311
+ moovio_sdk/models/components/partnerpricing.py,sha256=ajUfGHT6z3cykXWIpF5xvU-SgmciWnIMOcFJDRN9BRU,2655
312
+ moovio_sdk/models/components/partnerpricingagreement.py,sha256=Ukz6lVxd4CVdl5NX3i4AtaGynW-5lTyRUR9u62OcUjY,3000
313
313
  moovio_sdk/models/components/patchaccount.py,sha256=iwK7AVVTR03-EBybeWo-g2KPY2OtHtUU7NJF1ne_lHs,4524
314
314
  moovio_sdk/models/components/patchbusiness.py,sha256=MXhweZYmjmbXJ5PF9-eiue2R2DP-zI2qeFQWoO0kBLI,2700
315
315
  moovio_sdk/models/components/patchindividual.py,sha256=eG1P_IJkcu6qdeXD7uudZA2QXf4FRC9nc4u7yvlEu5o,1496
@@ -453,6 +453,7 @@ moovio_sdk/models/components/verificationstatus.py,sha256=6nlfAjJgvRDwVKw39bUZ0E
453
453
  moovio_sdk/models/components/verificationstatusdetail.py,sha256=XIw29tQsrVh9xPyZJABnBfCYBhOZ8X-aVGjmiu7jTm4,901
454
454
  moovio_sdk/models/components/volumebycustomertype.py,sha256=xA-0-3DWRxmHLZ-J0Zjy0jm-SjBJTwv5giVIjZlZCTU,628
455
455
  moovio_sdk/models/components/volumebycustomertypeerror.py,sha256=zted3iTK3pbCdIRgaBV-3-wW0KUGDRhTRkyiJnHKJbw,739
456
+ moovio_sdk/models/components/volumerange.py,sha256=nh44REzL7UqoJe15q0A7Va7IbHRzx-BDfRN3f4DrZu0,1437
456
457
  moovio_sdk/models/components/volumesharebycustomertype.py,sha256=Tea6z-3mfBfywfS6wRGg343Ba9igaM6wvLYp39tU8h0,519
457
458
  moovio_sdk/models/components/volumesharebycustomertypeerror.py,sha256=EjKMdHyRUKEUdfh2N0zunYcD59SXPWWYDrLLCW2mCVo,529
458
459
  moovio_sdk/models/components/wallet.py,sha256=7dGQNT8WyUjLUTKy5zL3s6jVFQdPztc6h61pllNHQ5o,2798
@@ -744,6 +745,6 @@ moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
744
745
  moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
745
746
  moovio_sdk/wallet_transactions.py,sha256=YPn4GgAkj1MbcA6PfqI9JCXXvaCmCK_i7LjdT9P-iH8,23903
746
747
  moovio_sdk/wallets.py,sha256=probtxxWU4fXD_t6RPiECntgOzQlMZH-tsueH7BfBkU,43262
747
- moovio_sdk-0.17.1.dist-info/METADATA,sha256=YiBhNKQkS8zpg9HPtYoByrCYgNKVvkDBS05QvttstUI,115705
748
- moovio_sdk-0.17.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
749
- moovio_sdk-0.17.1.dist-info/RECORD,,
748
+ moovio_sdk-0.17.2.dist-info/METADATA,sha256=OWHE3pfKqtDoi3xkZ1OHvEjnIhQulJTpj4hZEM8hI4U,115705
749
+ moovio_sdk-0.17.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
750
+ moovio_sdk-0.17.2.dist-info/RECORD,,