@dynamatix/gb-schemas 2.3.237 → 2.3.238
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.
- package/README.md +309 -0
- package/dist/applicants/applicant-additional-income.model.d.ts +13 -12
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-additional-income.model.js +3 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +19 -18
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +3 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts +19 -18
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +3 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +19 -18
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +3 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts +31 -30
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-residence.model.js +3 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +19 -18
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +3 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +19 -18
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +3 -0
- package/dist/applicants/applicant-credit-data.model.d.ts +3 -3
- package/dist/applicants/applicant-credit-report.model.d.ts +3754 -0
- package/dist/applicants/{applicant-income.model.d.ts.map → applicant-credit-report.model.d.ts.map} +1 -1
- package/dist/applicants/applicant-credit-report.model.js +116 -0
- package/dist/applicants/applicant-credit-report.type.d.ts +140 -0
- package/dist/applicants/applicant-credit-report.type.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-report.type.js +1 -0
- package/dist/applicants/applicant-employment-income.model.d.ts +7 -6
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.js +3 -0
- package/dist/applicants/applicant-employment.model.d.ts +88 -87
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +19 -19
- package/dist/applicants/applicant-expenditure.model.d.ts +7 -0
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +77 -0
- package/dist/applicants/applicant-expenditure.type.d.ts +42 -0
- package/dist/applicants/applicant-expenditure.type.d.ts.map +1 -0
- package/dist/applicants/applicant-expenditure.type.js +1 -0
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-settings.model.js +3 -0
- package/dist/applicants/applicant-income-settings.type.d.ts +40 -0
- package/dist/applicants/applicant-income-settings.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-settings.type.js +1 -0
- package/dist/applicants/applicant-income-summary.model.d.ts +73 -72
- package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-summary.model.js +3 -0
- package/dist/applicants/applicant-income-summary.type.d.ts +60 -0
- package/dist/applicants/applicant-income-summary.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.type.js +1 -0
- package/dist/applicants/applicant-pension-income.model.d.ts +19 -18
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-pension-income.model.js +3 -0
- package/dist/applicants/applicant-pension-income.type.d.ts +40 -0
- package/dist/applicants/applicant-pension-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.type.js +1 -0
- package/dist/applicants/applicant-property-income.model.d.ts +37 -36
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.js +3 -0
- package/dist/applicants/applicant-self-employed-income.model.d.ts +7 -6
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.js +3 -0
- package/dist/applicants/applicant-self-employed-income.type.d.ts +37 -0
- package/dist/applicants/applicant-self-employed-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employed-income.type.js +1 -0
- package/dist/applicants/applicant-self-employment.model.d.ts +6 -6
- package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employment.model.js +4 -1
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +7 -6
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.js +3 -0
- package/dist/applicants/applicant-sole-trader-income.type.d.ts +37 -0
- package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-sole-trader-income.type.js +1 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +19 -18
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +3 -0
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts +39 -0
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +1 -0
- package/dist/applicants/applicant-uk-tax-credits.type.js +1 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts +288 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -0
- package/dist/applicants/applicant-welcome-call.model.js +263 -0
- package/dist/applicants/applicant-welcome-call.type.d.ts +66 -0
- package/dist/applicants/applicant-welcome-call.type.d.ts.map +1 -0
- package/dist/applicants/applicant-welcome-call.type.js +1 -0
- package/dist/applicants/applicant.model.d.ts +49 -42
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +5 -1
- package/dist/applicants/applicant.type.d.ts +158 -0
- package/dist/applicants/applicant.type.d.ts.map +1 -0
- package/dist/applicants/applicant.type.js +1 -0
- package/dist/applicants/index.d.ts +14 -0
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +2 -0
- package/dist/applications/application-audit.model.d.ts +6 -6
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-audit.model.js +3 -0
- package/dist/applications/application-checklist-Item.model.d.ts +6 -0
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.js +4 -0
- package/dist/applications/application-company-model.d.ts +64 -57
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-company-model.js +1 -0
- package/dist/applications/application-direct-debit.model.d.ts +29 -27
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +3 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -1
- package/dist/applications/application-euc.model.js +3 -0
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.js +3 -0
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.js +3 -0
- package/dist/applications/application-mortgage.model.d.ts +1 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +3 -0
- package/dist/applications/application-mortgage.type.d.ts +76 -0
- package/dist/applications/application-mortgage.type.d.ts.map +1 -0
- package/dist/applications/application-mortgage.type.js +1 -0
- package/dist/applications/application-note.model.d.ts +36 -24
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.js +12 -3
- package/dist/applications/application-note.type.d.ts +55 -0
- package/dist/applications/application-note.type.d.ts.map +1 -0
- package/dist/applications/application-note.type.js +1 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.js +3 -0
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.js +3 -0
- package/dist/applications/application-product.model.d.ts +77 -13
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +16 -3
- package/dist/applications/application-product.type.d.ts +58 -0
- package/dist/applications/application-product.type.d.ts.map +1 -0
- package/dist/applications/application-product.type.js +1 -0
- package/dist/applications/application-productfeatures.model.d.ts +12 -6
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-productfeatures.model.js +5 -1
- package/dist/applications/application-productfeatures.type.d.ts +125 -0
- package/dist/applications/application-productfeatures.type.d.ts.map +1 -0
- package/dist/applications/application-productfeatures.type.js +1 -0
- package/dist/applications/application-rationale.model.d.ts +6 -12
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.js +11 -20
- package/dist/applications/application-rationale.type.d.ts +7 -7
- package/dist/applications/application-rationale.type.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.js +3 -0
- package/dist/applications/application-valuation-report.model.d.ts +1246 -0
- package/dist/applications/application-valuation-report.model.d.ts.map +1 -0
- package/dist/applications/application-valuation-report.model.js +269 -0
- package/dist/applications/application-valuation-report.type.d.ts +108 -0
- package/dist/applications/application-valuation-report.type.d.ts.map +1 -0
- package/dist/applications/application-valuation-report.type.js +1 -0
- package/dist/applications/application-valuation.model.d.ts +695 -18
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.js +33 -7
- package/dist/applications/application-valuation.type.d.ts +54 -0
- package/dist/applications/application-valuation.type.d.ts.map +1 -0
- package/dist/applications/application-valuation.type.js +1 -0
- package/dist/applications/application.model.d.ts +36 -30
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +17 -4
- package/dist/applications/applications-task.model.d.ts +171 -67
- package/dist/applications/applications-task.model.d.ts.map +1 -1
- package/dist/applications/applications-task.model.js +36 -45
- package/dist/applications/applications-task.type.d.ts +57 -0
- package/dist/applications/applications-task.type.d.ts.map +1 -0
- package/dist/applications/applications-task.type.js +1 -0
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/broker.model.js +3 -0
- package/dist/applications/index.d.ts +10 -3
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +2 -3
- package/dist/applications/solicitor.model.d.ts +2 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/product-catalogues/index.d.ts +3 -0
- package/dist/product-catalogues/index.d.ts.map +1 -1
- package/dist/product-catalogues/product-catalogue.type.d.ts +15 -0
- package/dist/product-catalogues/product-catalogue.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-catalogue.type.js +1 -0
- package/dist/product-catalogues/product-definitions.type.d.ts +53 -0
- package/dist/product-catalogues/product-definitions.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-definitions.type.js +1 -0
- package/dist/product-catalogues/product-variant.type.d.ts +38 -0
- package/dist/product-catalogues/product-variant.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-variant.type.js +1 -0
- package/dist/properties/property.model.d.ts +52 -51
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +1 -2
- package/dist/properties/security.model.d.ts +6 -0
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/properties/security.model.js +1 -0
- package/dist/shared/alert.model.d.ts +12 -12
- package/dist/shared/api-log.model.d.ts +118 -0
- package/dist/shared/api-log.model.d.ts.map +1 -0
- package/dist/shared/api-log.model.js +21 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts +6 -6
- package/dist/shared/checklist.model.d.ts +6 -6
- package/dist/shared/index.d.ts +5 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +4 -1
- package/dist/shared/job-setting.model.d.ts +6 -6
- package/dist/shared/lookup-group.model.d.ts +25 -25
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.js +3 -0
- package/dist/shared/schema-doc.model.d.ts +6 -6
- package/dist/shared/system-parameter.model.d.ts +6 -6
- package/dist/shared/task-document.model.d.ts +6 -6
- package/dist/shared/task.model.d.ts +6 -6
- package/dist/shared/{document-type-model.d.ts → webhook-event.model.d.ts} +6 -45
- package/dist/shared/webhook-event.model.d.ts.map +1 -0
- package/dist/shared/webhook-event.model.js +53 -0
- package/dist/shared/webhook-event.type.d.ts +15 -0
- package/dist/shared/webhook-event.type.d.ts.map +1 -0
- package/dist/shared/webhook-event.type.js +1 -0
- package/dist/shared/workflow-trigger.model.d.ts +32 -0
- package/dist/shared/workflow-trigger.model.d.ts.map +1 -0
- package/dist/shared/workflow-trigger.model.js +45 -0
- package/dist/shared/workflow-trigger.type.d.ts +59 -0
- package/dist/shared/workflow-trigger.type.d.ts.map +1 -0
- package/dist/shared/workflow-trigger.type.js +1 -0
- package/dist/shared/workflow.init.d.ts +21 -0
- package/dist/shared/workflow.init.d.ts.map +1 -0
- package/dist/shared/workflow.init.js +41 -0
- package/dist/shared/workflow.middleware.d.ts +107 -0
- package/dist/shared/workflow.middleware.d.ts.map +1 -0
- package/dist/shared/workflow.middleware.js +230 -0
- package/dist/shared/workflow.plugin.d.ts +46 -0
- package/dist/shared/workflow.plugin.d.ts.map +1 -0
- package/dist/shared/workflow.plugin.js +102 -0
- package/dist/shared/workflow.service.d.ts +39 -0
- package/dist/shared/workflow.service.d.ts.map +1 -0
- package/dist/shared/workflow.service.js +115 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/package.json +14 -3
- package/dist/applicants/applicant-income.model.d.ts +0 -2558
- package/dist/applicants/applicant-income.model.js +0 -82
- package/dist/applications/application-document.model.d.ts +0 -186
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.js +0 -35
- package/dist/applications/document.model.d.ts +0 -186
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/document.model.js +0 -35
- package/dist/shared/document-type-model.d.ts.map +0 -1
- package/dist/shared/document-type-model.js +0 -10
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
2
3
|
const applicationAuditSchema = new mongoose.Schema({
|
|
3
4
|
auditId: {
|
|
4
5
|
type: String,
|
|
@@ -38,5 +39,7 @@ const applicationAuditSchema = new mongoose.Schema({
|
|
|
38
39
|
required: true
|
|
39
40
|
}
|
|
40
41
|
}, { timestamps: true });
|
|
42
|
+
// Apply workflow plugin to the schema
|
|
43
|
+
applyWorkflowPlugin(applicationAuditSchema, 'applicationaudit');
|
|
41
44
|
const ApplicationAuditModel = mongoose.model('ApplicationAudit', applicationAuditSchema);
|
|
42
45
|
export default ApplicationAuditModel;
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
29
|
import mongoose from "mongoose";
|
|
30
30
|
declare const ApplicationCheckListModel: mongoose.Model<{
|
|
31
|
+
applicationId: mongoose.Types.ObjectId;
|
|
31
32
|
additionalOfferConditions: string;
|
|
32
33
|
appFormSignedNotes: string;
|
|
33
34
|
buildingInsuranceInsurerName: string;
|
|
@@ -69,6 +70,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
69
70
|
valuationRequestedDate?: string | null | undefined;
|
|
70
71
|
valuationScheduledDate?: string | null | undefined;
|
|
71
72
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
73
|
+
applicationId: mongoose.Types.ObjectId;
|
|
72
74
|
additionalOfferConditions: string;
|
|
73
75
|
appFormSignedNotes: string;
|
|
74
76
|
buildingInsuranceInsurerName: string;
|
|
@@ -110,6 +112,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
110
112
|
valuationRequestedDate?: string | null | undefined;
|
|
111
113
|
valuationScheduledDate?: string | null | undefined;
|
|
112
114
|
}, {}> & {
|
|
115
|
+
applicationId: mongoose.Types.ObjectId;
|
|
113
116
|
additionalOfferConditions: string;
|
|
114
117
|
appFormSignedNotes: string;
|
|
115
118
|
buildingInsuranceInsurerName: string;
|
|
@@ -155,6 +158,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
155
158
|
} & {
|
|
156
159
|
__v: number;
|
|
157
160
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
161
|
+
applicationId: mongoose.Types.ObjectId;
|
|
158
162
|
additionalOfferConditions: string;
|
|
159
163
|
appFormSignedNotes: string;
|
|
160
164
|
buildingInsuranceInsurerName: string;
|
|
@@ -196,6 +200,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
196
200
|
valuationRequestedDate?: string | null | undefined;
|
|
197
201
|
valuationScheduledDate?: string | null | undefined;
|
|
198
202
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
203
|
+
applicationId: mongoose.Types.ObjectId;
|
|
199
204
|
additionalOfferConditions: string;
|
|
200
205
|
appFormSignedNotes: string;
|
|
201
206
|
buildingInsuranceInsurerName: string;
|
|
@@ -237,6 +242,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
237
242
|
valuationRequestedDate?: string | null | undefined;
|
|
238
243
|
valuationScheduledDate?: string | null | undefined;
|
|
239
244
|
}>, {}> & mongoose.FlatRecord<{
|
|
245
|
+
applicationId: mongoose.Types.ObjectId;
|
|
240
246
|
additionalOfferConditions: string;
|
|
241
247
|
appFormSignedNotes: string;
|
|
242
248
|
buildingInsuranceInsurerName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-checklist-Item.model.d.ts","sourceRoot":"","sources":["../../applications/application-checklist-Item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-checklist-Item.model.d.ts","sourceRoot":"","sources":["../../applications/application-checklist-Item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAuDhC,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8D,CAAC;AAC9F,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
2
3
|
const checkListItemSchema = new mongoose.Schema({
|
|
4
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
3
5
|
additionalOfferConditions: { type: String, default: "" },
|
|
4
6
|
appFormSignedNotes: { type: String, default: "" },
|
|
5
7
|
applicationCompletionDate: { type: String },
|
|
@@ -41,5 +43,7 @@ const checkListItemSchema = new mongoose.Schema({
|
|
|
41
43
|
valuationScheduledDate: { type: String },
|
|
42
44
|
valuationSurveyorDetails: { type: String, default: "" }
|
|
43
45
|
});
|
|
46
|
+
// Apply workflow plugin to the schema
|
|
47
|
+
applyWorkflowPlugin(checkListItemSchema, 'applicationchecklist');
|
|
44
48
|
const ApplicationCheckListModel = mongoose.model("ApplicationCheckList", checkListItemSchema);
|
|
45
49
|
export default ApplicationCheckListModel;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
1
2
|
/// <reference path="../value-objects/account-number.d.ts" />
|
|
2
3
|
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
4
|
/// <reference types="mongoose/types/aggregate" />
|
|
@@ -39,13 +40,12 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
39
40
|
[x: string]: unknown;
|
|
40
41
|
}> | unknown[];
|
|
41
42
|
sicCodes: unknown[];
|
|
42
|
-
applicationId?: unknown;
|
|
43
43
|
createdAt?: {
|
|
44
44
|
toJSON?: {} | null | undefined;
|
|
45
|
+
valueOf: {} | null;
|
|
46
|
+
toString: {} | null;
|
|
47
|
+
toLocaleString: {} | null;
|
|
45
48
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
46
|
-
toString?: {} | null | undefined;
|
|
47
|
-
toLocaleString?: {} | null | undefined;
|
|
48
|
-
valueOf?: {} | null | undefined;
|
|
49
49
|
toDateString?: {} | null | undefined;
|
|
50
50
|
toTimeString?: {} | null | undefined;
|
|
51
51
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -89,10 +89,10 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
89
89
|
} | null | undefined;
|
|
90
90
|
updatedAt?: {
|
|
91
91
|
toJSON?: {} | null | undefined;
|
|
92
|
+
valueOf: {} | null;
|
|
93
|
+
toString: {} | null;
|
|
94
|
+
toLocaleString: {} | null;
|
|
92
95
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
93
|
-
toString?: {} | null | undefined;
|
|
94
|
-
toLocaleString?: {} | null | undefined;
|
|
95
|
-
valueOf?: {} | null | undefined;
|
|
96
96
|
toDateString?: {} | null | undefined;
|
|
97
97
|
toTimeString?: {} | null | undefined;
|
|
98
98
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -134,6 +134,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
134
134
|
toISOString?: {} | null | undefined;
|
|
135
135
|
getVarDate?: {} | null | undefined;
|
|
136
136
|
} | null | undefined;
|
|
137
|
+
applicationId?: unknown;
|
|
137
138
|
tradingSince?: unknown;
|
|
138
139
|
yearEnd?: unknown;
|
|
139
140
|
turnoverYear1?: {
|
|
@@ -159,14 +160,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
159
160
|
} | null | undefined;
|
|
160
161
|
set?: {} | null | undefined;
|
|
161
162
|
validate?: {} | null | undefined;
|
|
163
|
+
index?: {} | null | undefined;
|
|
162
164
|
default?: {} | null | undefined;
|
|
163
165
|
text?: {} | null | undefined;
|
|
164
166
|
unique?: {} | null | undefined;
|
|
165
|
-
index?: {} | null | undefined;
|
|
166
167
|
sparse?: {} | null | undefined;
|
|
168
|
+
cast?: {} | null | undefined;
|
|
167
169
|
required?: {} | null | undefined;
|
|
168
170
|
ref?: {} | null | undefined;
|
|
169
|
-
cast?: {} | null | undefined;
|
|
170
171
|
select?: {} | null | undefined;
|
|
171
172
|
immutable?: {} | null | undefined;
|
|
172
173
|
transform?: {} | null | undefined;
|
|
@@ -207,14 +208,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
207
208
|
} | null | undefined;
|
|
208
209
|
set?: {} | null | undefined;
|
|
209
210
|
validate?: {} | null | undefined;
|
|
211
|
+
index?: {} | null | undefined;
|
|
210
212
|
default?: {} | null | undefined;
|
|
211
213
|
text?: {} | null | undefined;
|
|
212
214
|
unique?: {} | null | undefined;
|
|
213
|
-
index?: {} | null | undefined;
|
|
214
215
|
sparse?: {} | null | undefined;
|
|
216
|
+
cast?: {} | null | undefined;
|
|
215
217
|
required?: {} | null | undefined;
|
|
216
218
|
ref?: {} | null | undefined;
|
|
217
|
-
cast?: {} | null | undefined;
|
|
218
219
|
select?: {} | null | undefined;
|
|
219
220
|
immutable?: {} | null | undefined;
|
|
220
221
|
transform?: {} | null | undefined;
|
|
@@ -255,14 +256,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
255
256
|
} | null | undefined;
|
|
256
257
|
set?: {} | null | undefined;
|
|
257
258
|
validate?: {} | null | undefined;
|
|
259
|
+
index?: {} | null | undefined;
|
|
258
260
|
default?: {} | null | undefined;
|
|
259
261
|
text?: {} | null | undefined;
|
|
260
262
|
unique?: {} | null | undefined;
|
|
261
|
-
index?: {} | null | undefined;
|
|
262
263
|
sparse?: {} | null | undefined;
|
|
264
|
+
cast?: {} | null | undefined;
|
|
263
265
|
required?: {} | null | undefined;
|
|
264
266
|
ref?: {} | null | undefined;
|
|
265
|
-
cast?: {} | null | undefined;
|
|
266
267
|
select?: {} | null | undefined;
|
|
267
268
|
immutable?: {} | null | undefined;
|
|
268
269
|
transform?: {} | null | undefined;
|
|
@@ -303,14 +304,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
303
304
|
} | null | undefined;
|
|
304
305
|
set?: {} | null | undefined;
|
|
305
306
|
validate?: {} | null | undefined;
|
|
307
|
+
index?: {} | null | undefined;
|
|
306
308
|
default?: {} | null | undefined;
|
|
307
309
|
text?: {} | null | undefined;
|
|
308
310
|
unique?: {} | null | undefined;
|
|
309
|
-
index?: {} | null | undefined;
|
|
310
311
|
sparse?: {} | null | undefined;
|
|
312
|
+
cast?: {} | null | undefined;
|
|
311
313
|
required?: {} | null | undefined;
|
|
312
314
|
ref?: {} | null | undefined;
|
|
313
|
-
cast?: {} | null | undefined;
|
|
314
315
|
select?: {} | null | undefined;
|
|
315
316
|
immutable?: {} | null | undefined;
|
|
316
317
|
transform?: {} | null | undefined;
|
|
@@ -351,14 +352,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
351
352
|
} | null | undefined;
|
|
352
353
|
set?: {} | null | undefined;
|
|
353
354
|
validate?: {} | null | undefined;
|
|
355
|
+
index?: {} | null | undefined;
|
|
354
356
|
default?: {} | null | undefined;
|
|
355
357
|
text?: {} | null | undefined;
|
|
356
358
|
unique?: {} | null | undefined;
|
|
357
|
-
index?: {} | null | undefined;
|
|
358
359
|
sparse?: {} | null | undefined;
|
|
360
|
+
cast?: {} | null | undefined;
|
|
359
361
|
required?: {} | null | undefined;
|
|
360
362
|
ref?: {} | null | undefined;
|
|
361
|
-
cast?: {} | null | undefined;
|
|
362
363
|
select?: {} | null | undefined;
|
|
363
364
|
immutable?: {} | null | undefined;
|
|
364
365
|
transform?: {} | null | undefined;
|
|
@@ -399,14 +400,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
399
400
|
} | null | undefined;
|
|
400
401
|
set?: {} | null | undefined;
|
|
401
402
|
validate?: {} | null | undefined;
|
|
403
|
+
index?: {} | null | undefined;
|
|
402
404
|
default?: {} | null | undefined;
|
|
403
405
|
text?: {} | null | undefined;
|
|
404
406
|
unique?: {} | null | undefined;
|
|
405
|
-
index?: {} | null | undefined;
|
|
406
407
|
sparse?: {} | null | undefined;
|
|
408
|
+
cast?: {} | null | undefined;
|
|
407
409
|
required?: {} | null | undefined;
|
|
408
410
|
ref?: {} | null | undefined;
|
|
409
|
-
cast?: {} | null | undefined;
|
|
410
411
|
select?: {} | null | undefined;
|
|
411
412
|
immutable?: {} | null | undefined;
|
|
412
413
|
transform?: {} | null | undefined;
|
|
@@ -431,6 +432,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
431
432
|
registeredName?: unknown;
|
|
432
433
|
businessTypeLid?: unknown;
|
|
433
434
|
registeredNumber?: unknown;
|
|
435
|
+
isRegisteredNumber?: unknown;
|
|
434
436
|
taxJurisdictionLid?: unknown;
|
|
435
437
|
natureOfBusiness?: unknown;
|
|
436
438
|
addressPostCode?: unknown;
|
|
@@ -469,13 +471,12 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
469
471
|
[x: string]: unknown;
|
|
470
472
|
}> | unknown[];
|
|
471
473
|
sicCodes: unknown[];
|
|
472
|
-
applicationId?: unknown;
|
|
473
474
|
createdAt?: {
|
|
474
475
|
toJSON?: {} | null | undefined;
|
|
476
|
+
valueOf: {} | null;
|
|
477
|
+
toString: {} | null;
|
|
478
|
+
toLocaleString: {} | null;
|
|
475
479
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
476
|
-
toString?: {} | null | undefined;
|
|
477
|
-
toLocaleString?: {} | null | undefined;
|
|
478
|
-
valueOf?: {} | null | undefined;
|
|
479
480
|
toDateString?: {} | null | undefined;
|
|
480
481
|
toTimeString?: {} | null | undefined;
|
|
481
482
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -519,10 +520,10 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
519
520
|
} | null | undefined;
|
|
520
521
|
updatedAt?: {
|
|
521
522
|
toJSON?: {} | null | undefined;
|
|
523
|
+
valueOf: {} | null;
|
|
524
|
+
toString: {} | null;
|
|
525
|
+
toLocaleString: {} | null;
|
|
522
526
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
523
|
-
toString?: {} | null | undefined;
|
|
524
|
-
toLocaleString?: {} | null | undefined;
|
|
525
|
-
valueOf?: {} | null | undefined;
|
|
526
527
|
toDateString?: {} | null | undefined;
|
|
527
528
|
toTimeString?: {} | null | undefined;
|
|
528
529
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -564,6 +565,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
564
565
|
toISOString?: {} | null | undefined;
|
|
565
566
|
getVarDate?: {} | null | undefined;
|
|
566
567
|
} | null | undefined;
|
|
568
|
+
applicationId?: unknown;
|
|
567
569
|
tradingSince?: unknown;
|
|
568
570
|
yearEnd?: unknown;
|
|
569
571
|
turnoverYear1?: {
|
|
@@ -589,14 +591,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
589
591
|
} | null | undefined;
|
|
590
592
|
set?: {} | null | undefined;
|
|
591
593
|
validate?: {} | null | undefined;
|
|
594
|
+
index?: {} | null | undefined;
|
|
592
595
|
default?: {} | null | undefined;
|
|
593
596
|
text?: {} | null | undefined;
|
|
594
597
|
unique?: {} | null | undefined;
|
|
595
|
-
index?: {} | null | undefined;
|
|
596
598
|
sparse?: {} | null | undefined;
|
|
599
|
+
cast?: {} | null | undefined;
|
|
597
600
|
required?: {} | null | undefined;
|
|
598
601
|
ref?: {} | null | undefined;
|
|
599
|
-
cast?: {} | null | undefined;
|
|
600
602
|
select?: {} | null | undefined;
|
|
601
603
|
immutable?: {} | null | undefined;
|
|
602
604
|
transform?: {} | null | undefined;
|
|
@@ -637,14 +639,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
637
639
|
} | null | undefined;
|
|
638
640
|
set?: {} | null | undefined;
|
|
639
641
|
validate?: {} | null | undefined;
|
|
642
|
+
index?: {} | null | undefined;
|
|
640
643
|
default?: {} | null | undefined;
|
|
641
644
|
text?: {} | null | undefined;
|
|
642
645
|
unique?: {} | null | undefined;
|
|
643
|
-
index?: {} | null | undefined;
|
|
644
646
|
sparse?: {} | null | undefined;
|
|
647
|
+
cast?: {} | null | undefined;
|
|
645
648
|
required?: {} | null | undefined;
|
|
646
649
|
ref?: {} | null | undefined;
|
|
647
|
-
cast?: {} | null | undefined;
|
|
648
650
|
select?: {} | null | undefined;
|
|
649
651
|
immutable?: {} | null | undefined;
|
|
650
652
|
transform?: {} | null | undefined;
|
|
@@ -685,14 +687,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
685
687
|
} | null | undefined;
|
|
686
688
|
set?: {} | null | undefined;
|
|
687
689
|
validate?: {} | null | undefined;
|
|
690
|
+
index?: {} | null | undefined;
|
|
688
691
|
default?: {} | null | undefined;
|
|
689
692
|
text?: {} | null | undefined;
|
|
690
693
|
unique?: {} | null | undefined;
|
|
691
|
-
index?: {} | null | undefined;
|
|
692
694
|
sparse?: {} | null | undefined;
|
|
695
|
+
cast?: {} | null | undefined;
|
|
693
696
|
required?: {} | null | undefined;
|
|
694
697
|
ref?: {} | null | undefined;
|
|
695
|
-
cast?: {} | null | undefined;
|
|
696
698
|
select?: {} | null | undefined;
|
|
697
699
|
immutable?: {} | null | undefined;
|
|
698
700
|
transform?: {} | null | undefined;
|
|
@@ -733,14 +735,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
733
735
|
} | null | undefined;
|
|
734
736
|
set?: {} | null | undefined;
|
|
735
737
|
validate?: {} | null | undefined;
|
|
738
|
+
index?: {} | null | undefined;
|
|
736
739
|
default?: {} | null | undefined;
|
|
737
740
|
text?: {} | null | undefined;
|
|
738
741
|
unique?: {} | null | undefined;
|
|
739
|
-
index?: {} | null | undefined;
|
|
740
742
|
sparse?: {} | null | undefined;
|
|
743
|
+
cast?: {} | null | undefined;
|
|
741
744
|
required?: {} | null | undefined;
|
|
742
745
|
ref?: {} | null | undefined;
|
|
743
|
-
cast?: {} | null | undefined;
|
|
744
746
|
select?: {} | null | undefined;
|
|
745
747
|
immutable?: {} | null | undefined;
|
|
746
748
|
transform?: {} | null | undefined;
|
|
@@ -781,14 +783,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
781
783
|
} | null | undefined;
|
|
782
784
|
set?: {} | null | undefined;
|
|
783
785
|
validate?: {} | null | undefined;
|
|
786
|
+
index?: {} | null | undefined;
|
|
784
787
|
default?: {} | null | undefined;
|
|
785
788
|
text?: {} | null | undefined;
|
|
786
789
|
unique?: {} | null | undefined;
|
|
787
|
-
index?: {} | null | undefined;
|
|
788
790
|
sparse?: {} | null | undefined;
|
|
791
|
+
cast?: {} | null | undefined;
|
|
789
792
|
required?: {} | null | undefined;
|
|
790
793
|
ref?: {} | null | undefined;
|
|
791
|
-
cast?: {} | null | undefined;
|
|
792
794
|
select?: {} | null | undefined;
|
|
793
795
|
immutable?: {} | null | undefined;
|
|
794
796
|
transform?: {} | null | undefined;
|
|
@@ -829,14 +831,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
829
831
|
} | null | undefined;
|
|
830
832
|
set?: {} | null | undefined;
|
|
831
833
|
validate?: {} | null | undefined;
|
|
834
|
+
index?: {} | null | undefined;
|
|
832
835
|
default?: {} | null | undefined;
|
|
833
836
|
text?: {} | null | undefined;
|
|
834
837
|
unique?: {} | null | undefined;
|
|
835
|
-
index?: {} | null | undefined;
|
|
836
838
|
sparse?: {} | null | undefined;
|
|
839
|
+
cast?: {} | null | undefined;
|
|
837
840
|
required?: {} | null | undefined;
|
|
838
841
|
ref?: {} | null | undefined;
|
|
839
|
-
cast?: {} | null | undefined;
|
|
840
842
|
select?: {} | null | undefined;
|
|
841
843
|
immutable?: {} | null | undefined;
|
|
842
844
|
transform?: {} | null | undefined;
|
|
@@ -861,6 +863,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
861
863
|
registeredName?: unknown;
|
|
862
864
|
businessTypeLid?: unknown;
|
|
863
865
|
registeredNumber?: unknown;
|
|
866
|
+
isRegisteredNumber?: unknown;
|
|
864
867
|
taxJurisdictionLid?: unknown;
|
|
865
868
|
natureOfBusiness?: unknown;
|
|
866
869
|
addressPostCode?: unknown;
|
|
@@ -899,13 +902,12 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
899
902
|
[x: string]: unknown;
|
|
900
903
|
}> | unknown[];
|
|
901
904
|
sicCodes: unknown[];
|
|
902
|
-
applicationId?: unknown;
|
|
903
905
|
createdAt?: {
|
|
904
906
|
toJSON?: {} | null | undefined;
|
|
907
|
+
valueOf: {} | null;
|
|
908
|
+
toString: {} | null;
|
|
909
|
+
toLocaleString: {} | null;
|
|
905
910
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
906
|
-
toString?: {} | null | undefined;
|
|
907
|
-
toLocaleString?: {} | null | undefined;
|
|
908
|
-
valueOf?: {} | null | undefined;
|
|
909
911
|
toDateString?: {} | null | undefined;
|
|
910
912
|
toTimeString?: {} | null | undefined;
|
|
911
913
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -949,10 +951,10 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
949
951
|
} | null | undefined;
|
|
950
952
|
updatedAt?: {
|
|
951
953
|
toJSON?: {} | null | undefined;
|
|
954
|
+
valueOf: {} | null;
|
|
955
|
+
toString: {} | null;
|
|
956
|
+
toLocaleString: {} | null;
|
|
952
957
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
953
|
-
toString?: {} | null | undefined;
|
|
954
|
-
toLocaleString?: {} | null | undefined;
|
|
955
|
-
valueOf?: {} | null | undefined;
|
|
956
958
|
toDateString?: {} | null | undefined;
|
|
957
959
|
toTimeString?: {} | null | undefined;
|
|
958
960
|
toLocaleDateString?: {} | null | undefined;
|
|
@@ -994,6 +996,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
994
996
|
toISOString?: {} | null | undefined;
|
|
995
997
|
getVarDate?: {} | null | undefined;
|
|
996
998
|
} | null | undefined;
|
|
999
|
+
applicationId?: unknown;
|
|
997
1000
|
tradingSince?: unknown;
|
|
998
1001
|
yearEnd?: unknown;
|
|
999
1002
|
turnoverYear1?: {
|
|
@@ -1019,14 +1022,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1019
1022
|
} | null | undefined;
|
|
1020
1023
|
set?: {} | null | undefined;
|
|
1021
1024
|
validate?: {} | null | undefined;
|
|
1025
|
+
index?: {} | null | undefined;
|
|
1022
1026
|
default?: {} | null | undefined;
|
|
1023
1027
|
text?: {} | null | undefined;
|
|
1024
1028
|
unique?: {} | null | undefined;
|
|
1025
|
-
index?: {} | null | undefined;
|
|
1026
1029
|
sparse?: {} | null | undefined;
|
|
1030
|
+
cast?: {} | null | undefined;
|
|
1027
1031
|
required?: {} | null | undefined;
|
|
1028
1032
|
ref?: {} | null | undefined;
|
|
1029
|
-
cast?: {} | null | undefined;
|
|
1030
1033
|
select?: {} | null | undefined;
|
|
1031
1034
|
immutable?: {} | null | undefined;
|
|
1032
1035
|
transform?: {} | null | undefined;
|
|
@@ -1067,14 +1070,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1067
1070
|
} | null | undefined;
|
|
1068
1071
|
set?: {} | null | undefined;
|
|
1069
1072
|
validate?: {} | null | undefined;
|
|
1073
|
+
index?: {} | null | undefined;
|
|
1070
1074
|
default?: {} | null | undefined;
|
|
1071
1075
|
text?: {} | null | undefined;
|
|
1072
1076
|
unique?: {} | null | undefined;
|
|
1073
|
-
index?: {} | null | undefined;
|
|
1074
1077
|
sparse?: {} | null | undefined;
|
|
1078
|
+
cast?: {} | null | undefined;
|
|
1075
1079
|
required?: {} | null | undefined;
|
|
1076
1080
|
ref?: {} | null | undefined;
|
|
1077
|
-
cast?: {} | null | undefined;
|
|
1078
1081
|
select?: {} | null | undefined;
|
|
1079
1082
|
immutable?: {} | null | undefined;
|
|
1080
1083
|
transform?: {} | null | undefined;
|
|
@@ -1115,14 +1118,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1115
1118
|
} | null | undefined;
|
|
1116
1119
|
set?: {} | null | undefined;
|
|
1117
1120
|
validate?: {} | null | undefined;
|
|
1121
|
+
index?: {} | null | undefined;
|
|
1118
1122
|
default?: {} | null | undefined;
|
|
1119
1123
|
text?: {} | null | undefined;
|
|
1120
1124
|
unique?: {} | null | undefined;
|
|
1121
|
-
index?: {} | null | undefined;
|
|
1122
1125
|
sparse?: {} | null | undefined;
|
|
1126
|
+
cast?: {} | null | undefined;
|
|
1123
1127
|
required?: {} | null | undefined;
|
|
1124
1128
|
ref?: {} | null | undefined;
|
|
1125
|
-
cast?: {} | null | undefined;
|
|
1126
1129
|
select?: {} | null | undefined;
|
|
1127
1130
|
immutable?: {} | null | undefined;
|
|
1128
1131
|
transform?: {} | null | undefined;
|
|
@@ -1163,14 +1166,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1163
1166
|
} | null | undefined;
|
|
1164
1167
|
set?: {} | null | undefined;
|
|
1165
1168
|
validate?: {} | null | undefined;
|
|
1169
|
+
index?: {} | null | undefined;
|
|
1166
1170
|
default?: {} | null | undefined;
|
|
1167
1171
|
text?: {} | null | undefined;
|
|
1168
1172
|
unique?: {} | null | undefined;
|
|
1169
|
-
index?: {} | null | undefined;
|
|
1170
1173
|
sparse?: {} | null | undefined;
|
|
1174
|
+
cast?: {} | null | undefined;
|
|
1171
1175
|
required?: {} | null | undefined;
|
|
1172
1176
|
ref?: {} | null | undefined;
|
|
1173
|
-
cast?: {} | null | undefined;
|
|
1174
1177
|
select?: {} | null | undefined;
|
|
1175
1178
|
immutable?: {} | null | undefined;
|
|
1176
1179
|
transform?: {} | null | undefined;
|
|
@@ -1211,14 +1214,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1211
1214
|
} | null | undefined;
|
|
1212
1215
|
set?: {} | null | undefined;
|
|
1213
1216
|
validate?: {} | null | undefined;
|
|
1217
|
+
index?: {} | null | undefined;
|
|
1214
1218
|
default?: {} | null | undefined;
|
|
1215
1219
|
text?: {} | null | undefined;
|
|
1216
1220
|
unique?: {} | null | undefined;
|
|
1217
|
-
index?: {} | null | undefined;
|
|
1218
1221
|
sparse?: {} | null | undefined;
|
|
1222
|
+
cast?: {} | null | undefined;
|
|
1219
1223
|
required?: {} | null | undefined;
|
|
1220
1224
|
ref?: {} | null | undefined;
|
|
1221
|
-
cast?: {} | null | undefined;
|
|
1222
1225
|
select?: {} | null | undefined;
|
|
1223
1226
|
immutable?: {} | null | undefined;
|
|
1224
1227
|
transform?: {} | null | undefined;
|
|
@@ -1259,14 +1262,14 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1259
1262
|
} | null | undefined;
|
|
1260
1263
|
set?: {} | null | undefined;
|
|
1261
1264
|
validate?: {} | null | undefined;
|
|
1265
|
+
index?: {} | null | undefined;
|
|
1262
1266
|
default?: {} | null | undefined;
|
|
1263
1267
|
text?: {} | null | undefined;
|
|
1264
1268
|
unique?: {} | null | undefined;
|
|
1265
|
-
index?: {} | null | undefined;
|
|
1266
1269
|
sparse?: {} | null | undefined;
|
|
1270
|
+
cast?: {} | null | undefined;
|
|
1267
1271
|
required?: {} | null | undefined;
|
|
1268
1272
|
ref?: {} | null | undefined;
|
|
1269
|
-
cast?: {} | null | undefined;
|
|
1270
1273
|
select?: {} | null | undefined;
|
|
1271
1274
|
immutable?: {} | null | undefined;
|
|
1272
1275
|
transform?: {} | null | undefined;
|
|
@@ -1291,6 +1294,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1291
1294
|
registeredName?: unknown;
|
|
1292
1295
|
businessTypeLid?: unknown;
|
|
1293
1296
|
registeredNumber?: unknown;
|
|
1297
|
+
isRegisteredNumber?: unknown;
|
|
1294
1298
|
taxJurisdictionLid?: unknown;
|
|
1295
1299
|
natureOfBusiness?: unknown;
|
|
1296
1300
|
addressPostCode?: unknown;
|
|
@@ -1368,6 +1372,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1368
1372
|
registeredName?: unknown;
|
|
1369
1373
|
businessTypeLid?: unknown;
|
|
1370
1374
|
registeredNumber?: unknown;
|
|
1375
|
+
isRegisteredNumber?: unknown;
|
|
1371
1376
|
taxJurisdictionLid?: unknown;
|
|
1372
1377
|
natureOfBusiness?: unknown;
|
|
1373
1378
|
addressPostCode?: unknown;
|
|
@@ -1431,6 +1436,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1431
1436
|
registeredName?: unknown;
|
|
1432
1437
|
businessTypeLid?: unknown;
|
|
1433
1438
|
registeredNumber?: unknown;
|
|
1439
|
+
isRegisteredNumber?: unknown;
|
|
1434
1440
|
taxJurisdictionLid?: unknown;
|
|
1435
1441
|
natureOfBusiness?: unknown;
|
|
1436
1442
|
addressPostCode?: unknown;
|
|
@@ -1494,6 +1500,7 @@ declare const ApplicationCompanyModel: mongoose.Model<{
|
|
|
1494
1500
|
registeredName?: unknown;
|
|
1495
1501
|
businessTypeLid?: unknown;
|
|
1496
1502
|
registeredNumber?: unknown;
|
|
1503
|
+
isRegisteredNumber?: unknown;
|
|
1497
1504
|
taxJurisdictionLid?: unknown;
|
|
1498
1505
|
natureOfBusiness?: unknown;
|
|
1499
1506
|
addressPostCode?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-company-model.d.ts","sourceRoot":"","sources":["../../applications/application-company-model.ts"],"names":[],"mappings":"
|
|
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;AA8I7D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsD,CAAC;AACpF,eAAe,uBAAuB,CAAC"}
|
|
@@ -16,6 +16,7 @@ const companySchema = new mongoose.Schema({
|
|
|
16
16
|
registeredName: { type: String, required: true, maxlength: 70, default: '' }, // form
|
|
17
17
|
businessTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }, // form
|
|
18
18
|
registeredNumber: { type: AccountNumber, max: 99999999, default: 0 }, // form
|
|
19
|
+
isRegisteredNumber: { type: Boolean, default: false, }, // form
|
|
19
20
|
taxJurisdictionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }, // form
|
|
20
21
|
tradingSince: { type: String, default: null }, // form
|
|
21
22
|
natureOfBusiness: { type: String, maxlength: 100, default: '' }, // form
|