Type alias CustomerGroupChangedPayload

CustomerGroupChangedPayload: {
    changeType: "ADDED";
    customerGroup: CustomerGroup;
    eventType: "customer.customer_group_changed";
    [k: string]: unknown;
} | {
    changeType: "UPDATED";
    customerGroup: CustomerGroup;
    eventType: "customer.customer_group_changed";
    previousCustomerGroup: CustomerGroup;
    [k: string]: unknown;
} | {
    changeType: "REMOVED";
    eventType: "customer.customer_group_changed";
    previousCustomerGroup: CustomerGroup;
    [k: string]: unknown;
}

Type declaration

  • [k: string]: unknown
  • changeType: "ADDED"
  • customerGroup: CustomerGroup
  • eventType: "customer.customer_group_changed"

Type declaration

  • [k: string]: unknown
  • changeType: "UPDATED"
  • customerGroup: CustomerGroup
  • eventType: "customer.customer_group_changed"
  • previousCustomerGroup: CustomerGroup

Type declaration

  • [k: string]: unknown
  • changeType: "REMOVED"
  • eventType: "customer.customer_group_changed"
  • previousCustomerGroup: CustomerGroup

Generated using TypeDoc