@dynamatix/gb-schemas 2.3.266 → 2.3.267

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.
@@ -274,7 +274,7 @@ welcomeCallSchema.virtual('applicantEmployerBusinessName').get(function () {
274
274
  value: employmentStatus.value
275
275
  });
276
276
  // Check if it's employed status (options 1, 3, 5)
277
- if (statusValue === 'Employee with no shareholding' || statusValue === 'A non-equity partner in a partnership' || statusValue === 'A shareholder with less than 25% shares') {
277
+ if (statusValue === '1' || statusValue === '3' || statusValue === '5') {
278
278
  console.log('Matched employed status, checking employment info');
279
279
  // Check employment information
280
280
  if (applicant.employmentInformationId && typeof applicant.employmentInformationId === 'object') {
@@ -286,7 +286,7 @@ welcomeCallSchema.virtual('applicantEmployerBusinessName').get(function () {
286
286
  }
287
287
  }
288
288
  // Check if it's self-employed or solo trader status (options 2, 4)
289
- else if (statusValue === 'A shareholder with 25% or more shares' || statusValue === 'An equity partner in a partnership' || statusValue === 'Sole Trader') {
289
+ else if (statusValue === '2' || statusValue === '4' || statusValue === '6') {
290
290
  console.log('Matched self-employed status, checking self-employment info');
291
291
  // Check self-employment information
292
292
  if (applicant.selfEmployedInformationId && typeof applicant.selfEmployedInformationId === 'object') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.266",
3
+ "version": "2.3.267",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",