From 71e4f99ab5bdd4a6663f87031eb5404078919a82 Mon Sep 17 00:00:00 2001 From: Dave Earley Date: Fri, 22 Nov 2024 07:42:32 -0800 Subject: [PATCH] Move Handlers directory --- .../Actions/Accounts/CreateAccountAction.php | 10 +++++----- .../Stripe/CreateStripeConnectAccountAction.php | 4 ++-- .../Actions/Accounts/UpdateAccountAction.php | 4 ++-- .../Actions/Attendees/CheckInAttendeeAction.php | 4 ++-- .../Actions/Attendees/CreateAttendeeAction.php | 4 ++-- .../Actions/Attendees/EditAttendeeAction.php | 4 ++-- .../Attendees/PartialEditAttendeeAction.php | 4 ++-- .../Attendees/ResendAttendeeTicketAction.php | 4 ++-- .../Http/Actions/Auth/AcceptInvitationAction.php | 4 ++-- backend/app/Http/Actions/Auth/BaseAuthAction.php | 2 +- .../Http/Actions/Auth/ForgotPasswordAction.php | 2 +- backend/app/Http/Actions/Auth/LoginAction.php | 4 ++-- .../Http/Actions/Auth/ResetPasswordAction.php | 4 ++-- .../Auth/ValidateResetPasswordTokenAction.php | 2 +- .../CreateCapacityAssignmentAction.php | 4 ++-- .../DeleteCapacityAssignmentAction.php | 2 +- .../GetCapacityAssignmentAction.php | 2 +- .../GetCapacityAssignmentsAction.php | 4 ++-- .../UpdateCapacityAssignmentAction.php | 4 ++-- .../CheckInLists/CreateCheckInListAction.php | 4 ++-- .../CheckInLists/DeleteCheckInListAction.php | 2 +- .../CheckInLists/GetCheckInListAction.php | 2 +- .../CheckInLists/GetCheckInListsAction.php | 4 ++-- .../Public/CreateAttendeeCheckInPublicAction.php | 4 ++-- .../Public/DeleteAttendeeCheckInPublicAction.php | 4 ++-- .../GetCheckInListAttendeesPublicAction.php | 2 +- .../Public/GetCheckInListPublicAction.php | 2 +- .../CheckInLists/UpdateCheckInListAction.php | 4 ++-- .../Webhooks/StripeIncomingWebhookAction.php | 4 ++-- .../EventSettings/EditEventSettingsAction.php | 4 ++-- .../PartialEditEventSettingsAction.php | 4 ++-- .../Http/Actions/Events/CreateEventAction.php | 4 ++-- .../Http/Actions/Events/DuplicateEventAction.php | 2 +- .../Http/Actions/Events/GetEventPublicAction.php | 4 ++-- .../app/Http/Actions/Events/GetEventsAction.php | 4 ++-- .../Events/Images/CreateEventImageAction.php | 4 ++-- .../Events/Images/DeleteEventImageAction.php | 4 ++-- .../Events/Stats/GetEventCheckInStatsAction.php | 2 +- .../Actions/Events/Stats/GetEventStatsAction.php | 4 ++-- .../Http/Actions/Events/UpdateEventAction.php | 4 ++-- .../Actions/Events/UpdateEventStatusAction.php | 4 ++-- .../Http/Actions/Messages/SendMessageAction.php | 4 ++-- .../Http/Actions/Orders/CancelOrderAction.php | 4 ++-- .../Actions/Orders/CompleteOrderActionPublic.php | 6 +++--- .../Actions/Orders/CreateOrderActionPublic.php | 6 +++--- .../Http/Actions/Orders/GetOrderActionPublic.php | 4 ++-- .../Actions/Orders/Payment/RefundOrderAction.php | 4 ++-- .../Stripe/CreatePaymentIntentActionPublic.php | 2 +- .../Stripe/GetPaymentIntentActionPublic.php | 2 +- .../Actions/Organizers/CreateOrganizerAction.php | 4 ++-- .../Actions/Organizers/EditOrganizerAction.php | 4 ++-- .../Organizers/GetOrganizerEventsAction.php | 4 ++-- .../CreateProductCategoryAction.php | 4 ++-- .../DeleteProductCategoryAction.php | 2 +- .../EditProductCategoryAction.php | 4 ++-- .../GetProductCategoriesAction.php | 2 +- .../GetProductCategoryAction.php | 2 +- .../Actions/Products/CreateProductAction.php | 4 ++-- .../Actions/Products/DeleteProductAction.php | 2 +- .../Http/Actions/Products/EditProductAction.php | 4 ++-- .../Http/Actions/Products/GetProductsAction.php | 2 +- .../Http/Actions/Products/SortProductsAction.php | 2 +- .../Actions/PromoCodes/CreatePromoCodeAction.php | 4 ++-- .../Actions/PromoCodes/DeletePromoCodeAction.php | 4 ++-- .../Actions/PromoCodes/UpdatePromoCodeAction.php | 4 ++-- .../Actions/Questions/CreateQuestionAction.php | 4 ++-- .../Actions/Questions/DeleteQuestionAction.php | 2 +- .../Actions/Questions/EditQuestionAction.php | 4 ++-- .../Actions/Questions/SortQuestionsAction.php | 2 +- .../app/Http/Actions/Reports/GetReportAction.php | 4 ++-- .../TaxesAndFees/CreateTaxOrFeeAction.php | 4 ++-- .../TaxesAndFees/DeleteTaxOrFeeAction.php | 4 ++-- .../Actions/TaxesAndFees/EditTaxOrFeeAction.php | 4 ++-- .../Actions/Users/CancelEmailChangeAction.php | 4 ++-- .../Actions/Users/ConfirmEmailAddressAction.php | 4 ++-- .../Actions/Users/ConfirmEmailChangeAction.php | 4 ++-- .../app/Http/Actions/Users/CreateUserAction.php | 4 ++-- .../Users/ResendEmailConfirmationAction.php | 2 +- .../app/Http/Actions/Users/UpdateMeAction.php | 4 ++-- .../app/Http/Actions/Users/UpdateUserAction.php | 4 ++-- backend/app/Jobs/Event/SendMessagesJob.php | 2 +- backend/app/Mail/Event/EventMessage.php | 2 +- .../StripeConnectAccountResponseResource.php | 2 +- .../Auth/AuthenticatedResponseResource.php | 2 +- .../Handlers/Account/CreateAccountHandler.php | 6 +++--- .../Handlers/Account/DTO/CreateAccountDTO.php | 2 +- .../Handlers/Account/DTO/UpdateAccountDTO.php | 2 +- .../AccountRegistrationDisabledException.php | 2 +- .../Stripe/CreateStripeConnectAccountHandler.php | 6 +++--- .../Stripe/DTO/CreateStripeConnectAccountDTO.php | 2 +- .../DTO/CreateStripeConnectAccountResponse.php | 2 +- .../Handlers/Account/UpdateAccountHanlder.php | 4 ++-- .../Handlers/Attendee/CheckInAttendeeHandler.php | 4 ++-- .../Handlers/Attendee/CreateAttendeeHandler.php | 6 +++--- .../Handlers/Attendee/DTO/CheckInAttendeeDTO.php | 2 +- .../Handlers/Attendee/DTO/CreateAttendeeDTO.php | 2 +- .../Attendee/DTO/CreateAttendeeTaxAndFeeDTO.php | 2 +- .../Handlers/Attendee/DTO/EditAttendeeDTO.php | 2 +- .../Attendee/DTO/PartialEditAttendeeDTO.php | 2 +- .../Attendee/DTO/ResendAttendeeTicketDTO.php | 2 +- .../Handlers/Attendee/EditAttendeeHandler.php | 4 ++-- .../Attendee/PartialEditAttendeeHandler.php | 4 ++-- .../Attendee/ResendAttendeeTicketHandler.php | 4 ++-- .../Handlers/Auth/AcceptInvitationHandler.php | 4 ++-- .../Handlers/Auth/DTO/AcceptInvitationDTO.php | 2 +- .../Auth/DTO/AuthenticatedResponseDTO.php | 2 +- .../Handlers/Auth/DTO/LoginCredentialsDTO.php | 2 +- .../Handlers/Auth/DTO/ResetPasswordDTO.php | 2 +- .../Handlers/Auth/ForgotPasswordHandler.php | 2 +- .../Handlers/Auth/LoginHandler.php | 4 ++-- .../Handlers/Auth/ResetPasswordHandler.php | 4 ++-- .../Auth/ValidateResetPasswordTokenHandler.php | 2 +- .../CreateCapacityAssignmentHandler.php | 4 ++-- .../DTO/GetCapacityAssignmentsDTO.php | 2 +- .../DTO/UpsertCapacityAssignmentDTO.php | 2 +- .../DeleteCapacityAssignmentHandler.php | 2 +- .../GetCapacityAssignmentHandler.php | 2 +- .../GetCapacityAssignmentsHandler.php | 4 ++-- .../UpdateCapacityAssignmentHandler.php | 4 ++-- .../CheckInList/CreateCheckInListHandler.php | 4 ++-- .../CheckInList/DTO/GetCheckInListsDTO.php | 2 +- .../CheckInList/DTO/UpsertCheckInListDTO.php | 2 +- .../CheckInList/DeleteCheckInListHandler.php | 2 +- .../CheckInList/GetCheckInListHandler.php | 2 +- .../CheckInList/GetCheckInListsHandler.php | 4 ++-- .../CreateAttendeeCheckInPublicHandler.php | 4 ++-- .../DTO/CreateAttendeeCheckInPublicDTO.php | 2 +- .../DTO/DeleteAttendeeCheckInPublicDTO.php | 2 +- .../DeleteAttendeeCheckInPublicHandler.php | 4 ++-- .../GetCheckInListAttendeesPublicHandler.php | 2 +- .../Public/GetCheckInListPublicHandler.php | 2 +- .../CheckInList/UpdateCheckInlistHandler.php | 4 ++-- .../Handlers/Event/CreateEventHandler.php | 4 ++-- .../Handlers/Event/CreateEventImageHandler.php | 4 ++-- .../Handlers/Event/DTO/CreateEventDTO.php | 4 ++-- .../Handlers/Event/DTO/CreateEventImageDTO.php | 2 +- .../Handlers/Event/DTO/DeleteEventImageDTO.php | 2 +- .../Handlers/Event/DTO/EventStatsRequestDTO.php | 2 +- .../Handlers/Event/DTO/EventStatsResponseDTO.php | 2 +- .../Handlers/Event/DTO/GetEventsDTO.php | 2 +- .../Handlers/Event/DTO/GetPublicEventDTO.php | 2 +- .../Handlers/Event/DTO/UpdateEventDTO.php | 2 +- .../Handlers/Event/DTO/UpdateEventStatusDTO.php | 2 +- .../Handlers/Event/DeleteEventImageHandler.php | 4 ++-- .../Handlers/Event/DuplicateEventHandler.php | 2 +- .../Event/GetEventCheckInStatsHandler.php | 2 +- .../Handlers/Event/GetEventStatsHandler.php | 6 +++--- .../Handlers/Event/GetEventsHandler.php | 4 ++-- .../Handlers/Event/GetPublicEventHandler.php | 4 ++-- .../Handlers/Event/UpdateEventHandler.php | 4 ++-- .../Handlers/Event/UpdateEventStatusHandler.php | 4 ++-- .../DTO/PartialUpdateEventSettingsDTO.php | 2 +- .../EventSettings/DTO/UpdateEventSettingsDTO.php | 2 +- .../PartialUpdateEventSettingsHandler.php | 6 +++--- .../EventSettings/UpdateEventSettingsHandler.php | 4 ++-- .../Handlers/Message/DTO/SendMessageDTO.php | 2 +- .../Handlers/Message/SendMessageHandler.php | 4 ++-- .../Handlers/Order/CancelOrderHandler.php | 4 ++-- .../Handlers/Order/CompleteOrderHandler.php | 12 ++++++------ .../Handlers/Order/CreateOrderHandler.php | 4 ++-- .../Handlers/Order/DTO/CancelOrderDTO.php | 2 +- .../Handlers/Order/DTO/CompleteOrderDTO.php | 2 +- .../Handlers/Order/DTO/CompleteOrderOrderDTO.php | 2 +- .../Order/DTO/CompleteOrderProductDataDTO.php | 2 +- .../Handlers/Order/DTO/CreateOrderPublicDTO.php | 2 +- .../Handlers/Order/DTO/CreatedProductDataDTO.php | 2 +- .../Handlers/Order/DTO/GetOrderPublicDTO.php | 2 +- .../Handlers/Order/DTO/OrderQuestionsDTO.php | 2 +- .../Order/DTO/ProductOrderDetailsDTO.php | 2 +- .../Handlers/Order/DTO/RefundOrderDTO.php | 2 +- .../Handlers/Order/GetOrderPublicHandler.php | 4 ++-- .../Stripe/CreatePaymentIntentHandler.php | 2 +- .../Stripe/DTO/StripePaymentIntentPublicDTO.php | 2 +- .../Payment/Stripe/DTO/StripeWebhookDTO.php | 2 +- .../Payment/Stripe/GetPaymentIntentHandler.php | 4 ++-- .../Payment/Stripe/IncomingWebhookHandler.php | 4 ++-- .../Order/Payment/Stripe/RefundOrderHandler.php | 4 ++-- .../Organizer/CreateOrganizerHandler.php | 4 ++-- .../Organizer/DTO/CreateOrganizerDTO.php | 2 +- .../Handlers/Organizer/DTO/EditOrganizerDTO.php | 2 +- .../Organizer/DTO/GetOrganizerEventsDTO.php | 2 +- .../Handlers/Organizer/EditOrganizerHandler.php | 4 ++-- .../Organizer/GetOrganizerEventsHandler.php | 4 ++-- .../Handlers/Product/CreateProductHandler.php | 4 ++-- .../Handlers/Product/DTO/UpsertProductDTO.php | 2 +- .../Handlers/Product/DeleteProductHandler.php | 2 +- .../Handlers/Product/EditProductHandler.php | 4 ++-- .../Handlers/Product/GetProductsHandler.php | 4 ++-- .../Handlers/Product/SortProductsHandler.php | 2 +- .../CreateProductCategoryHandler.php | 4 ++-- .../DTO/UpsertProductCategoryDTO.php | 2 +- .../DeleteProductCategoryHandler.php | 2 +- .../EditProductCategoryHandler.php | 4 ++-- .../GetProductCategoriesHandler.php | 3 +-- .../GetProductCategoryHandler.php | 2 +- .../PromoCode/CreatePromoCodeHandler.php | 6 +++--- .../PromoCode/DTO/DeletePromoCodeDTO.php | 2 +- .../PromoCode/DTO/UpsertPromoCodeDTO.php | 2 +- .../PromoCode/DeletePromoCodeHandler.php | 4 ++-- .../PromoCode/UpdatePromoCodeHandler.php | 4 ++-- .../Handlers/Question/CreateQuestionHandler.php | 4 ++-- .../Handlers/Question/DTO/UpsertQuestionDTO.php | 2 +- .../Handlers/Question/DeleteQuestionHandler.php | 2 +- .../Handlers/Question/EditQuestionHandler.php | 4 ++-- .../Handlers/Question/SortQuestionsHandler.php | 2 +- .../Handlers/Reports/DTO/GetReportDTO.php | 2 +- .../Handlers/Reports/GetReportHandler.php | 4 ++-- .../Handlers/TaxAndFee/CreateTaxOrFeeHandler.php | 4 ++-- .../Handlers/TaxAndFee/DTO/DeleteTaxDTO.php | 2 +- .../Handlers/TaxAndFee/DTO/UpsertTaxDTO.php | 2 +- .../Handlers/TaxAndFee/DeleteTaxHandler.php | 4 ++-- .../Handlers/TaxAndFee/EditTaxHandler.php | 4 ++-- .../Handlers/User/CancelEmailChangeHandler.php | 4 ++-- .../Handlers/User/ConfirmEmailAddressHandler.php | 4 ++-- .../Handlers/User/ConfirmEmailChangeHandler.php | 4 ++-- .../Handlers/User/CreateUserHandler.php | 4 ++-- .../Handlers/User/DTO/CancelEmailChangeDTO.php | 2 +- .../Handlers/User/DTO/ConfirmEmailChangeDTO.php | 2 +- .../Handlers/User/DTO/CreateUserDTO.php | 2 +- .../Handlers/User/DTO/UpdateMeDTO.php | 2 +- .../Handlers/User/DTO/UpdateUserDTO.php | 2 +- .../User/ResendEmailConfirmationHandler.php | 2 +- .../Handlers/User/UpdateMeHandler.php | 4 ++-- .../Handlers/User/UpdateUserHandler.php | 4 ++-- .../Domain/Event/EventStatsFetchService.php | 4 ++-- .../Mail/SendEventEmailMessagesService.php | 2 +- .../Domain/Order/OrderItemProcessingService.php | 2 +- .../Domain/Product/DTO/CreateProductDTO.php | 2 +- .../Domain/Product/ProductPriceUpdateService.php | 2 +- .../views/emails/event/message.blade.php | 2 +- .../Handlers/Event/GetPublicEventHandlerTest.php | 6 +++--- .../Handlers/Order/CompleteOrderHandlerTest.php | 16 ++++++++-------- 232 files changed, 376 insertions(+), 377 deletions(-) rename backend/app/Services/{ => Application}/Handlers/Account/CreateAccountHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Account/DTO/CreateAccountDTO.php (88%) rename backend/app/Services/{ => Application}/Handlers/Account/DTO/UpdateAccountDTO.php (85%) rename backend/app/Services/{ => Application}/Handlers/Account/Exceptions/AccountRegistrationDisabledException.php (56%) rename backend/app/Services/{ => Application}/Handlers/Account/Payment/Stripe/CreateStripeConnectAccountHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/Account/Payment/Stripe/DTO/CreateStripeConnectAccountDTO.php (72%) rename backend/app/Services/{ => Application}/Handlers/Account/Payment/Stripe/DTO/CreateStripeConnectAccountResponse.php (84%) rename backend/app/Services/{ => Application}/Handlers/Account/UpdateAccountHanlder.php (89%) rename backend/app/Services/{ => Application}/Handlers/Attendee/CheckInAttendeeHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/Attendee/CreateAttendeeHandler.php (98%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/CheckInAttendeeDTO.php (82%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/CreateAttendeeDTO.php (93%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/CreateAttendeeTaxAndFeeDTO.php (79%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/EditAttendeeDTO.php (86%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/PartialEditAttendeeDTO.php (84%) rename backend/app/Services/{ => Application}/Handlers/Attendee/DTO/ResendAttendeeTicketDTO.php (77%) rename backend/app/Services/{ => Application}/Handlers/Attendee/EditAttendeeHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/Attendee/PartialEditAttendeeHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/Attendee/ResendAttendeeTicketHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/Auth/AcceptInvitationHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Auth/DTO/AcceptInvitationDTO.php (86%) rename backend/app/Services/{ => Application}/Handlers/Auth/DTO/AuthenticatedResponseDTO.php (87%) rename backend/app/Services/{ => Application}/Handlers/Auth/DTO/LoginCredentialsDTO.php (82%) rename backend/app/Services/{ => Application}/Handlers/Auth/DTO/ResetPasswordDTO.php (84%) rename backend/app/Services/{ => Application}/Handlers/Auth/ForgotPasswordHandler.php (98%) rename backend/app/Services/{ => Application}/Handlers/Auth/LoginHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/Auth/ResetPasswordHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Auth/ValidateResetPasswordTokenHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/CreateCapacityAssignmentHandler.php (87%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/DTO/GetCapacityAssignmentsDTO.php (79%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/DTO/UpsertCapacityAssignmentDTO.php (87%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/DeleteCapacityAssignmentHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/GetCapacityAssignmentHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/GetCapacityAssignmentsHandler.php (81%) rename backend/app/Services/{ => Application}/Handlers/CapacityAssignment/UpdateCapacityAssignmentHandler.php (87%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/CreateCheckInListHandler.php (87%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/DTO/GetCheckInListsDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/DTO/UpsertCheckInListDTO.php (86%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/DeleteCheckInListHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/GetCheckInListHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/GetCheckInListsHandler.php (92%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/CreateAttendeeCheckInPublicHandler.php (88%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/DTO/CreateAttendeeCheckInPublicDTO.php (79%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/DTO/DeleteAttendeeCheckInPublicDTO.php (79%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/DeleteAttendeeCheckInPublicHandler.php (85%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/GetCheckInListAttendeesPublicHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/Public/GetCheckInListPublicHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/CheckInList/UpdateCheckInlistHandler.php (87%) rename backend/app/Services/{ => Application}/Handlers/Event/CreateEventHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/Event/CreateEventImageHandler.php (82%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/CreateEventDTO.php (89%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/CreateEventImageDTO.php (86%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/DeleteEventImageDTO.php (77%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/EventStatsRequestDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/EventStatsResponseDTO.php (95%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/GetEventsDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/GetPublicEventDTO.php (83%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/UpdateEventDTO.php (94%) rename backend/app/Services/{ => Application}/Handlers/Event/DTO/UpdateEventStatusDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/Event/DeleteEventImageHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/Event/DuplicateEventHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Event/GetEventCheckInStatsHandler.php (88%) rename backend/app/Services/{ => Application}/Handlers/Event/GetEventStatsHandler.php (65%) rename backend/app/Services/{ => Application}/Handlers/Event/GetEventsHandler.php (90%) rename backend/app/Services/{ => Application}/Handlers/Event/GetPublicEventHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Event/UpdateEventHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Event/UpdateEventStatusHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/EventSettings/DTO/PartialUpdateEventSettingsDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/EventSettings/DTO/UpdateEventSettingsDTO.php (98%) rename backend/app/Services/{ => Application}/Handlers/EventSettings/PartialUpdateEventSettingsHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/EventSettings/UpdateEventSettingsHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Message/DTO/SendMessageDTO.php (93%) rename backend/app/Services/{ => Application}/Handlers/Message/SendMessageHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Order/CancelOrderHandler.php (91%) rename backend/app/Services/{ => Application}/Handlers/Order/CompleteOrderHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Order/CreateOrderHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CancelOrderDTO.php (76%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CompleteOrderDTO.php (89%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CompleteOrderOrderDTO.php (92%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CompleteOrderProductDataDTO.php (93%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CreateOrderPublicDTO.php (89%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/CreatedProductDataDTO.php (82%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/GetOrderPublicDTO.php (81%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/OrderQuestionsDTO.php (80%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/ProductOrderDetailsDTO.php (88%) rename backend/app/Services/{ => Application}/Handlers/Order/DTO/RefundOrderDTO.php (85%) rename backend/app/Services/{ => Application}/Handlers/Order/GetOrderPublicHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/CreatePaymentIntentHandler.php (98%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/DTO/StripePaymentIntentPublicDTO.php (77%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/DTO/StripeWebhookDTO.php (75%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/GetPaymentIntentHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/IncomingWebhookHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Order/Payment/Stripe/RefundOrderHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/Organizer/CreateOrganizerHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/Organizer/DTO/CreateOrganizerDTO.php (89%) rename backend/app/Services/{ => Application}/Handlers/Organizer/DTO/EditOrganizerDTO.php (90%) rename backend/app/Services/{ => Application}/Handlers/Organizer/DTO/GetOrganizerEventsDTO.php (83%) rename backend/app/Services/{ => Application}/Handlers/Organizer/EditOrganizerHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Organizer/GetOrganizerEventsHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/Product/CreateProductHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Product/DTO/UpsertProductDTO.php (97%) rename backend/app/Services/{ => Application}/Handlers/Product/DeleteProductHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/Product/EditProductHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/Product/GetProductsHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Product/SortProductsHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/CreateProductCategoryHandler.php (81%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/DTO/UpsertProductCategoryDTO.php (84%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/DeleteProductCategoryHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/EditProductCategoryHandler.php (85%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/GetProductCategoriesHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/ProductCategory/GetProductCategoryHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/PromoCode/CreatePromoCodeHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/PromoCode/DTO/DeletePromoCodeDTO.php (79%) rename backend/app/Services/{ => Application}/Handlers/PromoCode/DTO/UpsertPromoCodeDTO.php (90%) rename backend/app/Services/{ => Application}/Handlers/PromoCode/DeletePromoCodeHandler.php (84%) rename backend/app/Services/{ => Application}/Handlers/PromoCode/UpdatePromoCodeHandler.php (95%) rename backend/app/Services/{ => Application}/Handlers/Question/CreateQuestionHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/Question/DTO/UpsertQuestionDTO.php (91%) rename backend/app/Services/{ => Application}/Handlers/Question/DeleteQuestionHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/Question/EditQuestionHandler.php (89%) rename backend/app/Services/{ => Application}/Handlers/Question/SortQuestionsHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/Reports/DTO/GetReportDTO.php (85%) rename backend/app/Services/{ => Application}/Handlers/Reports/GetReportHandler.php (85%) rename backend/app/Services/{ => Application}/Handlers/TaxAndFee/CreateTaxOrFeeHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/TaxAndFee/DTO/DeleteTaxDTO.php (77%) rename backend/app/Services/{ => Application}/Handlers/TaxAndFee/DTO/UpsertTaxDTO.php (91%) rename backend/app/Services/{ => Application}/Handlers/TaxAndFee/DeleteTaxHandler.php (92%) rename backend/app/Services/{ => Application}/Handlers/TaxAndFee/EditTaxHandler.php (94%) rename backend/app/Services/{ => Application}/Handlers/User/CancelEmailChangeHandler.php (88%) rename backend/app/Services/{ => Application}/Handlers/User/ConfirmEmailAddressHandler.php (81%) rename backend/app/Services/{ => Application}/Handlers/User/ConfirmEmailChangeHandler.php (93%) rename backend/app/Services/{ => Application}/Handlers/User/CreateUserHandler.php (96%) rename backend/app/Services/{ => Application}/Handlers/User/DTO/CancelEmailChangeDTO.php (77%) rename backend/app/Services/{ => Application}/Handlers/User/DTO/ConfirmEmailChangeDTO.php (78%) rename backend/app/Services/{ => Application}/Handlers/User/DTO/CreateUserDTO.php (86%) rename backend/app/Services/{ => Application}/Handlers/User/DTO/UpdateMeDTO.php (89%) rename backend/app/Services/{ => Application}/Handlers/User/DTO/UpdateUserDTO.php (90%) rename backend/app/Services/{ => Application}/Handlers/User/ResendEmailConfirmationHandler.php (88%) rename backend/app/Services/{ => Application}/Handlers/User/UpdateMeHandler.php (97%) rename backend/app/Services/{ => Application}/Handlers/User/UpdateUserHandler.php (96%) rename backend/tests/Unit/Services/{ => Application}/Handlers/Event/GetPublicEventHandlerTest.php (95%) rename backend/tests/Unit/Services/{ => Application}/Handlers/Order/CompleteOrderHandlerTest.php (97%) diff --git a/backend/app/Http/Actions/Accounts/CreateAccountAction.php b/backend/app/Http/Actions/Accounts/CreateAccountAction.php index 26f94ea0ab..36365f95b3 100644 --- a/backend/app/Http/Actions/Accounts/CreateAccountAction.php +++ b/backend/app/Http/Actions/Accounts/CreateAccountAction.php @@ -10,12 +10,12 @@ use HiEvents\Http\Request\Account\CreateAccountRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Account\AccountResource; +use HiEvents\Services\Application\Handlers\Account\CreateAccountHandler; +use HiEvents\Services\Application\Handlers\Account\DTO\CreateAccountDTO; +use HiEvents\Services\Application\Handlers\Account\Exceptions\AccountRegistrationDisabledException; +use HiEvents\Services\Application\Handlers\Auth\DTO\LoginCredentialsDTO; +use HiEvents\Services\Application\Handlers\Auth\LoginHandler; use HiEvents\Services\Application\Locale\LocaleService; -use HiEvents\Services\Handlers\Account\CreateAccountHandler; -use HiEvents\Services\Handlers\Account\DTO\CreateAccountDTO; -use HiEvents\Services\Handlers\Account\Exceptions\AccountRegistrationDisabledException; -use HiEvents\Services\Handlers\Auth\DTO\LoginCredentialsDTO; -use HiEvents\Services\Handlers\Auth\LoginHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Accounts/Stripe/CreateStripeConnectAccountAction.php b/backend/app/Http/Actions/Accounts/Stripe/CreateStripeConnectAccountAction.php index 5018f8e58d..ca3f429bea 100644 --- a/backend/app/Http/Actions/Accounts/Stripe/CreateStripeConnectAccountAction.php +++ b/backend/app/Http/Actions/Accounts/Stripe/CreateStripeConnectAccountAction.php @@ -9,8 +9,8 @@ use HiEvents\Exceptions\SaasModeEnabledException; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Account\Stripe\StripeConnectAccountResponseResource; -use HiEvents\Services\Handlers\Account\Payment\Stripe\CreateStripeConnectAccountHandler; -use HiEvents\Services\Handlers\Account\Payment\Stripe\DTO\CreateStripeConnectAccountDTO; +use HiEvents\Services\Application\Handlers\Account\Payment\Stripe\CreateStripeConnectAccountHandler; +use HiEvents\Services\Application\Handlers\Account\Payment\Stripe\DTO\CreateStripeConnectAccountDTO; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; use Throwable; diff --git a/backend/app/Http/Actions/Accounts/UpdateAccountAction.php b/backend/app/Http/Actions/Accounts/UpdateAccountAction.php index 082281f9ca..a4fd204025 100644 --- a/backend/app/Http/Actions/Accounts/UpdateAccountAction.php +++ b/backend/app/Http/Actions/Accounts/UpdateAccountAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Account\UpdateAccountRequest; use HiEvents\Resources\Account\AccountResource; -use HiEvents\Services\Handlers\Account\DTO\UpdateAccountDTO; -use HiEvents\Services\Handlers\Account\UpdateAccountHanlder; +use HiEvents\Services\Application\Handlers\Account\DTO\UpdateAccountDTO; +use HiEvents\Services\Application\Handlers\Account\UpdateAccountHanlder; use Illuminate\Http\JsonResponse; class UpdateAccountAction extends BaseAction diff --git a/backend/app/Http/Actions/Attendees/CheckInAttendeeAction.php b/backend/app/Http/Actions/Attendees/CheckInAttendeeAction.php index f5f6ece690..2717865eb5 100644 --- a/backend/app/Http/Actions/Attendees/CheckInAttendeeAction.php +++ b/backend/app/Http/Actions/Attendees/CheckInAttendeeAction.php @@ -8,8 +8,8 @@ use HiEvents\Http\Request\Attendee\CheckInAttendeeRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Attendee\AttendeeResource; -use HiEvents\Services\Handlers\Attendee\CheckInAttendeeHandler; -use HiEvents\Services\Handlers\Attendee\DTO\CheckInAttendeeDTO; +use HiEvents\Services\Application\Handlers\Attendee\CheckInAttendeeHandler; +use HiEvents\Services\Application\Handlers\Attendee\DTO\CheckInAttendeeDTO; use Illuminate\Http\JsonResponse; class CheckInAttendeeAction extends BaseAction diff --git a/backend/app/Http/Actions/Attendees/CreateAttendeeAction.php b/backend/app/Http/Actions/Attendees/CreateAttendeeAction.php index 655482fa72..492b065108 100644 --- a/backend/app/Http/Actions/Attendees/CreateAttendeeAction.php +++ b/backend/app/Http/Actions/Attendees/CreateAttendeeAction.php @@ -9,8 +9,8 @@ use HiEvents\Http\Request\Attendee\CreateAttendeeRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Attendee\AttendeeResource; -use HiEvents\Services\Handlers\Attendee\CreateAttendeeHandler; -use HiEvents\Services\Handlers\Attendee\DTO\CreateAttendeeDTO; +use HiEvents\Services\Application\Handlers\Attendee\CreateAttendeeHandler; +use HiEvents\Services\Application\Handlers\Attendee\DTO\CreateAttendeeDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Attendees/EditAttendeeAction.php b/backend/app/Http/Actions/Attendees/EditAttendeeAction.php index 145b3c4b25..504be54eef 100644 --- a/backend/app/Http/Actions/Attendees/EditAttendeeAction.php +++ b/backend/app/Http/Actions/Attendees/EditAttendeeAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Attendee\EditAttendeeRequest; use HiEvents\Resources\Attendee\AttendeeResource; -use HiEvents\Services\Handlers\Attendee\DTO\EditAttendeeDTO; -use HiEvents\Services\Handlers\Attendee\EditAttendeeHandler; +use HiEvents\Services\Application\Handlers\Attendee\DTO\EditAttendeeDTO; +use HiEvents\Services\Application\Handlers\Attendee\EditAttendeeHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Attendees/PartialEditAttendeeAction.php b/backend/app/Http/Actions/Attendees/PartialEditAttendeeAction.php index 16d308a428..e62d0dbd00 100644 --- a/backend/app/Http/Actions/Attendees/PartialEditAttendeeAction.php +++ b/backend/app/Http/Actions/Attendees/PartialEditAttendeeAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Attendee\PartialEditAttendeeRequest; use HiEvents\Resources\Attendee\AttendeeResource; -use HiEvents\Services\Handlers\Attendee\DTO\PartialEditAttendeeDTO; -use HiEvents\Services\Handlers\Attendee\PartialEditAttendeeHandler; +use HiEvents\Services\Application\Handlers\Attendee\DTO\PartialEditAttendeeDTO; +use HiEvents\Services\Application\Handlers\Attendee\PartialEditAttendeeHandler; use Illuminate\Http\JsonResponse; class PartialEditAttendeeAction extends BaseAction diff --git a/backend/app/Http/Actions/Attendees/ResendAttendeeTicketAction.php b/backend/app/Http/Actions/Attendees/ResendAttendeeTicketAction.php index 9a6c129570..191fdb8891 100644 --- a/backend/app/Http/Actions/Attendees/ResendAttendeeTicketAction.php +++ b/backend/app/Http/Actions/Attendees/ResendAttendeeTicketAction.php @@ -4,8 +4,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Attendee\DTO\ResendAttendeeTicketDTO; -use HiEvents\Services\Handlers\Attendee\ResendAttendeeTicketHandler; +use HiEvents\Services\Application\Handlers\Attendee\DTO\ResendAttendeeTicketDTO; +use HiEvents\Services\Application\Handlers\Attendee\ResendAttendeeTicketHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Symfony\Component\Routing\Exception\ResourceNotFoundException; diff --git a/backend/app/Http/Actions/Auth/AcceptInvitationAction.php b/backend/app/Http/Actions/Auth/AcceptInvitationAction.php index 90d2f60684..ca147ee92b 100644 --- a/backend/app/Http/Actions/Auth/AcceptInvitationAction.php +++ b/backend/app/Http/Actions/Auth/AcceptInvitationAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Auth\AcceptInvitationRequest; use HiEvents\Http\ResponseCodes; -use HiEvents\Services\Handlers\Auth\AcceptInvitationHandler; -use HiEvents\Services\Handlers\Auth\DTO\AcceptInvitationDTO; +use HiEvents\Services\Application\Handlers\Auth\AcceptInvitationHandler; +use HiEvents\Services\Application\Handlers\Auth\DTO\AcceptInvitationDTO; use HiEvents\Services\Infrastructure\Encryption\Exception\DecryptionFailedException; use HiEvents\Services\Infrastructure\Encryption\Exception\EncryptedPayloadExpiredException; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/Auth/BaseAuthAction.php b/backend/app/Http/Actions/Auth/BaseAuthAction.php index d11699a1e7..e5c5ecace7 100644 --- a/backend/app/Http/Actions/Auth/BaseAuthAction.php +++ b/backend/app/Http/Actions/Auth/BaseAuthAction.php @@ -4,7 +4,7 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Auth\AuthenticatedResponseResource; -use HiEvents\Services\Handlers\Auth\DTO\AuthenticatedResponseDTO; +use HiEvents\Services\Application\Handlers\Auth\DTO\AuthenticatedResponseDTO; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Illuminate\Support\Collection; diff --git a/backend/app/Http/Actions/Auth/ForgotPasswordAction.php b/backend/app/Http/Actions/Auth/ForgotPasswordAction.php index 693cbdab2c..e272b2ce37 100644 --- a/backend/app/Http/Actions/Auth/ForgotPasswordAction.php +++ b/backend/app/Http/Actions/Auth/ForgotPasswordAction.php @@ -4,7 +4,7 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Auth\ForgotPasswordRequest; -use HiEvents\Services\Handlers\Auth\ForgotPasswordHandler; +use HiEvents\Services\Application\Handlers\Auth\ForgotPasswordHandler; use Illuminate\Http\JsonResponse; use Symfony\Component\Routing\Exception\ResourceNotFoundException; diff --git a/backend/app/Http/Actions/Auth/LoginAction.php b/backend/app/Http/Actions/Auth/LoginAction.php index eee4960a39..e5f3b1782f 100644 --- a/backend/app/Http/Actions/Auth/LoginAction.php +++ b/backend/app/Http/Actions/Auth/LoginAction.php @@ -7,8 +7,8 @@ use HiEvents\Exceptions\UnauthorizedException; use HiEvents\Http\Request\Auth\LoginRequest; use HiEvents\Http\ResponseCodes; -use HiEvents\Services\Handlers\Auth\DTO\LoginCredentialsDTO; -use HiEvents\Services\Handlers\Auth\LoginHandler; +use HiEvents\Services\Application\Handlers\Auth\DTO\LoginCredentialsDTO; +use HiEvents\Services\Application\Handlers\Auth\LoginHandler; use Illuminate\Http\JsonResponse; class LoginAction extends BaseAuthAction diff --git a/backend/app/Http/Actions/Auth/ResetPasswordAction.php b/backend/app/Http/Actions/Auth/ResetPasswordAction.php index d7425d336e..6e7b25d891 100644 --- a/backend/app/Http/Actions/Auth/ResetPasswordAction.php +++ b/backend/app/Http/Actions/Auth/ResetPasswordAction.php @@ -5,8 +5,8 @@ use HiEvents\Exceptions\PasswordInvalidException; use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Auth\ResetPasswordRequest; -use HiEvents\Services\Handlers\Auth\DTO\ResetPasswordDTO; -use HiEvents\Services\Handlers\Auth\ResetPasswordHandler; +use HiEvents\Services\Application\Handlers\Auth\DTO\ResetPasswordDTO; +use HiEvents\Services\Application\Handlers\Auth\ResetPasswordHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; diff --git a/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php b/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php index 51e6a1c4cb..8516bb7991 100644 --- a/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php +++ b/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php @@ -4,7 +4,7 @@ use HiEvents\Exceptions\InvalidPasswordResetTokenException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Auth\ValidateResetPasswordTokenHandler; +use HiEvents\Services\Application\Handlers\Auth\ValidateResetPasswordTokenHandler; use Illuminate\Http\Request; use Illuminate\Http\Response; use Symfony\Component\Routing\Exception\ResourceNotFoundException; diff --git a/backend/app/Http/Actions/CapacityAssignments/CreateCapacityAssignmentAction.php b/backend/app/Http/Actions/CapacityAssignments/CreateCapacityAssignmentAction.php index 8450d86aba..d9cc6e1d97 100644 --- a/backend/app/Http/Actions/CapacityAssignments/CreateCapacityAssignmentAction.php +++ b/backend/app/Http/Actions/CapacityAssignments/CreateCapacityAssignmentAction.php @@ -6,9 +6,9 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\CapacityAssigment\UpsertCapacityAssignmentRequest; use HiEvents\Resources\CapacityAssignment\CapacityAssignmentResource; +use HiEvents\Services\Application\Handlers\CapacityAssignment\CreateCapacityAssignmentHandler; +use HiEvents\Services\Application\Handlers\CapacityAssignment\DTO\UpsertCapacityAssignmentDTO; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\CapacityAssignment\CreateCapacityAssignmentHandler; -use HiEvents\Services\Handlers\CapacityAssignment\DTO\UpsertCapacityAssignmentDTO; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/CapacityAssignments/DeleteCapacityAssignmentAction.php b/backend/app/Http/Actions/CapacityAssignments/DeleteCapacityAssignmentAction.php index 0a11c156a0..e31d6927bf 100644 --- a/backend/app/Http/Actions/CapacityAssignments/DeleteCapacityAssignmentAction.php +++ b/backend/app/Http/Actions/CapacityAssignments/DeleteCapacityAssignmentAction.php @@ -4,7 +4,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\CapacityAssignment\DeleteCapacityAssignmentHandler; +use HiEvents\Services\Application\Handlers\CapacityAssignment\DeleteCapacityAssignmentHandler; use Illuminate\Http\Response; class DeleteCapacityAssignmentAction extends BaseAction diff --git a/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentAction.php b/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentAction.php index 15b61aaa98..676cb218d9 100644 --- a/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentAction.php +++ b/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\CapacityAssignment\CapacityAssignmentResource; -use HiEvents\Services\Handlers\CapacityAssignment\GetCapacityAssignmentHandler; +use HiEvents\Services\Application\Handlers\CapacityAssignment\GetCapacityAssignmentHandler; use Illuminate\Http\JsonResponse; class GetCapacityAssignmentAction extends BaseAction diff --git a/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentsAction.php b/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentsAction.php index 35ae5893e4..f6c4f791ba 100644 --- a/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentsAction.php +++ b/backend/app/Http/Actions/CapacityAssignments/GetCapacityAssignmentsAction.php @@ -6,8 +6,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\CapacityAssignment\CapacityAssignmentResource; -use HiEvents\Services\Handlers\CapacityAssignment\DTO\GetCapacityAssignmentsDTO; -use HiEvents\Services\Handlers\CapacityAssignment\GetCapacityAssignmentsHandler; +use HiEvents\Services\Application\Handlers\CapacityAssignment\DTO\GetCapacityAssignmentsDTO; +use HiEvents\Services\Application\Handlers\CapacityAssignment\GetCapacityAssignmentsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/CapacityAssignments/UpdateCapacityAssignmentAction.php b/backend/app/Http/Actions/CapacityAssignments/UpdateCapacityAssignmentAction.php index 3af2d794a1..b80035d7c1 100644 --- a/backend/app/Http/Actions/CapacityAssignments/UpdateCapacityAssignmentAction.php +++ b/backend/app/Http/Actions/CapacityAssignments/UpdateCapacityAssignmentAction.php @@ -6,9 +6,9 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\CapacityAssigment\UpsertCapacityAssignmentRequest; use HiEvents\Resources\CapacityAssignment\CapacityAssignmentResource; +use HiEvents\Services\Application\Handlers\CapacityAssignment\DTO\UpsertCapacityAssignmentDTO; +use HiEvents\Services\Application\Handlers\CapacityAssignment\UpdateCapacityAssignmentHandler; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\CapacityAssignment\DTO\UpsertCapacityAssignmentDTO; -use HiEvents\Services\Handlers\CapacityAssignment\UpdateCapacityAssignmentHandler; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/CheckInLists/CreateCheckInListAction.php b/backend/app/Http/Actions/CheckInLists/CreateCheckInListAction.php index 80f9c55bb4..19a962609e 100644 --- a/backend/app/Http/Actions/CheckInLists/CreateCheckInListAction.php +++ b/backend/app/Http/Actions/CheckInLists/CreateCheckInListAction.php @@ -5,9 +5,9 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\CheckInList\UpsertCheckInListRequest; use HiEvents\Resources\CheckInList\CheckInListResource; +use HiEvents\Services\Application\Handlers\CheckInList\CreateCheckInListHandler; +use HiEvents\Services\Application\Handlers\CheckInList\DTO\UpsertCheckInListDTO; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\CheckInList\CreateCheckInListHandler; -use HiEvents\Services\Handlers\CheckInList\DTO\UpsertCheckInListDTO; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/CheckInLists/DeleteCheckInListAction.php b/backend/app/Http/Actions/CheckInLists/DeleteCheckInListAction.php index 6341109e24..f707a0737a 100644 --- a/backend/app/Http/Actions/CheckInLists/DeleteCheckInListAction.php +++ b/backend/app/Http/Actions/CheckInLists/DeleteCheckInListAction.php @@ -4,7 +4,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\CheckInList\DeleteCheckInListHandler; +use HiEvents\Services\Application\Handlers\CheckInList\DeleteCheckInListHandler; use Illuminate\Http\Response; class DeleteCheckInListAction extends BaseAction diff --git a/backend/app/Http/Actions/CheckInLists/GetCheckInListAction.php b/backend/app/Http/Actions/CheckInLists/GetCheckInListAction.php index eb7eb0e55f..6e60ce9df2 100644 --- a/backend/app/Http/Actions/CheckInLists/GetCheckInListAction.php +++ b/backend/app/Http/Actions/CheckInLists/GetCheckInListAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\CheckInList\CheckInListResource; -use HiEvents\Services\Handlers\CheckInList\GetCheckInListHandler; +use HiEvents\Services\Application\Handlers\CheckInList\GetCheckInListHandler; use Illuminate\Http\JsonResponse; class GetCheckInListAction extends BaseAction diff --git a/backend/app/Http/Actions/CheckInLists/GetCheckInListsAction.php b/backend/app/Http/Actions/CheckInLists/GetCheckInListsAction.php index 137f22e5e0..bc7ca01d2f 100644 --- a/backend/app/Http/Actions/CheckInLists/GetCheckInListsAction.php +++ b/backend/app/Http/Actions/CheckInLists/GetCheckInListsAction.php @@ -6,8 +6,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\CheckInList\CheckInListResource; -use HiEvents\Services\Handlers\CheckInList\DTO\GetCheckInListsDTO; -use HiEvents\Services\Handlers\CheckInList\GetCheckInListsHandler; +use HiEvents\Services\Application\Handlers\CheckInList\DTO\GetCheckInListsDTO; +use HiEvents\Services\Application\Handlers\CheckInList\GetCheckInListsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/CheckInLists/Public/CreateAttendeeCheckInPublicAction.php b/backend/app/Http/Actions/CheckInLists/Public/CreateAttendeeCheckInPublicAction.php index d3d3ae7778..981ad4f9fc 100644 --- a/backend/app/Http/Actions/CheckInLists/Public/CreateAttendeeCheckInPublicAction.php +++ b/backend/app/Http/Actions/CheckInLists/Public/CreateAttendeeCheckInPublicAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\CheckInList\CreateAttendeeCheckInPublicRequest; use HiEvents\Resources\CheckInList\AttendeeCheckInPublicResource; -use HiEvents\Services\Handlers\CheckInList\Public\CreateAttendeeCheckInPublicHandler; -use HiEvents\Services\Handlers\CheckInList\Public\DTO\CreateAttendeeCheckInPublicDTO; +use HiEvents\Services\Application\Handlers\CheckInList\Public\CreateAttendeeCheckInPublicHandler; +use HiEvents\Services\Application\Handlers\CheckInList\Public\DTO\CreateAttendeeCheckInPublicDTO; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/CheckInLists/Public/DeleteAttendeeCheckInPublicAction.php b/backend/app/Http/Actions/CheckInLists/Public/DeleteAttendeeCheckInPublicAction.php index 6062e04393..f19abe5244 100644 --- a/backend/app/Http/Actions/CheckInLists/Public/DeleteAttendeeCheckInPublicAction.php +++ b/backend/app/Http/Actions/CheckInLists/Public/DeleteAttendeeCheckInPublicAction.php @@ -4,8 +4,8 @@ use HiEvents\Exceptions\CannotCheckInException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\CheckInList\Public\DeleteAttendeeCheckInPublicHandler; -use HiEvents\Services\Handlers\CheckInList\Public\DTO\DeleteAttendeeCheckInPublicDTO; +use HiEvents\Services\Application\Handlers\CheckInList\Public\DeleteAttendeeCheckInPublicHandler; +use HiEvents\Services\Application\Handlers\CheckInList\Public\DTO\DeleteAttendeeCheckInPublicDTO; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListAttendeesPublicAction.php b/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListAttendeesPublicAction.php index 5ca1818660..bffce8b0a1 100644 --- a/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListAttendeesPublicAction.php +++ b/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListAttendeesPublicAction.php @@ -6,7 +6,7 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\DTO\QueryParamsDTO; use HiEvents\Resources\Attendee\AttendeeWithCheckInPublicResource; -use HiEvents\Services\Handlers\CheckInList\Public\GetCheckInListAttendeesPublicHandler; +use HiEvents\Services\Application\Handlers\CheckInList\Public\GetCheckInListAttendeesPublicHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListPublicAction.php b/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListPublicAction.php index 0b711f9d8b..fded28bf99 100644 --- a/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListPublicAction.php +++ b/backend/app/Http/Actions/CheckInLists/Public/GetCheckInListPublicAction.php @@ -4,7 +4,7 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\CheckInList\CheckInListResourcePublic; -use HiEvents\Services\Handlers\CheckInList\Public\GetCheckInListPublicHandler; +use HiEvents\Services\Application\Handlers\CheckInList\Public\GetCheckInListPublicHandler; use Illuminate\Http\JsonResponse; class GetCheckInListPublicAction extends BaseAction diff --git a/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php b/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php index f401d784c4..dceda8c893 100644 --- a/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php +++ b/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php @@ -6,9 +6,9 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\CheckInList\UpsertCheckInListRequest; use HiEvents\Resources\CheckInList\CheckInListResource; +use HiEvents\Services\Application\Handlers\CheckInList\DTO\UpsertCheckInListDTO; +use HiEvents\Services\Application\Handlers\CheckInList\UpdateCheckInlistHandler; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\CheckInList\DTO\UpsertCheckInListDTO; -use HiEvents\Services\Handlers\CheckInList\UpdateCheckInlistHandler; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/Common/Webhooks/StripeIncomingWebhookAction.php b/backend/app/Http/Actions/Common/Webhooks/StripeIncomingWebhookAction.php index 075883d88e..869d8021d1 100644 --- a/backend/app/Http/Actions/Common/Webhooks/StripeIncomingWebhookAction.php +++ b/backend/app/Http/Actions/Common/Webhooks/StripeIncomingWebhookAction.php @@ -4,8 +4,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\ResponseCodes; -use HiEvents\Services\Handlers\Order\Payment\Stripe\DTO\StripeWebhookDTO; -use HiEvents\Services\Handlers\Order\Payment\Stripe\IncomingWebhookHandler; +use HiEvents\Services\Application\Handlers\Order\Payment\Stripe\DTO\StripeWebhookDTO; +use HiEvents\Services\Application\Handlers\Order\Payment\Stripe\IncomingWebhookHandler; use Illuminate\Http\Request; use Illuminate\Http\Response; use Throwable; diff --git a/backend/app/Http/Actions/EventSettings/EditEventSettingsAction.php b/backend/app/Http/Actions/EventSettings/EditEventSettingsAction.php index 610c100ef1..ff97d97837 100644 --- a/backend/app/Http/Actions/EventSettings/EditEventSettingsAction.php +++ b/backend/app/Http/Actions/EventSettings/EditEventSettingsAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\EventSettings\UpdateEventSettingsRequest; use HiEvents\Resources\Event\EventSettingsResource; -use HiEvents\Services\Handlers\EventSettings\DTO\UpdateEventSettingsDTO; -use HiEvents\Services\Handlers\EventSettings\UpdateEventSettingsHandler; +use HiEvents\Services\Application\Handlers\EventSettings\DTO\UpdateEventSettingsDTO; +use HiEvents\Services\Application\Handlers\EventSettings\UpdateEventSettingsHandler; use Illuminate\Http\JsonResponse; class EditEventSettingsAction extends BaseAction diff --git a/backend/app/Http/Actions/EventSettings/PartialEditEventSettingsAction.php b/backend/app/Http/Actions/EventSettings/PartialEditEventSettingsAction.php index 93dcb200af..09b20aabed 100644 --- a/backend/app/Http/Actions/EventSettings/PartialEditEventSettingsAction.php +++ b/backend/app/Http/Actions/EventSettings/PartialEditEventSettingsAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\EventSettings\UpdateEventSettingsRequest; use HiEvents\Resources\Event\EventSettingsResource; -use HiEvents\Services\Handlers\EventSettings\DTO\PartialUpdateEventSettingsDTO; -use HiEvents\Services\Handlers\EventSettings\PartialUpdateEventSettingsHandler; +use HiEvents\Services\Application\Handlers\EventSettings\DTO\PartialUpdateEventSettingsDTO; +use HiEvents\Services\Application\Handlers\EventSettings\PartialUpdateEventSettingsHandler; use Illuminate\Http\JsonResponse; use Throwable; diff --git a/backend/app/Http/Actions/Events/CreateEventAction.php b/backend/app/Http/Actions/Events/CreateEventAction.php index 997d253f27..088a90d09f 100644 --- a/backend/app/Http/Actions/Events/CreateEventAction.php +++ b/backend/app/Http/Actions/Events/CreateEventAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Event\CreateEventRequest; use HiEvents\Resources\Event\EventResource; -use HiEvents\Services\Handlers\Event\CreateEventHandler; -use HiEvents\Services\Handlers\Event\DTO\CreateEventDTO; +use HiEvents\Services\Application\Handlers\Event\CreateEventHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\CreateEventDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Events/DuplicateEventAction.php b/backend/app/Http/Actions/Events/DuplicateEventAction.php index 2d69e876d8..cd0cf4e9f5 100644 --- a/backend/app/Http/Actions/Events/DuplicateEventAction.php +++ b/backend/app/Http/Actions/Events/DuplicateEventAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Event\DuplicateEventRequest; use HiEvents\Resources\Event\EventResource; +use HiEvents\Services\Application\Handlers\Event\DuplicateEventHandler; use HiEvents\Services\Domain\Event\DTO\DuplicateEventDataDTO; -use HiEvents\Services\Handlers\Event\DuplicateEventHandler; use Illuminate\Http\JsonResponse; use Throwable; diff --git a/backend/app/Http/Actions/Events/GetEventPublicAction.php b/backend/app/Http/Actions/Events/GetEventPublicAction.php index 4fc6c1735a..540153feb1 100644 --- a/backend/app/Http/Actions/Events/GetEventPublicAction.php +++ b/backend/app/Http/Actions/Events/GetEventPublicAction.php @@ -5,8 +5,8 @@ use HiEvents\DomainObjects\Status\EventStatus; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Event\EventResourcePublic; -use HiEvents\Services\Handlers\Event\DTO\GetPublicEventDTO; -use HiEvents\Services\Handlers\Event\GetPublicEventHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\GetPublicEventDTO; +use HiEvents\Services\Application\Handlers\Event\GetPublicEventHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/Events/GetEventsAction.php b/backend/app/Http/Actions/Events/GetEventsAction.php index b9d17fec04..c269285b76 100644 --- a/backend/app/Http/Actions/Events/GetEventsAction.php +++ b/backend/app/Http/Actions/Events/GetEventsAction.php @@ -8,8 +8,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Event\EventResource; -use HiEvents\Services\Handlers\Event\DTO\GetEventsDTO; -use HiEvents\Services\Handlers\Event\GetEventsHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\GetEventsDTO; +use HiEvents\Services\Application\Handlers\Event\GetEventsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/Events/Images/CreateEventImageAction.php b/backend/app/Http/Actions/Events/Images/CreateEventImageAction.php index 9ec812cbd3..02b6e8e236 100644 --- a/backend/app/Http/Actions/Events/Images/CreateEventImageAction.php +++ b/backend/app/Http/Actions/Events/Images/CreateEventImageAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Event\CreateEventImageRequest; use HiEvents\Resources\Image\ImageResource; -use HiEvents\Services\Handlers\Event\CreateEventImageHandler; -use HiEvents\Services\Handlers\Event\DTO\CreateEventImageDTO; +use HiEvents\Services\Application\Handlers\Event\CreateEventImageHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\CreateEventImageDTO; use Illuminate\Http\JsonResponse; class CreateEventImageAction extends BaseAction diff --git a/backend/app/Http/Actions/Events/Images/DeleteEventImageAction.php b/backend/app/Http/Actions/Events/Images/DeleteEventImageAction.php index b6363985cf..53ad71e9d8 100644 --- a/backend/app/Http/Actions/Events/Images/DeleteEventImageAction.php +++ b/backend/app/Http/Actions/Events/Images/DeleteEventImageAction.php @@ -4,8 +4,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Event\DeleteEventImageHandler; -use HiEvents\Services\Handlers\Event\DTO\DeleteEventImageDTO; +use HiEvents\Services\Application\Handlers\Event\DeleteEventImageHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\DeleteEventImageDTO; use Illuminate\Http\Response; class DeleteEventImageAction extends BaseAction diff --git a/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php b/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php index 0f8bbb9185..24df05be46 100644 --- a/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php +++ b/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php @@ -4,7 +4,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Event\GetEventCheckInStatsHandler; +use HiEvents\Services\Application\Handlers\Event\GetEventCheckInStatsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Resources\Json\JsonResource; diff --git a/backend/app/Http/Actions/Events/Stats/GetEventStatsAction.php b/backend/app/Http/Actions/Events/Stats/GetEventStatsAction.php index a2d7a4dc4b..bd42face47 100644 --- a/backend/app/Http/Actions/Events/Stats/GetEventStatsAction.php +++ b/backend/app/Http/Actions/Events/Stats/GetEventStatsAction.php @@ -5,8 +5,8 @@ use Carbon\Carbon; use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Event\DTO\EventStatsRequestDTO; -use HiEvents\Services\Handlers\Event\GetEventStatsHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\EventStatsRequestDTO; +use HiEvents\Services\Application\Handlers\Event\GetEventStatsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Resources\Json\JsonResource; diff --git a/backend/app/Http/Actions/Events/UpdateEventAction.php b/backend/app/Http/Actions/Events/UpdateEventAction.php index 17dcba07bc..87b2c788cc 100644 --- a/backend/app/Http/Actions/Events/UpdateEventAction.php +++ b/backend/app/Http/Actions/Events/UpdateEventAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Event\UpdateEventRequest; use HiEvents\Resources\Event\EventResource; -use HiEvents\Services\Handlers\Event\DTO\UpdateEventDTO; -use HiEvents\Services\Handlers\Event\UpdateEventHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\UpdateEventDTO; +use HiEvents\Services\Application\Handlers\Event\UpdateEventHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Events/UpdateEventStatusAction.php b/backend/app/Http/Actions/Events/UpdateEventStatusAction.php index a20ad150d8..0d33a45f54 100644 --- a/backend/app/Http/Actions/Events/UpdateEventStatusAction.php +++ b/backend/app/Http/Actions/Events/UpdateEventStatusAction.php @@ -8,8 +8,8 @@ use HiEvents\Http\Request\Event\UpdateEventStatusRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Event\EventResource; -use HiEvents\Services\Handlers\Event\DTO\UpdateEventStatusDTO; -use HiEvents\Services\Handlers\Event\UpdateEventStatusHandler; +use HiEvents\Services\Application\Handlers\Event\DTO\UpdateEventStatusDTO; +use HiEvents\Services\Application\Handlers\Event\UpdateEventStatusHandler; use Illuminate\Http\JsonResponse; class UpdateEventStatusAction extends BaseAction diff --git a/backend/app/Http/Actions/Messages/SendMessageAction.php b/backend/app/Http/Actions/Messages/SendMessageAction.php index bf0220da03..04f7659cba 100644 --- a/backend/app/Http/Actions/Messages/SendMessageAction.php +++ b/backend/app/Http/Actions/Messages/SendMessageAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Message\SendMessageRequest; use HiEvents\Resources\Message\MessageResource; -use HiEvents\Services\Handlers\Message\DTO\SendMessageDTO; -use HiEvents\Services\Handlers\Message\SendMessageHandler; +use HiEvents\Services\Application\Handlers\Message\DTO\SendMessageDTO; +use HiEvents\Services\Application\Handlers\Message\SendMessageHandler; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/Orders/CancelOrderAction.php b/backend/app/Http/Actions/Orders/CancelOrderAction.php index ab98b514f1..d4853da991 100644 --- a/backend/app/Http/Actions/Orders/CancelOrderAction.php +++ b/backend/app/Http/Actions/Orders/CancelOrderAction.php @@ -7,8 +7,8 @@ use HiEvents\Exceptions\ResourceConflictException; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Order\OrderResource; -use HiEvents\Services\Handlers\Order\CancelOrderHandler; -use HiEvents\Services\Handlers\Order\DTO\CancelOrderDTO; +use HiEvents\Services\Application\Handlers\Order\CancelOrderHandler; +use HiEvents\Services\Application\Handlers\Order\DTO\CancelOrderDTO; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Symfony\Component\HttpFoundation\Response as HttpResponse; diff --git a/backend/app/Http/Actions/Orders/CompleteOrderActionPublic.php b/backend/app/Http/Actions/Orders/CompleteOrderActionPublic.php index acfd466e48..db9459fd09 100644 --- a/backend/app/Http/Actions/Orders/CompleteOrderActionPublic.php +++ b/backend/app/Http/Actions/Orders/CompleteOrderActionPublic.php @@ -8,9 +8,9 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Order\CompleteOrderRequest; use HiEvents\Resources\Order\OrderResourcePublic; -use HiEvents\Services\Handlers\Order\CompleteOrderHandler; -use HiEvents\Services\Handlers\Order\DTO\CompleteOrderDTO; -use HiEvents\Services\Handlers\Order\DTO\CompleteOrderOrderDTO; +use HiEvents\Services\Application\Handlers\Order\CompleteOrderHandler; +use HiEvents\Services\Application\Handlers\Order\DTO\CompleteOrderDTO; +use HiEvents\Services\Application\Handlers\Order\DTO\CompleteOrderOrderDTO; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/Orders/CreateOrderActionPublic.php b/backend/app/Http/Actions/Orders/CreateOrderActionPublic.php index 9c7db9d16b..52c9365325 100644 --- a/backend/app/Http/Actions/Orders/CreateOrderActionPublic.php +++ b/backend/app/Http/Actions/Orders/CreateOrderActionPublic.php @@ -8,11 +8,11 @@ use HiEvents\Http\Request\Order\CreateOrderRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Order\OrderResourcePublic; +use HiEvents\Services\Application\Handlers\Order\CreateOrderHandler; +use HiEvents\Services\Application\Handlers\Order\DTO\CreateOrderPublicDTO; +use HiEvents\Services\Application\Handlers\Order\DTO\ProductOrderDetailsDTO; use HiEvents\Services\Application\Locale\LocaleService; use HiEvents\Services\Domain\Order\OrderCreateRequestValidationService; -use HiEvents\Services\Handlers\Order\CreateOrderHandler; -use HiEvents\Services\Handlers\Order\DTO\CreateOrderPublicDTO; -use HiEvents\Services\Handlers\Order\DTO\ProductOrderDetailsDTO; use HiEvents\Services\Infrastructure\Session\CheckoutSessionManagementService; use Illuminate\Http\JsonResponse; use Throwable; diff --git a/backend/app/Http/Actions/Orders/GetOrderActionPublic.php b/backend/app/Http/Actions/Orders/GetOrderActionPublic.php index e516dae83e..23f8ddce38 100644 --- a/backend/app/Http/Actions/Orders/GetOrderActionPublic.php +++ b/backend/app/Http/Actions/Orders/GetOrderActionPublic.php @@ -4,8 +4,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Order\OrderResourcePublic; -use HiEvents\Services\Handlers\Order\DTO\GetOrderPublicDTO; -use HiEvents\Services\Handlers\Order\GetOrderPublicHandler; +use HiEvents\Services\Application\Handlers\Order\DTO\GetOrderPublicDTO; +use HiEvents\Services\Application\Handlers\Order\GetOrderPublicHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/Orders/Payment/RefundOrderAction.php b/backend/app/Http/Actions/Orders/Payment/RefundOrderAction.php index 5efd5d2cf5..205409e2ed 100644 --- a/backend/app/Http/Actions/Orders/Payment/RefundOrderAction.php +++ b/backend/app/Http/Actions/Orders/Payment/RefundOrderAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Order\RefundOrderRequest; use HiEvents\Resources\Order\OrderResource; -use HiEvents\Services\Handlers\Order\DTO\RefundOrderDTO; -use HiEvents\Services\Handlers\Order\Payment\Stripe\RefundOrderHandler; +use HiEvents\Services\Application\Handlers\Order\DTO\RefundOrderDTO; +use HiEvents\Services\Application\Handlers\Order\Payment\Stripe\RefundOrderHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Stripe\Exception\ApiErrorException; diff --git a/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php b/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php index 06516697d3..1e3ee468ec 100644 --- a/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php +++ b/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php @@ -4,7 +4,7 @@ use HiEvents\Exceptions\Stripe\CreatePaymentIntentFailedException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Order\Payment\Stripe\CreatePaymentIntentHandler; +use HiEvents\Services\Application\Handlers\Order\Payment\Stripe\CreatePaymentIntentHandler; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; diff --git a/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php b/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php index 05dd6bf716..3b5073c1aa 100644 --- a/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php +++ b/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php @@ -3,7 +3,7 @@ namespace HiEvents\Http\Actions\Orders\Payment\Stripe; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Order\Payment\Stripe\GetPaymentIntentHandler; +use HiEvents\Services\Application\Handlers\Order\Payment\Stripe\GetPaymentIntentHandler; use Illuminate\Http\JsonResponse; class GetPaymentIntentActionPublic extends BaseAction diff --git a/backend/app/Http/Actions/Organizers/CreateOrganizerAction.php b/backend/app/Http/Actions/Organizers/CreateOrganizerAction.php index ba71304b1c..85448d0bf8 100644 --- a/backend/app/Http/Actions/Organizers/CreateOrganizerAction.php +++ b/backend/app/Http/Actions/Organizers/CreateOrganizerAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Request\Organizer\UpsertOrganizerRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Organizer\OrganizerResource; -use HiEvents\Services\Handlers\Organizer\CreateOrganizerHandler; -use HiEvents\Services\Handlers\Organizer\DTO\CreateOrganizerDTO; +use HiEvents\Services\Application\Handlers\Organizer\CreateOrganizerHandler; +use HiEvents\Services\Application\Handlers\Organizer\DTO\CreateOrganizerDTO; use Illuminate\Http\JsonResponse; class CreateOrganizerAction extends BaseAction diff --git a/backend/app/Http/Actions/Organizers/EditOrganizerAction.php b/backend/app/Http/Actions/Organizers/EditOrganizerAction.php index 8e08c9e026..4aae07dc6d 100644 --- a/backend/app/Http/Actions/Organizers/EditOrganizerAction.php +++ b/backend/app/Http/Actions/Organizers/EditOrganizerAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Organizer\UpsertOrganizerRequest; use HiEvents\Resources\Organizer\OrganizerResource; -use HiEvents\Services\Handlers\Organizer\DTO\EditOrganizerDTO; -use HiEvents\Services\Handlers\Organizer\EditOrganizerHandler; +use HiEvents\Services\Application\Handlers\Organizer\DTO\EditOrganizerDTO; +use HiEvents\Services\Application\Handlers\Organizer\EditOrganizerHandler; use Illuminate\Http\JsonResponse; class EditOrganizerAction extends BaseAction diff --git a/backend/app/Http/Actions/Organizers/GetOrganizerEventsAction.php b/backend/app/Http/Actions/Organizers/GetOrganizerEventsAction.php index 0f90d3c97b..b5e8aed696 100644 --- a/backend/app/Http/Actions/Organizers/GetOrganizerEventsAction.php +++ b/backend/app/Http/Actions/Organizers/GetOrganizerEventsAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\DTO\QueryParamsDTO; use HiEvents\Resources\Event\EventResource; -use HiEvents\Services\Handlers\Organizer\DTO\GetOrganizerEventsDTO; -use HiEvents\Services\Handlers\Organizer\GetOrganizerEventsHandler; +use HiEvents\Services\Application\Handlers\Organizer\DTO\GetOrganizerEventsDTO; +use HiEvents\Services\Application\Handlers\Organizer\GetOrganizerEventsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/ProductCategories/CreateProductCategoryAction.php b/backend/app/Http/Actions/ProductCategories/CreateProductCategoryAction.php index 1a62b422e4..d3b8460043 100644 --- a/backend/app/Http/Actions/ProductCategories/CreateProductCategoryAction.php +++ b/backend/app/Http/Actions/ProductCategories/CreateProductCategoryAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Request\ProductCategory\UpsertProductCategoryRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\ProductCategory\ProductCategoryResource; -use HiEvents\Services\Handlers\ProductCategory\CreateProductCategoryHandler; -use HiEvents\Services\Handlers\ProductCategory\DTO\UpsertProductCategoryDTO; +use HiEvents\Services\Application\Handlers\ProductCategory\CreateProductCategoryHandler; +use HiEvents\Services\Application\Handlers\ProductCategory\DTO\UpsertProductCategoryDTO; use Illuminate\Http\JsonResponse; class CreateProductCategoryAction extends BaseAction diff --git a/backend/app/Http/Actions/ProductCategories/DeleteProductCategoryAction.php b/backend/app/Http/Actions/ProductCategories/DeleteProductCategoryAction.php index 80ec3e4623..aba5e2f066 100644 --- a/backend/app/Http/Actions/ProductCategories/DeleteProductCategoryAction.php +++ b/backend/app/Http/Actions/ProductCategories/DeleteProductCategoryAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Exceptions\CannotDeleteEntityException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\ProductCategory\DeleteProductCategoryHandler; +use HiEvents\Services\Application\Handlers\ProductCategory\DeleteProductCategoryHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Throwable; diff --git a/backend/app/Http/Actions/ProductCategories/EditProductCategoryAction.php b/backend/app/Http/Actions/ProductCategories/EditProductCategoryAction.php index f6f91fda21..56a64fb20a 100644 --- a/backend/app/Http/Actions/ProductCategories/EditProductCategoryAction.php +++ b/backend/app/Http/Actions/ProductCategories/EditProductCategoryAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\ProductCategory\UpsertProductCategoryRequest; use HiEvents\Resources\ProductCategory\ProductCategoryResource; -use HiEvents\Services\Handlers\ProductCategory\DTO\UpsertProductCategoryDTO; -use HiEvents\Services\Handlers\ProductCategory\EditProductCategoryHandler; +use HiEvents\Services\Application\Handlers\ProductCategory\DTO\UpsertProductCategoryDTO; +use HiEvents\Services\Application\Handlers\ProductCategory\EditProductCategoryHandler; use Illuminate\Http\JsonResponse; class EditProductCategoryAction extends BaseAction diff --git a/backend/app/Http/Actions/ProductCategories/GetProductCategoriesAction.php b/backend/app/Http/Actions/ProductCategories/GetProductCategoriesAction.php index ac37d246b3..daf9512e8b 100644 --- a/backend/app/Http/Actions/ProductCategories/GetProductCategoriesAction.php +++ b/backend/app/Http/Actions/ProductCategories/GetProductCategoriesAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\ProductCategory\ProductCategoryResource; -use HiEvents\Services\Handlers\ProductCategory\GetProductCategoriesHandler; +use HiEvents\Services\Application\Handlers\ProductCategory\GetProductCategoriesHandler; use Illuminate\Http\JsonResponse; class GetProductCategoriesAction extends BaseAction diff --git a/backend/app/Http/Actions/ProductCategories/GetProductCategoryAction.php b/backend/app/Http/Actions/ProductCategories/GetProductCategoryAction.php index d4ca961b3e..ddec4dd581 100644 --- a/backend/app/Http/Actions/ProductCategories/GetProductCategoryAction.php +++ b/backend/app/Http/Actions/ProductCategories/GetProductCategoryAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\ProductCategory\ProductCategoryResource; -use HiEvents\Services\Handlers\ProductCategory\GetProductCategoryHandler; +use HiEvents\Services\Application\Handlers\ProductCategory\GetProductCategoryHandler; use Illuminate\Http\JsonResponse; class GetProductCategoryAction extends BaseAction diff --git a/backend/app/Http/Actions/Products/CreateProductAction.php b/backend/app/Http/Actions/Products/CreateProductAction.php index ac46cf7fde..905474b9d0 100644 --- a/backend/app/Http/Actions/Products/CreateProductAction.php +++ b/backend/app/Http/Actions/Products/CreateProductAction.php @@ -10,8 +10,8 @@ use HiEvents\Http\Request\Product\UpsertProductRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Product\ProductResource; -use HiEvents\Services\Handlers\Product\CreateProductHandler; -use HiEvents\Services\Handlers\Product\DTO\UpsertProductDTO; +use HiEvents\Services\Application\Handlers\Product\CreateProductHandler; +use HiEvents\Services\Application\Handlers\Product\DTO\UpsertProductDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Products/DeleteProductAction.php b/backend/app/Http/Actions/Products/DeleteProductAction.php index 3979c48690..9a34a6c7a7 100644 --- a/backend/app/Http/Actions/Products/DeleteProductAction.php +++ b/backend/app/Http/Actions/Products/DeleteProductAction.php @@ -7,7 +7,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Exceptions\CannotDeleteEntityException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Product\DeleteProductHandler; +use HiEvents\Services\Application\Handlers\Product\DeleteProductHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Symfony\Component\HttpFoundation\Response as HttpResponse; diff --git a/backend/app/Http/Actions/Products/EditProductAction.php b/backend/app/Http/Actions/Products/EditProductAction.php index 79d6fe94bc..c9f79d1ca9 100644 --- a/backend/app/Http/Actions/Products/EditProductAction.php +++ b/backend/app/Http/Actions/Products/EditProductAction.php @@ -10,8 +10,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Product\UpsertProductRequest; use HiEvents\Resources\Product\ProductResource; -use HiEvents\Services\Handlers\Product\DTO\UpsertProductDTO; -use HiEvents\Services\Handlers\Product\EditProductHandler; +use HiEvents\Services\Application\Handlers\Product\DTO\UpsertProductDTO; +use HiEvents\Services\Application\Handlers\Product\EditProductHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Products/GetProductsAction.php b/backend/app/Http/Actions/Products/GetProductsAction.php index b7f03a2dea..d71e5e1c2d 100644 --- a/backend/app/Http/Actions/Products/GetProductsAction.php +++ b/backend/app/Http/Actions/Products/GetProductsAction.php @@ -8,7 +8,7 @@ use HiEvents\DomainObjects\ProductDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\Product\ProductResource; -use HiEvents\Services\Handlers\Product\GetProductsHandler; +use HiEvents\Services\Application\Handlers\Product\GetProductsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; diff --git a/backend/app/Http/Actions/Products/SortProductsAction.php b/backend/app/Http/Actions/Products/SortProductsAction.php index 43a24f29b5..ea5f4504d5 100644 --- a/backend/app/Http/Actions/Products/SortProductsAction.php +++ b/backend/app/Http/Actions/Products/SortProductsAction.php @@ -6,7 +6,7 @@ use HiEvents\Exceptions\ResourceConflictException; use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Product\SortProductsRequest; -use HiEvents\Services\Handlers\Product\SortProductsHandler; +use HiEvents\Services\Application\Handlers\Product\SortProductsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/PromoCodes/CreatePromoCodeAction.php b/backend/app/Http/Actions/PromoCodes/CreatePromoCodeAction.php index 4631e88cf8..0e2bc37f73 100644 --- a/backend/app/Http/Actions/PromoCodes/CreatePromoCodeAction.php +++ b/backend/app/Http/Actions/PromoCodes/CreatePromoCodeAction.php @@ -9,9 +9,9 @@ use HiEvents\Http\Request\PromoCode\CreateUpdatePromoCodeRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\PromoCode\PromoCodeResource; +use HiEvents\Services\Application\Handlers\PromoCode\CreatePromoCodeHandler; +use HiEvents\Services\Application\Handlers\PromoCode\DTO\UpsertPromoCodeDTO; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\PromoCode\CreatePromoCodeHandler; -use HiEvents\Services\Handlers\PromoCode\DTO\UpsertPromoCodeDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/PromoCodes/DeletePromoCodeAction.php b/backend/app/Http/Actions/PromoCodes/DeletePromoCodeAction.php index ae61f4e647..f6bc2be6e0 100644 --- a/backend/app/Http/Actions/PromoCodes/DeletePromoCodeAction.php +++ b/backend/app/Http/Actions/PromoCodes/DeletePromoCodeAction.php @@ -4,8 +4,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\PromoCode\DeletePromoCodeHandler; -use HiEvents\Services\Handlers\PromoCode\DTO\DeletePromoCodeDTO; +use HiEvents\Services\Application\Handlers\PromoCode\DeletePromoCodeHandler; +use HiEvents\Services\Application\Handlers\PromoCode\DTO\DeletePromoCodeDTO; use Illuminate\Http\Request; use Illuminate\Http\Response; diff --git a/backend/app/Http/Actions/PromoCodes/UpdatePromoCodeAction.php b/backend/app/Http/Actions/PromoCodes/UpdatePromoCodeAction.php index b3c4c5c467..d9ea210938 100644 --- a/backend/app/Http/Actions/PromoCodes/UpdatePromoCodeAction.php +++ b/backend/app/Http/Actions/PromoCodes/UpdatePromoCodeAction.php @@ -9,9 +9,9 @@ use HiEvents\Http\Request\PromoCode\CreateUpdatePromoCodeRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\PromoCode\PromoCodeResource; +use HiEvents\Services\Application\Handlers\PromoCode\DTO\UpsertPromoCodeDTO; +use HiEvents\Services\Application\Handlers\PromoCode\UpdatePromoCodeHandler; use HiEvents\Services\Domain\Product\Exception\UnrecognizedProductIdException; -use HiEvents\Services\Handlers\PromoCode\DTO\UpsertPromoCodeDTO; -use HiEvents\Services\Handlers\PromoCode\UpdatePromoCodeHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/Questions/CreateQuestionAction.php b/backend/app/Http/Actions/Questions/CreateQuestionAction.php index d13b8b0d89..7c65efc1b0 100644 --- a/backend/app/Http/Actions/Questions/CreateQuestionAction.php +++ b/backend/app/Http/Actions/Questions/CreateQuestionAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Request\Questions\UpsertQuestionRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\Question\QuestionResource; -use HiEvents\Services\Handlers\Question\CreateQuestionHandler; -use HiEvents\Services\Handlers\Question\DTO\UpsertQuestionDTO; +use HiEvents\Services\Application\Handlers\Question\CreateQuestionHandler; +use HiEvents\Services\Application\Handlers\Question\DTO\UpsertQuestionDTO; use Illuminate\Http\JsonResponse; class CreateQuestionAction extends BaseAction diff --git a/backend/app/Http/Actions/Questions/DeleteQuestionAction.php b/backend/app/Http/Actions/Questions/DeleteQuestionAction.php index e30bbc17fb..1b7869266b 100644 --- a/backend/app/Http/Actions/Questions/DeleteQuestionAction.php +++ b/backend/app/Http/Actions/Questions/DeleteQuestionAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Exceptions\CannotDeleteEntityException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\Question\DeleteQuestionHandler; +use HiEvents\Services\Application\Handlers\Question\DeleteQuestionHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Throwable; diff --git a/backend/app/Http/Actions/Questions/EditQuestionAction.php b/backend/app/Http/Actions/Questions/EditQuestionAction.php index 189bdec41a..847f4d0190 100644 --- a/backend/app/Http/Actions/Questions/EditQuestionAction.php +++ b/backend/app/Http/Actions/Questions/EditQuestionAction.php @@ -8,8 +8,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Questions\UpsertQuestionRequest; use HiEvents\Resources\Question\QuestionResource; -use HiEvents\Services\Handlers\Question\DTO\UpsertQuestionDTO; -use HiEvents\Services\Handlers\Question\EditQuestionHandler; +use HiEvents\Services\Application\Handlers\Question\DTO\UpsertQuestionDTO; +use HiEvents\Services\Application\Handlers\Question\EditQuestionHandler; use Illuminate\Http\JsonResponse; use Throwable; diff --git a/backend/app/Http/Actions/Questions/SortQuestionsAction.php b/backend/app/Http/Actions/Questions/SortQuestionsAction.php index 0089ffc244..2394f3deac 100644 --- a/backend/app/Http/Actions/Questions/SortQuestionsAction.php +++ b/backend/app/Http/Actions/Questions/SortQuestionsAction.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Questions\SortQuestionsRequest; -use HiEvents\Services\Handlers\Question\SortQuestionsHandler; +use HiEvents\Services\Application\Handlers\Question\SortQuestionsHandler; use Illuminate\Http\JsonResponse; use Illuminate\Http\Response; use Symfony\Component\Routing\Exception\ResourceNotFoundException; diff --git a/backend/app/Http/Actions/Reports/GetReportAction.php b/backend/app/Http/Actions/Reports/GetReportAction.php index b22f53181f..5fa1596ac3 100644 --- a/backend/app/Http/Actions/Reports/GetReportAction.php +++ b/backend/app/Http/Actions/Reports/GetReportAction.php @@ -6,8 +6,8 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\Report\GetReportRequest; -use HiEvents\Services\Handlers\Reports\DTO\GetReportDTO; -use HiEvents\Services\Handlers\Reports\GetReportHandler; +use HiEvents\Services\Application\Handlers\Reports\DTO\GetReportDTO; +use HiEvents\Services\Application\Handlers\Reports\GetReportHandler; use Illuminate\Http\JsonResponse; use Illuminate\Support\Carbon; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/TaxesAndFees/CreateTaxOrFeeAction.php b/backend/app/Http/Actions/TaxesAndFees/CreateTaxOrFeeAction.php index 77016a4ae5..228615d5b1 100644 --- a/backend/app/Http/Actions/TaxesAndFees/CreateTaxOrFeeAction.php +++ b/backend/app/Http/Actions/TaxesAndFees/CreateTaxOrFeeAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\TaxOrFee\CreateTaxOrFeeRequest; use HiEvents\Resources\Tax\TaxAndFeeResource; -use HiEvents\Services\Handlers\TaxAndFee\CreateTaxOrFeeHandler; -use HiEvents\Services\Handlers\TaxAndFee\DTO\UpsertTaxDTO; +use HiEvents\Services\Application\Handlers\TaxAndFee\CreateTaxOrFeeHandler; +use HiEvents\Services\Application\Handlers\TaxAndFee\DTO\UpsertTaxDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/TaxesAndFees/DeleteTaxOrFeeAction.php b/backend/app/Http/Actions/TaxesAndFees/DeleteTaxOrFeeAction.php index 8bb4fe4e5f..5589438146 100644 --- a/backend/app/Http/Actions/TaxesAndFees/DeleteTaxOrFeeAction.php +++ b/backend/app/Http/Actions/TaxesAndFees/DeleteTaxOrFeeAction.php @@ -5,8 +5,8 @@ use HiEvents\DomainObjects\TaxAndFeesDomainObject; use HiEvents\Exceptions\ResourceConflictException; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\TaxAndFee\DeleteTaxHandler; -use HiEvents\Services\Handlers\TaxAndFee\DTO\DeleteTaxDTO; +use HiEvents\Services\Application\Handlers\TaxAndFee\DeleteTaxHandler; +use HiEvents\Services\Application\Handlers\TaxAndFee\DTO\DeleteTaxDTO; use Illuminate\Http\Response; use Throwable; diff --git a/backend/app/Http/Actions/TaxesAndFees/EditTaxOrFeeAction.php b/backend/app/Http/Actions/TaxesAndFees/EditTaxOrFeeAction.php index e6957bd8cf..2aeaa2fe2a 100644 --- a/backend/app/Http/Actions/TaxesAndFees/EditTaxOrFeeAction.php +++ b/backend/app/Http/Actions/TaxesAndFees/EditTaxOrFeeAction.php @@ -7,8 +7,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\TaxOrFee\CreateTaxOrFeeRequest; use HiEvents\Resources\Tax\TaxAndFeeResource; -use HiEvents\Services\Handlers\TaxAndFee\DTO\UpsertTaxDTO; -use HiEvents\Services\Handlers\TaxAndFee\EditTaxHandler; +use HiEvents\Services\Application\Handlers\TaxAndFee\DTO\UpsertTaxDTO; +use HiEvents\Services\Application\Handlers\TaxAndFee\EditTaxHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/Users/CancelEmailChangeAction.php b/backend/app/Http/Actions/Users/CancelEmailChangeAction.php index 1345197184..6675abffdc 100644 --- a/backend/app/Http/Actions/Users/CancelEmailChangeAction.php +++ b/backend/app/Http/Actions/Users/CancelEmailChangeAction.php @@ -5,8 +5,8 @@ use HiEvents\DomainObjects\UserDomainObject; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\User\CancelEmailChangeHandler; -use HiEvents\Services\Handlers\User\DTO\CancelEmailChangeDTO; +use HiEvents\Services\Application\Handlers\User\CancelEmailChangeHandler; +use HiEvents\Services\Application\Handlers\User\DTO\CancelEmailChangeDTO; use Illuminate\Http\JsonResponse; class CancelEmailChangeAction extends BaseAction diff --git a/backend/app/Http/Actions/Users/ConfirmEmailAddressAction.php b/backend/app/Http/Actions/Users/ConfirmEmailAddressAction.php index 28666b7579..86c59e8871 100644 --- a/backend/app/Http/Actions/Users/ConfirmEmailAddressAction.php +++ b/backend/app/Http/Actions/Users/ConfirmEmailAddressAction.php @@ -4,8 +4,8 @@ use HiEvents\DomainObjects\UserDomainObject; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\User\ConfirmEmailAddressHandler; -use HiEvents\Services\Handlers\User\DTO\ConfirmEmailChangeDTO; +use HiEvents\Services\Application\Handlers\User\ConfirmEmailAddressHandler; +use HiEvents\Services\Application\Handlers\User\DTO\ConfirmEmailChangeDTO; use HiEvents\Services\Infrastructure\Encryption\Exception\DecryptionFailedException; use HiEvents\Services\Infrastructure\Encryption\Exception\EncryptedPayloadExpiredException; use Illuminate\Http\JsonResponse; diff --git a/backend/app/Http/Actions/Users/ConfirmEmailChangeAction.php b/backend/app/Http/Actions/Users/ConfirmEmailChangeAction.php index 9bb8f39af7..e443871b8a 100644 --- a/backend/app/Http/Actions/Users/ConfirmEmailChangeAction.php +++ b/backend/app/Http/Actions/Users/ConfirmEmailChangeAction.php @@ -6,8 +6,8 @@ use HiEvents\Exceptions\ResourceConflictException; use HiEvents\Http\Actions\BaseAction; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\User\ConfirmEmailChangeHandler; -use HiEvents\Services\Handlers\User\DTO\ConfirmEmailChangeDTO; +use HiEvents\Services\Application\Handlers\User\ConfirmEmailChangeHandler; +use HiEvents\Services\Application\Handlers\User\DTO\ConfirmEmailChangeDTO; use HiEvents\Services\Infrastructure\Encryption\Exception\DecryptionFailedException; use HiEvents\Services\Infrastructure\Encryption\Exception\EncryptedPayloadExpiredException; use Illuminate\Http\JsonResponse; diff --git a/backend/app/Http/Actions/Users/CreateUserAction.php b/backend/app/Http/Actions/Users/CreateUserAction.php index a1610010da..072273fa6e 100644 --- a/backend/app/Http/Actions/Users/CreateUserAction.php +++ b/backend/app/Http/Actions/Users/CreateUserAction.php @@ -10,8 +10,8 @@ use HiEvents\Http\Request\User\CreateUserRequest; use HiEvents\Http\ResponseCodes; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\User\CreateUserHandler; -use HiEvents\Services\Handlers\User\DTO\CreateUserDTO; +use HiEvents\Services\Application\Handlers\User\CreateUserHandler; +use HiEvents\Services\Application\Handlers\User\DTO\CreateUserDTO; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Http/Actions/Users/ResendEmailConfirmationAction.php b/backend/app/Http/Actions/Users/ResendEmailConfirmationAction.php index 74cd578791..6035f7e169 100644 --- a/backend/app/Http/Actions/Users/ResendEmailConfirmationAction.php +++ b/backend/app/Http/Actions/Users/ResendEmailConfirmationAction.php @@ -3,7 +3,7 @@ namespace HiEvents\Http\Actions\Users; use HiEvents\Http\Actions\BaseAction; -use HiEvents\Services\Handlers\User\ResendEmailConfirmationHandler; +use HiEvents\Services\Application\Handlers\User\ResendEmailConfirmationHandler; use Illuminate\Http\Response; class ResendEmailConfirmationAction extends BaseAction diff --git a/backend/app/Http/Actions/Users/UpdateMeAction.php b/backend/app/Http/Actions/Users/UpdateMeAction.php index 6995580524..4c1d442c43 100644 --- a/backend/app/Http/Actions/Users/UpdateMeAction.php +++ b/backend/app/Http/Actions/Users/UpdateMeAction.php @@ -6,8 +6,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\User\UpdateMeRequest; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\User\DTO\UpdateMeDTO; -use HiEvents\Services\Handlers\User\UpdateMeHandler; +use HiEvents\Services\Application\Handlers\User\DTO\UpdateMeDTO; +use HiEvents\Services\Application\Handlers\User\UpdateMeHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; diff --git a/backend/app/Http/Actions/Users/UpdateUserAction.php b/backend/app/Http/Actions/Users/UpdateUserAction.php index 6be10ac55f..dae41bb6b2 100644 --- a/backend/app/Http/Actions/Users/UpdateUserAction.php +++ b/backend/app/Http/Actions/Users/UpdateUserAction.php @@ -8,8 +8,8 @@ use HiEvents\Http\Actions\BaseAction; use HiEvents\Http\Request\User\UpdateUserRequest; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\User\DTO\UpdateUserDTO; -use HiEvents\Services\Handlers\User\UpdateUserHandler; +use HiEvents\Services\Application\Handlers\User\DTO\UpdateUserDTO; +use HiEvents\Services\Application\Handlers\User\UpdateUserHandler; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use Throwable; diff --git a/backend/app/Jobs/Event/SendMessagesJob.php b/backend/app/Jobs/Event/SendMessagesJob.php index eaa087dc2d..142f322fc2 100644 --- a/backend/app/Jobs/Event/SendMessagesJob.php +++ b/backend/app/Jobs/Event/SendMessagesJob.php @@ -3,8 +3,8 @@ namespace HiEvents\Jobs\Event; use HiEvents\Exceptions\UnableToSendMessageException; +use HiEvents\Services\Application\Handlers\Message\DTO\SendMessageDTO; use HiEvents\Services\Domain\Mail\SendEventEmailMessagesService; -use HiEvents\Services\Handlers\Message\DTO\SendMessageDTO; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; diff --git a/backend/app/Mail/Event/EventMessage.php b/backend/app/Mail/Event/EventMessage.php index 11a3a89211..f7807374d0 100644 --- a/backend/app/Mail/Event/EventMessage.php +++ b/backend/app/Mail/Event/EventMessage.php @@ -5,7 +5,7 @@ use HiEvents\DomainObjects\EventDomainObject; use HiEvents\DomainObjects\EventSettingDomainObject; use HiEvents\Mail\BaseMail; -use HiEvents\Services\Handlers\Message\DTO\SendMessageDTO; +use HiEvents\Services\Application\Handlers\Message\DTO\SendMessageDTO; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; diff --git a/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php b/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php index 1f006d9dae..a31d2eac9a 100644 --- a/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php +++ b/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php @@ -3,7 +3,7 @@ namespace HiEvents\Resources\Account\Stripe; use HiEvents\Resources\Account\AccountResource; -use HiEvents\Services\Handlers\Account\Payment\Stripe\DTO\CreateStripeConnectAccountResponse; +use HiEvents\Services\Application\Handlers\Account\Payment\Stripe\DTO\CreateStripeConnectAccountResponse; use Illuminate\Http\Resources\Json\JsonResource; /** diff --git a/backend/app/Resources/Auth/AuthenticatedResponseResource.php b/backend/app/Resources/Auth/AuthenticatedResponseResource.php index f1603441b1..0d1cfa6519 100644 --- a/backend/app/Resources/Auth/AuthenticatedResponseResource.php +++ b/backend/app/Resources/Auth/AuthenticatedResponseResource.php @@ -4,7 +4,7 @@ use HiEvents\Resources\Account\AccountResource; use HiEvents\Resources\User\UserResource; -use HiEvents\Services\Handlers\Auth\DTO\AuthenticatedResponseDTO; +use HiEvents\Services\Application\Handlers\Auth\DTO\AuthenticatedResponseDTO; use Illuminate\Http\Resources\Json\JsonResource; /** diff --git a/backend/app/Services/Handlers/Account/CreateAccountHandler.php b/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php similarity index 95% rename from backend/app/Services/Handlers/Account/CreateAccountHandler.php rename to backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php index 2e7c50cfbe..579be43c3d 100644 --- a/backend/app/Services/Handlers/Account/CreateAccountHandler.php +++ b/backend/app/Services/Application/Handlers/Account/CreateAccountHandler.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace HiEvents\Services\Handlers\Account; +namespace HiEvents\Services\Application\Handlers\Account; use HiEvents\DomainObjects\AccountDomainObject; use HiEvents\DomainObjects\Enums\Role; @@ -13,10 +13,10 @@ use HiEvents\Repository\Interfaces\AccountRepositoryInterface; use HiEvents\Repository\Interfaces\AccountUserRepositoryInterface; use HiEvents\Repository\Interfaces\UserRepositoryInterface; +use HiEvents\Services\Application\Handlers\Account\DTO\CreateAccountDTO; +use HiEvents\Services\Application\Handlers\Account\Exceptions\AccountRegistrationDisabledException; use HiEvents\Services\Domain\Account\AccountUserAssociationService; use HiEvents\Services\Domain\User\EmailConfirmationService; -use HiEvents\Services\Handlers\Account\DTO\CreateAccountDTO; -use HiEvents\Services\Handlers\Account\Exceptions\AccountRegistrationDisabledException; use Illuminate\Config\Repository; use Illuminate\Database\DatabaseManager; use Illuminate\Hashing\HashManager; diff --git a/backend/app/Services/Handlers/Account/DTO/CreateAccountDTO.php b/backend/app/Services/Application/Handlers/Account/DTO/CreateAccountDTO.php similarity index 88% rename from backend/app/Services/Handlers/Account/DTO/CreateAccountDTO.php rename to backend/app/Services/Application/Handlers/Account/DTO/CreateAccountDTO.php index 94322a2c0d..0e71e8fb5f 100644 --- a/backend/app/Services/Handlers/Account/DTO/CreateAccountDTO.php +++ b/backend/app/Services/Application/Handlers/Account/DTO/CreateAccountDTO.php @@ -1,6 +1,6 @@