@dynamatix/gb-schemas 2.17.8 → 2.17.12
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/package.json +1 -1
- package/dist/applicants/applicant-additional-income.model.d.ts +0 -378
- package/dist/applicants/applicant-additional-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-additional-income.model.js +0 -35
- package/dist/applicants/applicant-additional-income.type.d.ts +0 -40
- package/dist/applicants/applicant-additional-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-additional-income.type.js +0 -1
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -545
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +0 -40
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -434
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-loan.model.js +0 -51
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -506
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +0 -69
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -768
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-residence.model.js +0 -57
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +0 -426
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +0 -43
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +0 -426
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +0 -43
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -60
- package/dist/applicants/applicant-credit-data.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-data.model.js +0 -11
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -51
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-profile.model.js +0 -20
- package/dist/applicants/applicant-credit-report.model.d.ts +0 -3816
- package/dist/applicants/applicant-credit-report.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-report.model.js +0 -126
- package/dist/applicants/applicant-credit-report.type.d.ts +0 -145
- package/dist/applicants/applicant-credit-report.type.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-report.type.js +0 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -86
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +0 -1
- package/dist/applicants/applicant-direct-debit.model.js +0 -16
- package/dist/applicants/applicant-employment-income.model.d.ts +0 -206
- package/dist/applicants/applicant-employment-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment-income.model.js +0 -20
- package/dist/applicants/applicant-employment-income.type.d.ts +0 -37
- package/dist/applicants/applicant-employment-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-employment-income.type.js +0 -1
- package/dist/applicants/applicant-employment.model.d.ts +0 -828
- package/dist/applicants/applicant-employment.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment.model.js +0 -46
- package/dist/applicants/applicant-expenditure.model.d.ts +0 -127
- package/dist/applicants/applicant-expenditure.model.d.ts.map +0 -1
- package/dist/applicants/applicant-expenditure.model.js +0 -146
- package/dist/applicants/applicant-expenditure.type.d.ts +0 -42
- package/dist/applicants/applicant-expenditure.type.d.ts.map +0 -1
- package/dist/applicants/applicant-expenditure.type.js +0 -1
- package/dist/applicants/applicant-income-settings.model.d.ts +0 -82
- package/dist/applicants/applicant-income-settings.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income-settings.model.js +0 -22
- package/dist/applicants/applicant-income-settings.type.d.ts +0 -40
- package/dist/applicants/applicant-income-settings.type.d.ts.map +0 -1
- package/dist/applicants/applicant-income-settings.type.js +0 -1
- package/dist/applicants/applicant-income-summary.model.d.ts +0 -2964
- package/dist/applicants/applicant-income-summary.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income-summary.model.js +0 -59
- package/dist/applicants/applicant-income-summary.type.d.ts +0 -72
- package/dist/applicants/applicant-income-summary.type.d.ts.map +0 -1
- package/dist/applicants/applicant-income-summary.type.js +0 -1
- package/dist/applicants/applicant-large-exposure.model.d.ts +0 -667
- package/dist/applicants/applicant-large-exposure.model.d.ts.map +0 -1
- package/dist/applicants/applicant-large-exposure.model.js +0 -16
- package/dist/applicants/applicant-large-exposure.type.d.ts +0 -39
- package/dist/applicants/applicant-large-exposure.type.d.ts.map +0 -1
- package/dist/applicants/applicant-large-exposure.type.js +0 -1
- package/dist/applicants/applicant-pension-income.model.d.ts +0 -494
- package/dist/applicants/applicant-pension-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-pension-income.model.js +0 -35
- package/dist/applicants/applicant-pension-income.type.d.ts +0 -40
- package/dist/applicants/applicant-pension-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-pension-income.type.js +0 -1
- package/dist/applicants/applicant-property-income.model.d.ts +0 -953
- package/dist/applicants/applicant-property-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-property-income.model.js +0 -34
- package/dist/applicants/applicant-property-income.type.d.ts +0 -44
- package/dist/applicants/applicant-property-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-property-income.type.js +0 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -66
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +0 -1
- package/dist/applicants/applicant-risk-narrative.model.js +0 -13
- package/dist/applicants/applicant-self-employed-income.model.d.ts +0 -213
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-self-employed-income.model.js +0 -23
- package/dist/applicants/applicant-self-employed-income.type.d.ts +0 -37
- package/dist/applicants/applicant-self-employed-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-self-employed-income.type.js +0 -1
- package/dist/applicants/applicant-self-employment.model.d.ts +0 -269
- package/dist/applicants/applicant-self-employment.model.d.ts.map +0 -1
- package/dist/applicants/applicant-self-employment.model.js +0 -55
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +0 -213
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-sole-trader-income.model.js +0 -21
- package/dist/applicants/applicant-sole-trader-income.type.d.ts +0 -37
- package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +0 -1
- package/dist/applicants/applicant-sole-trader-income.type.js +0 -1
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +0 -500
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +0 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +0 -21
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts +0 -39
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +0 -1
- package/dist/applicants/applicant-uk-tax-credits.type.js +0 -1
- package/dist/applicants/applicant-welcome-call.model.d.ts +0 -384
- package/dist/applicants/applicant-welcome-call.model.d.ts.map +0 -1
- package/dist/applicants/applicant-welcome-call.model.js +0 -709
- package/dist/applicants/applicant-welcome-call.type.d.ts +0 -66
- package/dist/applicants/applicant-welcome-call.type.d.ts.map +0 -1
- package/dist/applicants/applicant-welcome-call.type.js +0 -1
- package/dist/applicants/applicant.model.d.ts +0 -1569
- package/dist/applicants/applicant.model.d.ts.map +0 -1
- package/dist/applicants/applicant.model.js +0 -254
- package/dist/applicants/applicant.type.d.ts +0 -158
- package/dist/applicants/applicant.type.d.ts.map +0 -1
- package/dist/applicants/applicant.type.js +0 -1
- package/dist/applicants/index.d.ts +0 -37
- package/dist/applicants/index.d.ts.map +0 -1
- package/dist/applicants/index.js +0 -22
- package/dist/applications/application-audit.model.d.ts +0 -120
- package/dist/applications/application-audit.model.d.ts.map +0 -1
- package/dist/applications/application-audit.model.js +0 -45
- package/dist/applications/application-checklist-Item.model.d.ts +0 -292
- package/dist/applications/application-checklist-Item.model.d.ts.map +0 -1
- package/dist/applications/application-checklist-Item.model.js +0 -49
- package/dist/applications/application-company-model.d.ts +0 -1548
- package/dist/applications/application-company-model.d.ts.map +0 -1
- package/dist/applications/application-company-model.js +0 -134
- package/dist/applications/application-credit-profile.model.d.ts +0 -63
- package/dist/applications/application-credit-profile.model.d.ts.map +0 -1
- package/dist/applications/application-credit-profile.model.js +0 -12
- package/dist/applications/application-direct-debit.model.d.ts +0 -697
- package/dist/applications/application-direct-debit.model.d.ts.map +0 -1
- package/dist/applications/application-direct-debit.model.js +0 -173
- package/dist/applications/application-direct-debit.type.d.ts +0 -63
- package/dist/applications/application-direct-debit.type.d.ts.map +0 -1
- package/dist/applications/application-direct-debit.type.js +0 -1
- package/dist/applications/application-euc.model.d.ts +0 -196
- package/dist/applications/application-euc.model.d.ts.map +0 -1
- package/dist/applications/application-euc.model.js +0 -39
- package/dist/applications/application-euc.type.d.ts +0 -58
- package/dist/applications/application-euc.type.d.ts.map +0 -1
- package/dist/applications/application-euc.type.js +0 -1
- package/dist/applications/application-fieldconfig.model.d.ts +0 -58
- package/dist/applications/application-fieldconfig.model.d.ts.map +0 -1
- package/dist/applications/application-fieldconfig.model.js +0 -10
- package/dist/applications/application-illustration-model.d.ts +0 -52
- package/dist/applications/application-illustration-model.d.ts.map +0 -1
- package/dist/applications/application-illustration-model.js +0 -6
- package/dist/applications/application-legal.model.d.ts +0 -58
- package/dist/applications/application-legal.model.d.ts.map +0 -1
- package/dist/applications/application-legal.model.js +0 -10
- package/dist/applications/application-mortgage.model.d.ts +0 -307
- package/dist/applications/application-mortgage.model.d.ts.map +0 -1
- package/dist/applications/application-mortgage.model.js +0 -274
- package/dist/applications/application-mortgage.type.d.ts +0 -76
- package/dist/applications/application-mortgage.type.d.ts.map +0 -1
- package/dist/applications/application-mortgage.type.js +0 -1
- package/dist/applications/application-note.model.d.ts +0 -184
- package/dist/applications/application-note.model.d.ts.map +0 -1
- package/dist/applications/application-note.model.js +0 -105
- package/dist/applications/application-note.type.d.ts +0 -55
- package/dist/applications/application-note.type.d.ts.map +0 -1
- package/dist/applications/application-note.type.js +0 -1
- package/dist/applications/application-offer.model.d.ts +0 -196
- package/dist/applications/application-offer.model.d.ts.map +0 -1
- package/dist/applications/application-offer.model.js +0 -56
- package/dist/applications/application-offer.type.d.ts +0 -54
- package/dist/applications/application-offer.type.d.ts.map +0 -1
- package/dist/applications/application-offer.type.js +0 -1
- package/dist/applications/application-onboarding.model.d.ts +0 -70
- package/dist/applications/application-onboarding.model.d.ts.map +0 -1
- package/dist/applications/application-onboarding.model.js +0 -12
- package/dist/applications/application-product.model.d.ts +0 -290
- package/dist/applications/application-product.model.d.ts.map +0 -1
- package/dist/applications/application-product.model.js +0 -90
- package/dist/applications/application-product.type.d.ts +0 -58
- package/dist/applications/application-product.type.d.ts.map +0 -1
- package/dist/applications/application-product.type.js +0 -1
- package/dist/applications/application-productfeatures.model.d.ts +0 -772
- package/dist/applications/application-productfeatures.model.d.ts.map +0 -1
- package/dist/applications/application-productfeatures.model.js +0 -100
- package/dist/applications/application-productfeatures.type.d.ts +0 -125
- package/dist/applications/application-productfeatures.type.d.ts.map +0 -1
- package/dist/applications/application-productfeatures.type.js +0 -1
- package/dist/applications/application-rationale.model.d.ts +0 -126
- package/dist/applications/application-rationale.model.d.ts.map +0 -1
- package/dist/applications/application-rationale.model.js +0 -23
- package/dist/applications/application-rationale.type.d.ts +0 -44
- package/dist/applications/application-rationale.type.d.ts.map +0 -1
- package/dist/applications/application-rationale.type.js +0 -1
- package/dist/applications/application-risk-narrative.model.d.ts +0 -100
- package/dist/applications/application-risk-narrative.model.d.ts.map +0 -1
- package/dist/applications/application-risk-narrative.model.js +0 -17
- package/dist/applications/application-valuation-report.model.d.ts +0 -1438
- package/dist/applications/application-valuation-report.model.d.ts.map +0 -1
- package/dist/applications/application-valuation-report.model.js +0 -799
- package/dist/applications/application-valuation-report.type.d.ts +0 -256
- package/dist/applications/application-valuation-report.type.d.ts.map +0 -1
- package/dist/applications/application-valuation-report.type.js +0 -1
- package/dist/applications/application-valuation.model.d.ts +0 -1358
- package/dist/applications/application-valuation.model.d.ts.map +0 -1
- package/dist/applications/application-valuation.model.js +0 -72
- package/dist/applications/application-valuation.type.d.ts +0 -55
- package/dist/applications/application-valuation.type.d.ts.map +0 -1
- package/dist/applications/application-valuation.type.js +0 -1
- package/dist/applications/application.model.d.ts +0 -636
- package/dist/applications/application.model.d.ts.map +0 -1
- package/dist/applications/application.model.js +0 -247
- package/dist/applications/applications-task.model.d.ts +0 -312
- package/dist/applications/applications-task.model.d.ts.map +0 -1
- package/dist/applications/applications-task.model.js +0 -58
- package/dist/applications/applications-task.type.d.ts +0 -59
- package/dist/applications/applications-task.type.d.ts.map +0 -1
- package/dist/applications/applications-task.type.js +0 -1
- package/dist/applications/broker.model.d.ts +0 -162
- package/dist/applications/broker.model.d.ts.map +0 -1
- package/dist/applications/broker.model.js +0 -24
- package/dist/applications/broker.type.d.ts +0 -51
- package/dist/applications/broker.type.d.ts.map +0 -1
- package/dist/applications/broker.type.js +0 -1
- package/dist/applications/index.d.ts +0 -36
- package/dist/applications/index.d.ts.map +0 -1
- package/dist/applications/index.js +0 -23
- package/dist/applications/solicitor.model.d.ts +0 -206
- package/dist/applications/solicitor.model.d.ts.map +0 -1
- package/dist/applications/solicitor.model.js +0 -121
- package/dist/applications/solicitor.type.d.ts +0 -56
- package/dist/applications/solicitor.type.d.ts.map +0 -1
- package/dist/applications/solicitor.type.js +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -9
- package/dist/product-catalogues/index.d.ts +0 -7
- package/dist/product-catalogues/index.d.ts.map +0 -1
- package/dist/product-catalogues/index.js +0 -3
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -132
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-catalogue.model.js +0 -22
- package/dist/product-catalogues/product-catalogue.type.d.ts +0 -15
- package/dist/product-catalogues/product-catalogue.type.d.ts.map +0 -1
- package/dist/product-catalogues/product-catalogue.type.js +0 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -318
- package/dist/product-catalogues/product-definitions.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-definitions.model.js +0 -29
- package/dist/product-catalogues/product-definitions.type.d.ts +0 -53
- package/dist/product-catalogues/product-definitions.type.d.ts.map +0 -1
- package/dist/product-catalogues/product-definitions.type.js +0 -1
- package/dist/product-catalogues/product-variant.model.d.ts +0 -96
- package/dist/product-catalogues/product-variant.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-variant.model.js +0 -16
- package/dist/product-catalogues/product-variant.type.d.ts +0 -38
- package/dist/product-catalogues/product-variant.type.d.ts.map +0 -1
- package/dist/product-catalogues/product-variant.type.js +0 -1
- package/dist/properties/index.d.ts +0 -3
- package/dist/properties/index.d.ts.map +0 -1
- package/dist/properties/index.js +0 -2
- package/dist/properties/property.model.d.ts +0 -1174
- package/dist/properties/property.model.d.ts.map +0 -1
- package/dist/properties/property.model.js +0 -152
- package/dist/properties/security.model.d.ts +0 -331
- package/dist/properties/security.model.d.ts.map +0 -1
- package/dist/properties/security.model.js +0 -155
- package/dist/shared/alert.model.d.ts +0 -102
- package/dist/shared/alert.model.d.ts.map +0 -1
- package/dist/shared/alert.model.js +0 -24
- package/dist/shared/api-log.model.d.ts +0 -124
- package/dist/shared/api-log.model.d.ts.map +0 -1
- package/dist/shared/api-log.model.js +0 -25
- package/dist/shared/api-performance.model.d.ts +0 -37
- package/dist/shared/api-performance.model.d.ts.map +0 -1
- package/dist/shared/api-performance.model.js +0 -22
- package/dist/shared/api-performance.type.d.ts +0 -178
- package/dist/shared/api-performance.type.d.ts.map +0 -1
- package/dist/shared/api-performance.type.js +0 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -114
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +0 -1
- package/dist/shared/apprivo-sync-journey.model.js +0 -19
- package/dist/shared/checklist.model.d.ts +0 -102
- package/dist/shared/checklist.model.d.ts.map +0 -1
- package/dist/shared/checklist.model.js +0 -35
- package/dist/shared/index.d.ts +0 -19
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -16
- package/dist/shared/job-run.model.d.ts +0 -76
- package/dist/shared/job-run.model.d.ts.map +0 -1
- package/dist/shared/job-run.model.js +0 -14
- package/dist/shared/job-setting.model.d.ts +0 -70
- package/dist/shared/job-setting.model.d.ts.map +0 -1
- package/dist/shared/job-setting.model.js +0 -11
- package/dist/shared/lookup-group.model.d.ts +0 -78
- package/dist/shared/lookup-group.model.d.ts.map +0 -1
- package/dist/shared/lookup-group.model.js +0 -22
- package/dist/shared/lookup.model.d.ts +0 -96
- package/dist/shared/lookup.model.d.ts.map +0 -1
- package/dist/shared/lookup.model.js +0 -32
- package/dist/shared/schema-doc.model.d.ts +0 -76
- package/dist/shared/schema-doc.model.d.ts.map +0 -1
- package/dist/shared/schema-doc.model.js +0 -11
- package/dist/shared/system-parameter.model.d.ts +0 -88
- package/dist/shared/system-parameter.model.d.ts.map +0 -1
- package/dist/shared/system-parameter.model.js +0 -32
- package/dist/shared/task-document.model.d.ts +0 -70
- package/dist/shared/task-document.model.d.ts.map +0 -1
- package/dist/shared/task-document.model.js +0 -23
- package/dist/shared/task.model.d.ts +0 -234
- package/dist/shared/task.model.d.ts.map +0 -1
- package/dist/shared/task.model.js +0 -15
- package/dist/shared/webhook-event.model.d.ts +0 -37
- package/dist/shared/webhook-event.model.d.ts.map +0 -1
- package/dist/shared/webhook-event.model.js +0 -57
- package/dist/shared/webhook-event.type.d.ts +0 -15
- package/dist/shared/webhook-event.type.d.ts.map +0 -1
- package/dist/shared/webhook-event.type.js +0 -1
- package/dist/shared/workflow-trigger.model.d.ts +0 -32
- package/dist/shared/workflow-trigger.model.d.ts.map +0 -1
- package/dist/shared/workflow-trigger.model.js +0 -49
- package/dist/shared/workflow-trigger.type.d.ts +0 -60
- package/dist/shared/workflow-trigger.type.d.ts.map +0 -1
- package/dist/shared/workflow-trigger.type.js +0 -1
- package/dist/shared/workflow.init.d.ts +0 -21
- package/dist/shared/workflow.init.d.ts.map +0 -1
- package/dist/shared/workflow.init.js +0 -42
- package/dist/shared/workflow.logger.d.ts +0 -18
- package/dist/shared/workflow.logger.d.ts.map +0 -1
- package/dist/shared/workflow.logger.js +0 -41
- package/dist/shared/workflow.middleware.d.ts +0 -108
- package/dist/shared/workflow.middleware.d.ts.map +0 -1
- package/dist/shared/workflow.middleware.js +0 -246
- package/dist/shared/workflow.plugin.d.ts +0 -46
- package/dist/shared/workflow.plugin.d.ts.map +0 -1
- package/dist/shared/workflow.plugin.js +0 -151
- package/dist/shared/workflow.service.d.ts +0 -42
- package/dist/shared/workflow.service.d.ts.map +0 -1
- package/dist/shared/workflow.service.js +0 -134
- package/dist/types/base.types.d.ts +0 -35
- package/dist/types/base.types.d.ts.map +0 -1
- package/dist/types/base.types.js +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -1
- package/dist/underwriter/index.d.ts +0 -2
- package/dist/underwriter/index.d.ts.map +0 -1
- package/dist/underwriter/index.js +0 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -126
- package/dist/underwriter/underwriter.model.d.ts.map +0 -1
- package/dist/underwriter/underwriter.model.js +0 -17
- package/dist/users/auth-log.model.d.ts +0 -70
- package/dist/users/auth-log.model.d.ts.map +0 -1
- package/dist/users/auth-log.model.js +0 -24
- package/dist/users/index.d.ts +0 -7
- package/dist/users/index.d.ts.map +0 -1
- package/dist/users/index.js +0 -6
- package/dist/users/permission.model.d.ts +0 -84
- package/dist/users/permission.model.d.ts.map +0 -1
- package/dist/users/permission.model.js +0 -12
- package/dist/users/role-group.model.d.ts +0 -90
- package/dist/users/role-group.model.d.ts.map +0 -1
- package/dist/users/role-group.model.js +0 -17
- package/dist/users/role.model.d.ts +0 -90
- package/dist/users/role.model.d.ts.map +0 -1
- package/dist/users/role.model.js +0 -16
- package/dist/users/tasks.model.d.ts +0 -114
- package/dist/users/tasks.model.d.ts.map +0 -1
- package/dist/users/tasks.model.js +0 -18
- package/dist/users/user.model.d.ts +0 -222
- package/dist/users/user.model.d.ts.map +0 -1
- package/dist/users/user.model.js +0 -41
- package/dist/users/user.type.d.ts +0 -55
- package/dist/users/user.type.d.ts.map +0 -1
- package/dist/users/user.type.js +0 -1
- package/dist/value-objects/account-number.d.ts +0 -42
- package/dist/value-objects/account-number.d.ts.map +0 -1
- package/dist/value-objects/account-number.js +0 -24
- package/dist/value-objects/pound.d.ts +0 -43
- package/dist/value-objects/pound.d.ts.map +0 -1
- package/dist/value-objects/pound.js +0 -50
- package/dist/value-objects/sort-code.d.ts +0 -42
- package/dist/value-objects/sort-code.d.ts.map +0 -1
- package/dist/value-objects/sort-code.js +0 -34
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAwR5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
import applicantCreditDataSchema from "./applicant-credit-data.model";
|
|
3
|
-
import applicantRiskNarrativeSchema from "./applicant-risk-narrative.model";
|
|
4
|
-
import applicantDirectDebitSchema from "./applicant-direct-debit.model";
|
|
5
|
-
import creditProfileSchema from "./applicant-credit-profile.model";
|
|
6
|
-
import { Pound, formatPound } from "../value-objects/pound";
|
|
7
|
-
import { applyAuditMiddleware } from "@dynamatix/cat-shared/middlewares";
|
|
8
|
-
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
9
|
-
const applicantSchema = new mongoose.Schema({
|
|
10
|
-
applicantId: { type: String, required: true },
|
|
11
|
-
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
12
|
-
serialName: { type: String },
|
|
13
|
-
addressCity: { type: String, default: null },
|
|
14
|
-
addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
15
|
-
addressLine1: { type: String, default: null },
|
|
16
|
-
addressLine2: { type: String, default: null },
|
|
17
|
-
addressLine3: { type: String, default: null },
|
|
18
|
-
addressMovedDate: { type: String, default: null },
|
|
19
|
-
addressPostCode: { type: String, default: null },
|
|
20
|
-
correspondenceAddressCity: { type: String, default: null },
|
|
21
|
-
correspondenceAddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
22
|
-
correspondenceAddressLine1: { type: String, default: null },
|
|
23
|
-
correspondenceAddressLine2: { type: String, default: null },
|
|
24
|
-
correspondenceAddressLine3: { type: String, default: null },
|
|
25
|
-
correspondenceAddressPostCode: { type: String, default: null },
|
|
26
|
-
countryOfResidenceLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
27
|
-
positionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
28
|
-
dateOfBirth: { type: String, required: true },
|
|
29
|
-
dependant10Age: { type: Number, default: 0 },
|
|
30
|
-
dependant1Age: { type: Number, default: 0 },
|
|
31
|
-
dependant2Age: { type: Number, default: 0 },
|
|
32
|
-
dependant3Age: { type: Number, default: 0 },
|
|
33
|
-
dependant4Age: { type: Number, default: 0 },
|
|
34
|
-
dependant5Age: { type: Number, default: 0 },
|
|
35
|
-
dependant6Age: { type: Number, default: 0 },
|
|
36
|
-
dependant7Age: { type: Number, default: 0 },
|
|
37
|
-
dependant8Age: { type: Number, default: 0 },
|
|
38
|
-
dependant9Age: { type: Number, default: 0 },
|
|
39
|
-
email: { type: String, required: true },
|
|
40
|
-
employmentStatusDetails: { type: String, default: null },
|
|
41
|
-
firstName: { type: String, required: true },
|
|
42
|
-
isFirstTimelandlord: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: false,
|
|
45
|
-
},
|
|
46
|
-
foreignIdForNationals: { type: String, default: null },
|
|
47
|
-
gdprEmail: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: false,
|
|
50
|
-
},
|
|
51
|
-
gdprPost: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: false,
|
|
54
|
-
},
|
|
55
|
-
gdprTelephone: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: false,
|
|
58
|
-
},
|
|
59
|
-
gdprTextMessage: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: false,
|
|
62
|
-
},
|
|
63
|
-
gender: { type: String, required: true },
|
|
64
|
-
hasBrokerGivenConsentForVulnerabilities: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: false,
|
|
67
|
-
},
|
|
68
|
-
hasLinkedJurisdiction: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: false,
|
|
71
|
-
},
|
|
72
|
-
isCorrespondence: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: true,
|
|
75
|
-
},
|
|
76
|
-
isCreditCardCommitmentConfirmed: { type: Boolean, default: false, },
|
|
77
|
-
isMortgageHPPCommitmentConfirmed: { type: Boolean, default: false, },
|
|
78
|
-
isSecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
|
|
79
|
-
isUnsecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
|
|
80
|
-
isExpenditureConfirmed: { type: Boolean, default: false, },
|
|
81
|
-
creditCardRationale: { type: String, default: "" }, // Rationale for credit card
|
|
82
|
-
mortgageHPPRationale: { type: String, default: "" }, // Rationale for mortgageHPP
|
|
83
|
-
securedLoanRationale: { type: String, default: "" }, // Rationale for secured loan
|
|
84
|
-
unsecuredLoanRationale: { type: String, default: "" }, // Rationale for unsecured loan
|
|
85
|
-
isCurrentContract: { type: Boolean, default: false, },
|
|
86
|
-
isCustomerVulnerable: {
|
|
87
|
-
type: Boolean,
|
|
88
|
-
default: false,
|
|
89
|
-
},
|
|
90
|
-
isExpat: {
|
|
91
|
-
type: Boolean,
|
|
92
|
-
default: false,
|
|
93
|
-
},
|
|
94
|
-
isFirstApplicant: {
|
|
95
|
-
type: Boolean,
|
|
96
|
-
default: false,
|
|
97
|
-
},
|
|
98
|
-
isUkPassport: {
|
|
99
|
-
type: Boolean,
|
|
100
|
-
default: false,
|
|
101
|
-
},
|
|
102
|
-
isUkResident: {
|
|
103
|
-
type: Boolean,
|
|
104
|
-
required: true,
|
|
105
|
-
},
|
|
106
|
-
classLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
107
|
-
isExpenseOwner: Boolean,
|
|
108
|
-
pageValidFlag: { type: Boolean, default: false },
|
|
109
|
-
lastName: { type: String, required: true },
|
|
110
|
-
linkedJurisdictionCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
111
|
-
linkedJurisdictionDetails: { type: String, default: null },
|
|
112
|
-
maidenName: { type: String, default: null },
|
|
113
|
-
maritalStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
114
|
-
mobileNumber: { type: String, default: null },
|
|
115
|
-
nationalityLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
116
|
-
netIncome: { type: Number, default: 0.00 },
|
|
117
|
-
niNumber: { type: String, required: true },
|
|
118
|
-
numberOfDependants: { type: Number, default: 0 },
|
|
119
|
-
isOneYearPrior: {
|
|
120
|
-
type: Boolean,
|
|
121
|
-
default: false,
|
|
122
|
-
},
|
|
123
|
-
phoneNumber: { type: String, default: null },
|
|
124
|
-
previous1AddressCity: { type: String, default: null },
|
|
125
|
-
previous1AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
126
|
-
previous1AddressLine1: { type: String, default: null },
|
|
127
|
-
previous1AddressLine2: { type: String, default: null },
|
|
128
|
-
previous1AddressLine3: { type: String, default: null },
|
|
129
|
-
previous1AddressMovedDate: { type: String, default: null },
|
|
130
|
-
previous1AddressPostCode: { type: String, default: null },
|
|
131
|
-
previous1AddressPropertyOwnedBy: { type: String, default: null },
|
|
132
|
-
previous2AddressCity: { type: String, default: null },
|
|
133
|
-
previous2AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
134
|
-
previous2AddressLine1: { type: String, default: null },
|
|
135
|
-
previous2AddressLine2: { type: String, default: null },
|
|
136
|
-
previous2AddressLine3: { type: String, default: null },
|
|
137
|
-
previous2AddressMovedDate: { type: String, default: null },
|
|
138
|
-
previous2AddressPostCode: { type: String, default: null },
|
|
139
|
-
previous2AddressPropertyOwnedBy: { type: String, default: null },
|
|
140
|
-
relationshipToOthers: { type: String, required: true },
|
|
141
|
-
residentialStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
142
|
-
retirementAge: { type: String, required: true },
|
|
143
|
-
taxJurisdictionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
144
|
-
taxPayerLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
145
|
-
timeResidedAtCountryOfResidence: { type: Number, required: true },
|
|
146
|
-
title: { type: String, required: true },
|
|
147
|
-
isTwoYearPrior: {
|
|
148
|
-
type: Boolean,
|
|
149
|
-
default: false,
|
|
150
|
-
},
|
|
151
|
-
understandEnglish: {
|
|
152
|
-
type: Boolean,
|
|
153
|
-
required: true,
|
|
154
|
-
},
|
|
155
|
-
vulnerabilityNotes: { type: String, default: null },
|
|
156
|
-
vulnerabilityTypeLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
157
|
-
ukPassportProfessionLid: {
|
|
158
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
159
|
-
ref: "Lookup",
|
|
160
|
-
required: function () {
|
|
161
|
-
return this.isUkResident;
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
proposedFinanceAmount: { type: Pound, default: 0, description: "Proposed finance amount for fixed expenditures, defaults to 0.", get: formatPound },
|
|
165
|
-
topupAmount: { type: Pound, default: 0, description: "Top-up amount for fixed expenditures, defaults to 0.", get: formatPound },
|
|
166
|
-
creditCommitments: { type: Pound, default: 0, description: "Total credit commitments amount, defaults to 0.", get: formatPound },
|
|
167
|
-
creditData: applicantCreditDataSchema,
|
|
168
|
-
riskNarrative: applicantRiskNarrativeSchema,
|
|
169
|
-
incomeSourceId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_IncomeSettings", default: null },
|
|
170
|
-
directDebit: applicantDirectDebitSchema,
|
|
171
|
-
creditProfile: creditProfileSchema,
|
|
172
|
-
employmentInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Employment_Information", default: null },
|
|
173
|
-
selfEmployedInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Self_Employment", default: null },
|
|
174
|
-
incomeSummaryId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Income_Summary", default: null },
|
|
175
|
-
expenseONSVersion: { type: String, default: null },
|
|
176
|
-
}, {
|
|
177
|
-
timestamps: true,
|
|
178
|
-
toJSON: { virtuals: true, getters: true },
|
|
179
|
-
toObject: { virtuals: true, getters: true }
|
|
180
|
-
});
|
|
181
|
-
applicantSchema.virtual('nationality').get(function () {
|
|
182
|
-
return this.nationalityLid?.name ?? null;
|
|
183
|
-
});
|
|
184
|
-
applicantSchema.virtual('residence').get(function () {
|
|
185
|
-
return this.countryOfResidenceLid?.name ?? null;
|
|
186
|
-
});
|
|
187
|
-
applicantSchema.virtual('employmentClass').get(function () {
|
|
188
|
-
return this.classLid?.name ?? null;
|
|
189
|
-
});
|
|
190
|
-
applicantSchema.virtual('addressCountry').get(function () {
|
|
191
|
-
return this.addressCountryLid?.name ?? null;
|
|
192
|
-
});
|
|
193
|
-
applicantSchema.virtual('previous1AddressCountry').get(function () {
|
|
194
|
-
return this.previous1AddressCountryLid?.name ?? null;
|
|
195
|
-
});
|
|
196
|
-
applicantSchema.virtual('previous2AddressCountry').get(function () {
|
|
197
|
-
return this.previous2AddressCountryLid?.name ?? null;
|
|
198
|
-
});
|
|
199
|
-
applicantSchema.virtual('maritalStatus').get(function () {
|
|
200
|
-
return this.maritalStatusLid?.name ?? null;
|
|
201
|
-
});
|
|
202
|
-
applicantSchema.virtual('residentialStatus').get(function () {
|
|
203
|
-
return this.residentialStatusLid?.name ?? null;
|
|
204
|
-
});
|
|
205
|
-
applicantSchema.virtual('taxPayer').get(function () {
|
|
206
|
-
return this.taxPayerLid?.name ?? null;
|
|
207
|
-
});
|
|
208
|
-
applicantSchema.virtual('vulnerabilityType').get(function () {
|
|
209
|
-
return this.vulnerabilityTypeLids?.map((v) => v.name);
|
|
210
|
-
});
|
|
211
|
-
applicantSchema.virtual('fullName').get(function () {
|
|
212
|
-
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
213
|
-
});
|
|
214
|
-
applicantSchema.virtual('displayName').get(function () {
|
|
215
|
-
return `${this.title ?? ''} ${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
216
|
-
});
|
|
217
|
-
// virtual property 'applicationType'
|
|
218
|
-
applicantSchema.virtual('applicationType').get(function () {
|
|
219
|
-
return this.applicationId?.applicationTypeLid instanceof mongoose.Types.ObjectId
|
|
220
|
-
? null
|
|
221
|
-
: this.applicationId?.applicationTypeLid?.name || null;
|
|
222
|
-
});
|
|
223
|
-
// virtual property 'lendingType'
|
|
224
|
-
applicantSchema.virtual('lendingType').get(function () {
|
|
225
|
-
return this.applicationId?.lendingTypeLid instanceof mongoose.Types.ObjectId
|
|
226
|
-
? null
|
|
227
|
-
: this.applicationId?.lendingTypeLid?.name || null;
|
|
228
|
-
});
|
|
229
|
-
// numberOfApplicants – how many applicants are on the associated Application
|
|
230
|
-
applicantSchema.virtual('numberOfApplicants').get(function () {
|
|
231
|
-
// `this.applicationId` must be populated (with its `applicants` field)
|
|
232
|
-
const app = this.applicationId;
|
|
233
|
-
// if it's populated and has an applicants array, return its length, otherwise 0
|
|
234
|
-
return Array.isArray(app?.applicants) ? app.applicants.length : 0;
|
|
235
|
-
});
|
|
236
|
-
applyAuditMiddleware(applicantSchema, "Applicant");
|
|
237
|
-
// Apply workflow plugin to the schema
|
|
238
|
-
applyWorkflowPlugin(applicantSchema, 'applicant');
|
|
239
|
-
// Database indexes for performance optimization
|
|
240
|
-
// Single field indexes
|
|
241
|
-
applicantSchema.index({ applicationId: 1 });
|
|
242
|
-
applicantSchema.index({ applicantId: 1 });
|
|
243
|
-
// Compound indexes
|
|
244
|
-
applicantSchema.index({ applicationId: 1, isExpenseOwner: 1 }); // For expense owner queries
|
|
245
|
-
applicantSchema.index({ applicationId: 1, _id: 1 }); // For application-scoped queries
|
|
246
|
-
// Indexes for lookup operations
|
|
247
|
-
applicantSchema.index({ nationalityLid: 1 });
|
|
248
|
-
applicantSchema.index({ countryOfResidenceLid: 1 });
|
|
249
|
-
applicantSchema.index({ maritalStatusLid: 1 });
|
|
250
|
-
applicantSchema.index({ residentialStatusLid: 1 });
|
|
251
|
-
applicantSchema.index({ addressCountryLid: 1 });
|
|
252
|
-
applicantSchema.index({ incomeSummaryId: 1 });
|
|
253
|
-
const ApplicantModel = mongoose.model("Applicant", applicantSchema);
|
|
254
|
-
export default ApplicantModel;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
-
/// <reference types="mongoose/types/callback" />
|
|
6
|
-
/// <reference types="mongoose/types/collection" />
|
|
7
|
-
/// <reference types="mongoose/types/connection" />
|
|
8
|
-
/// <reference types="mongoose/types/cursor" />
|
|
9
|
-
/// <reference types="mongoose/types/document" />
|
|
10
|
-
/// <reference types="mongoose/types/error" />
|
|
11
|
-
/// <reference types="mongoose/types/expressions" />
|
|
12
|
-
/// <reference types="mongoose/types/helpers" />
|
|
13
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
-
/// <reference types="mongoose/types/indexes" />
|
|
15
|
-
/// <reference types="mongoose/types/models" />
|
|
16
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
-
/// <reference types="mongoose/types/populate" />
|
|
19
|
-
/// <reference types="mongoose/types/query" />
|
|
20
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
-
import { Types } from "mongoose";
|
|
30
|
-
import { IBaseType } from "../types/base.types";
|
|
31
|
-
export default interface IApplicant extends IBaseType {
|
|
32
|
-
applicantId: string;
|
|
33
|
-
applicationId: Types.ObjectId;
|
|
34
|
-
serialName?: string;
|
|
35
|
-
addressCity?: string | null;
|
|
36
|
-
addressCountryLid?: Types.ObjectId | null;
|
|
37
|
-
addressLine1?: string | null;
|
|
38
|
-
addressLine2?: string | null;
|
|
39
|
-
addressLine3?: string | null;
|
|
40
|
-
addressMovedDate?: string | null;
|
|
41
|
-
addressPostCode?: string | null;
|
|
42
|
-
correspondenceAddressCity?: string | null;
|
|
43
|
-
correspondenceAddressCountryLid?: Types.ObjectId | null;
|
|
44
|
-
correspondenceAddressLine1?: string | null;
|
|
45
|
-
correspondenceAddressLine2?: string | null;
|
|
46
|
-
correspondenceAddressLine3?: string | null;
|
|
47
|
-
correspondenceAddressPostCode?: string | null;
|
|
48
|
-
countryOfResidenceLid: Types.ObjectId;
|
|
49
|
-
dateOfBirth: string;
|
|
50
|
-
dependant10Age?: number;
|
|
51
|
-
dependant1Age?: number;
|
|
52
|
-
dependant2Age?: number;
|
|
53
|
-
dependant3Age?: number;
|
|
54
|
-
dependant4Age?: number;
|
|
55
|
-
dependant5Age?: number;
|
|
56
|
-
dependant6Age?: number;
|
|
57
|
-
dependant7Age?: number;
|
|
58
|
-
dependant8Age?: number;
|
|
59
|
-
dependant9Age?: number;
|
|
60
|
-
email: string;
|
|
61
|
-
employmentStatusDetails?: string | null;
|
|
62
|
-
firstName: string;
|
|
63
|
-
isFirstTimelandlord?: boolean;
|
|
64
|
-
foreignIdForNationals?: string | null;
|
|
65
|
-
gdprEmail?: boolean;
|
|
66
|
-
gdprPost?: boolean;
|
|
67
|
-
gdprTelephone?: boolean;
|
|
68
|
-
gdprTextMessage?: boolean;
|
|
69
|
-
gender: string;
|
|
70
|
-
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
71
|
-
hasLinkedJurisdiction?: boolean;
|
|
72
|
-
isCorrespondence?: boolean;
|
|
73
|
-
isCreditCardCommitmentConfirmed?: boolean;
|
|
74
|
-
isMortgageHPPCommitmentConfirmed?: boolean;
|
|
75
|
-
isSecuredLoanCommitmentConfirmed?: boolean;
|
|
76
|
-
isUnsecuredLoanCommitmentConfirmed?: boolean;
|
|
77
|
-
isExpenditureConfirmed?: boolean;
|
|
78
|
-
creditCardRationale?: string;
|
|
79
|
-
mortgageHPPRationale?: string;
|
|
80
|
-
securedLoanRationale?: string;
|
|
81
|
-
unsecuredLoanRationale?: string;
|
|
82
|
-
isCurrentContract?: boolean;
|
|
83
|
-
isCustomerVulnerable?: boolean;
|
|
84
|
-
isExpat?: boolean;
|
|
85
|
-
isFirstApplicant?: boolean;
|
|
86
|
-
isUkPassport?: boolean;
|
|
87
|
-
isUkResident: boolean;
|
|
88
|
-
classLid?: Types.ObjectId | null;
|
|
89
|
-
isExpenseOwner?: boolean;
|
|
90
|
-
pageValidFlag?: boolean;
|
|
91
|
-
lastName: string;
|
|
92
|
-
linkedJurisdictionCountryLid?: Types.ObjectId | null;
|
|
93
|
-
linkedJurisdictionDetails?: string | null;
|
|
94
|
-
maidenName?: string | null;
|
|
95
|
-
maritalStatusLid: Types.ObjectId;
|
|
96
|
-
mobileNumber?: string | null;
|
|
97
|
-
nationalityLid: Types.ObjectId;
|
|
98
|
-
netIncome?: number;
|
|
99
|
-
niNumber: string;
|
|
100
|
-
numberOfDependants?: number;
|
|
101
|
-
isOneYearPrior?: boolean;
|
|
102
|
-
phoneNumber?: string | null;
|
|
103
|
-
previous1AddressCity?: string | null;
|
|
104
|
-
previous1AddressCountryLid?: Types.ObjectId | null;
|
|
105
|
-
previous1AddressLine1?: string | null;
|
|
106
|
-
previous1AddressLine2?: string | null;
|
|
107
|
-
previous1AddressLine3?: string | null;
|
|
108
|
-
previous1AddressMovedDate?: string | null;
|
|
109
|
-
previous1AddressPostCode?: string | null;
|
|
110
|
-
previous1AddressPropertyOwnedBy?: string | null;
|
|
111
|
-
previous2AddressCity?: string | null;
|
|
112
|
-
previous2AddressCountryLid?: Types.ObjectId | null;
|
|
113
|
-
previous2AddressLine1?: string | null;
|
|
114
|
-
previous2AddressLine2?: string | null;
|
|
115
|
-
previous2AddressLine3?: string | null;
|
|
116
|
-
previous2AddressMovedDate?: string | null;
|
|
117
|
-
previous2AddressPostCode?: string | null;
|
|
118
|
-
previous2AddressPropertyOwnedBy?: string | null;
|
|
119
|
-
relationshipToOthers: string;
|
|
120
|
-
residentialStatusLid?: Types.ObjectId | null;
|
|
121
|
-
retirementAge: string;
|
|
122
|
-
taxJurisdictionLid: Types.ObjectId;
|
|
123
|
-
taxPayerLid: Types.ObjectId;
|
|
124
|
-
timeResidedAtCountryOfResidence: number;
|
|
125
|
-
title: string;
|
|
126
|
-
isTwoYearPrior?: boolean;
|
|
127
|
-
understandEnglish: boolean;
|
|
128
|
-
vulnerabilityNotes?: string | null;
|
|
129
|
-
vulnerabilityTypeLids: Types.ObjectId[];
|
|
130
|
-
ukPassportProfessionLid?: Types.ObjectId;
|
|
131
|
-
proposedFinanceAmount?: number;
|
|
132
|
-
topupAmount?: number;
|
|
133
|
-
creditCommitments?: number;
|
|
134
|
-
creditData?: any;
|
|
135
|
-
riskNarrative?: any;
|
|
136
|
-
incomeSourceId?: Types.ObjectId | null;
|
|
137
|
-
directDebit?: any;
|
|
138
|
-
creditProfile?: any;
|
|
139
|
-
employmentInformationId?: Types.ObjectId | null;
|
|
140
|
-
selfEmployedInformationId?: Types.ObjectId | null;
|
|
141
|
-
incomeSummaryId?: Types.ObjectId | null;
|
|
142
|
-
expenseONSVersion?: string | null;
|
|
143
|
-
nationality?: string | null;
|
|
144
|
-
residence?: string | null;
|
|
145
|
-
employmentClass?: string | null;
|
|
146
|
-
addressCountry?: string | null;
|
|
147
|
-
previous1AddressCountry?: string | null;
|
|
148
|
-
previous2AddressCountry?: string | null;
|
|
149
|
-
maritalStatus?: string | null;
|
|
150
|
-
residentialStatus?: string | null;
|
|
151
|
-
taxPayer?: string | null;
|
|
152
|
-
vulnerabilityType?: string[];
|
|
153
|
-
fullName?: string;
|
|
154
|
-
applicationType?: string | null;
|
|
155
|
-
lendingType?: string | null;
|
|
156
|
-
numberOfApplicants?: number;
|
|
157
|
-
}
|
|
158
|
-
//# sourceMappingURL=applicant.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.type.d.ts","sourceRoot":"","sources":["../../applicants/applicant.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,UAAW,SAAQ,SAAS;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,+BAA+B,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACxD,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,0BAA0B,CAAC,EAAE,MAAM,GA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|
|
1
|
-
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
-
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
-
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
5
|
-
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
6
|
-
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
7
|
-
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
8
|
-
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
9
|
-
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
10
|
-
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
11
|
-
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
12
|
-
export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
|
|
13
|
-
export { default as ApplicantEmploymentModel } from './applicant-employment.model';
|
|
14
|
-
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
15
|
-
export { default as ApplicantPropertyIncomeType } from './applicant-property-income.type';
|
|
16
|
-
export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
|
|
17
|
-
export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
|
|
18
|
-
export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
|
|
19
|
-
export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
|
|
20
|
-
export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
|
|
21
|
-
export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
|
|
22
|
-
export { default as ApplicantLargeExposureModel } from './applicant-large-exposure.model';
|
|
23
|
-
export { default as ApplicantLargeExposureType } from './applicant-large-exposure.type';
|
|
24
|
-
export { default as ApplicantAdditionalIncomeType } from './applicant-additional-income.type';
|
|
25
|
-
export { default as ApplicantEmploymentIncomeType } from './applicant-employment-income.type';
|
|
26
|
-
export { default as ApplicantPensionIncomeType } from './applicant-pension-income.type';
|
|
27
|
-
export { default as ApplicantIncomeSettingsType } from './applicant-income-settings.type';
|
|
28
|
-
export { default as ApplicantIncomeSummaryType } from './applicant-income-summary.type';
|
|
29
|
-
export { default as ApplicantSelfEmployedIncomeType } from './applicant-self-employed-income.type';
|
|
30
|
-
export { default as ApplicantSoleTraderIncomeType } from './applicant-sole-trader-income.type';
|
|
31
|
-
export { default as ApplicantUKTaxCreditsType } from './applicant-uk-tax-credits.type';
|
|
32
|
-
export { default as ApplicantExpenditureType } from './applicant-expenditure.type';
|
|
33
|
-
export { default as ApplicantType } from './applicant.type';
|
|
34
|
-
export { default as ApplicantCreditReportType } from './applicant-credit-report.type';
|
|
35
|
-
export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
|
|
36
|
-
export { default as IApplicantWelcomeCallType } from './applicant-welcome-call.type';
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAErG,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,wC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,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/applicants/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
-
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
-
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
5
|
-
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
6
|
-
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
7
|
-
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
8
|
-
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
9
|
-
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
10
|
-
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
11
|
-
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
12
|
-
export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
|
|
13
|
-
export { default as ApplicantEmploymentModel } from './applicant-employment.model';
|
|
14
|
-
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
15
|
-
export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
|
|
16
|
-
export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
|
|
17
|
-
export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
|
|
18
|
-
export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
|
|
19
|
-
export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
|
|
20
|
-
export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
|
|
21
|
-
export { default as ApplicantLargeExposureModel } from './applicant-large-exposure.model';
|
|
22
|
-
export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
-
/// <reference types="mongoose/types/callback" />
|
|
6
|
-
/// <reference types="mongoose/types/collection" />
|
|
7
|
-
/// <reference types="mongoose/types/connection" />
|
|
8
|
-
/// <reference types="mongoose/types/cursor" />
|
|
9
|
-
/// <reference types="mongoose/types/document" />
|
|
10
|
-
/// <reference types="mongoose/types/error" />
|
|
11
|
-
/// <reference types="mongoose/types/expressions" />
|
|
12
|
-
/// <reference types="mongoose/types/helpers" />
|
|
13
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
-
/// <reference types="mongoose/types/indexes" />
|
|
15
|
-
/// <reference types="mongoose/types/models" />
|
|
16
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
-
/// <reference types="mongoose/types/populate" />
|
|
19
|
-
/// <reference types="mongoose/types/query" />
|
|
20
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
-
import mongoose from "mongoose";
|
|
30
|
-
declare const ApplicationAuditModel: mongoose.Model<{
|
|
31
|
-
createdAt: NativeDate;
|
|
32
|
-
updatedAt: NativeDate;
|
|
33
|
-
} & {
|
|
34
|
-
name: string;
|
|
35
|
-
auditId: string;
|
|
36
|
-
accountId: string;
|
|
37
|
-
auditCorrelationId: string;
|
|
38
|
-
auditDate: NativeDate;
|
|
39
|
-
changeType: string;
|
|
40
|
-
applicationId: mongoose.Types.ObjectId;
|
|
41
|
-
oldValue: string;
|
|
42
|
-
newValue: string;
|
|
43
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
44
|
-
createdAt: NativeDate;
|
|
45
|
-
updatedAt: NativeDate;
|
|
46
|
-
} & {
|
|
47
|
-
name: string;
|
|
48
|
-
auditId: string;
|
|
49
|
-
accountId: string;
|
|
50
|
-
auditCorrelationId: string;
|
|
51
|
-
auditDate: NativeDate;
|
|
52
|
-
changeType: string;
|
|
53
|
-
applicationId: mongoose.Types.ObjectId;
|
|
54
|
-
oldValue: string;
|
|
55
|
-
newValue: string;
|
|
56
|
-
}, {}> & {
|
|
57
|
-
createdAt: NativeDate;
|
|
58
|
-
updatedAt: NativeDate;
|
|
59
|
-
} & {
|
|
60
|
-
name: string;
|
|
61
|
-
auditId: string;
|
|
62
|
-
accountId: string;
|
|
63
|
-
auditCorrelationId: string;
|
|
64
|
-
auditDate: NativeDate;
|
|
65
|
-
changeType: string;
|
|
66
|
-
applicationId: mongoose.Types.ObjectId;
|
|
67
|
-
oldValue: string;
|
|
68
|
-
newValue: string;
|
|
69
|
-
} & {
|
|
70
|
-
_id: mongoose.Types.ObjectId;
|
|
71
|
-
} & {
|
|
72
|
-
__v: number;
|
|
73
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
74
|
-
timestamps: true;
|
|
75
|
-
}, {
|
|
76
|
-
createdAt: NativeDate;
|
|
77
|
-
updatedAt: NativeDate;
|
|
78
|
-
} & {
|
|
79
|
-
name: string;
|
|
80
|
-
auditId: string;
|
|
81
|
-
accountId: string;
|
|
82
|
-
auditCorrelationId: string;
|
|
83
|
-
auditDate: NativeDate;
|
|
84
|
-
changeType: string;
|
|
85
|
-
applicationId: mongoose.Types.ObjectId;
|
|
86
|
-
oldValue: string;
|
|
87
|
-
newValue: string;
|
|
88
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
89
|
-
createdAt: NativeDate;
|
|
90
|
-
updatedAt: NativeDate;
|
|
91
|
-
} & {
|
|
92
|
-
name: string;
|
|
93
|
-
auditId: string;
|
|
94
|
-
accountId: string;
|
|
95
|
-
auditCorrelationId: string;
|
|
96
|
-
auditDate: NativeDate;
|
|
97
|
-
changeType: string;
|
|
98
|
-
applicationId: mongoose.Types.ObjectId;
|
|
99
|
-
oldValue: string;
|
|
100
|
-
newValue: string;
|
|
101
|
-
}>, {}> & mongoose.FlatRecord<{
|
|
102
|
-
createdAt: NativeDate;
|
|
103
|
-
updatedAt: NativeDate;
|
|
104
|
-
} & {
|
|
105
|
-
name: string;
|
|
106
|
-
auditId: string;
|
|
107
|
-
accountId: string;
|
|
108
|
-
auditCorrelationId: string;
|
|
109
|
-
auditDate: NativeDate;
|
|
110
|
-
changeType: string;
|
|
111
|
-
applicationId: mongoose.Types.ObjectId;
|
|
112
|
-
oldValue: string;
|
|
113
|
-
newValue: string;
|
|
114
|
-
}> & {
|
|
115
|
-
_id: mongoose.Types.ObjectId;
|
|
116
|
-
} & {
|
|
117
|
-
__v: number;
|
|
118
|
-
}>>;
|
|
119
|
-
export default ApplicationAuditModel;
|
|
120
|
-
//# sourceMappingURL=application-audit.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAmDhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|