law-common 10.31.0 → 10.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,7 @@ const timesheet_entity_model_1 = require("./timesheet.entity.model");
30
30
  const user_entity_model_1 = require("./user.entity.model");
31
31
  const country_entity_model_1 = require("./country.entity.model");
32
32
  const address_book_model_1 = require("./address_book.model");
33
+ const billing_transaction_model_1 = require("./billing-transaction.model");
33
34
  function mapToIndex(entityMap) {
34
35
  return Object.keys(entityMap).reduce((acc, key) => {
35
36
  // @ts-ignore
@@ -78,6 +79,7 @@ exports.entityEnumToEntityModel = {
78
79
  [entity_utils_interface_1.EntityEnum.TIMESHEET]: timesheet_entity_model_1.TimesheetEntityModel.fromEntity,
79
80
  [entity_utils_interface_1.EntityEnum.COUNTRY]: country_entity_model_1.CountryEntityModel.fromApiEntity,
80
81
  [entity_utils_interface_1.EntityEnum.ADDRESS_BOOK]: address_book_model_1.AddressBookEntityModel.fromEntity,
82
+ [entity_utils_interface_1.EntityEnum.BILLING_TRANSACTION]: billing_transaction_model_1.BillingTransactionEntityModel.fromEntity,
81
83
  };
82
84
  function entityMapToModels(entityMap) {
83
85
  for (const entityName in entityMap) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "10.31.0",
3
+ "version": "10.32.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [