(20241213) Started accepting payment gateway auth details.

This commit is contained in:
2024-12-13 20:41:45 +05:30
parent 40cd59dd28
commit 3a03dd4a61
4 changed files with 39 additions and 34 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ class CoreAuthTokenModel(BaseModel):
alias = "_id"
)
serviceType: Literal["software", "email", "sms", "chat"] = Field(
serviceType: Literal["software", "email", "sms", "chat", "paymentGateway"] = Field(
description = "the kind of service this message was sent/received from",
frozen = True
)
@@ -99,7 +99,7 @@ class CoreAuthTokenModel(BaseModel):
"telegram", "whatsapp", # .................. Chat Clients
"nimbusSmsIndia", "savvyBulkSmsKenya", # ... SMS Clients
"razorpay", "safaricomMPesaExpress", # ..... Payment Gateways
"theCaOfficeAi" # .......................... God knows, don't ask.
"theCaOfficeAi" # .......................... Software
] = Field(
description = "the third-part client that was used",
frozen = True