v10.7.1: Loosen up type for invoice ID to support new API changes
This commit is contained in:
parent
bd4be5d999
commit
0881d28222
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
__all__ = ["api", "api_client", "client", "exceptions"]
|
__all__ = ["api", "api_client", "client", "exceptions"]
|
||||||
|
|
||||||
__version__ = "10.7.0"
|
__version__ = "10.7.1"
|
||||||
|
|
|
@ -79,7 +79,7 @@ class Region(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
class Invoice(BaseModel):
|
class Invoice(BaseModel):
|
||||||
id: int
|
id: Union[int, str]
|
||||||
payment_uri: Annotated[
|
payment_uri: Annotated[
|
||||||
str, Field(description="Cryptocurrency URI for the payment.")
|
str, Field(description="Cryptocurrency URI for the payment.")
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue