(20241209) SMS auth and sending ready.

This commit is contained in:
2024-12-09 19:39:15 +05:30
parent d10b156c0b
commit 845827a6bc
18 changed files with 367 additions and 348 deletions
+4 -1
View File
@@ -43,6 +43,9 @@ from typing import Optional, Literal
from utils_v2.string import regex
from utils_v2.date_time import date_time
# Data models:
from models.data.core.message import CoreMessageModel
# To work with date and time:
import datetime
@@ -168,7 +171,7 @@ class MailSyncOneResult(BaseModel):
default = None
)
mailMessage: dict | None = Field(
mailMessage: CoreMessageModel | None = Field(
description = "the actual data of the mail; can be null in a successful process if the mail is already sync'd",
default = None
)