@dynamatix/gb-schemas 2.0.68 → 2.3.237
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/dist/applicants/applicant-additional-income.model.d.ts +185 -2
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-additional-income.model.js +18 -3
- package/dist/applicants/applicant-additional-income.type.d.ts +40 -0
- package/dist/applicants/applicant-additional-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +50 -8
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +6 -6
- package/dist/applicants/applicant-commitment-loan.model.d.ts +47 -8
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +8 -8
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +53 -14
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +13 -19
- package/dist/applicants/applicant-commitment-residence.model.d.ts +767 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-residence.model.js +52 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +47 -14
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +8 -8
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +47 -14
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +8 -8
- package/dist/applicants/applicant-credit-data.model.d.ts +29 -1
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +29 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +29 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.d.ts +32 -2
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.js +7 -2
- package/dist/applicants/applicant-employment-income.type.d.ts +37 -0
- package/dist/applicants/applicant-employment-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.type.js +1 -0
- package/dist/applicants/applicant-employment.model.d.ts +87 -624
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +6 -10
- package/dist/applicants/applicant-expenditure.model.d.ts +35 -8
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +6 -2
- package/dist/applicants/applicant-income-settings.model.d.ts +30 -2
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-settings.model.js +7 -0
- package/dist/applicants/applicant-income-summary.model.d.ts +1907 -0
- package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.model.js +38 -0
- package/dist/applicants/applicant-income.model.d.ts +485 -125
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.js +48 -44
- package/dist/applicants/applicant-pension-income.model.d.ts +38 -290
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-pension-income.model.js +9 -6
- package/dist/applicants/applicant-property-income.model.d.ts +65 -20
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.js +14 -7
- package/dist/applicants/applicant-risk-narrative.model.d.ts +29 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.d.ts +32 -2
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.js +9 -2
- package/dist/applicants/applicant-self-employment.model.d.ts +269 -0
- package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employment.model.js +50 -0
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +32 -2
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.js +7 -2
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +53 -305
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +10 -7
- package/dist/applicants/applicant.model.d.ts +1511 -88
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +14 -8
- package/dist/applicants/index.d.ts +10 -8
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +10 -8
- package/dist/applications/application-audit.model.d.ts +30 -2
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +30 -2
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +47 -2
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-company-model.js +11 -9
- package/dist/applications/application-credit-profile.model.d.ts +29 -1
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +35 -5
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +2 -1
- package/dist/applications/application-document.model.d.ts +30 -2
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-euc.model.d.ts +70 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -0
- package/dist/applications/application-euc.model.js +9 -0
- package/dist/applications/application-fieldconfig.model.d.ts +30 -2
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +30 -2
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +30 -2
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +194 -1097
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +13 -21
- package/dist/applications/application-note.model.d.ts +30 -2
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +30 -2
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +30 -2
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +30 -2
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +5 -4
- package/dist/applications/application-productfeatures.model.d.ts +30 -2
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +90 -194
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.js +24 -32
- package/dist/applications/application-rationale.type.d.ts +44 -0
- package/dist/applications/application-rationale.type.d.ts.map +1 -0
- package/dist/applications/application-rationale.type.js +1 -0
- package/dist/applications/application-risk-narrative.model.d.ts +30 -2
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +29 -1
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +60 -50
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +45 -9
- package/dist/applications/applications-task.model.d.ts +112 -0
- package/dist/applications/applications-task.model.d.ts.map +1 -0
- package/dist/applications/applications-task.model.js +50 -0
- package/dist/applications/broker.model.d.ts +30 -2
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +30 -2
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/index.d.ts +3 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +3 -0
- package/dist/applications/solicitor.model.d.ts +35 -8
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/product-catalogues/product-catalogue.model.d.ts +30 -2
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +30 -2
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +30 -2
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +44 -2
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +12 -6
- package/dist/properties/security.model.d.ts +30 -2
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/properties/security.model.js +5 -3
- package/dist/shared/alert.model.d.ts +30 -2
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +30 -2
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +30 -2
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +30 -2
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +30 -2
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +30 -2
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +30 -2
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +30 -2
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +30 -2
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +30 -2
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +30 -2
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +30 -2
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/types/base.types.d.ts +35 -0
- package/dist/types/base.types.d.ts.map +1 -0
- package/dist/types/base.types.js +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +1 -0
- package/dist/underwriter/underwriter.model.d.ts +30 -2
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +30 -2
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +30 -2
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +30 -2
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +30 -2
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +30 -2
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +30 -2
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/account-number.d.ts +42 -0
- package/dist/value-objects/account-number.d.ts.map +1 -0
- package/dist/value-objects/account-number.js +24 -0
- package/dist/value-objects/pound.d.ts +28 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/pound.js +33 -9
- package/dist/value-objects/sort-code.d.ts +27 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/dist/value-objects/sort-code.js +13 -4
- package/package.json +76 -83
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment-income.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -54
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment.entity.js +0 -5
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-expenditure.entity.js +0 -5
- package/dist/entities/applicants/applicant-income-settings.entity.d.ts +0 -17
- package/dist/entities/applicants/applicant-income-settings.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income-settings.entity.js +0 -5
- package/dist/entities/applicants/applicant-income.entity.d.ts +0 -77
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income.entity.js +0 -2
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts +0 -18
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-share-holding.entity.js +0 -5
- package/dist/entities/applicants/applicant.entity.d.ts +0 -144
- package/dist/entities/applicants/applicant.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant.entity.js +0 -48
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +0 -22
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-card-commitment.entity.js +0 -9
- package/dist/entities/applicants/index.d.ts +0 -20
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -18
- package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/loan-commitment.entity.js +0 -15
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -50
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/mortgage-commitment.entity.js +0 -27
- package/dist/entities/applicants/other-income.entity.d.ts +0 -41
- package/dist/entities/applicants/other-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/other-income.entity.js +0 -19
- package/dist/entities/applicants/property-income.entity.d.ts +0 -17
- package/dist/entities/applicants/property-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/property-income.entity.js +0 -5
- package/dist/entities/applicants/residence-commitment.entity.d.ts +0 -44
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/residence-commitment.entity.js +0 -19
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -12
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -12
- package/dist/entities/applications/application-audit.entity.d.ts +0 -18
- package/dist/entities/applications/application-audit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-audit.entity.js +0 -5
- package/dist/entities/applications/application-company.entity.d.ts +0 -60
- package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-company.entity.js +0 -15
- package/dist/entities/applications/application-credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-credit-profile.entity.js +0 -5
- package/dist/entities/applications/application-direct-debit.entity.d.ts +0 -24
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-direct-debit.entity.js +0 -5
- package/dist/entities/applications/application-document.entity.d.ts +0 -28
- package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-document.entity.js +0 -5
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
- package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
- package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-illustration.entity.js +0 -5
- package/dist/entities/applications/application-legal.entity.d.ts +0 -9
- package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-legal.entity.js +0 -5
- package/dist/entities/applications/application-mortgage.entity.d.ts +0 -55
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-mortgage.entity.js +0 -27
- package/dist/entities/applications/application-note.entity.d.ts +0 -37
- package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-note.entity.js +0 -5
- package/dist/entities/applications/application-offer.entity.d.ts +0 -8
- package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-offer.entity.js +0 -5
- package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-onboarding.entity.js +0 -5
- package/dist/entities/applications/application-product.entity.d.ts +0 -33
- package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-product.entity.js +0 -5
- package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
- package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-rationale.entity.js +0 -5
- package/dist/entities/applications/application.entity.d.ts +0 -102
- package/dist/entities/applications/application.entity.d.ts.map +0 -1
- package/dist/entities/applications/application.entity.js +0 -66
- package/dist/entities/applications/broker.entity.d.ts +0 -23
- package/dist/entities/applications/broker.entity.d.ts.map +0 -1
- package/dist/entities/applications/broker.entity.js +0 -5
- package/dist/entities/applications/checklist-item.entity.d.ts +0 -47
- package/dist/entities/applications/checklist-item.entity.d.ts.map +0 -1
- package/dist/entities/applications/checklist-item.entity.js +0 -5
- package/dist/entities/applications/index.d.ts +0 -22
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -20
- package/dist/entities/applications/product-features.entity.d.ts +0 -104
- package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
- package/dist/entities/applications/product-features.entity.js +0 -20
- package/dist/entities/applications/solicitor.entity.d.ts +0 -33
- package/dist/entities/applications/solicitor.entity.d.ts.map +0 -1
- package/dist/entities/applications/solicitor.entity.js +0 -5
- package/dist/entities/index.d.ts +0 -10
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/index.js +0 -10
- package/dist/entities/prisma.d.ts +0 -3
- package/dist/entities/prisma.d.ts.map +0 -1
- package/dist/entities/prisma.js +0 -10
- package/dist/entities/product-catalogues/index.d.ts +0 -7
- package/dist/entities/product-catalogues/index.d.ts.map +0 -1
- package/dist/entities/product-catalogues/index.js +0 -5
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +0 -22
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-catalogue.entity.js +0 -5
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +0 -28
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-definition.entity.js +0 -5
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +0 -14
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-variant.entity.js +0 -5
- package/dist/entities/product-catalogues/product.entity.d.ts +0 -11
- package/dist/entities/product-catalogues/product.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product.entity.js +0 -5
- package/dist/entities/properties/data-street.entity.d.ts +0 -22
- package/dist/entities/properties/data-street.entity.d.ts.map +0 -1
- package/dist/entities/properties/data-street.entity.js +0 -5
- package/dist/entities/properties/index.d.ts +0 -6
- package/dist/entities/properties/index.d.ts.map +0 -1
- package/dist/entities/properties/index.js +0 -4
- package/dist/entities/properties/property.entity.d.ts +0 -30
- package/dist/entities/properties/property.entity.d.ts.map +0 -1
- package/dist/entities/properties/property.entity.js +0 -5
- package/dist/entities/properties/security.entity.d.ts +0 -58
- package/dist/entities/properties/security.entity.d.ts.map +0 -1
- package/dist/entities/properties/security.entity.js +0 -5
- package/dist/entities/shared/alert.entity.d.ts +0 -14
- package/dist/entities/shared/alert.entity.d.ts.map +0 -1
- package/dist/entities/shared/alert.entity.js +0 -5
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +0 -19
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +0 -1
- package/dist/entities/shared/apprivo-sync-journey.entity.js +0 -5
- package/dist/entities/shared/checklist.entity.d.ts +0 -15
- package/dist/entities/shared/checklist.entity.d.ts.map +0 -1
- package/dist/entities/shared/checklist.entity.js +0 -5
- package/dist/entities/shared/document-type.entity.d.ts +0 -9
- package/dist/entities/shared/document-type.entity.d.ts.map +0 -1
- package/dist/entities/shared/document-type.entity.js +0 -5
- package/dist/entities/shared/index.d.ts +0 -12
- package/dist/entities/shared/index.d.ts.map +0 -1
- package/dist/entities/shared/index.js +0 -10
- package/dist/entities/shared/job-run.entity.d.ts +0 -15
- package/dist/entities/shared/job-run.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-run.entity.js +0 -5
- package/dist/entities/shared/job-run.model.d.ts +0 -11
- package/dist/entities/shared/job-run.model.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.d.ts +0 -11
- package/dist/entities/shared/job-setting.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.js +0 -5
- package/dist/entities/shared/lookup-group.entity.d.ts +0 -11
- package/dist/entities/shared/lookup-group.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup-group.entity.js +0 -5
- package/dist/entities/shared/lookup.entity.d.ts +0 -14
- package/dist/entities/shared/lookup.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup.entity.js +0 -5
- package/dist/entities/shared/system-parameter.entity.d.ts +0 -10
- package/dist/entities/shared/system-parameter.entity.d.ts.map +0 -1
- package/dist/entities/shared/system-parameter.entity.js +0 -5
- package/dist/entities/underwriter/index.d.ts +0 -4
- package/dist/entities/underwriter/index.d.ts.map +0 -1
- package/dist/entities/underwriter/index.js +0 -2
- package/dist/entities/underwriter/underwriter.entity.d.ts +0 -19
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +0 -1
- package/dist/entities/underwriter/underwriter.entity.js +0 -5
- package/dist/entities/users/auth-log.entity.d.ts +0 -11
- package/dist/entities/users/auth-log.entity.d.ts.map +0 -1
- package/dist/entities/users/auth-log.entity.js +0 -5
- package/dist/entities/users/index.d.ts +0 -8
- package/dist/entities/users/index.d.ts.map +0 -1
- package/dist/entities/users/index.js +0 -6
- package/dist/entities/users/permission.entity.d.ts +0 -12
- package/dist/entities/users/permission.entity.d.ts.map +0 -1
- package/dist/entities/users/permission.entity.js +0 -5
- package/dist/entities/users/role-group.entity.d.ts +0 -13
- package/dist/entities/users/role-group.entity.d.ts.map +0 -1
- package/dist/entities/users/role-group.entity.js +0 -5
- package/dist/entities/users/role.entity.d.ts +0 -16
- package/dist/entities/users/role.entity.d.ts.map +0 -1
- package/dist/entities/users/role.entity.js +0 -5
- package/dist/entities/users/user.entity.d.ts +0 -33
- package/dist/entities/users/user.entity.d.ts.map +0 -1
- package/dist/entities/users/user.entity.js +0 -5
- package/entities/applicants/applicant-credit-data.entity.ts +0 -24
- package/entities/applicants/applicant-credit-profile.entity.ts +0 -19
- package/entities/applicants/applicant-employment-income.entity.ts +0 -18
- package/entities/applicants/applicant-employment.entity.ts +0 -60
- package/entities/applicants/applicant-expenditure.entity.ts +0 -19
- package/entities/applicants/applicant-income-settings.entity.ts +0 -22
- package/entities/applicants/applicant-income.entity.ts +0 -79
- package/entities/applicants/applicant-share-holding.entity.ts +0 -23
- package/entities/applicants/applicant.entity.ts +0 -194
- package/entities/applicants/credit-card-commitment.entity.ts +0 -31
- package/entities/applicants/index.ts +0 -59
- package/entities/applicants/loan-commitment.entity.ts +0 -44
- package/entities/applicants/mortgage-commitment.entity.ts +0 -77
- package/entities/applicants/other-income.entity.ts +0 -68
- package/entities/applicants/property-income.entity.ts +0 -19
- package/entities/applicants/residence-commitment.entity.ts +0 -63
- package/entities/applicants/secure-loan-commitment.entity.ts +0 -41
- package/entities/applicants/unsecured-loan-commitment.entity.ts +0 -41
- package/entities/applications/application-audit.entity.ts +0 -23
- package/entities/applications/application-company.entity.ts +0 -76
- package/entities/applications/application-credit-profile.entity.ts +0 -13
- package/entities/applications/application-direct-debit.entity.ts +0 -29
- package/entities/applications/application-document.entity.ts +0 -33
- package/entities/applications/application-fieldconfig.entity.ts +0 -11
- package/entities/applications/application-illustration.entity.ts +0 -10
- package/entities/applications/application-legal.entity.ts +0 -11
- package/entities/applications/application-mortgage.entity.ts +0 -82
- package/entities/applications/application-note.entity.ts +0 -42
- package/entities/applications/application-offer.entity.ts +0 -10
- package/entities/applications/application-onboarding.entity.ts +0 -13
- package/entities/applications/application-product.entity.ts +0 -38
- package/entities/applications/application-rationale.entity.ts +0 -56
- package/entities/applications/application.entity.ts +0 -168
- package/entities/applications/broker.entity.ts +0 -25
- package/entities/applications/checklist-item.entity.ts +0 -49
- package/entities/applications/index.ts +0 -63
- package/entities/applications/product-features.entity.ts +0 -118
- package/entities/applications/solicitor.entity.ts +0 -38
- package/entities/index.ts +0 -14
- package/entities/prisma.ts +0 -13
- package/entities/product-catalogues/index.ts +0 -20
- package/entities/product-catalogues/product-catalogue.entity.ts +0 -27
- package/entities/product-catalogues/product-definition.entity.ts +0 -34
- package/entities/product-catalogues/product-variant.entity.ts +0 -19
- package/entities/product-catalogues/product.entity.ts +0 -16
- package/entities/properties/data-street.entity.ts +0 -27
- package/entities/properties/index.ts +0 -17
- package/entities/properties/property.entity.ts +0 -35
- package/entities/properties/security.entity.ts +0 -63
- package/entities/shared/alert.entity.ts +0 -19
- package/entities/shared/apprivo-sync-journey.entity.ts +0 -25
- package/entities/shared/apprivo-sync-journey.model.ts +0 -13
- package/entities/shared/checklist.entity.ts +0 -20
- package/entities/shared/document-type.entity.ts +0 -11
- package/entities/shared/index.ts +0 -35
- package/entities/shared/job-run.entity.ts +0 -20
- package/entities/shared/job-run.model.ts +0 -10
- package/entities/shared/job-setting.entity.ts +0 -13
- package/entities/shared/lookup-group.entity.ts +0 -16
- package/entities/shared/lookup.entity.ts +0 -19
- package/entities/shared/system-parameter.entity.ts +0 -13
- package/entities/underwriter/index.ts +0 -7
- package/entities/underwriter/underwriter.entity.ts +0 -24
- package/entities/users/auth-log.entity.ts +0 -13
- package/entities/users/index.ts +0 -23
- package/entities/users/permission.entity.ts +0 -17
- package/entities/users/role-group.entity.ts +0 -18
- package/entities/users/role.entity.ts +0 -21
- package/entities/users/user.entity.ts +0 -38
- package/prisma/applicants/applicant-credit-data.prisma +0 -19
- package/prisma/applicants/applicant-credit-profile.prisma +0 -15
- package/prisma/applicants/applicant-employment-income.prisma +0 -15
- package/prisma/applicants/applicant-employment.prisma +0 -54
- package/prisma/applicants/applicant-expenditure.prisma +0 -14
- package/prisma/applicants/applicant-income-settings.prisma +0 -17
- package/prisma/applicants/applicant-income.prisma +0 -78
- package/prisma/applicants/applicant-other-income.prisma +0 -45
- package/prisma/applicants/applicant-property-income.prisma +0 -21
- package/prisma/applicants/applicant-share-holding.prisma +0 -17
- package/prisma/applicants/applicant.prisma +0 -130
- package/prisma/applicants/credit-card-commitment.prisma +0 -21
- package/prisma/applicants/loan-commitment.prisma +0 -26
- package/prisma/applicants/mortgage-commitment.prisma +0 -43
- package/prisma/applicants/residence-commitment.prisma +0 -41
- package/prisma/applicants/secured-loan-commitment.prisma +0 -27
- package/prisma/applicants/unsecured-loan-commitment.prisma +0 -27
- package/prisma/applications/application-audit.prisma +0 -19
- package/prisma/applications/application-company.prisma +0 -56
- package/prisma/applications/application-credit-profile.prisma +0 -15
- package/prisma/applications/application-direct-debit.prisma +0 -27
- package/prisma/applications/application-document.prisma +0 -28
- package/prisma/applications/application-fieldconfig.prisma +0 -9
- package/prisma/applications/application-illustration.prisma +0 -8
- package/prisma/applications/application-legal.prisma +0 -9
- package/prisma/applications/application-mortgage.prisma +0 -48
- package/prisma/applications/application-note.prisma +0 -36
- package/prisma/applications/application-offer.prisma +0 -8
- package/prisma/applications/application-onboarding.prisma +0 -11
- package/prisma/applications/application-product.prisma +0 -33
- package/prisma/applications/application-rationale.prisma +0 -51
- package/prisma/applications/application.prisma +0 -92
- package/prisma/applications/broker.prisma +0 -26
- package/prisma/applications/checklist-item.prisma +0 -47
- package/prisma/applications/checklist.prisma +0 -19
- package/prisma/applications/product-features.prisma +0 -122
- package/prisma/applications/solicitor.prisma +0 -33
- package/prisma/broker.entity.ts +0 -8
- package/prisma/migrations/20250501070203_initial_migration/migration.sql +0 -2044
- package/prisma/migrations/20250501102630_job_setting_name_change/migration.sql +0 -10
- package/prisma/migrations/20250501104920_milstone_update/migration.sql +0 -30
- package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +0 -9
- package/prisma/migrations/20250501105850_job_run_update/migration.sql +0 -13
- package/prisma/migrations/20250505115236_update_application_schema/migration.sql +0 -115
- package/prisma/migrations/20250505145328_update_broker_schema/migration.sql +0 -8
- package/prisma/migrations/20250505185034_update_direct_debit_schema/migration.sql +0 -27
- package/prisma/migrations/20250505190613_update_solicitor_schema/migration.sql +0 -29
- package/prisma/migrations/20250506054831_update_note_schema/migration.sql +0 -12
- package/prisma/migrations/20250506142218_update_broker_schema/migration.sql +0 -17
- package/prisma/migrations/20250506190258_update_application_note_schema/migration.sql +0 -32
- package/prisma/migrations/20250506204635_update_mortgage_schema/migration.sql +0 -26
- package/prisma/migrations/20250507122847_applicant_retirement_age/migration.sql +0 -9
- package/prisma/migrations/20250507184905_update_mortgage_schema/migration.sql +0 -8
- package/prisma/migrations/20250507194746_update_direct_debit_schema/migration.sql +0 -5
- package/prisma/migrations/20250508092417_update_application_schema/migration.sql +0 -3
- package/prisma/migrations/20250508094735_update_direct_debit_schema/migration.sql +0 -2
- package/prisma/migrations/20250509073536_update_applicant_schema/migration.sql +0 -4
- package/prisma/migrations/20250509111029_update_solicitor_schema/migration.sql +0 -2
- package/prisma/migrations/20250509125107_update_mortgage_schema/migration.sql +0 -19
- package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +0 -15
- package/prisma/migrations/20250512094011_update_property_schema/migration.sql +0 -34
- package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +0 -2
- package/prisma/migrations/20250513132704_update_credit_card_commitment_schema/migration.sql +0 -22
- package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +0 -89
- package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +0 -33
- package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +0 -4
- package/prisma/migrations/20250513202307_update_role_schema/migration.sql +0 -12
- package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +0 -12
- package/prisma/migrations/20250514064054_update_user_schema/migration.sql +0 -12
- package/prisma/migrations/20250514071524_update_user_schema/migration.sql +0 -15
- package/prisma/migrations/20250514072729_update_user_schema/migration.sql +0 -18
- package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +0 -9
- package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +0 -100
- package/prisma/migrations/20250514194139_update_applicant_share_holding_schema/migration.sql +0 -11
- package/prisma/migrations/20250515132015_update_underwriter_schema/migration.sql +0 -56
- package/prisma/migrations/20250515133236_update_underwriter_schema/migration.sql +0 -12
- package/prisma/migrations/20250515172824_update_security_schema/migration.sql +0 -43
- package/prisma/migrations/20250516053810_update_underwriter_schema/migration.sql +0 -14
- package/prisma/migrations/20250516075153_update_commitments_schemas/migration.sql +0 -134
- package/prisma/migrations/20250516094438_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250519075211_update_product_features_schema/migration.sql +0 -15
- package/prisma/migrations/20250519094725_update_product_feature_schema/migration.sql +0 -163
- package/prisma/migrations/20250519133154_update_employemnt_income_schema/migration.sql +0 -11
- package/prisma/migrations/20250519181411_update_applicant_income_schema/migration.sql +0 -65
- package/prisma/migrations/20250520030945_update_income_settings_schema/migration.sql +0 -44
- package/prisma/migrations/20250520061455_update_income_settings_schema/migration.sql +0 -11
- package/prisma/migrations/20250521173204_update_product_catalogue_schema/migration.sql +0 -28
- package/prisma/migrations/20250521180300_update_product_variant_schema/migration.sql +0 -8
- package/prisma/migrations/20250521191050_update_product_definition_schema/migration.sql +0 -23
- package/prisma/migrations/20250521192012_update_product_definition_schema/migration.sql +0 -9
- package/prisma/migrations/20250521194549_update_product_definition_schema/migration.sql +0 -14
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma/product-catalogues/product-catalogue.prisma +0 -22
- package/prisma/product-catalogues/product-definition.prisma +0 -16
- package/prisma/product-catalogues/product-variant.prisma +0 -15
- package/prisma/product-catalogues/product.prisma +0 -10
- package/prisma/properties/property.prisma +0 -30
- package/prisma/properties/security.prisma +0 -81
- package/prisma/schema.prisma +0 -1955
- package/prisma/shared/alert.prisma +0 -15
- package/prisma/shared/apprivo-sync-journey.prisma +0 -19
- package/prisma/shared/checklist.prisma +0 -10
- package/prisma/shared/document-type.prisma +0 -9
- package/prisma/shared/job-run.prisma +0 -15
- package/prisma/shared/job-setting.prisma +0 -11
- package/prisma/shared/lookup-group.prisma +0 -12
- package/prisma/shared/lookup.prisma +0 -154
- package/prisma/shared/system-parameter.prisma +0 -16
- package/prisma/underwriter/underwriter.prisma +0 -20
- package/prisma/users/auth-log.prisma +0 -11
- package/prisma/users/permission.prisma +0 -13
- package/prisma/users/role-group.prisma +0 -15
- package/prisma/users/role.prisma +0 -15
- package/prisma/users/user.prisma +0 -30
- /package/dist/{entities/shared/job-run.model.js → applicants/applicant-additional-income.type.js} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `job_name` on the `job_settings` table. All the data in the column will be lost.
|
|
5
|
-
- Added the required column `name` to the `job_settings` table without a default value. This is not possible if the table is not empty.
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
-- AlterTable
|
|
9
|
-
ALTER TABLE "job_settings" DROP COLUMN "job_name",
|
|
10
|
-
ADD COLUMN "name" TEXT NOT NULL;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `completed_at` on the `apprivo_sync_journeys` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `journey_id` on the `apprivo_sync_journeys` table. All the data in the column will be lost.
|
|
6
|
-
- You are about to drop the column `started_at` on the `apprivo_sync_journeys` table. All the data in the column will be lost.
|
|
7
|
-
- You are about to drop the column `status` on the `apprivo_sync_journeys` table. All the data in the column will be lost.
|
|
8
|
-
- Added the required column `application_id` to the `apprivo_sync_journeys` table without a default value. This is not possible if the table is not empty.
|
|
9
|
-
- Added the required column `is_first_pull` to the `apprivo_sync_journeys` table without a default value. This is not possible if the table is not empty.
|
|
10
|
-
- Added the required column `milestone_status` to the `apprivo_sync_journeys` table without a default value. This is not possible if the table is not empty.
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
-- AlterTable
|
|
14
|
-
ALTER TABLE "apprivo_sync_journeys" DROP COLUMN "completed_at",
|
|
15
|
-
DROP COLUMN "journey_id",
|
|
16
|
-
DROP COLUMN "started_at",
|
|
17
|
-
DROP COLUMN "status",
|
|
18
|
-
ADD COLUMN "application_id" TEXT NOT NULL,
|
|
19
|
-
ADD COLUMN "end_time" TIMESTAMP(3),
|
|
20
|
-
ADD COLUMN "is_first_pull" TEXT NOT NULL,
|
|
21
|
-
ADD COLUMN "job_run_id" TEXT,
|
|
22
|
-
ADD COLUMN "milestone_lid" TEXT,
|
|
23
|
-
ADD COLUMN "milestone_status" TEXT NOT NULL,
|
|
24
|
-
ADD COLUMN "start_time" TIMESTAMP(3);
|
|
25
|
-
|
|
26
|
-
-- AddForeignKey
|
|
27
|
-
ALTER TABLE "apprivo_sync_journeys" ADD CONSTRAINT "apprivo_sync_journeys_milestone_lid_fkey" FOREIGN KEY ("milestone_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
28
|
-
|
|
29
|
-
-- AddForeignKey
|
|
30
|
-
ALTER TABLE "apprivo_sync_journeys" ADD CONSTRAINT "apprivo_sync_journeys_job_run_id_fkey" FOREIGN KEY ("job_run_id") REFERENCES "job_runs"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Changed the type of `is_first_pull` on the `apprivo_sync_journeys` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "apprivo_sync_journeys" DROP COLUMN "is_first_pull",
|
|
9
|
-
ADD COLUMN "is_first_pull" BOOLEAN NOT NULL;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `completed_at` on the `job_runs` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `started_at` on the `job_runs` table. All the data in the column will be lost.
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
-- AlterTable
|
|
9
|
-
ALTER TABLE "job_runs" DROP COLUMN "completed_at",
|
|
10
|
-
DROP COLUMN "started_at",
|
|
11
|
-
ADD COLUMN "end_time" TIMESTAMP(3),
|
|
12
|
-
ADD COLUMN "error" TEXT,
|
|
13
|
-
ADD COLUMN "start_time" TIMESTAMP(3);
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `application_status_lid` on the `applications` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `application_sub_type_lid` on the `applications` table. All the data in the column will be lost.
|
|
6
|
-
- You are about to drop the column `application_sub_type_other` on the `applications` table. All the data in the column will be lost.
|
|
7
|
-
- You are about to drop the column `application_sub_type_other_details` on the `applications` table. All the data in the column will be lost.
|
|
8
|
-
- You are about to drop the column `application_sub_type_other_lid` on the `applications` table. All the data in the column will be lost.
|
|
9
|
-
- You are about to drop the column `application_sub_type_other_lid_details` on the `applications` table. All the data in the column will be lost.
|
|
10
|
-
- You are about to drop the column `application_sub_type_other_lid_other` on the `applications` table. All the data in the column will be lost.
|
|
11
|
-
- You are about to drop the column `application_sub_type_other_lid_other_details` on the `applications` table. All the data in the column will be lost.
|
|
12
|
-
- You are about to drop the column `created_at` on the `applications` table. All the data in the column will be lost.
|
|
13
|
-
- You are about to drop the column `pageValidFlag` on the `applications` table. All the data in the column will be lost.
|
|
14
|
-
- You are about to drop the column `updated_at` on the `applications` table. All the data in the column will be lost.
|
|
15
|
-
- The `case_manager_accepted` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
16
|
-
- The `is_broker_assigned` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
17
|
-
- The `last_updated` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
18
|
-
- The `submitted_date` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
19
|
-
- The `is_active` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
20
|
-
- The `is_uk_resident` column on the `applications` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
21
|
-
- Changed the type of `is_application_fee_paid` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
22
|
-
- Changed the type of `is_intend_to_occupy` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
23
|
-
- Changed the type of `is_introducer_submission` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
24
|
-
- Changed the type of `is_finance_recommended_to_applicant` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
25
|
-
- Changed the type of `is_workflow_task_created` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
26
|
-
- Changed the type of `is_network_club_submission` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
27
|
-
- Changed the type of `is_valuation_fee_paid` on the `applications` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
28
|
-
|
|
29
|
-
*/
|
|
30
|
-
-- DropForeignKey
|
|
31
|
-
ALTER TABLE "applications" DROP CONSTRAINT "applications_broker_id_fkey";
|
|
32
|
-
|
|
33
|
-
-- DropIndex
|
|
34
|
-
DROP INDEX "applications_company_id_key";
|
|
35
|
-
|
|
36
|
-
-- DropIndex
|
|
37
|
-
DROP INDEX "applications_direct_debit_id_key";
|
|
38
|
-
|
|
39
|
-
-- DropIndex
|
|
40
|
-
DROP INDEX "applications_mortgage_id_key";
|
|
41
|
-
|
|
42
|
-
-- DropIndex
|
|
43
|
-
DROP INDEX "applications_rationale_id_key";
|
|
44
|
-
|
|
45
|
-
-- DropIndex
|
|
46
|
-
DROP INDEX "applications_security_id_key";
|
|
47
|
-
|
|
48
|
-
-- DropIndex
|
|
49
|
-
DROP INDEX "applications_solicitor_id_key";
|
|
50
|
-
|
|
51
|
-
-- AlterTable
|
|
52
|
-
ALTER TABLE "applications" DROP COLUMN "application_status_lid",
|
|
53
|
-
DROP COLUMN "application_sub_type_lid",
|
|
54
|
-
DROP COLUMN "application_sub_type_other",
|
|
55
|
-
DROP COLUMN "application_sub_type_other_details",
|
|
56
|
-
DROP COLUMN "application_sub_type_other_lid",
|
|
57
|
-
DROP COLUMN "application_sub_type_other_lid_details",
|
|
58
|
-
DROP COLUMN "application_sub_type_other_lid_other",
|
|
59
|
-
DROP COLUMN "application_sub_type_other_lid_other_details",
|
|
60
|
-
DROP COLUMN "created_at",
|
|
61
|
-
DROP COLUMN "pageValidFlag",
|
|
62
|
-
DROP COLUMN "updated_at",
|
|
63
|
-
ADD COLUMN "applicant_ids" TEXT[],
|
|
64
|
-
DROP COLUMN "is_application_fee_paid",
|
|
65
|
-
ADD COLUMN "is_application_fee_paid" BOOLEAN NOT NULL,
|
|
66
|
-
ALTER COLUMN "broker_id" DROP NOT NULL,
|
|
67
|
-
DROP COLUMN "case_manager_accepted",
|
|
68
|
-
ADD COLUMN "case_manager_accepted" BOOLEAN NOT NULL DEFAULT false,
|
|
69
|
-
DROP COLUMN "is_intend_to_occupy",
|
|
70
|
-
ADD COLUMN "is_intend_to_occupy" BOOLEAN NOT NULL,
|
|
71
|
-
DROP COLUMN "is_introducer_submission",
|
|
72
|
-
ADD COLUMN "is_introducer_submission" BOOLEAN NOT NULL,
|
|
73
|
-
DROP COLUMN "is_broker_assigned",
|
|
74
|
-
ADD COLUMN "is_broker_assigned" BOOLEAN NOT NULL DEFAULT false,
|
|
75
|
-
DROP COLUMN "is_finance_recommended_to_applicant",
|
|
76
|
-
ADD COLUMN "is_finance_recommended_to_applicant" BOOLEAN NOT NULL,
|
|
77
|
-
DROP COLUMN "is_workflow_task_created",
|
|
78
|
-
ADD COLUMN "is_workflow_task_created" BOOLEAN NOT NULL,
|
|
79
|
-
DROP COLUMN "last_updated",
|
|
80
|
-
ADD COLUMN "last_updated" TIMESTAMP(3),
|
|
81
|
-
DROP COLUMN "is_network_club_submission",
|
|
82
|
-
ADD COLUMN "is_network_club_submission" BOOLEAN NOT NULL,
|
|
83
|
-
DROP COLUMN "submitted_date",
|
|
84
|
-
ADD COLUMN "submitted_date" TIMESTAMP(3),
|
|
85
|
-
DROP COLUMN "is_valuation_fee_paid",
|
|
86
|
-
ADD COLUMN "is_valuation_fee_paid" BOOLEAN NOT NULL,
|
|
87
|
-
ALTER COLUMN "security_id" DROP NOT NULL,
|
|
88
|
-
ALTER COLUMN "solicitor_id" DROP NOT NULL,
|
|
89
|
-
DROP COLUMN "is_active",
|
|
90
|
-
ADD COLUMN "is_active" BOOLEAN NOT NULL DEFAULT false,
|
|
91
|
-
DROP COLUMN "is_uk_resident",
|
|
92
|
-
ADD COLUMN "is_uk_resident" BOOLEAN NOT NULL DEFAULT true;
|
|
93
|
-
|
|
94
|
-
-- CreateTable
|
|
95
|
-
CREATE TABLE "_SourceOfWealth" (
|
|
96
|
-
"A" TEXT NOT NULL,
|
|
97
|
-
"B" TEXT NOT NULL,
|
|
98
|
-
|
|
99
|
-
CONSTRAINT "_SourceOfWealth_AB_pkey" PRIMARY KEY ("A","B")
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
-- CreateIndex
|
|
103
|
-
CREATE INDEX "_SourceOfWealth_B_index" ON "_SourceOfWealth"("B");
|
|
104
|
-
|
|
105
|
-
-- CreateIndex
|
|
106
|
-
CREATE INDEX "applications_source_of_wealth_lids_idx" ON "applications"("source_of_wealth_lids");
|
|
107
|
-
|
|
108
|
-
-- AddForeignKey
|
|
109
|
-
ALTER TABLE "applications" ADD CONSTRAINT "applications_broker_id_fkey" FOREIGN KEY ("broker_id") REFERENCES "brokers"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
110
|
-
|
|
111
|
-
-- AddForeignKey
|
|
112
|
-
ALTER TABLE "_SourceOfWealth" ADD CONSTRAINT "_SourceOfWealth_A_fkey" FOREIGN KEY ("A") REFERENCES "applications"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
|
113
|
-
|
|
114
|
-
-- AddForeignKey
|
|
115
|
-
ALTER TABLE "_SourceOfWealth" ADD CONSTRAINT "_SourceOfWealth_B_fkey" FOREIGN KEY ("B") REFERENCES "lookups"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Added the required column `branch` to the `application_direct_debits` table without a default value. This is not possible if the table is not empty.
|
|
5
|
-
- Added the required column `contact_postcode` to the `application_direct_debits` table without a default value. This is not possible if the table is not empty.
|
|
6
|
-
- Added the required column `is_confirm_declaration` to the `application_direct_debits` table without a default value. This is not possible if the table is not empty.
|
|
7
|
-
- Added the required column `name_of_account_holder` to the `application_direct_debits` table without a default value. This is not possible if the table is not empty.
|
|
8
|
-
- Added the required column `selected_payment_day_lid` to the `application_direct_debits` table without a default value. This is not possible if the table is not empty.
|
|
9
|
-
- Changed the type of `account_number` on the `application_direct_debits` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
10
|
-
- Changed the type of `sort_code` on the `application_direct_debits` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
-- AlterTable
|
|
14
|
-
ALTER TABLE "application_direct_debits" ADD COLUMN "address_line1" TEXT,
|
|
15
|
-
ADD COLUMN "address_line2" TEXT,
|
|
16
|
-
ADD COLUMN "applicant_id" TEXT,
|
|
17
|
-
ADD COLUMN "branch" TEXT NOT NULL,
|
|
18
|
-
ADD COLUMN "city" TEXT,
|
|
19
|
-
ADD COLUMN "contact_postcode" TEXT NOT NULL,
|
|
20
|
-
ADD COLUMN "institution" TEXT,
|
|
21
|
-
ADD COLUMN "is_confirm_declaration" BOOLEAN NOT NULL,
|
|
22
|
-
ADD COLUMN "name_of_account_holder" TEXT NOT NULL,
|
|
23
|
-
ADD COLUMN "selected_payment_day_lid" TEXT NOT NULL,
|
|
24
|
-
DROP COLUMN "account_number",
|
|
25
|
-
ADD COLUMN "account_number" INTEGER NOT NULL,
|
|
26
|
-
DROP COLUMN "sort_code",
|
|
27
|
-
ADD COLUMN "sort_code" INTEGER NOT NULL;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- The `sort_code` column on the `solicitors` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
5
|
-
- Made the column `address_country_lid` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
6
|
-
- Made the column `address_line1` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
7
|
-
- Made the column `address_post_code` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
8
|
-
- Made the column `email` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
9
|
-
- Made the column `name_of_firm` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
10
|
-
- Made the column `solicitor_acting` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
11
|
-
- Made the column `telephone` on table `solicitors` required. This step will fail if there are existing NULL values in that column.
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
-- DropForeignKey
|
|
15
|
-
ALTER TABLE "solicitors" DROP CONSTRAINT "solicitors_address_country_lid_fkey";
|
|
16
|
-
|
|
17
|
-
-- AlterTable
|
|
18
|
-
ALTER TABLE "solicitors" ALTER COLUMN "address_country_lid" SET NOT NULL,
|
|
19
|
-
ALTER COLUMN "address_line1" SET NOT NULL,
|
|
20
|
-
ALTER COLUMN "address_post_code" SET NOT NULL,
|
|
21
|
-
ALTER COLUMN "email" SET NOT NULL,
|
|
22
|
-
ALTER COLUMN "name_of_firm" SET NOT NULL,
|
|
23
|
-
ALTER COLUMN "solicitor_acting" SET NOT NULL,
|
|
24
|
-
DROP COLUMN "sort_code",
|
|
25
|
-
ADD COLUMN "sort_code" INTEGER,
|
|
26
|
-
ALTER COLUMN "telephone" SET NOT NULL;
|
|
27
|
-
|
|
28
|
-
-- AddForeignKey
|
|
29
|
-
ALTER TABLE "solicitors" ADD CONSTRAINT "solicitors_address_country_lid_fkey" FOREIGN KEY ("address_country_lid") REFERENCES "lookups"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- A unique constraint covering the columns `[application_id]` on the table `application_notes` will be added. If there are existing duplicate values, this will fail.
|
|
5
|
-
- A unique constraint covering the columns `[application_id]` on the table `brokers` will be added. If there are existing duplicate values, this will fail.
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
-- CreateIndex
|
|
9
|
-
CREATE UNIQUE INDEX "application_notes_application_id_key" ON "application_notes"("application_id");
|
|
10
|
-
|
|
11
|
-
-- CreateIndex
|
|
12
|
-
CREATE UNIQUE INDEX "brokers_application_id_key" ON "brokers"("application_id");
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `application_id` on the `brokers` table. All the data in the column will be lost.
|
|
5
|
-
- A unique constraint covering the columns `[broker_id]` on the table `brokers` will be added. If there are existing duplicate values, this will fail.
|
|
6
|
-
- Made the column `broker_id` on table `brokers` required. This step will fail if there are existing NULL values in that column.
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
-- DropIndex
|
|
10
|
-
DROP INDEX "brokers_application_id_key";
|
|
11
|
-
|
|
12
|
-
-- AlterTable
|
|
13
|
-
ALTER TABLE "brokers" DROP COLUMN "application_id",
|
|
14
|
-
ALTER COLUMN "broker_id" SET NOT NULL;
|
|
15
|
-
|
|
16
|
-
-- CreateIndex
|
|
17
|
-
CREATE UNIQUE INDEX "brokers_broker_id_key" ON "brokers"("broker_id");
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `comment` on the `application_notes` table. All the data in the column will be lost.
|
|
5
|
-
- The `created_by` column on the `application_notes` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
6
|
-
- The `auto_created` column on the `application_notes` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
7
|
-
- The `assigned_by` column on the `application_notes` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
8
|
-
- The `reminder_status` column on the `application_notes` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
|
9
|
-
- A unique constraint covering the columns `[note_id]` on the table `application_notes` will be added. If there are existing duplicate values, this will fail.
|
|
10
|
-
- Made the column `note_id` on table `application_notes` required. This step will fail if there are existing NULL values in that column.
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
-- DropIndex
|
|
14
|
-
DROP INDEX "application_notes_application_id_key";
|
|
15
|
-
|
|
16
|
-
-- AlterTable
|
|
17
|
-
ALTER TABLE "application_notes" DROP COLUMN "comment",
|
|
18
|
-
ADD COLUMN "comments" JSONB,
|
|
19
|
-
ADD COLUMN "pretty_created_on" TEXT,
|
|
20
|
-
ALTER COLUMN "note_id" SET NOT NULL,
|
|
21
|
-
DROP COLUMN "created_by",
|
|
22
|
-
ADD COLUMN "created_by" INTEGER,
|
|
23
|
-
DROP COLUMN "auto_created",
|
|
24
|
-
ADD COLUMN "auto_created" BOOLEAN NOT NULL DEFAULT false,
|
|
25
|
-
ALTER COLUMN "additional_data" SET DATA TYPE TEXT,
|
|
26
|
-
DROP COLUMN "assigned_by",
|
|
27
|
-
ADD COLUMN "assigned_by" INTEGER,
|
|
28
|
-
DROP COLUMN "reminder_status",
|
|
29
|
-
ADD COLUMN "reminder_status" INTEGER NOT NULL DEFAULT 0;
|
|
30
|
-
|
|
31
|
-
-- CreateIndex
|
|
32
|
-
CREATE UNIQUE INDEX "application_notes_note_id_key" ON "application_notes"("note_id");
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to alter the column `existing_mortgage_lender` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
5
|
-
- You are about to alter the column `purpose_of_mortgage` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(50)`.
|
|
6
|
-
- You are about to alter the column `if_other_details` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(50)`.
|
|
7
|
-
- You are about to alter the column `purchase_date` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(10)`.
|
|
8
|
-
- You are about to alter the column `fund_raised_for` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(250)`.
|
|
9
|
-
- You are about to alter the column `source_of_fund_details` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(50)`.
|
|
10
|
-
- You are about to alter the column `property_valuation_details` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
11
|
-
- You are about to alter the column `telephone_number` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(15)`.
|
|
12
|
-
- You are about to alter the column `vendors_name` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
13
|
-
- Made the column `vendors_name` on table `application_mortgages` required. This step will fail if there are existing NULL values in that column.
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
-- AlterTable
|
|
17
|
-
ALTER TABLE "application_mortgages" ALTER COLUMN "existing_mortgage_lender" SET DATA TYPE VARCHAR(35),
|
|
18
|
-
ALTER COLUMN "purpose_of_mortgage" SET DATA TYPE VARCHAR(50),
|
|
19
|
-
ALTER COLUMN "if_other_details" SET DATA TYPE VARCHAR(50),
|
|
20
|
-
ALTER COLUMN "purchase_date" SET DATA TYPE VARCHAR(10),
|
|
21
|
-
ALTER COLUMN "fund_raised_for" SET DATA TYPE VARCHAR(250),
|
|
22
|
-
ALTER COLUMN "source_of_fund_details" SET DATA TYPE VARCHAR(50),
|
|
23
|
-
ALTER COLUMN "property_valuation_details" SET DATA TYPE VARCHAR(35),
|
|
24
|
-
ALTER COLUMN "telephone_number" SET DATA TYPE VARCHAR(15),
|
|
25
|
-
ALTER COLUMN "vendors_name" SET NOT NULL,
|
|
26
|
-
ALTER COLUMN "vendors_name" SET DATA TYPE VARCHAR(35);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Changed the type of `retirementAge` on the `applicants` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "applicants" DROP COLUMN "retirementAge",
|
|
9
|
-
ADD COLUMN "retirementAge" INTEGER NOT NULL;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
-- CreateIndex
|
|
2
|
-
CREATE INDEX "application_direct_debits_selected_payment_day_lid_idx" ON "application_direct_debits"("selected_payment_day_lid");
|
|
3
|
-
|
|
4
|
-
-- AddForeignKey
|
|
5
|
-
ALTER TABLE "application_direct_debits" ADD CONSTRAINT "application_direct_debits_selected_payment_day_lid_fkey" FOREIGN KEY ("selected_payment_day_lid") REFERENCES "lookups"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to alter the column `purchase_price` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
5
|
-
- You are about to alter the column `estimated_value` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
6
|
-
- You are about to alter the column `loan_required` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
7
|
-
- You are about to alter the column `monthly_rental_income` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
8
|
-
- You are about to alter the column `outstanding_balance` on the `application_mortgages` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
9
|
-
- Changed the type of `purchase_date` on the `application_mortgages` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
-- AlterTable
|
|
13
|
-
ALTER TABLE "application_mortgages" ALTER COLUMN "purchase_price" SET DATA TYPE DECIMAL(10,2),
|
|
14
|
-
DROP COLUMN "purchase_date",
|
|
15
|
-
ADD COLUMN "purchase_date" TIMESTAMP(3) NOT NULL,
|
|
16
|
-
ALTER COLUMN "estimated_value" SET DATA TYPE DECIMAL(10,2),
|
|
17
|
-
ALTER COLUMN "loan_required" SET DATA TYPE DECIMAL(10,2),
|
|
18
|
-
ALTER COLUMN "monthly_rental_income" SET DATA TYPE DECIMAL(10,2),
|
|
19
|
-
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(10,2);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- Added the required column `gift_details` to the `application_mortgages` table without a default value. This is not possible if the table is not empty.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "application_mortgages" ADD COLUMN "gift_details" VARCHAR(50) NOT NULL,
|
|
9
|
-
ALTER COLUMN "is_capital_raise" DROP NOT NULL,
|
|
10
|
-
ALTER COLUMN "is_distressed_sale" DROP NOT NULL,
|
|
11
|
-
ALTER COLUMN "is_purchased_below_market_value" DROP NOT NULL,
|
|
12
|
-
ALTER COLUMN "is_purchased_as_sale" DROP NOT NULL,
|
|
13
|
-
ALTER COLUMN "is_ready_to_sell" DROP NOT NULL,
|
|
14
|
-
ALTER COLUMN "is_government_initiative" DROP NOT NULL,
|
|
15
|
-
ALTER COLUMN "is_the_intention_to_let" DROP NOT NULL;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to alter the column `address_line1` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
5
|
-
- You are about to alter the column `address_line2` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
6
|
-
- You are about to alter the column `address_line3` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
7
|
-
- You are about to alter the column `city` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(30)`.
|
|
8
|
-
- You are about to alter the column `lender` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(35)`.
|
|
9
|
-
- You are about to alter the column `market_value` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(12,2)`.
|
|
10
|
-
- You are about to alter the column `monthly_rent` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(12,2)`.
|
|
11
|
-
- You are about to alter the column `monthly_repayment` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(12,2)`.
|
|
12
|
-
- You are about to alter the column `original_loan_balance` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(12,2)`.
|
|
13
|
-
- You are about to alter the column `outstanding_balance` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(12,2)`.
|
|
14
|
-
- You are about to alter the column `other_ownership_parties` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(500)`.
|
|
15
|
-
- You are about to alter the column `post_code` on the `properties` table. The data in that column could be lost. The data in that column will be cast from `Text` to `VarChar(50)`.
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
-- AlterTable
|
|
19
|
-
ALTER TABLE "application_mortgages" ALTER COLUMN "gift_details" DROP NOT NULL;
|
|
20
|
-
|
|
21
|
-
-- AlterTable
|
|
22
|
-
ALTER TABLE "properties" ALTER COLUMN "address_line1" DROP NOT NULL,
|
|
23
|
-
ALTER COLUMN "address_line1" SET DATA TYPE VARCHAR(35),
|
|
24
|
-
ALTER COLUMN "address_line2" SET DATA TYPE VARCHAR(35),
|
|
25
|
-
ALTER COLUMN "address_line3" SET DATA TYPE VARCHAR(35),
|
|
26
|
-
ALTER COLUMN "city" SET DATA TYPE VARCHAR(30),
|
|
27
|
-
ALTER COLUMN "lender" SET DATA TYPE VARCHAR(35),
|
|
28
|
-
ALTER COLUMN "market_value" SET DATA TYPE DECIMAL(12,2),
|
|
29
|
-
ALTER COLUMN "monthly_rent" SET DATA TYPE DECIMAL(12,2),
|
|
30
|
-
ALTER COLUMN "monthly_repayment" SET DATA TYPE DECIMAL(12,2),
|
|
31
|
-
ALTER COLUMN "original_loan_balance" SET DATA TYPE DECIMAL(12,2),
|
|
32
|
-
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(12,2),
|
|
33
|
-
ALTER COLUMN "other_ownership_parties" SET DATA TYPE VARCHAR(500),
|
|
34
|
-
ALTER COLUMN "post_code" SET DATA TYPE VARCHAR(50);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `commitment_type_lid` on the `applicant_creditcard_commitments` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to alter the column `credit_limit` on the `applicant_creditcard_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
6
|
-
- You are about to alter the column `outstanding_balance` on the `applicant_creditcard_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
7
|
-
- You are about to alter the column `monthly_payment` on the `applicant_creditcard_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
-- DropForeignKey
|
|
11
|
-
ALTER TABLE "applicant_creditcard_commitments" DROP CONSTRAINT "applicant_creditcard_commitments_commitment_type_lid_fkey";
|
|
12
|
-
|
|
13
|
-
-- AlterTable
|
|
14
|
-
ALTER TABLE "applicant_creditcard_commitments" DROP COLUMN "commitment_type_lid",
|
|
15
|
-
ADD COLUMN "credit_card_rationale" TEXT DEFAULT '',
|
|
16
|
-
ADD COLUMN "is_selected" BOOLEAN DEFAULT true,
|
|
17
|
-
ADD COLUMN "source" TEXT DEFAULT 'Broker',
|
|
18
|
-
ALTER COLUMN "lender_name" DROP NOT NULL,
|
|
19
|
-
ALTER COLUMN "credit_limit" SET DATA TYPE DECIMAL(10,2),
|
|
20
|
-
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(10,2),
|
|
21
|
-
ALTER COLUMN "monthly_payment" SET DATA TYPE DECIMAL(10,2),
|
|
22
|
-
ALTER COLUMN "joint_names" DROP NOT NULL;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- A unique constraint covering the columns `[commitment_id]` on the table `applicant_creditcard_commitments` will be added. If there are existing duplicate values, this will fail.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- CreateIndex
|
|
8
|
-
CREATE UNIQUE INDEX "applicant_creditcard_commitments_commitment_id_key" ON "applicant_creditcard_commitments"("commitment_id");
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `accountInArrears` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `accountInArrearsDetails` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
6
|
-
- You are about to drop the column `accountUptoDate` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
7
|
-
- You are about to drop the column `accountUptoDateFailDetails` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
8
|
-
- You are about to drop the column `commitment_type_lid` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
9
|
-
- You are about to drop the column `doHaveSharedResponsibility` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
10
|
-
- You are about to drop the column `fixedTerm` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
11
|
-
- You are about to drop the column `furtherAdvanceDetails` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
12
|
-
- You are about to drop the column `furtherAdvances` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
13
|
-
- You are about to drop the column `joint_names` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
14
|
-
- You are about to drop the column `originalLoanAmount` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
15
|
-
- You are about to drop the column `sharedMortgage` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
16
|
-
- You are about to drop the column `startDate` on the `applicant_mortgage_commitments` table. All the data in the column will be lost.
|
|
17
|
-
- You are about to alter the column `property_value` on the `applicant_mortgage_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
18
|
-
- You are about to alter the column `outstanding_balance` on the `applicant_mortgage_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
19
|
-
- You are about to alter the column `monthly_payment` on the `applicant_mortgage_commitments` table. The data in that column could be lost. The data in that column will be cast from `Decimal(65,30)` to `Decimal(10,2)`.
|
|
20
|
-
- A unique constraint covering the columns `[commitment_id]` on the table `applicant_mortgage_commitments` will be added. If there are existing duplicate values, this will fail.
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
-- DropForeignKey
|
|
24
|
-
ALTER TABLE "applicant_mortgage_commitments" DROP CONSTRAINT "applicant_mortgage_commitments_commitment_type_lid_fkey";
|
|
25
|
-
|
|
26
|
-
-- DropForeignKey
|
|
27
|
-
ALTER TABLE "applicant_mortgage_commitments" DROP CONSTRAINT "applicant_mortgage_commitments_repayment_type_lid_fkey";
|
|
28
|
-
|
|
29
|
-
-- AlterTable
|
|
30
|
-
ALTER TABLE "applicant_mortgage_commitments" DROP COLUMN "accountInArrears",
|
|
31
|
-
DROP COLUMN "accountInArrearsDetails",
|
|
32
|
-
DROP COLUMN "accountUptoDate",
|
|
33
|
-
DROP COLUMN "accountUptoDateFailDetails",
|
|
34
|
-
DROP COLUMN "commitment_type_lid",
|
|
35
|
-
DROP COLUMN "doHaveSharedResponsibility",
|
|
36
|
-
DROP COLUMN "fixedTerm",
|
|
37
|
-
DROP COLUMN "furtherAdvanceDetails",
|
|
38
|
-
DROP COLUMN "furtherAdvances",
|
|
39
|
-
DROP COLUMN "joint_names",
|
|
40
|
-
DROP COLUMN "originalLoanAmount",
|
|
41
|
-
DROP COLUMN "sharedMortgage",
|
|
42
|
-
DROP COLUMN "startDate",
|
|
43
|
-
ADD COLUMN "account_in_arrears" BOOLEAN,
|
|
44
|
-
ADD COLUMN "account_in_arrears_details" TEXT,
|
|
45
|
-
ADD COLUMN "account_upto_date" BOOLEAN,
|
|
46
|
-
ADD COLUMN "account_upto_date_fail_details" TEXT,
|
|
47
|
-
ADD COLUMN "charge_type_lid" TEXT,
|
|
48
|
-
ADD COLUMN "do_have_shared_responsibility" BOOLEAN,
|
|
49
|
-
ADD COLUMN "finance_home_type_lid" TEXT,
|
|
50
|
-
ADD COLUMN "finance_type_hpp_lid" TEXT,
|
|
51
|
-
ADD COLUMN "fixed_term" TEXT,
|
|
52
|
-
ADD COLUMN "further_advance_details" TEXT,
|
|
53
|
-
ADD COLUMN "further_advances" BOOLEAN,
|
|
54
|
-
ADD COLUMN "hpp_repayment_type_lid" TEXT,
|
|
55
|
-
ADD COLUMN "is_selected" BOOLEAN DEFAULT true,
|
|
56
|
-
ADD COLUMN "mortgage_hpp_rationale" TEXT DEFAULT '',
|
|
57
|
-
ADD COLUMN "mortgage_rate" DOUBLE PRECISION,
|
|
58
|
-
ADD COLUMN "original_loan_amount" DECIMAL(10,2),
|
|
59
|
-
ADD COLUMN "purpose" TEXT,
|
|
60
|
-
ADD COLUMN "remaining_term" TEXT,
|
|
61
|
-
ADD COLUMN "remaining_term_month" INTEGER,
|
|
62
|
-
ADD COLUMN "security_details" TEXT,
|
|
63
|
-
ADD COLUMN "shared_mortgage" TEXT,
|
|
64
|
-
ADD COLUMN "source" TEXT DEFAULT 'Broker',
|
|
65
|
-
ADD COLUMN "start_date" TEXT,
|
|
66
|
-
ALTER COLUMN "lender_name" DROP NOT NULL,
|
|
67
|
-
ALTER COLUMN "property_value" DROP NOT NULL,
|
|
68
|
-
ALTER COLUMN "property_value" SET DATA TYPE DECIMAL(10,2),
|
|
69
|
-
ALTER COLUMN "repayment_type_lid" DROP NOT NULL,
|
|
70
|
-
ALTER COLUMN "outstanding_balance" SET DATA TYPE DECIMAL(10,2),
|
|
71
|
-
ALTER COLUMN "monthly_payment" SET DATA TYPE DECIMAL(10,2);
|
|
72
|
-
|
|
73
|
-
-- CreateIndex
|
|
74
|
-
CREATE UNIQUE INDEX "applicant_mortgage_commitments_commitment_id_key" ON "applicant_mortgage_commitments"("commitment_id");
|
|
75
|
-
|
|
76
|
-
-- AddForeignKey
|
|
77
|
-
ALTER TABLE "applicant_mortgage_commitments" ADD CONSTRAINT "applicant_mortgage_commitments_repayment_type_lid_fkey" FOREIGN KEY ("repayment_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
78
|
-
|
|
79
|
-
-- AddForeignKey
|
|
80
|
-
ALTER TABLE "applicant_mortgage_commitments" ADD CONSTRAINT "applicant_mortgage_commitments_finance_type_hpp_lid_fkey" FOREIGN KEY ("finance_type_hpp_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
81
|
-
|
|
82
|
-
-- AddForeignKey
|
|
83
|
-
ALTER TABLE "applicant_mortgage_commitments" ADD CONSTRAINT "applicant_mortgage_commitments_hpp_repayment_type_lid_fkey" FOREIGN KEY ("hpp_repayment_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
84
|
-
|
|
85
|
-
-- AddForeignKey
|
|
86
|
-
ALTER TABLE "applicant_mortgage_commitments" ADD CONSTRAINT "applicant_mortgage_commitments_finance_home_type_lid_fkey" FOREIGN KEY ("finance_home_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
87
|
-
|
|
88
|
-
-- AddForeignKey
|
|
89
|
-
ALTER TABLE "applicant_mortgage_commitments" ADD CONSTRAINT "applicant_mortgage_commitments_charge_type_lid_fkey" FOREIGN KEY ("charge_type_lid") REFERENCES "lookups"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|