@dynamatix/gb-schemas 1.2.22 → 1.2.23

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.
@@ -27,7 +27,6 @@
27
27
  /// <reference types="mongoose/types/inferrawdoctype" />
28
28
  import mongoose from "mongoose";
29
29
  declare const ProductModel: mongoose.Model<{
30
- numberOfYearsToRepay: string;
31
30
  selectedProduct: string;
32
31
  applicationId?: unknown;
33
32
  pageValidFlag?: unknown;
@@ -46,7 +45,6 @@ declare const ProductModel: mongoose.Model<{
46
45
  tempAppFee?: unknown;
47
46
  productFeePaymentTypeLid?: unknown;
48
47
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
49
- numberOfYearsToRepay: string;
50
48
  selectedProduct: string;
51
49
  applicationId?: unknown;
52
50
  pageValidFlag?: unknown;
@@ -65,7 +63,6 @@ declare const ProductModel: mongoose.Model<{
65
63
  tempAppFee?: unknown;
66
64
  productFeePaymentTypeLid?: unknown;
67
65
  }> & {
68
- numberOfYearsToRepay: string;
69
66
  selectedProduct: string;
70
67
  applicationId?: unknown;
71
68
  pageValidFlag?: unknown;
@@ -88,7 +85,6 @@ declare const ProductModel: mongoose.Model<{
88
85
  } & {
89
86
  __v: number;
90
87
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
91
- numberOfYearsToRepay: string;
92
88
  selectedProduct: string;
93
89
  applicationId?: unknown;
94
90
  pageValidFlag?: unknown;
@@ -107,7 +103,6 @@ declare const ProductModel: mongoose.Model<{
107
103
  tempAppFee?: unknown;
108
104
  productFeePaymentTypeLid?: unknown;
109
105
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
110
- numberOfYearsToRepay: string;
111
106
  selectedProduct: string;
112
107
  applicationId?: unknown;
113
108
  pageValidFlag?: unknown;
@@ -126,7 +121,6 @@ declare const ProductModel: mongoose.Model<{
126
121
  tempAppFee?: unknown;
127
122
  productFeePaymentTypeLid?: unknown;
128
123
  }>> & mongoose.FlatRecord<{
129
- numberOfYearsToRepay: string;
130
124
  selectedProduct: string;
131
125
  applicationId?: unknown;
132
126
  pageValidFlag?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"application-product.model.d.ts","sourceRoot":"","sources":["../../applications/application-product.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA0EhC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2C,CAAC;AAC9D,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"application-product.model.d.ts","sourceRoot":"","sources":["../../applications/application-product.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAyEhC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2C,CAAC;AAC9D,eAAe,YAAY,CAAC"}
@@ -4,7 +4,6 @@ const productSchema = new mongoose.Schema({
4
4
  applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true,
5
5
  description: "Unique identifier for the application"
6
6
  },
7
- numberOfYearsToRepay: { type: String, default: 0 },
8
7
  selectedProduct: { type: String, default: "" },
9
8
  lendingTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
10
9
  pageValidFlag: { type: Boolean, get: (value) => (value ? "Yes" : "No") },
@@ -10,6 +10,7 @@ export { default as ApplicationOnboardingModel } from './application-onboarding.
10
10
  export { default as ApplicationRationaleModel } from './application-rationale.model';
11
11
  export { default as ApplicationValuationModel } from './application-valuation.model';
12
12
  export { default as BrokerModel } from './broker.model';
13
+ export { default as ProductModel } from './application-product.model';
13
14
  export { default as ProductFeaturesModel } from './productfeatures.model';
14
15
  export { default as SolicitorModel } from './solicitor.model';
15
16
  export { default as ApplicationDocumentModel } from './application-document.model';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAC,MAAM,kCAAkC,CAAA;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,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AAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC"}
@@ -10,6 +10,7 @@ export { default as ApplicationOnboardingModel } from './application-onboarding.
10
10
  export { default as ApplicationRationaleModel } from './application-rationale.model';
11
11
  export { default as ApplicationValuationModel } from './application-valuation.model';
12
12
  export { default as BrokerModel } from './broker.model';
13
+ export { default as ProductModel } from './application-product.model';
13
14
  export { default as ProductFeaturesModel } from './productfeatures.model';
14
15
  export { default as SolicitorModel } from './solicitor.model';
15
16
  export { default as ApplicationDocumentModel } from './application-document.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",