new-site/site/src/lib/intake_manifest.ts
justin 2bba28ae6b fix(pricing): align all displayed telecom prices to the charged (higher) price
10 telecom services displayed LESS than the API charged (overcharge/dispute
risk), e.g. calea-ssi shown $299 but charged $799; ocn shown $650 charged
$2650. Raised the displayed prices (manifest + form-477 BDC cards) to match
what is actually charged. No charge amounts changed.

  calea-ssi              $299 -> $799
  ocn-registration       $650 -> $2650
  bdc-broadband          $199 -> $249
  bdc-filing             $299 -> $349
  bdc-voice              $149 -> $199
  cpni-certification     $149 -> $199
  cores-frn-registration  $99 -> $149
  dc-agent                $99 -> $149
  fcc-499-initial        $299 -> $349
  rmd-filing             $219 -> $249

All 53 shared services now match between API catalog and display manifest.
2026-06-07 19:04:33 -05:00

234 lines
15 KiB
TypeScript

/**
* Per-service intake step manifest.
*
* Each service slug maps to the ordered list of wizard steps. The Wizard
* component inserts category-gated dynamic steps (wireless, earth_station,
* audio_bridging, icc_import, reseller_cert) at runtime based on the
* user's Line 105 selection, between the declared step markers.
*
* Keep in sync with:
* - api/src/routes/compliance-orders.ts REQUIRED_FIELDS
* - scripts/workers/services/__init__.py SERVICE_HANDLERS registry
*/
export type IntakeStep =
| "entity"
| "classification" // entity classification step (FCC 499 flows)
| "category" // NEW: Line 105 ranked multi-select
| "officer"
| "jurisdiction"
| "history" // NEW: Line 228 first-service date
| "wireless" // NEW: category-gated — inserted when wireless selected
| "earth_station" // NEW: category-gated — satellite + private_line
| "audio_bridging" // NEW: category-gated — audio_bridging
| "revenue"
| "bundled_service" // NEW: local+toll bundle allocation
| "icc_import" // NEW: ICC revenue file uploads
| "reseller_cert" // NEW: Line 303 reseller certifications
| "lnpa_region" // NEW: Block 5 Lines 503-510 LNPA regions
| "block6_cert" // NEW: exemptions + nondisclosure + filing type
| "bdc_data"
| "stir_shaken"
| "calea"
| "foreign_carrier"
| "foreign_qual" // NEW: multi-state COA picker
| "dc_agent" // NEW: DC registered agent choice
| "cpni_questions" // NEW: CPNI certification questionnaire (sec 5-9)
| "cdr_period"
| "ocn"
| "mcs150" // MCS-150 biennial update form fields (standalone)
| "dot-intake" // Unified DOT intake — shows sections based on services ordered
| "state-trucking" // State-level trucking + hazmat/emissions intake (slug-gated sections)
| "npi-intake" // Healthcare / NPI provider intake (NPI, PECOS, practice)
| "review"
| "payment";
export const INTAKE_MANIFEST: Record<string, IntakeStep[]> = {
// Diagnostic — lightweight; just needs the entity
"fcc-compliance-checkup": ["entity", "review", "payment"],
// Entry-point filings
"cores-frn-registration": ["entity", "officer", "review", "payment"],
"fcc-499-initial": [
"entity", "classification", "category", "officer", "jurisdiction", "history",
"dc_agent", "block6_cert", "review", "payment",
],
// Annual + quarterly revenue filings — the full fidelity flow
"fcc-499a": [
"entity", "classification", "category", "officer", "jurisdiction", "history",
"dc_agent", "revenue", "bundled_service", "icc_import",
"reseller_cert", "lnpa_region",
"block6_cert", "review", "payment",
],
"fcc-499a-499q": [
"entity", "classification", "category", "officer", "jurisdiction",
"revenue", "icc_import",
"block6_cert", "review", "payment",
],
// RMD + CPNI + STIR/SHAKEN
"rmd-filing": ["entity", "officer", "stir_shaken", "review", "payment"],
"cpni-certification": ["entity", "officer", "cpni_questions", "review", "payment"],
"stir-shaken": ["entity", "stir_shaken", "review", "payment"],
// BDC tiers (formerly Form 477)
"bdc-broadband": ["entity", "bdc_data", "review", "payment"],
"bdc-voice": ["entity", "bdc_data", "review", "payment"],
"bdc-filing": ["entity", "bdc_data", "review", "payment"],
// CALEA + foreign-affiliation
"calea-ssi": ["entity", "category", "calea", "review", "payment"],
"fcc-63-11-notification": ["entity", "foreign_carrier", "review", "payment"],
// Supporting services
"ocn-registration": ["entity", "ocn", "review", "payment"],
"dc-agent": ["entity", "review", "payment"],
"cdr-analysis": ["entity", "cdr_period", "review", "payment"],
// Foreign qualification — Certificate of Authority across US states
"foreign-qualification-single": [
"entity", "foreign_qual", "review", "payment",
],
"foreign-qualification-multi": [
"entity", "foreign_qual", "review", "payment",
],
// Bundles
"fcc-full-compliance": [
"entity", "category", "officer", "jurisdiction", "history",
"revenue", "stir_shaken", "icc_import",
"reseller_cert", "lnpa_region", "block6_cert",
"review", "payment",
],
"new-carrier-bundle": [
"entity", "category", "officer", "jurisdiction", "history",
"dc_agent", "calea", "review", "payment",
],
// ── DOT / FMCSA Motor Carrier Services ──────────────────────────
// Unified DOT intake form — shows relevant sections based on service.
"mcs150-update": ["dot-intake", "review", "payment"],
"boc3-filing": ["dot-intake", "review", "payment"],
"ucr-registration": ["dot-intake", "review", "payment"],
"dot-registration": ["dot-intake", "review", "payment"],
"mc-authority": ["dot-intake", "review", "payment"],
"dot-drug-alcohol": ["dot-intake", "review", "payment"],
"dot-audit-prep": ["dot-intake", "review", "payment"],
"dot-full-compliance": ["dot-intake", "review", "payment"],
// These all file an MCS-150 or operating authority with FMCSA → require the
// authorized signer's government photo ID (collected in the dot-intake step).
"usdot-reactivation": ["dot-intake", "review", "payment"],
"emergency-temporary-authority": ["dot-intake", "review", "payment"],
"carrier-closeout": ["dot-intake", "review", "payment"],
"entity-dissolution": ["dot-intake", "review", "payment"],
// ── State-Level Trucking Compliance ─────────────────────────────────
// Collected via the dedicated state-trucking intake step.
"irp-registration": ["state-trucking", "review", "payment"],
"ifta-application": ["state-trucking", "review", "payment"],
"ifta-quarterly": ["state-trucking", "review", "payment"],
"or-weight-mile-tax": ["state-trucking", "review", "payment"],
"ny-hut-registration": ["state-trucking", "review", "payment"],
"ky-kyu-registration": ["state-trucking", "review", "payment"],
"nm-weight-distance": ["state-trucking", "review", "payment"],
"ct-highway-use-fee": ["state-trucking", "review", "payment"],
"ca-mcp-carb": ["state-trucking", "review", "payment"],
"state-dot-registration":["state-trucking", "review", "payment"],
"intrastate-authority": ["state-trucking", "review", "payment"],
"osow-permit": ["state-trucking", "review", "payment"],
"state-trucking-bundle": ["state-trucking", "review", "payment"],
// ── Hazmat / Emissions ───────────────────────────────────────────────
"hazmat-phmsa": ["state-trucking", "review", "payment"],
"state-emissions": ["state-trucking", "review", "payment"],
// ── Entity / Corporate Upgrade ─────────────────────────────────────
"entity-upgrade-bundle": ["dot-intake", "review", "payment"],
// ── Healthcare / NPI ───────────────────────────────────────────────
"npi-revalidation": ["npi-intake", "review", "payment"],
"npi-reactivation": ["npi-intake", "review", "payment"],
"nppes-update": ["npi-intake", "review", "payment"],
"medicare-enrollment": ["npi-intake", "review", "payment"],
"oig-sam-screening": ["npi-intake", "review", "payment"],
"provider-compliance-bundle": ["npi-intake", "review", "payment"],
};
// Category-gated dynamic steps. The Wizard inserts these after the `category`
// step when the corresponding Line 105 category is in line_105_categories.
export const CATEGORY_GATED_STEPS: Record<string, IntakeStep[]> = {
wireless: ["wireless"],
satellite: ["earth_station"],
mobile_satellite:["earth_station"],
private_line: ["earth_station"],
audio_bridging: ["audio_bridging"],
};
// ── Pricing + human name lookup (mirrors COMPLIANCE_SERVICES server-side)
export const SERVICE_META: Record<string, { name: string; price_cents: number; gov_fee_label?: string }> = {
"fcc-compliance-checkup": { name: "FCC Carrier Compliance Checkup", price_cents: 79900 },
"fcc-499a": { name: "FCC Form 499-A Filing", price_cents: 49900 },
"fcc-499a-499q": { name: "FCC Form 499-A + 499-Q Bundle", price_cents: 59900 },
"fcc-full-compliance": { name: "FCC Full Compliance Bundle", price_cents: 149900 },
"cpni-certification": { name: "CPNI Annual Certification", price_cents: 19900 },
"rmd-filing": { name: "RMD Registration / Recertification", price_cents: 24900 }, // + $100 FCC filing fee passthrough
"stir-shaken": { name: "STIR/SHAKEN Implementation Assistance", price_cents: 49900 },
"dc-agent": { name: "D.C. Registered Agent (Annual)", price_cents: 14900 },
"bdc-broadband": { name: "BDC Broadband Deployment Filing", price_cents: 24900 },
"bdc-voice": { name: "BDC Voice Subscription (formerly Form 477)", price_cents: 19900 },
"bdc-filing": { name: "BDC Filing (Broadband + Voice)", price_cents: 34900 },
"ocn-registration": { name: "NECA OCN / Company Code Registration", price_cents: 265000 },
"cdr-analysis": { name: "CDR Traffic Study (Annual)", price_cents: 49900 },
"cores-frn-registration": { name: "CORES / FRN Registration", price_cents: 14900 },
"fcc-499-initial": { name: "Form 499 Initial Registration", price_cents: 34900 },
"calea-ssi": { name: "CALEA SSI Plan", price_cents: 79900 },
"fcc-63-11-notification": { name: "Foreign Carrier Affiliation Notification", price_cents: 34900 },
"new-carrier-bundle": { name: "New Carrier Onboarding Bundle", price_cents: 179900 },
"foreign-qualification-single": { name: "Foreign Qualification (One State)", price_cents: 14900 },
"foreign-qualification-multi": { name: "Foreign Qualification (Multi-State)", price_cents: 9900 },
// DOT / FMCSA
"mcs150-update": { name: "MCS-150 Biennial Update", price_cents: 3900 },
"boc3-filing": { name: "BOC-3 Process Agent Filing", price_cents: 8900 },
"ucr-registration": { name: "UCR Annual Registration", price_cents: 3900, gov_fee_label: "UCR registration fee (tier-based, minimum shown)" },
"dot-registration": { name: "New USDOT Number Registration", price_cents: 8900 },
"mc-authority": { name: "MC Operating Authority Application", price_cents: 19900, gov_fee_label: "FMCSA operating authority application fee" },
"dot-drug-alcohol": { name: "DOT Drug & Alcohol Compliance Program", price_cents: 14900 },
"dot-audit-prep": { name: "New Entrant Safety Audit Preparation", price_cents: 39900 },
"dot-full-compliance": { name: "DOT Full Compliance Bundle", price_cents: 39900 },
"usdot-reactivation": { name: "USDOT Reactivation", price_cents: 14900 },
// State-level trucking
"irp-registration": { name: "IRP Registration Assistance", price_cents: 10900, gov_fee_label: "Apportioned IRP registration and plate fees (state, by jurisdictions and weight)" },
"ifta-application": { name: "IFTA Application + Decals", price_cents: 10900, gov_fee_label: "IFTA license and decal fees (state)" },
"ifta-quarterly": { name: "IFTA Quarterly Filing", price_cents: 10900, gov_fee_label: "IFTA taxes due, based on your mileage" },
"or-weight-mile-tax": { name: "Oregon Weight-Mile Tax Setup", price_cents: 10900, gov_fee_label: "Oregon weight-mile tax account and bond/deposit fees (state)" },
"ny-hut-registration": { name: "NY Highway Use Tax Registration", price_cents: 10900, gov_fee_label: "NY HUT certificate and decal fees (state)" },
"ky-kyu-registration": { name: "KY Weight-Distance Tax Setup", price_cents: 10900, gov_fee_label: "KYU weight-distance account fees (state)" },
"nm-weight-distance": { name: "NM Weight-Distance Tax Setup", price_cents: 10900, gov_fee_label: "NM weight-distance permit and account fees (state)" },
"ct-highway-use-fee": { name: "CT Highway Use Fee Setup", price_cents: 10900, gov_fee_label: "CT Highway Use Fee registration and usage fees (state)" },
"ca-mcp-carb": { name: "California MCP + CARB Compliance", price_cents: 22900, gov_fee_label: "CA MCP permit fee and CARB/Clean Truck Check fees (state, by fleet size)" },
"state-dot-registration": { name: "State DOT Registration", price_cents: 10900, gov_fee_label: "State DOT/intrastate registration fee (state)" },
"intrastate-authority": { name: "Intrastate Operating Authority", price_cents: 10900, gov_fee_label: "State intrastate authority filing fee" },
"osow-permit": { name: "Oversize/Overweight Permit", price_cents: 10900, gov_fee_label: "State oversize/overweight permit fees, per trip/route" },
"state-trucking-bundle": { name: "State Compliance Bundle", price_cents: 49900, gov_fee_label: "State registration, decal and tax fees for each included filing" },
// Hazmat / emissions
"hazmat-phmsa": { name: "PHMSA Hazmat Registration", price_cents: 14900, gov_fee_label: "PHMSA registration fee, by business size" },
"state-emissions": { name: "State Clean-Truck / Emissions Compliance", price_cents: 10900 },
// DOT lifecycle
"emergency-temporary-authority": { name: "Emergency Temporary Authority", price_cents: 49900, gov_fee_label: "FMCSA emergency/temporary authority fee" },
"carrier-closeout": { name: "Carrier Closeout / Deactivation", price_cents: 19900 },
"entity-dissolution": { name: "Entity Dissolution Filing", price_cents: 4900, gov_fee_label: "State dissolution filing fee" },
// Healthcare / NPI
"npi-revalidation": { name: "Medicare PECOS Revalidation Filing", price_cents: 59900 },
"npi-reactivation": { name: "NPI Reactivation", price_cents: 44900 },
"nppes-update": { name: "NPPES Data Update / Attestation", price_cents: 34900 },
"medicare-enrollment": { name: "Medicare Enrollment (PECOS)", price_cents: 69900 },
"oig-sam-screening": { name: "OIG/SAM Exclusion Screening (Annual)", price_cents: 29900 },
"provider-compliance-bundle": { name: "Provider Compliance Bundle (Annual)", price_cents: 89900 },
};
export function formatUSD(cents: number): string {
return `$${(cents / 100).toLocaleString("en-US", {
minimumFractionDigits: 2, maximumFractionDigits: 2,
})}`;
}