Download automation/src/modules/exp/labels.ts from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 2.94 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/automation/src/modules/exp/labels.ts
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/automation/src/modules/exp/labels.ts
-
curl -L -o labels.ts https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/automation/src/modules/exp/labels.ts
2.94 kB
| /** | |
| * EXP label mapping: the ONE place Expenses UI labels, nav targets and mock seed values live for automation. | |
| * Source: tests/ui-glossary.yaml `exp:` (tasks + labels) and the step targets in tests/cases/exp/*.yaml. Checked by scripts/check-glossary.js; all UNVERIFIED against a Fusion pod. MOCK app only (mock-app/modules/exp). | |
| */ | |
| export const EXP_PERSONA_LABELS = { | |
| employee: 'Employee (Expenses)', employee2: 'Employee 2 (Expenses)', manager: 'Line Manager (Expenses)', manager_l2: 'Senior Manager (Expenses)', | |
| auditor: 'Expense Auditor', card_admin: 'Corporate Card Administrator', expense_manager: 'Expense Manager', | |
| } as const; | |
| export type EXPPersona = keyof typeof EXP_PERSONA_LABELS; | |
| export const NAV = { expenses: '/exp', expense_audit: '/exp/audit', corporate_cards: '/exp/cards', scheduled_processes: '/scheduled-processes' } as const; | |
| export const TASK = { expenses: 'Expenses', auditExpenseReports: 'Audit Expense Reports', manageCorporateCards: 'Manage Corporate Cards' } as const; | |
| export const FIELD = { purpose: 'Purpose', expenseType: 'Expense Type', amount: 'Amount', date: 'Date', merchant: 'Merchant', justification: 'Justification', report: 'Report', employee: 'Employee' } as const; | |
| export const BUTTON = { createReport: 'Create Report', createItem: 'Create Item', attachReceipt: 'Attach Receipt', save: 'Save', submit: 'Submit', approve: 'Approve', search: 'Search', notifications: 'Notifications' } as const; | |
| export const PARAM = { cardProgram: 'Card Program', dataFile: 'Data File', businessUnit: 'Business Unit', payGroup: 'Pay Group' } as const; | |
| export const PROCESS = { uploadCards: 'Upload Corporate Card Transactions', validateCards: 'Validate and Process Corporate Card Transactions', reimburse: 'Process Expense Reimbursements and Cash Advances' } as const; | |
| export const CELL = { reportTotal: 'Report Total', policyViolation: 'Policy Violation', auditReason: 'Audit Reason', cardNumber: 'Card Number' } as const; | |
| export const TABLE = { items: 'Expense Items', totals: 'Report Totals', reports: 'Expense Reports', cards: 'Corporate Cards' } as const; | |
| export const TID = { reportNumber: 'exp-report-number', status: 'exp-report-status', currentApprover: 'exp-current-approver' } as const; | |
| /** Synthetic seed values in the EXP mock pack (mock-app/modules/exp/store.js). ASSUMED rules; never pod values. */ | |
| export const DATA = { | |
| catMeals: 'ZZ Meals (MOCK)', catHotel: 'ZZ Hotel (MOCK)', merchant: 'ZZ Merchant', employeeName: 'ZZ Employee One', employeePersonId: '300100001', employeeCc: '110', | |
| managerName: 'ZZ Manager One', managerL2Name: 'ZZ Manager Two', acctMeals: '01-110-6410', acctHotel: '01-110-6420', cardClearing: '01-000-2210', | |
| cardProgram: 'ZZ Visa Corporate (MOCK)', testCardNumber: '4000000000001111', maskedCard: '************1111', payGroup: 'ZZ EMPLOYEE (MOCK)', bu: 'US1', | |
| auditRule: 'ZZ Amount over 1000.00 (MOCK)', mealsLimit: 50, | |
| } as const; | |