103 lines
3.6 KiB
Python
103 lines
3.6 KiB
Python
from backend.core.commands.base import Command, CommandResult
|
|
from backend.core.commands.customers.customers import CreateCustomerCommand, UpdateCustomerCommand, \
|
|
DeleteCustomerCommand, MarkCustomerInactiveCommand
|
|
from backend.core.commands.accounts.accounts import CreateAccountCommand, UpdateAccountCommand, DeleteAccountCommand, \
|
|
MarkAccountInactiveCommand, GetAccountRevenueCommand
|
|
from backend.core.commands.services.services import CreateServiceCommand, UpdateServiceCommand, DeleteServiceCommand, \
|
|
CompleteServiceCommand, CancelServiceCommand, AssignTeamMembersCommand, GetServicesByDateRangeCommand
|
|
from backend.core.commands.services.bulk_schedule import BulkScheduleServicesCommand
|
|
from backend.core.commands.projects.projects import CreateProjectCommand, UpdateProjectCommand, DeleteProjectCommand
|
|
from backend.core.commands.invoices.invoices import CreateInvoiceCommand, SendInvoiceCommand, MarkInvoicePaidCommand, \
|
|
CancelInvoiceCommand, FilterInvoicesCommand
|
|
from backend.core.commands.labor.labor import CreateLaborCommand, UpdateLaborCommand, DeleteLaborCommand, \
|
|
EndLaborCommand, CalculateLaborCostCommand
|
|
from backend.core.commands.profiles.profiles import CreateProfileCommand, UpdateProfileCommand, DeleteProfileCommand, \
|
|
SearchProfilesCommand
|
|
from backend.core.commands.reports.reports import (
|
|
CreateReportCommand,
|
|
UpdateReportCommand,
|
|
DeleteReportCommand,
|
|
GetTeamMemberReportsCommand,
|
|
GetTeamMemberActivityCommand,
|
|
GetTeamSummaryCommand
|
|
)
|
|
from backend.core.commands.revenues.revenues import (
|
|
CreateRevenueCommand,
|
|
UpdateRevenueCommand,
|
|
DeleteRevenueCommand,
|
|
EndRevenueCommand,
|
|
GetRevenueByDateRangeCommand,
|
|
CalculateTotalRevenueCommand,
|
|
GetActiveRevenuesCommand
|
|
)
|
|
from backend.core.commands.schedules.schedules import (
|
|
CreateScheduleCommand,
|
|
UpdateScheduleCommand,
|
|
DeleteScheduleCommand,
|
|
EndScheduleCommand,
|
|
GetActiveSchedulesCommand,
|
|
GenerateServicesCommand,
|
|
GetScheduleByAccountCommand,
|
|
SearchSchedulesCommand
|
|
)
|
|
|
|
__all__ = [
|
|
'Command',
|
|
'CommandResult',
|
|
'CreateServiceCommand',
|
|
'UpdateServiceCommand',
|
|
'DeleteServiceCommand',
|
|
'CreateProjectCommand',
|
|
'UpdateProjectCommand',
|
|
'DeleteProjectCommand',
|
|
'CreateCustomerCommand',
|
|
'UpdateCustomerCommand',
|
|
'DeleteCustomerCommand',
|
|
'MarkCustomerInactiveCommand',
|
|
'CreateAccountCommand',
|
|
'UpdateAccountCommand',
|
|
'DeleteAccountCommand',
|
|
'MarkAccountInactiveCommand',
|
|
'GetAccountRevenueCommand',
|
|
'CreateInvoiceCommand',
|
|
'SendInvoiceCommand',
|
|
'MarkInvoicePaidCommand',
|
|
'CancelInvoiceCommand',
|
|
'FilterInvoicesCommand',
|
|
'CreateLaborCommand',
|
|
'UpdateLaborCommand',
|
|
'DeleteLaborCommand',
|
|
'EndLaborCommand',
|
|
'CalculateLaborCostCommand',
|
|
'CreateProfileCommand',
|
|
'UpdateProfileCommand',
|
|
'DeleteProfileCommand',
|
|
'SearchProfilesCommand',
|
|
'CreateReportCommand',
|
|
'UpdateReportCommand',
|
|
'DeleteReportCommand',
|
|
'GetTeamMemberReportsCommand',
|
|
'GetTeamMemberActivityCommand',
|
|
'GetTeamSummaryCommand',
|
|
'CreateRevenueCommand',
|
|
'UpdateRevenueCommand',
|
|
'DeleteRevenueCommand',
|
|
'EndRevenueCommand',
|
|
'GetRevenueByDateRangeCommand',
|
|
'CalculateTotalRevenueCommand',
|
|
'GetActiveRevenuesCommand',
|
|
'CreateScheduleCommand',
|
|
'UpdateScheduleCommand',
|
|
'DeleteScheduleCommand',
|
|
'EndScheduleCommand',
|
|
'GetActiveSchedulesCommand',
|
|
'GenerateServicesCommand',
|
|
'CompleteServiceCommand',
|
|
'CancelServiceCommand',
|
|
'AssignTeamMembersCommand',
|
|
'GetServicesByDateRangeCommand',
|
|
'GetScheduleByAccountCommand',
|
|
'SearchSchedulesCommand',
|
|
'BulkScheduleServicesCommand',
|
|
]
|