Includes: API (Express/TypeScript), Astro site, Python workers, document generators, FCC compliance tools, Canada CRTC formation, Ansible infrastructure, and deployment scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
845 B
Python
22 lines
845 B
Python
from scripts.formation.base import StatePortal
|
|
from .config import CONFIG
|
|
|
|
|
|
class NYPortal(StatePortal):
|
|
"""Adapter for the New York Department of State business portal."""
|
|
|
|
CONFIG = CONFIG
|
|
|
|
def search_name(self, name: str) -> dict:
|
|
"""Search for a business name via the NY DOS / Socrata open-data API."""
|
|
return self._socrata_search(name)
|
|
|
|
def file_llc(self, payload: dict) -> dict:
|
|
"""File Articles of Organization for a New York LLC ($200)."""
|
|
payload.setdefault("fee", CONFIG["fees"]["llc"])
|
|
return self._submit_filing("llc", payload)
|
|
|
|
def file_corporation(self, payload: dict) -> dict:
|
|
"""File a Certificate of Incorporation in New York ($125)."""
|
|
payload.setdefault("fee", CONFIG["fees"]["corporation"])
|
|
return self._submit_filing("corporation", payload)
|