@dynamatix/gb-schemas 2.3.273 → 2.3.275

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.
@@ -237,7 +237,7 @@ welcomeCallSchema.virtual('customerCurrentResidentialAddress').get(function () {
237
237
  applicant.addressLine2,
238
238
  applicant.addressLine3,
239
239
  applicant.addressCity,
240
- applicant.propertyAddressCountry,
240
+ countryName,
241
241
  applicant.addressPostCode
242
242
  ].filter(part => part && part.trim() !== '');
243
243
  return addressParts.join(', ');
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+BhC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
@@ -22,5 +22,6 @@ lookupSchema.index({ value: 1 });
22
22
  lookupSchema.index({ name: 1 }, { collation: { locale: "en", strength: 2 } });
23
23
  // Compound index for lookupGroupId + name queries
24
24
  lookupSchema.index({ lookupGroupId: 1, name: 1 }, { collation: { locale: "en", strength: 2 } });
25
+ lookupSchema.index({ lookupGroupId: 1, value: 1 });
25
26
  const LookupModel = mongoose.model('Lookup', lookupSchema);
26
27
  export default LookupModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.273",
3
+ "version": "2.3.275",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
37
37
  "dependencies": {
38
- "@dynamatix/cat-shared": "^0.0.126",
38
+ "@dynamatix/cat-shared": "^0.0.127",
39
39
  "dotenv": "^16.4.5",
40
40
  "mongodb": "^6.14.2",
41
41
  "mongoose": "^8.9.5"