(20241221) Zerodha Auth Ready. Users can now integrate Kite.

This commit is contained in:
2024-12-21 15:22:55 +05:30
parent 8904ea394d
commit 1249841b05
15 changed files with 568 additions and 464 deletions
+6 -1
View File
@@ -95,7 +95,11 @@ class CoreAuthTokenModel(BaseModel):
default_factory = lambda: ObjectId()
)
serviceType: Literal["software", "email", "sms", "chat", "paymentGateway"] = Field(
serviceType: Literal[
"email", "sms", "chat", # ............. Message
"paymentGateway", "stockTrading", # ... Finstitutions
"software", # ......................... God knows
] = Field(
description = "the kind of service this message was sent/received from",
frozen = True
)
@@ -105,6 +109,7 @@ class CoreAuthTokenModel(BaseModel):
"telegram", "whatsapp", # .................. Chat Clients
"nimbusSmsIndia", "savvyBulkSmsKenya", # ... SMS Clients
"razorpay", "safaricomMPesaExpress", # ..... Payment Gateways
"zerodhaKite", # ........................... Stock Brokers
"theCaOfficeAi" # .......................... Software
] = Field(
description = "the third-part client that was used",