diff --git a/method/resources/Account.py b/method/resources/Account.py index 862b5f7..d380bb3 100644 --- a/method/resources/Account.py +++ b/method/resources/Account.py @@ -149,8 +149,8 @@ class AccountTransaction(TypedDict): class AccountListOpts(TypedDict): to_date: Optional[str] from_date: Optional[str] - page: Optional[str | int] - page_limit: Optional[str | int] + page: Optional[int] + page_limit: Optional[int] page_cursor: Optional[str] status: Optional[str] type: Optional[str] diff --git a/method/resources/Entity.py b/method/resources/Entity.py index 8117b3c..f88a639 100644 --- a/method/resources/Entity.py +++ b/method/resources/Entity.py @@ -104,8 +104,8 @@ class EntityUpdateOpts(TypedDict): class EntityListOpts(TypedDict): to_date: Optional[str] from_date: Optional[str] - page: Optional[str | int] - page_limit: Optional[str | int] + page: Optional[int] + page_limit: Optional[int] page_cursor: Optional[str] status: Optional[str] type: Optional[str] diff --git a/method/resources/Payment.py b/method/resources/Payment.py index a7a2f82..6081d80 100644 --- a/method/resources/Payment.py +++ b/method/resources/Payment.py @@ -80,8 +80,8 @@ class PaymentCreateOpts(TypedDict): class PaymentListOpts(TypedDict): to_date: Optional[str] from_date: Optional[str] - page: Optional[str | int] - page_limit: Optional[str | int] + page: Optional[int] + page_limit: Optional[int] page_cursor: Optional[str] status: Optional[str] type: Optional[str] diff --git a/setup.py b/setup.py index 6496676..cf985e0 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='method-python', - version='0.0.20', + version='0.0.21', description='Python library for the Method API', author='Marco del Carmen', author_email='marco@mdelcarmen.me',