from scripts.formation.base import StatePortal from .config import CONFIG class SDPortal(StatePortal): """Adapter for the South Dakota Secretary of State business portal.""" CONFIG = CONFIG def search_name(self, name: str) -> dict: """Search for a business name via the SD SOS enterprise portal.""" return self._web_search(name) def file_llc(self, payload: dict) -> dict: """File Articles of Organization for a South Dakota LLC ($150).""" payload.setdefault("fee", CONFIG["fees"]["llc"]) return self._submit_filing("llc", payload) def file_corporation(self, payload: dict) -> dict: """File Articles of Incorporation in South Dakota ($150).""" payload.setdefault("fee", CONFIG["fees"]["corporation"]) return self._submit_filing("corporation", payload)