Files
microservice/api/api_v2/modules/acuses/schemas.py

23 lines
411 B
Python

from fastapi import FastAPI
from pydantic import BaseModel
from uuid import UUID
# Aplica para Acuse, Acuse Cove y Edocuments
class AcuseSchema(BaseModel):
pedimento: str
organizacion: str
numero_documento: str
vu_user: str
password: str
class AcuseMasivoSchema(BaseModel):
pedimento: str
organizacion: str
numeros_documentos: list[str]
vu_user: str
password: str