fix: pre-populate classifications instead of syncing from Autotask API

- Autotask REST API doesn't expose ClassificationIcons endpoint
- Created migration to populate 17 standard classification icons
- Removed sync button from UI (classifications are pre-loaded)
- Includes: Tools Only, Co-Managed, Wulf 365 Essentials, Partner, etc.
- Users can now select any classification to exclude from kiosk
This commit is contained in:
lorentz 2026-02-03 20:54:35 -05:00
parent b222d97225
commit f27b23bec8
3 changed files with 30 additions and 13 deletions

View file

@ -490,7 +490,8 @@ export class AutotaskClient {
// Classification Icons methods
async getClassificationIcons(): Promise<any[]> {
// Autotask API endpoint for classification icons
const url = `${this.config.apiUrl}/CompanyClassificationIcons`;
// Try ClassificationIcons endpoint
const url = `${this.config.apiUrl}/ClassificationIcons`;
const response = await this.makeApiCall<any>(url, {
method: 'GET',