Resetting utils subtree.
This commit is contained in:
@@ -79,22 +79,26 @@ class NimbusSMSIndiaAuth(BaseModel):
|
||||
|
||||
entityId: str = Field(
|
||||
description = "the entity id as registered with DLT",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
senderId: str = Field(
|
||||
description = "the 6-char code that you see in your SMS inbox",
|
||||
min_length = 1,
|
||||
frozen = True,
|
||||
examples = ["HDFCBK", "NSESMS", "ZRODHA"]
|
||||
)
|
||||
|
||||
userId: str = Field(
|
||||
description = "the 6-digit id that Nimbus has assigned to you",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
apiKey: str = Field(
|
||||
description = "the key generated through Nimbus's portal",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
@@ -114,16 +118,19 @@ class SavvyBulkSMSKenyaAuth(BaseModel):
|
||||
|
||||
apiKey: str = Field(
|
||||
description = "the key generated through Savvy's portal",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
partnerId: str = Field(
|
||||
description = "the key generated through Savvy's portal",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
shortCode: str = Field(
|
||||
description = "your short code with Savvy",
|
||||
min_length = 1,
|
||||
frozen = True
|
||||
)
|
||||
|
||||
@@ -165,7 +172,8 @@ class SMSAuthRequestHeaders(BaseModel):
|
||||
|
||||
class SMSAuthRequestData(BaseModel):
|
||||
|
||||
client: Union[NimbusSMSIndiaAuth, SavvyBulkSMSKenyaAuth]
|
||||
messageClient: Literal["nimbusSmsIndia", "savvyBulkSmsKenya"]
|
||||
auth: Union[NimbusSMSIndiaAuth, SavvyBulkSMSKenyaAuth]
|
||||
|
||||
# ┏┓ ┏•
|
||||
# ┃ ┏┓┏┓╋┓┏┓
|
||||
|
||||
Reference in New Issue
Block a user