@lendi/integrations-transform 1.9.10 → 1.9.11

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.
@@ -60,6 +60,8 @@ function transformApplicant(applicant) {
60
60
  };
61
61
  }
62
62
  if (applicant.entity === public_applicant_1.Entity.Company) {
63
+ // Company applicant contact details may be sourced from a director or a related company,
64
+ // so they are not mapped from the applicant event here.
63
65
  applicantMapping = {
64
66
  id: `${application_paths_2.paths.CompanyApplicant}.@UniqueID`,
65
67
  applicationId: application_paths_1.paths.ApplicationId,
@@ -69,10 +71,7 @@ function transformApplicant(applicant) {
69
71
  companyStructure: `${application_paths_2.paths.CompanyApplicant}.@BusinessStructure`,
70
72
  abn: `${application_paths_2.paths.CompanyApplicant}.@ABN`,
71
73
  acn: `${application_paths_2.paths.CompanyApplicant}.@ACN`,
72
- contact: 'contact',
73
- email: `${application_paths_2.paths.CompanyApplicant}.Contact.@Email`,
74
74
  industryCode: `${application_paths_2.paths.CompanyApplicant}.Business.@IndustryCode`,
75
- phone: `${application_paths_2.paths.CompanyApplicant}.Contact.OfficeMobile.@Number`,
76
75
  registeredState: `${application_paths_2.paths.CompanyApplicant}.@RegisteredInState`,
77
76
  registeredDate: `${application_paths_2.paths.CompanyApplicant}.@DateRegistered`,
78
77
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lendi/integrations-transform",
3
- "version": "1.9.10",
3
+ "version": "1.9.11",
4
4
  "description": "Library for kafka event data transforming",
5
5
  "author": "Integrations <integrations@lendi.com.au>",
6
6
  "homepage": "https://bitbucket.org/lendi-dev/integrations-shared-packages#readme",