Initial commit — Performance West telecom compliance platform

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>
This commit is contained in:
justin 2026-04-27 06:54:22 -05:00
commit f8cd37ac8c
1823 changed files with 145167 additions and 0 deletions

View file

@ -0,0 +1,19 @@
-- Support for client-provided Canadian registered office address (skip Anytime Mailbox)
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS has_own_ca_address BOOLEAN DEFAULT FALSE;
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS own_ca_street TEXT;
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS own_ca_city TEXT;
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS own_ca_province TEXT DEFAULT 'BC';
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS own_ca_postal TEXT;
-- Payment reminder tracking (abandoned cart recovery)
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS reminder_15m_sent_at TIMESTAMPTZ;
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS reminder_1d_sent_at TIMESTAMPTZ;
ALTER TABLE canada_crtc_orders ADD COLUMN IF NOT EXISTS reminder_2d_sent_at TIMESTAMPTZ;
ALTER TABLE formation_orders ADD COLUMN IF NOT EXISTS reminder_15m_sent_at TIMESTAMPTZ;
ALTER TABLE formation_orders ADD COLUMN IF NOT EXISTS reminder_1d_sent_at TIMESTAMPTZ;
ALTER TABLE formation_orders ADD COLUMN IF NOT EXISTS reminder_2d_sent_at TIMESTAMPTZ;
ALTER TABLE bundle_orders ADD COLUMN IF NOT EXISTS reminder_15m_sent_at TIMESTAMPTZ;
ALTER TABLE bundle_orders ADD COLUMN IF NOT EXISTS reminder_1d_sent_at TIMESTAMPTZ;
ALTER TABLE bundle_orders ADD COLUMN IF NOT EXISTS reminder_2d_sent_at TIMESTAMPTZ;