BriteLines events emitted for product versions

BriteLines will now emit two new events when a product version is created or updated:  

bc.lines.version_created

This event is emitted when a product version is created. A version is considered to be updated when the Status, Label, Effective Date, and/or Description is updated.

Example payload:

View code
{
  		"version": "665df7eb-35e0-4519-b2ce-6b9823ccaf6b",
  		"product_name": "generalAutoCW"
}

bc.lines.version_updated

This event is emitted when a product version is updated. 

Example payload:

View code
{
  		"version": "665df7eb-35e0-4519-b2ce-6b9823ccaf6b",
  		"product_name": "generalAutoCW"
}