@dynamatix/gb-schemas 2.3.313 → 2.3.315

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.
@@ -460,6 +460,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
460
460
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
461
461
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
462
462
  doYouKnowRegisteredNumber?: unknown;
463
+ companyHouseInfo?: unknown;
463
464
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
464
465
  createdAt: NativeDate;
465
466
  updatedAt: NativeDate;
@@ -892,6 +893,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
892
893
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
893
894
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
894
895
  doYouKnowRegisteredNumber?: unknown;
896
+ companyHouseInfo?: unknown;
895
897
  }, {}> & {
896
898
  createdAt: NativeDate;
897
899
  updatedAt: NativeDate;
@@ -1324,6 +1326,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1324
1326
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
1325
1327
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
1326
1328
  doYouKnowRegisteredNumber?: unknown;
1329
+ companyHouseInfo?: unknown;
1327
1330
  } & {
1328
1331
  _id: mongoose.Types.ObjectId;
1329
1332
  } & {
@@ -1403,6 +1406,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1403
1406
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
1404
1407
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
1405
1408
  doYouKnowRegisteredNumber?: unknown;
1409
+ companyHouseInfo?: unknown;
1406
1410
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
1407
1411
  createdAt: NativeDate;
1408
1412
  updatedAt: NativeDate;
@@ -1468,6 +1472,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1468
1472
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
1469
1473
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
1470
1474
  doYouKnowRegisteredNumber?: unknown;
1475
+ companyHouseInfo?: unknown;
1471
1476
  }>, {}> & mongoose.FlatRecord<{
1472
1477
  createdAt: NativeDate;
1473
1478
  updatedAt: NativeDate;
@@ -1533,6 +1538,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
1533
1538
  companyAnyVoluntaryEnforcedPossessionYes?: unknown;
1534
1539
  companyAnyVoluntaryEnforcedPossessionNo?: unknown;
1535
1540
  doYouKnowRegisteredNumber?: unknown;
1541
+ companyHouseInfo?: unknown;
1536
1542
  }> & {
1537
1543
  _id: mongoose.Types.ObjectId;
1538
1544
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-company-model.d.ts","sourceRoot":"","sources":["../../applications/application-company-model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAe,MAAM,0BAA0B,CAAA;AAmJ7D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsD,CAAC;AACpF,eAAe,uBAAuB,CAAC"}
@@ -60,6 +60,13 @@ const companySchema = new mongoose.Schema({
60
60
  epc: { type: String, default: "" },
61
61
  remainingLease: { type: String, default: "" },
62
62
  dateOfIncorporation: { type: String, default: null },
63
+ companyHouseInfo: {
64
+ companyName: { type: String, default: "" },
65
+ companyStatus: { type: String, default: "" },
66
+ activePscCount: { type: Number, default: 0 },
67
+ reqStatus: { type: String, default: "" },
68
+ failedMessage: { type: String, default: "" }
69
+ },
63
70
  }, {
64
71
  timestamps: true,
65
72
  toJSON: { virtuals: true, getters: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.313",
3
+ "version": "2.3.315",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",