[ ], 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, ], PaymentWasDeleted::class => [ PaymentDeletedActivity::class, ], PaymentWasArchived::class => [ PaymentArchivedActivity::class, ], PaymentWasUpdated::class => [ PaymentUpdatedActivity::class, ], PaymentWasRefunded::class => [ PaymentRefundedActivity::class, ], PaymentWasVoided::class => [ PaymentVoidedActivity::class, ], PaymentWasRestored::class => [ PaymentRestoredActivity::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 => [ CreateInvoiceHtmlBackup::class, ], InvoiceWasUpdated::class => [ UpdateInvoiceActivity::class, CreateInvoicePdf::class, ], InvoiceWasCreated::class => [ CreateInvoiceActivity::class, InvoiceCreatedNotification::class, // CreateInvoicePdf::class, ], InvoiceWasPaid::class => [ InvoicePaidActivity::class, CreateInvoicePdf::class, ], InvoiceWasViewed::class => [ InvoiceViewedActivity::class, ], InvoiceWasEmailed::class => [ InvoiceEmailActivity::class, InvoiceEmailedNotification::class, ], InvoiceWasEmailedAndFailed::class => [ InvoiceEmailFailedActivity::class, InvoiceFailedEmailNotification::class, ], InvoiceReminderWasEmailed::class => [ InvoiceReminderEmailActivity::class, ], InvoiceWasDeleted::class => [ InvoiceDeletedActivity::class, CreateInvoicePdf::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, ], PurchaseOrderWasDeleted::class => [ PurchaseOrderDeletedActivity::class, ], PurchaseOrderWasEmailed::class => [ PurchaseOrderEmailActivity::class, ], PurchaseOrderWasRestored::class => [ PurchaseOrderRestoredActivity::class, ], PurchaseOrderWasUpdated::class => [ UpdatePurchaseOrderActivity::class, ], PurchaseOrderWasViewed::class => [ PurchaseOrderViewedActivity::class, ], PurchaseOrderWasAccepted::class => [ PurchaseOrderAcceptedActivity::class, PurchaseOrderAcceptedNotification::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, ], 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, ], \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); 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); PurchaseOrder::observe(PurchaseOrderObserver::class); } /** * Determine if events and listeners should be automatically discovered. * * @return bool */ public function shouldDiscoverEvents() { return false; } }