Files
InvoiceShelf/resources/scripts-v2/api/services/index.ts
Darko Gjorgjijoski 991b716b33 Phase 1: TypeScript foundation in scripts-v2/
Create the complete TypeScript foundation for the Vue 3 migration
in a parallel scripts-v2/ directory. 72 files, 5430 lines, zero
any types, strict mode.

- types/ (21 files): Domain interfaces for all 17 entities derived
  from actual Laravel models and API resources. Enums for all
  statuses. Generic API response wrappers.
- api/ (29 files): Typed axios client with interceptors, endpoint
  constants from routes/api.php, 25 typed service classes covering
  every API endpoint.
- composables/ (14 files): Vue 3 composition functions for auth,
  notifications, dialogs, modals, pagination, filters, currency,
  dates, theme, sidebar, company context, and permissions.
- utils/ (5 files): Pure typed utilities for money formatting,
  date formatting (date-fns), localStorage, and error handling.
- config/ (3 files): Typed ability constants, app constants.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 05:00:00 +02:00

53 lines
4.0 KiB
TypeScript

export { authService } from './auth.service'
export { bootstrapService } from './bootstrap.service'
export { invoiceService } from './invoice.service'
export { estimateService } from './estimate.service'
export { recurringInvoiceService } from './recurring-invoice.service'
export { customerService } from './customer.service'
export { paymentService } from './payment.service'
export { expenseService } from './expense.service'
export { itemService } from './item.service'
export { companyService } from './company.service'
export { userService } from './user.service'
export { memberService } from './member.service'
export { settingService } from './setting.service'
export { dashboardService } from './dashboard.service'
export { reportService } from './report.service'
export { roleService } from './role.service'
export { taxTypeService } from './tax-type.service'
export { customFieldService } from './custom-field.service'
export { noteService } from './note.service'
export { exchangeRateService } from './exchange-rate.service'
export { moduleService } from './module.service'
export { backupService } from './backup.service'
export { mailService } from './mail.service'
export { pdfService } from './pdf.service'
export { diskService } from './disk.service'
// Re-export service types for convenience
export type { LoginPayload, LoginResponse, ForgotPasswordPayload, ResetPasswordPayload, RegisterWithInvitationPayload } from './auth.service'
export type { BootstrapResponse, MenuItem, CurrentCompanyResponse } from './bootstrap.service'
export type { InvoiceListParams, InvoiceListResponse, SendInvoicePayload, InvoiceStatusPayload, InvoiceTemplatesResponse } from './invoice.service'
export type { EstimateListParams, EstimateListResponse, SendEstimatePayload, EstimateStatusPayload, EstimateTemplatesResponse } from './estimate.service'
export type { RecurringInvoiceListParams, RecurringInvoiceListResponse, FrequencyDateParams, FrequencyDateResponse } from './recurring-invoice.service'
export type { CustomerListParams, CustomerListResponse, CustomerStatsData } from './customer.service'
export type { PaymentListParams, PaymentListResponse, SendPaymentPayload, CreatePaymentMethodPayload } from './payment.service'
export type { ExpenseListParams, ExpenseListResponse, CreateExpenseCategoryPayload } from './expense.service'
export type { ItemListParams, ItemListResponse, CreateItemPayload, CreateUnitPayload } from './item.service'
export type { UpdateCompanyPayload, CompanySettingsPayload, CreateCompanyPayload } from './company.service'
export type { UpdateProfilePayload, UserSettingsPayload } from './user.service'
export type { MemberListParams, MemberListResponse, UpdateMemberPayload, InviteMemberPayload, DeleteMembersPayload } from './member.service'
export type { ConfigResponse, GlobalSettingsPayload, DateFormat, TimeFormat } from './setting.service'
export type { DashboardParams, DashboardResponse, ChartData } from './dashboard.service'
export type { ReportParams, SalesReportResponse, ProfitLossReportResponse, ExpenseReportResponse, TaxReportResponse } from './report.service'
export type { CreateRolePayload, AbilitiesResponse } from './role.service'
export type { CreateTaxTypePayload } from './tax-type.service'
export type { CustomFieldListParams, CreateCustomFieldPayload } from './custom-field.service'
export type { CreateNotePayload } from './note.service'
export type { CreateExchangeRateProviderPayload, BulkUpdatePayload, ExchangeRateResponse, ActiveProviderResponse } from './exchange-rate.service'
export type { Module, ModuleInstallPayload, ModuleCheckResponse } from './module.service'
export type { Backup, CreateBackupPayload, DeleteBackupParams } from './backup.service'
export type { MailConfig, MailConfigResponse, MailDriver, SmtpConfig, MailgunConfig, SesConfig, TestMailPayload } from './mail.service'
export type { PdfConfig, PdfConfigResponse, PdfDriver, DomPdfConfig, GotenbergConfig } from './pdf.service'
export type { Disk, DiskDriversResponse, CreateDiskPayload } from './disk.service'