File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11from ._client import ApiClient
2+ from .domains import Domains
23from .email import Email
34from .imessage import IMessage
5+ from .leases import Leases
46from .otp import OTP
57from .text import Text
68from .whatsapp import WhatsApp
@@ -32,13 +34,17 @@ def __init__(
3234 self .otp = OTP (client = self .client )
3335 self .imessage = IMessage (client = self .client )
3436 self .whatsapp = WhatsApp (client = self .client )
37+ self .leases = Leases (client = self .client )
38+ self .domains = Domains (client = self .client )
3539
3640
3741__all__ = (
3842 "OTP" ,
3943 "Contiguity" ,
44+ "Domains" ,
4045 "Email" ,
4146 "IMessage" ,
47+ "Leases" ,
4248 "Text" ,
4349 "WhatsApp" ,
4450)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class TerminateLeaseResponse(Struct):
7979 terminated_at : int
8080
8181
82- class Lease (BaseProduct ):
82+ class Leases (BaseProduct ):
8383 def get_available_numbers (self ) -> list [NumberDetails ]:
8484 response = self ._client .get ("/leases" )
8585 self ._client .handle_error (response , fail_message = "failed to get available numbers" )
You can’t perform that action at this time.
0 commit comments