[ LogRequestSending::class, ], // 'Illuminate\Http\Client\Events\ResponseReceived' => [ // 'App\Listeners\LogResponseReceived', // ], // 'Illuminate\Http\Client\Events\ConnectionFailed' => [ // 'App\Listeners\LogConnectionFailed', // ], AccountCreated::class => [ ], MessageSending::class => [ ], MessageSent::class => [ MailSentListener::class, ], UserWasCreated::class => [ CreatedUserActivity::class, SendVerificationNotification::class, ], UserWasDeleted::class => [ DeletedUserActivity::class, ], UserWasArchived::class => [ ArchivedUserActivity::class, ], UserLoggedIn::class => [ UpdateUserLastLogin::class, ], UserWasUpdated::class => [ UpdatedUserActivity::class, ], UserWasRestored::class => [ RestoredUserActivity::class, ], ContactLoggedIn::class => [ UpdateContactLastLogin::class, ], PaymentWasCreated::class => [ PaymentCreatedActivity::class, PaymentNotification::class, PaymentBalanceActivity::class, ], PaymentWasDeleted::class => [ PaymentDeletedActivity::class, PaymentBalanceActivity::class, ], PaymentWasArchived::class => [ PaymentArchivedActivity::class, ], PaymentWasUpdated::class => [ PaymentUpdatedActivity::class, PaymentBalanceActivity::class, ], PaymentWasRefunded::class => [ PaymentRefundedActivity::class, PaymentBalanceActivity::class, ], PaymentWasVoided::class => [ PaymentVoidedActivity::class, PaymentBalanceActivity::class, ], PaymentWasRestored::class => [ PaymentRestoredActivity::class, PaymentBalanceActivity::class, ], // Clients ClientWasCreated::class => [ CreatedClientActivity::class, ], ClientWasArchived::class => [ ArchivedClientActivity::class, ], ClientWasUpdated::class => [ ClientUpdatedActivity::class, ], ClientWasDeleted::class => [ DeleteClientActivity::class, ], ClientWasRestored::class => [ RestoreClientActivity::class, ], // Documents DocumentWasCreated::class => [ ], DocumentWasArchived::class => [ ], DocumentWasUpdated::class => [ ], DocumentWasDeleted::class => [ ], DocumentWasRestored::class => [ ], CreditWasCreated::class => [ CreatedCreditActivity::class, CreditCreatedNotification::class, ], CreditWasDeleted::class => [ DeleteCreditActivity::class, ], CreditWasUpdated::class => [ UpdatedCreditActivity::class, CreateInvoicePdf::class, ], CreditWasEmailedAndFailed::class => [ ], CreditWasEmailed::class => [ CreditEmailedNotification::class, ], CreditWasMarkedSent::class => [ ], CreditWasArchived::class => [ CreditArchivedActivity::class, ], CreditWasRestored::class => [ CreditRestoredActivity::class, ], CreditWasViewed::class => [ CreditViewedActivity::class, ], //Designs DesignWasUpdated::class => [ ], DesignWasArchived::class => [ ], DesignWasDeleted::class => [ ], DesignWasRestored::class => [ ], ExpenseWasCreated::class => [ CreatedExpenseActivity::class, ], ExpenseWasUpdated::class => [ ExpenseUpdatedActivity::class, ], ExpenseWasArchived::class => [ ExpenseArchivedActivity::class, ], ExpenseWasDeleted::class => [ ExpenseDeletedActivity::class, ], ExpenseWasRestored::class => [ ExpenseRestoredActivity::class, ], //Invoices InvoiceWasMarkedSent::class => [ ], InvoiceWasUpdated::class => [ UpdateInvoiceActivity::class, ], InvoiceWasCreated::class => [ CreateInvoiceActivity::class, InvoiceCreatedNotification::class, ], InvoiceWasPaid::class => [ InvoicePaidActivity::class, ], InvoiceWasViewed::class => [ InvoiceViewedActivity::class, ], InvoiceWasEmailed::class => [ InvoiceEmailActivity::class, InvoiceEmailedNotification::class, ], InvoiceWasEmailedAndFailed::class => [ InvoiceEmailFailedActivity::class, InvoiceFailedEmailNotification::class, ], InvoiceReminderWasEmailed::class => [ InvoiceReminderEmailActivity::class, InvoiceEmailedNotification::class, ], InvoiceWasDeleted::class => [ InvoiceDeletedActivity::class, ], InvoiceWasArchived::class => [ InvoiceArchivedActivity::class, ], InvoiceWasRestored::class => [ InvoiceRestoredActivity::class, ], InvoiceWasReversed::class => [ InvoiceReversedActivity::class, CreateInvoicePdf::class, ], InvoiceWasCancelled::class => [ InvoiceCancelledActivity::class, ], InvitationWasViewed::class => [ InvitationViewedListener::class, ], PaymentWasEmailed::class => [ PaymentEmailedActivity::class, ], PaymentWasEmailedAndFailed::class => [ // PaymentEmailFailureActivity::class, ], PurchaseOrderWasArchived::class => [ PurchaseOrderArchivedActivity::class, ], PurchaseOrderWasCreated::class => [ CreatePurchaseOrderActivity::class, PurchaseOrderCreatedListener::class, ], PurchaseOrderWasDeleted::class => [ PurchaseOrderDeletedActivity::class, ], PurchaseOrderWasEmailed::class => [ PurchaseOrderEmailActivity::class, PurchaseOrderEmailedNotification::class, ], PurchaseOrderWasRestored::class => [ PurchaseOrderRestoredActivity::class, ], PurchaseOrderWasUpdated::class => [ UpdatePurchaseOrderActivity::class, ], PurchaseOrderWasViewed::class => [ PurchaseOrderViewedActivity::class, ], PurchaseOrderWasAccepted::class => [ PurchaseOrderAcceptedListener::class, PurchaseOrderAcceptedActivity::class, ], CompanyDocumentsDeleted::class => [ DeleteCompanyDocuments::class, ], QuoteWasApproved::class => [ ReachWorkflowSettings::class, QuoteApprovedActivity::class, QuoteApprovedWebhook::class, QuoteApprovedNotification::class, ], QuoteWasCreated::class => [ CreatedQuoteActivity::class, QuoteCreatedNotification::class, ], QuoteWasUpdated::class => [ QuoteUpdatedActivity::class, CreateInvoicePdf::class, ], QuoteWasEmailed::class => [ QuoteEmailActivity::class, QuoteEmailedNotification::class, ], QuoteWasViewed::class => [ QuoteViewedActivity::class, ], QuoteWasArchived::class => [ QuoteArchivedActivity::class, ], QuoteWasDeleted::class => [ QuoteDeletedActivity::class, ], QuoteWasRestored::class => [ QuoteRestoredActivity::class, ], RecurringExpenseWasCreated::class => [ CreatedRecurringExpenseActivity::class, ], RecurringExpenseWasUpdated::class => [ RecurringExpenseUpdatedActivity::class, ], RecurringExpenseWasArchived::class => [ RecurringExpenseArchivedActivity::class, ], RecurringExpenseWasDeleted::class => [ RecurringExpenseDeletedActivity::class, ], RecurringExpenseWasRestored::class => [ RecurringExpenseRestoredActivity::class, ], RecurringQuoteWasUpdated::class => [ UpdateRecurringQuoteActivity::class, ], RecurringQuoteWasCreated::class => [ CreateRecurringQuoteActivity::class, ], RecurringQuoteWasDeleted::class => [ RecurringQuoteDeletedActivity::class, ], RecurringQuoteWasArchived::class => [ RecurringQuoteArchivedActivity::class, ], RecurringQuoteWasRestored::class => [ RecurringQuoteRestoredActivity::class, ], RecurringInvoiceWasUpdated::class => [ UpdateRecurringInvoiceActivity::class, ], RecurringInvoiceWasCreated::class => [ CreateRecurringInvoiceActivity::class, ], RecurringInvoiceWasDeleted::class => [ RecurringInvoiceDeletedActivity::class, ], RecurringInvoiceWasArchived::class => [ RecurringInvoiceArchivedActivity::class, ], RecurringInvoiceWasRestored::class => [ RecurringInvoiceRestoredActivity::class, ], TaskWasCreated::class => [ CreatedTaskActivity::class, ], TaskWasUpdated::class => [ TaskUpdatedActivity::class, ], TaskWasArchived::class => [ TaskArchivedActivity::class, ], TaskWasDeleted::class => [ TaskDeletedActivity::class, ], TaskWasRestored::class => [ TaskRestoredActivity::class, ], StripeConnectFailure::class => [ StripeConnectFailureListener::class, ], SubscriptionWasCreated::class => [ CreatedSubscriptionActivity::class, ], SubscriptionWasUpdated::class => [ SubscriptionUpdatedActivity::class, ], SubscriptionWasArchived::class => [ SubscriptionArchivedActivity::class, ], SubscriptionWasDeleted::class => [ SubscriptionDeletedActivity::class, ], SubscriptionWasRestored::class => [ SubscriptionRestoredActivity::class, ], VendorWasCreated::class => [ CreatedVendorActivity::class, ], VendorWasArchived::class => [ VendorArchivedActivity::class, ], VendorWasDeleted::class => [ VendorDeletedActivity::class, ], VendorWasRestored::class => [ VendorRestoredActivity::class, ], VendorWasUpdated::class => [ VendorUpdatedActivity::class, ], VendorContactLoggedIn::class => [ UpdateVendorContactLastLogin::class, ], \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... Manager won't register drivers that are not added to this listener. \SocialiteProviders\Apple\AppleExtendSocialite::class.'@handle', \SocialiteProviders\Microsoft\MicrosoftExtendSocialite::class.'@handle', ], ]; /** * The subscriber classes to register. * * @var array */ protected $subscribe = [ ]; /** * Register any events for your application. * * @return void */ public function boot() { parent::boot(); Account::observe(AccountObserver::class); Subscription::observe(SubscriptionObserver::class); Client::observe(ClientObserver::class); ClientContact::observe(ClientContactObserver::class); Company::observe(CompanyObserver::class); CompanyGateway::observe(CompanyGatewayObserver::class); CompanyToken::observe(CompanyTokenObserver::class); Credit::observe(CreditObserver::class); Expense::observe(ExpenseObserver::class); Invoice::observe(InvoiceObserver::class); Payment::observe(PaymentObserver::class); Product::observe(ProductObserver::class); Project::observe(ProjectObserver::class); Proposal::observe(ProposalObserver::class); Quote::observe(QuoteObserver::class); Task::observe(TaskObserver::class); User::observe(UserObserver::class); Vendor::observe(VendorObserver::class); VendorContact::observe(VendorContactObserver::class); PurchaseOrder::observe(PurchaseOrderObserver::class); } /** * Determine if events and listeners should be automatically discovered. * * @return bool */ public function shouldDiscoverEvents() { return false; } }