@dynamatix/gb-schemas 2.3.342 → 2.3.344

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.
Files changed (41) hide show
  1. package/README.md +308 -308
  2. package/dist/applicants/applicant-commitment-creditCard.model.d.ts +24 -24
  3. package/dist/applicants/applicant-commitment-loan.model.d.ts +21 -21
  4. package/dist/applicants/applicant-commitment-mortgage.model.d.ts +6 -6
  5. package/dist/applicants/applicant-commitment-residence.model.d.ts +21 -21
  6. package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +21 -21
  7. package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +21 -21
  8. package/dist/applicants/applicant-income-source.model.d.ts +26 -0
  9. package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
  10. package/dist/applicants/applicant-income.model.d.ts +160 -0
  11. package/dist/applicants/applicant-income.model.d.ts.map +1 -0
  12. package/dist/applicants/applicant-other-income.model.d.ts +85 -0
  13. package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
  14. package/dist/applicants/applicant-welcome-call.model.js +9 -9
  15. package/dist/applications/application-document.model.d.ts +158 -0
  16. package/dist/applications/application-document.model.d.ts.map +1 -0
  17. package/dist/applications/application-euc.model.d.ts +54 -0
  18. package/dist/applications/application-euc.model.d.ts.map +1 -1
  19. package/dist/applications/application-euc.model.js +9 -0
  20. package/dist/applications/application-offer.model.d.ts +36 -0
  21. package/dist/applications/application-offer.model.d.ts.map +1 -1
  22. package/dist/applications/application-offer.model.js +6 -0
  23. package/dist/applications/application-offer.type.d.ts +6 -0
  24. package/dist/applications/application-offer.type.d.ts.map +1 -1
  25. package/dist/applications/application-product.model.d.ts +6 -6
  26. package/dist/applications/document.model.d.ts +158 -0
  27. package/dist/applications/document.model.d.ts.map +1 -0
  28. package/dist/applications/productfeatures.model.d.ts +368 -0
  29. package/dist/applications/productfeatures.model.d.ts.map +1 -0
  30. package/dist/shared/document-type-model.d.ts +48 -0
  31. package/dist/shared/document-type-model.d.ts.map +1 -0
  32. package/package.json +87 -87
  33. package/dist/shared/audit-log.model.d.ts +0 -180
  34. package/dist/shared/audit-log.model.d.ts.map +0 -1
  35. package/dist/shared/audit-log.model.js +0 -43
  36. package/dist/shared/document.model.d.ts +0 -180
  37. package/dist/shared/document.model.d.ts.map +0 -1
  38. package/dist/shared/document.model.js +0 -40
  39. package/dist/shared/queue.model.d.ts +0 -180
  40. package/dist/shared/queue.model.d.ts.map +0 -1
  41. package/dist/shared/queue.model.js +0 -42
@@ -28,39 +28,93 @@
28
28
  /// <reference types="mongoose/types/inferrawdoctype" />
29
29
  import mongoose from "mongoose";
30
30
  declare const ApplicationEucModel: mongoose.Model<{
31
+ result: any;
31
32
  applicationId: mongoose.Types.ObjectId;
32
33
  stressedFinanceRate: number;
33
34
  stressedFinancePayment: number;
34
35
  stressTestSurplusIncome: number;
36
+ minFSCRRequirements: number;
37
+ fscrRequirements: number;
38
+ disposableIncomeRequired: number;
39
+ ftv: number;
40
+ monthlyPayment: number;
41
+ fcr: number;
42
+ fscrAcceptable: string;
43
+ topUpRequired: number;
35
44
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
45
+ result: any;
36
46
  applicationId: mongoose.Types.ObjectId;
37
47
  stressedFinanceRate: number;
38
48
  stressedFinancePayment: number;
39
49
  stressTestSurplusIncome: number;
50
+ minFSCRRequirements: number;
51
+ fscrRequirements: number;
52
+ disposableIncomeRequired: number;
53
+ ftv: number;
54
+ monthlyPayment: number;
55
+ fcr: number;
56
+ fscrAcceptable: string;
57
+ topUpRequired: number;
40
58
  }, {}> & {
59
+ result: any;
41
60
  applicationId: mongoose.Types.ObjectId;
42
61
  stressedFinanceRate: number;
43
62
  stressedFinancePayment: number;
44
63
  stressTestSurplusIncome: number;
64
+ minFSCRRequirements: number;
65
+ fscrRequirements: number;
66
+ disposableIncomeRequired: number;
67
+ ftv: number;
68
+ monthlyPayment: number;
69
+ fcr: number;
70
+ fscrAcceptable: string;
71
+ topUpRequired: number;
45
72
  } & {
46
73
  _id: mongoose.Types.ObjectId;
47
74
  } & {
48
75
  __v: number;
49
76
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
77
+ result: any;
50
78
  applicationId: mongoose.Types.ObjectId;
51
79
  stressedFinanceRate: number;
52
80
  stressedFinancePayment: number;
53
81
  stressTestSurplusIncome: number;
82
+ minFSCRRequirements: number;
83
+ fscrRequirements: number;
84
+ disposableIncomeRequired: number;
85
+ ftv: number;
86
+ monthlyPayment: number;
87
+ fcr: number;
88
+ fscrAcceptable: string;
89
+ topUpRequired: number;
54
90
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
91
+ result: any;
55
92
  applicationId: mongoose.Types.ObjectId;
56
93
  stressedFinanceRate: number;
57
94
  stressedFinancePayment: number;
58
95
  stressTestSurplusIncome: number;
96
+ minFSCRRequirements: number;
97
+ fscrRequirements: number;
98
+ disposableIncomeRequired: number;
99
+ ftv: number;
100
+ monthlyPayment: number;
101
+ fcr: number;
102
+ fscrAcceptable: string;
103
+ topUpRequired: number;
59
104
  }>, {}> & mongoose.FlatRecord<{
105
+ result: any;
60
106
  applicationId: mongoose.Types.ObjectId;
61
107
  stressedFinanceRate: number;
62
108
  stressedFinancePayment: number;
63
109
  stressTestSurplusIncome: number;
110
+ minFSCRRequirements: number;
111
+ fscrRequirements: number;
112
+ disposableIncomeRequired: number;
113
+ ftv: number;
114
+ monthlyPayment: number;
115
+ fcr: number;
116
+ fscrAcceptable: string;
117
+ topUpRequired: number;
64
118
  }> & {
65
119
  _id: mongoose.Types.ObjectId;
66
120
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-euc.model.d.ts","sourceRoot":"","sources":["../../applications/application-euc.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoBhC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"application-euc.model.d.ts","sourceRoot":"","sources":["../../applications/application-euc.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA6BhC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
@@ -5,6 +5,15 @@ const applicationEucSchema = new mongoose.Schema({
5
5
  stressedFinanceRate: { type: Number, default: 0 },
6
6
  stressedFinancePayment: { type: Number, default: 0 },
7
7
  stressTestSurplusIncome: { type: Number, default: 0 },
8
+ minFSCRRequirements: { type: Number, default: 0 },
9
+ fscrRequirements: { type: Number, default: 0 },
10
+ disposableIncomeRequired: { type: Number, default: 0 },
11
+ ftv: { type: Number, default: 0 },
12
+ monthlyPayment: { type: Number, default: 0 },
13
+ fcr: { type: Number, default: 0 },
14
+ fscrAcceptable: { type: String, default: null },
15
+ topUpRequired: { type: Number, default: 0 },
16
+ result: { type: mongoose.Schema.Types.Mixed, default: null }
8
17
  });
9
18
  // Apply workflow plugin to the schema
10
19
  applyWorkflowPlugin(applicationEucSchema, 'applicationeuc');
@@ -34,13 +34,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
34
34
  offerConditionLids: mongoose.Types.ObjectId[];
35
35
  customOfferConditions: string[];
36
36
  isOfferConditionConfirmed: boolean;
37
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
37
38
  offerConditionConfirmedAt: NativeDate;
38
39
  offerGeneratedAt: NativeDate;
40
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
39
41
  isOfferGenerated: boolean;
40
42
  isOfferReviewed: boolean;
43
+ offerReviewedByUserId: mongoose.Types.ObjectId;
44
+ offerReviewedAt: NativeDate;
41
45
  isOfferReviewConfirmed: boolean;
42
46
  isReviewMandateConfirmed: boolean;
43
47
  isOfferIssuedConfirmed: boolean;
48
+ offerIssuedByUserId: mongoose.Types.ObjectId;
49
+ offerIssuedAt: NativeDate;
44
50
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
45
51
  applicationId: mongoose.Types.ObjectId;
46
52
  offerStatusLid: mongoose.Types.ObjectId;
@@ -48,13 +54,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
48
54
  offerConditionLids: mongoose.Types.ObjectId[];
49
55
  customOfferConditions: string[];
50
56
  isOfferConditionConfirmed: boolean;
57
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
51
58
  offerConditionConfirmedAt: NativeDate;
52
59
  offerGeneratedAt: NativeDate;
60
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
53
61
  isOfferGenerated: boolean;
54
62
  isOfferReviewed: boolean;
63
+ offerReviewedByUserId: mongoose.Types.ObjectId;
64
+ offerReviewedAt: NativeDate;
55
65
  isOfferReviewConfirmed: boolean;
56
66
  isReviewMandateConfirmed: boolean;
57
67
  isOfferIssuedConfirmed: boolean;
68
+ offerIssuedByUserId: mongoose.Types.ObjectId;
69
+ offerIssuedAt: NativeDate;
58
70
  }, {}> & {
59
71
  applicationId: mongoose.Types.ObjectId;
60
72
  offerStatusLid: mongoose.Types.ObjectId;
@@ -62,13 +74,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
62
74
  offerConditionLids: mongoose.Types.ObjectId[];
63
75
  customOfferConditions: string[];
64
76
  isOfferConditionConfirmed: boolean;
77
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
65
78
  offerConditionConfirmedAt: NativeDate;
66
79
  offerGeneratedAt: NativeDate;
80
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
67
81
  isOfferGenerated: boolean;
68
82
  isOfferReviewed: boolean;
83
+ offerReviewedByUserId: mongoose.Types.ObjectId;
84
+ offerReviewedAt: NativeDate;
69
85
  isOfferReviewConfirmed: boolean;
70
86
  isReviewMandateConfirmed: boolean;
71
87
  isOfferIssuedConfirmed: boolean;
88
+ offerIssuedByUserId: mongoose.Types.ObjectId;
89
+ offerIssuedAt: NativeDate;
72
90
  } & {
73
91
  _id: mongoose.Types.ObjectId;
74
92
  } & {
@@ -80,13 +98,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
80
98
  offerConditionLids: mongoose.Types.ObjectId[];
81
99
  customOfferConditions: string[];
82
100
  isOfferConditionConfirmed: boolean;
101
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
83
102
  offerConditionConfirmedAt: NativeDate;
84
103
  offerGeneratedAt: NativeDate;
104
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
85
105
  isOfferGenerated: boolean;
86
106
  isOfferReviewed: boolean;
107
+ offerReviewedByUserId: mongoose.Types.ObjectId;
108
+ offerReviewedAt: NativeDate;
87
109
  isOfferReviewConfirmed: boolean;
88
110
  isReviewMandateConfirmed: boolean;
89
111
  isOfferIssuedConfirmed: boolean;
112
+ offerIssuedByUserId: mongoose.Types.ObjectId;
113
+ offerIssuedAt: NativeDate;
90
114
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
91
115
  applicationId: mongoose.Types.ObjectId;
92
116
  offerStatusLid: mongoose.Types.ObjectId;
@@ -94,13 +118,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
94
118
  offerConditionLids: mongoose.Types.ObjectId[];
95
119
  customOfferConditions: string[];
96
120
  isOfferConditionConfirmed: boolean;
121
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
97
122
  offerConditionConfirmedAt: NativeDate;
98
123
  offerGeneratedAt: NativeDate;
124
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
99
125
  isOfferGenerated: boolean;
100
126
  isOfferReviewed: boolean;
127
+ offerReviewedByUserId: mongoose.Types.ObjectId;
128
+ offerReviewedAt: NativeDate;
101
129
  isOfferReviewConfirmed: boolean;
102
130
  isReviewMandateConfirmed: boolean;
103
131
  isOfferIssuedConfirmed: boolean;
132
+ offerIssuedByUserId: mongoose.Types.ObjectId;
133
+ offerIssuedAt: NativeDate;
104
134
  }>, {}> & mongoose.FlatRecord<{
105
135
  applicationId: mongoose.Types.ObjectId;
106
136
  offerStatusLid: mongoose.Types.ObjectId;
@@ -108,13 +138,19 @@ declare const ApplicationOfferModel: mongoose.Model<{
108
138
  offerConditionLids: mongoose.Types.ObjectId[];
109
139
  customOfferConditions: string[];
110
140
  isOfferConditionConfirmed: boolean;
141
+ offerConditionConfirmedByUserId: mongoose.Types.ObjectId;
111
142
  offerConditionConfirmedAt: NativeDate;
112
143
  offerGeneratedAt: NativeDate;
144
+ offerGeneratedByUserId: mongoose.Types.ObjectId;
113
145
  isOfferGenerated: boolean;
114
146
  isOfferReviewed: boolean;
147
+ offerReviewedByUserId: mongoose.Types.ObjectId;
148
+ offerReviewedAt: NativeDate;
115
149
  isOfferReviewConfirmed: boolean;
116
150
  isReviewMandateConfirmed: boolean;
117
151
  isOfferIssuedConfirmed: boolean;
152
+ offerIssuedByUserId: mongoose.Types.ObjectId;
153
+ offerIssuedAt: NativeDate;
118
154
  }> & {
119
155
  _id: mongoose.Types.ObjectId;
120
156
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-offer.model.d.ts","sourceRoot":"","sources":["../../applications/application-offer.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+ChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC;AAC9E,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"application-offer.model.d.ts","sourceRoot":"","sources":["../../applications/application-offer.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqDhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC;AAC9E,eAAe,qBAAqB,CAAC"}
@@ -24,17 +24,23 @@ const offerSchema = new mongoose.Schema({
24
24
  description: "Array of strings for custom offer conditions",
25
25
  },
26
26
  isOfferConditionConfirmed: { type: Boolean, default: false },
27
+ offerConditionConfirmedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
27
28
  offerConditionConfirmedAt: { type: Date, default: null }, // if offer generated date is after condition confirm date, then we can have regeneration of offer
28
29
  // Offer generation section
29
30
  offerGeneratedAt: { type: Date, default: null },
31
+ offerGeneratedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
30
32
  isOfferGenerated: { type: Boolean, default: false },
31
33
  // Offer review section
32
34
  isOfferReviewed: { type: Boolean, default: false },
35
+ offerReviewedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
36
+ offerReviewedAt: { type: Date, default: null },
33
37
  isOfferReviewConfirmed: { type: Boolean, default: false },
34
38
  // Review mandate section
35
39
  isReviewMandateConfirmed: { type: Boolean, default: false },
36
40
  // Offer issued section
37
41
  isOfferIssuedConfirmed: { type: Boolean, default: false },
42
+ offerIssuedByUserId: { type: mongoose.Schema.Types.ObjectId, ref: "User", default: null },
43
+ offerIssuedAt: { type: Date, default: null },
38
44
  });
39
45
  // Apply audit middleware to the schema
40
46
  applyAuditMiddleware(offerSchema, "ApplicationOffer");
@@ -35,12 +35,18 @@ export default interface IApplicationOffer extends IBaseType {
35
35
  offerConditionLids?: Types.ObjectId[] | null;
36
36
  customOfferConditions?: string[] | null;
37
37
  isOfferConditionConfirmed: boolean;
38
+ offerConditionConfirmedByUserId?: Types.ObjectId | null;
38
39
  offerConditionConfirmedAt?: Date | null;
39
40
  offerGeneratedAt?: Date | null;
41
+ offerGeneratedByUserId?: Types.ObjectId | null;
40
42
  isOfferGenerated: boolean;
41
43
  isOfferReviewed: boolean;
44
+ offerReviewedByUserId?: Types.ObjectId | null;
45
+ offerReviewedAt?: Date | null;
42
46
  isOfferReviewConfirmed: boolean;
43
47
  isReviewMandateConfirmed: boolean;
44
48
  isOfferIssuedConfirmed: boolean;
49
+ offerIssuedByUserId?: Types.ObjectId | null;
50
+ offerIssuedAt?: Date | null;
45
51
  }
46
52
  //# sourceMappingURL=application-offer.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"application-offer.type.d.ts","sourceRoot":"","sources":["../../applications/application-offer.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,iBAAkB,SAAQ,SAAS;IAC1D,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC9B,cAAc,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAEzC,kBAAkB,CAAC,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxC,yBAAyB,EAAE,OAAO,CAAC;IACnC,yBAAyB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExC,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAE1B,eAAe,EAAE,OAAO,CAAC;IACzB,sBAAsB,EAAE,OAAO,CAAC;IAEhC,wBAAwB,EAAE,OAAO,CAAC;IAElC,sBAAsB,EAAE,OAAO,CAAC;CACjC"}
1
+ {"version":3,"file":"application-offer.type.d.ts","sourceRoot":"","sources":["../../applications/application-offer.type.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,iBAAkB,SAAQ,SAAS;IAC1D,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC9B,cAAc,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAEzC,kBAAkB,CAAC,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxC,yBAAyB,EAAE,OAAO,CAAC;IACnC,+BAA+B,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACxD,yBAAyB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAExC,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC/C,gBAAgB,EAAE,OAAO,CAAC;IAE1B,eAAe,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC9C,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,sBAAsB,EAAE,OAAO,CAAC;IAEhC,wBAAwB,EAAE,OAAO,CAAC;IAElC,sBAAsB,EAAE,OAAO,CAAC;IAChC,mBAAmB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC5C,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CAC7B"}
@@ -49,6 +49,7 @@ declare const ProductModel: mongoose.Model<{
49
49
  }>;
50
50
  applicationId?: unknown;
51
51
  pageValidFlag?: unknown;
52
+ fcr?: unknown;
52
53
  topSlicing?: unknown;
53
54
  repaymentTypeLid?: unknown;
54
55
  lendingTypeLid?: unknown;
@@ -60,7 +61,6 @@ declare const ProductModel: mongoose.Model<{
60
61
  clubNetworkNameLid?: unknown;
61
62
  introducer?: unknown;
62
63
  bdm?: unknown;
63
- fcr?: unknown;
64
64
  fscr?: unknown;
65
65
  topUpAmount?: unknown;
66
66
  tempAppFee?: unknown;
@@ -89,6 +89,7 @@ declare const ProductModel: mongoose.Model<{
89
89
  }>;
90
90
  applicationId?: unknown;
91
91
  pageValidFlag?: unknown;
92
+ fcr?: unknown;
92
93
  topSlicing?: unknown;
93
94
  repaymentTypeLid?: unknown;
94
95
  lendingTypeLid?: unknown;
@@ -100,7 +101,6 @@ declare const ProductModel: mongoose.Model<{
100
101
  clubNetworkNameLid?: unknown;
101
102
  introducer?: unknown;
102
103
  bdm?: unknown;
103
- fcr?: unknown;
104
104
  fscr?: unknown;
105
105
  topUpAmount?: unknown;
106
106
  tempAppFee?: unknown;
@@ -129,6 +129,7 @@ declare const ProductModel: mongoose.Model<{
129
129
  }>;
130
130
  applicationId?: unknown;
131
131
  pageValidFlag?: unknown;
132
+ fcr?: unknown;
132
133
  topSlicing?: unknown;
133
134
  repaymentTypeLid?: unknown;
134
135
  lendingTypeLid?: unknown;
@@ -140,7 +141,6 @@ declare const ProductModel: mongoose.Model<{
140
141
  clubNetworkNameLid?: unknown;
141
142
  introducer?: unknown;
142
143
  bdm?: unknown;
143
- fcr?: unknown;
144
144
  fscr?: unknown;
145
145
  topUpAmount?: unknown;
146
146
  tempAppFee?: unknown;
@@ -183,6 +183,7 @@ declare const ProductModel: mongoose.Model<{
183
183
  }>;
184
184
  applicationId?: unknown;
185
185
  pageValidFlag?: unknown;
186
+ fcr?: unknown;
186
187
  topSlicing?: unknown;
187
188
  repaymentTypeLid?: unknown;
188
189
  lendingTypeLid?: unknown;
@@ -194,7 +195,6 @@ declare const ProductModel: mongoose.Model<{
194
195
  clubNetworkNameLid?: unknown;
195
196
  introducer?: unknown;
196
197
  bdm?: unknown;
197
- fcr?: unknown;
198
198
  fscr?: unknown;
199
199
  topUpAmount?: unknown;
200
200
  tempAppFee?: unknown;
@@ -223,6 +223,7 @@ declare const ProductModel: mongoose.Model<{
223
223
  }>;
224
224
  applicationId?: unknown;
225
225
  pageValidFlag?: unknown;
226
+ fcr?: unknown;
226
227
  topSlicing?: unknown;
227
228
  repaymentTypeLid?: unknown;
228
229
  lendingTypeLid?: unknown;
@@ -234,7 +235,6 @@ declare const ProductModel: mongoose.Model<{
234
235
  clubNetworkNameLid?: unknown;
235
236
  introducer?: unknown;
236
237
  bdm?: unknown;
237
- fcr?: unknown;
238
238
  fscr?: unknown;
239
239
  topUpAmount?: unknown;
240
240
  tempAppFee?: unknown;
@@ -263,6 +263,7 @@ declare const ProductModel: mongoose.Model<{
263
263
  }>;
264
264
  applicationId?: unknown;
265
265
  pageValidFlag?: unknown;
266
+ fcr?: unknown;
266
267
  topSlicing?: unknown;
267
268
  repaymentTypeLid?: unknown;
268
269
  lendingTypeLid?: unknown;
@@ -274,7 +275,6 @@ declare const ProductModel: mongoose.Model<{
274
275
  clubNetworkNameLid?: unknown;
275
276
  introducer?: unknown;
276
277
  bdm?: unknown;
277
- fcr?: unknown;
278
278
  fscr?: unknown;
279
279
  topUpAmount?: unknown;
280
280
  tempAppFee?: unknown;
@@ -0,0 +1,158 @@
1
+ import mongoose from "mongoose";
2
+ declare const DocumentModel: mongoose.Model<{
3
+ createdAt: NativeDate;
4
+ updatedAt: NativeDate;
5
+ } & {
6
+ documentId: string;
7
+ signers: any[];
8
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
9
+ data?: string | null | undefined;
10
+ owningEntityId?: string | null | undefined;
11
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
12
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
13
+ fileName?: string | null | undefined;
14
+ contentType?: string | null | undefined;
15
+ created?: string | null | undefined;
16
+ createdBy?: string | null | undefined;
17
+ isGenerated?: string | null | undefined;
18
+ envelopeId?: string | null | undefined;
19
+ documentType?: {
20
+ data?: any;
21
+ value?: string | null | undefined;
22
+ documentTypeId?: string | null | undefined;
23
+ displayName?: string | null | undefined;
24
+ } | null | undefined;
25
+ documentUrl?: string | null | undefined;
26
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
27
+ createdAt: NativeDate;
28
+ updatedAt: NativeDate;
29
+ } & {
30
+ documentId: string;
31
+ signers: any[];
32
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
33
+ data?: string | null | undefined;
34
+ owningEntityId?: string | null | undefined;
35
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
36
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
37
+ fileName?: string | null | undefined;
38
+ contentType?: string | null | undefined;
39
+ created?: string | null | undefined;
40
+ createdBy?: string | null | undefined;
41
+ isGenerated?: string | null | undefined;
42
+ envelopeId?: string | null | undefined;
43
+ documentType?: {
44
+ data?: any;
45
+ value?: string | null | undefined;
46
+ documentTypeId?: string | null | undefined;
47
+ displayName?: string | null | undefined;
48
+ } | null | undefined;
49
+ documentUrl?: string | null | undefined;
50
+ }> & {
51
+ createdAt: NativeDate;
52
+ updatedAt: NativeDate;
53
+ } & {
54
+ documentId: string;
55
+ signers: any[];
56
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
57
+ data?: string | null | undefined;
58
+ owningEntityId?: string | null | undefined;
59
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
60
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
61
+ fileName?: string | null | undefined;
62
+ contentType?: string | null | undefined;
63
+ created?: string | null | undefined;
64
+ createdBy?: string | null | undefined;
65
+ isGenerated?: string | null | undefined;
66
+ envelopeId?: string | null | undefined;
67
+ documentType?: {
68
+ data?: any;
69
+ value?: string | null | undefined;
70
+ documentTypeId?: string | null | undefined;
71
+ displayName?: string | null | undefined;
72
+ } | null | undefined;
73
+ documentUrl?: string | null | undefined;
74
+ } & {
75
+ _id: mongoose.Types.ObjectId;
76
+ } & {
77
+ __v: number;
78
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
79
+ timestamps: true;
80
+ }, {
81
+ createdAt: NativeDate;
82
+ updatedAt: NativeDate;
83
+ } & {
84
+ documentId: string;
85
+ signers: any[];
86
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
87
+ data?: string | null | undefined;
88
+ owningEntityId?: string | null | undefined;
89
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
90
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
91
+ fileName?: string | null | undefined;
92
+ contentType?: string | null | undefined;
93
+ created?: string | null | undefined;
94
+ createdBy?: string | null | undefined;
95
+ isGenerated?: string | null | undefined;
96
+ envelopeId?: string | null | undefined;
97
+ documentType?: {
98
+ data?: any;
99
+ value?: string | null | undefined;
100
+ documentTypeId?: string | null | undefined;
101
+ displayName?: string | null | undefined;
102
+ } | null | undefined;
103
+ documentUrl?: string | null | undefined;
104
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
105
+ createdAt: NativeDate;
106
+ updatedAt: NativeDate;
107
+ } & {
108
+ documentId: string;
109
+ signers: any[];
110
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
111
+ data?: string | null | undefined;
112
+ owningEntityId?: string | null | undefined;
113
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
114
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
115
+ fileName?: string | null | undefined;
116
+ contentType?: string | null | undefined;
117
+ created?: string | null | undefined;
118
+ createdBy?: string | null | undefined;
119
+ isGenerated?: string | null | undefined;
120
+ envelopeId?: string | null | undefined;
121
+ documentType?: {
122
+ data?: any;
123
+ value?: string | null | undefined;
124
+ documentTypeId?: string | null | undefined;
125
+ displayName?: string | null | undefined;
126
+ } | null | undefined;
127
+ documentUrl?: string | null | undefined;
128
+ }>> & mongoose.FlatRecord<{
129
+ createdAt: NativeDate;
130
+ updatedAt: NativeDate;
131
+ } & {
132
+ documentId: string;
133
+ signers: any[];
134
+ applicationId?: mongoose.Types.ObjectId | null | undefined;
135
+ data?: string | null | undefined;
136
+ owningEntityId?: string | null | undefined;
137
+ documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
138
+ documentTypeId?: mongoose.Types.ObjectId | null | undefined;
139
+ fileName?: string | null | undefined;
140
+ contentType?: string | null | undefined;
141
+ created?: string | null | undefined;
142
+ createdBy?: string | null | undefined;
143
+ isGenerated?: string | null | undefined;
144
+ envelopeId?: string | null | undefined;
145
+ documentType?: {
146
+ data?: any;
147
+ value?: string | null | undefined;
148
+ documentTypeId?: string | null | undefined;
149
+ displayName?: string | null | undefined;
150
+ } | null | undefined;
151
+ documentUrl?: string | null | undefined;
152
+ }> & {
153
+ _id: mongoose.Types.ObjectId;
154
+ } & {
155
+ __v: number;
156
+ }>>;
157
+ export default DocumentModel;
158
+ //# sourceMappingURL=document.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}