Enum lexoffice::model::event_subscriptions::EventType[][src]

pub enum EventType {
    ContactCreated,
    ContactChanged,
    ContactDeleted,
    CreditNoteCreated,
    CreditNoteChanged,
    CreditNoteDeleted,
    CreditNoteStatusChanged,
    InvoiceCreated,
    InvoiceChanged,
    InvoiceDeleted,
    InvoiceStatusChanged,
    DownPaymentInvoiceCreated,
    DownPaymentInvoiceChanged,
    DownPaymentInvoiceDeleted,
    DownPaymentInvoiceStatusChanged,
    OrderConfirmationCreated,
    OrderConfirmationChanged,
    OrderConfirmationDeleted,
    OrderConfirmationStatusChanged,
    QuotationCreated,
    QuotationChanged,
    QuotationDeleted,
    QuotationStatusChanged,
    TokenRevoked,
    VoucherCreated,
    VoucherChanged,
    VoucherDeleted,
    VoucherStatusChanged,
    PaymentChanged,
    RecurringTemplateCreated,
    RecurringTemplateChanged,
    RecurringTemplateDeleted,
}

The following table lists all types of events you can subscribe to. The property EventType is the combined key of a resource and a event name. The EventType is handled in lower case.

Variants

ContactCreated

A new contact was created in lexoffice.

ContactChanged

A lexoffice contact has changed. You should get the updated contact details.

ContactDeleted

A lexoffice contact was deleted. Depending on your application, you should unlink the lexoffice contact on your site or delete it as well.

CreditNoteCreated

A new credit note was created in lexoffice. Get the new credit note by calling the credit notes endpoint.

CreditNoteChanged

A credit note has changed. Get the updated credit note by calling the credit notes endpoint. Please note that the status may also have changed.

CreditNoteDeleted

A credit note was deleted in lexoffice.

CreditNoteStatusChanged

The status of a credit note has changed. Update the credit note by calling the credit notes endpoint to retrieve the new status.

InvoiceCreated

A new invoice was created in lexoffice. Get the new invoice by calling the invoices endpoint.

InvoiceChanged

An invoice has changed. Get the updated invoice by calling the invoices endpoint. Please note that the status may also have changed.

InvoiceDeleted

An invoice was deleted in lexoffice.

InvoiceStatusChanged

The status of an invoice has changed. Update the invoice by calling the invoices endpoint to retrieve the new status.

DownPaymentInvoiceCreated

A new down payment invoice was created in lexoffice. Get the new down payment invoice by calling the down payment invoices endpoint.

DownPaymentInvoiceChanged

A down payment invoice has changed. Get the updated down payment invoice by calling the down payment invoices endpoint. Please note that the status may also have changed.

DownPaymentInvoiceDeleted

A down payment invoice was deleted in lexoffice.

DownPaymentInvoiceStatusChanged

The status of a down payment invoice has changed. Update the down payment invoice by calling the down payment invoices endpoint to retrieve the new status.

OrderConfirmationCreated

A new order confirmation was created in lexoffice. Get the new order confirmation by calling the order confirmations endpoint.

OrderConfirmationChanged

An order confirmation has changed. Get the updated order confirmation by calling the order confirmations endpoint. Please note that the status may also have changed.

OrderConfirmationDeleted

An order confirmation was deleted in lexoffice.

OrderConfirmationStatusChanged

The status of an order confirmation has changed. Update the order confirmation by calling the order confirmations endpoint to retrieve the new status. Please note that at this time there are no status transitions triggering the status changed event for order confirmations. This event solely exists to provide symmetric events for all voucher types.

QuotationCreated

A new quotation was created in lexoffice. Get the new quotation by calling the quotations endpoint.

QuotationChanged

A quotation has changed. Get the updated quotation by calling the quotations endpoint. Please note that the status may also have changed.

QuotationDeleted

A quotation was deleted in lexoffice.

QuotationStatusChanged

The status of a quotation has changed. Update the quotation by calling the quotations endpoint to retrieve the new status.

TokenRevoked

The refresh token was revoked, hence is invalid. The resourceId in the webhook callback refers to the connectionId you retrieve using the profile endpoint. Please store the refresh token to the connectionId prior to the registration on this event.

VoucherCreated

A new (bookkeeping) voucher was created in lexoffice. Get the new voucher by calling the vouchers endpoint.

VoucherChanged

A voucher has changed. Get the updated voucher by calling the vouchers endpoint.

VoucherDeleted

A voucher was deleted in lexoffice.

VoucherStatusChanged

The status of a voucher has changed. Get the updated voucher by calling the vouchers endpoint.

PaymentChanged

The payment of a bookkeeping or sales voucher has changed due to a manual payment or a transaction assignment. Please use the payments endpoint or the respective resource endpoints to retrieve further informaton about the payment status of the resource

RecurringTemplateCreated

A new template for recurring invoices was created in lexoffice. Get the new recurring template by calling the recurring templates endpoint.

RecurringTemplateChanged

A template for recurring invoices has changed. Get the updated recurring template by calling the recurring templates endpoint.

RecurringTemplateDeleted

A template for recurring invoices was deleted in lexoffice.

Trait Implementations

impl Clone for EventType[src]

impl Debug for EventType[src]

impl<'de> Deserialize<'de> for EventType[src]

impl FromStr for EventType[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<EventType> for EventType[src]

impl Serialize for EventType[src]

impl StructuralPartialEq for EventType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.