@kanda-libs/ks-schema 1.0.140 → 1.0.142
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/components/schemas/ApplicantDetails.d.ts +3 -3
- package/dist/components/schemas/Credit.d.ts +6 -6
- package/dist/components/schemas/CustomerDetails.d.ts +2 -2
- package/dist/components/schemas/CustomerDetails.js +4 -4
- package/dist/components/schemas/EmploymentDetails.d.ts +1 -1
- package/dist/components/schemas/Entity.d.ts +6 -6
- package/dist/components/schemas/Event.d.ts +6 -6
- package/dist/components/schemas/Expenditure.d.ts +2 -2
- package/dist/components/schemas/Expenditure.js +3 -3
- package/dist/components/schemas/FinanceDetails.d.ts +1 -1
- package/dist/components/schemas/NotEmployedDetails.d.ts +2 -2
- package/dist/components/schemas/NotEmployedDetails.d.ts.map +1 -1
- package/dist/components/schemas/NotEmployedDetails.js +2 -2
- package/dist/operations/applyCredit.d.ts +6 -6
- package/dist/operations/checkCredit.d.ts +6 -6
- package/dist/operations/deleteCredit.d.ts +6 -6
- package/dist/operations/getCredit.d.ts +6 -6
- package/dist/operations/getCredits.d.ts +6 -6
- package/dist/operations/index.d.ts +54 -54
- package/dist/operations/postCredit.d.ts +6 -6
- package/dist/operations/putCredit.d.ts +6 -6
- package/dist/operations/quoteCredit.d.ts +6 -6
- package/dist/operations/signCredit.d.ts +6 -6
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +5734 -5734
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +14463 -14463
- package/package.json +1 -1
- package/schema.yaml +9 -9
|
@@ -20,7 +20,7 @@ export declare const ApplicantDetails: t.TypeC<{
|
|
|
20
20
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
21
21
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
22
22
|
number_of_dependants: t.NumberC;
|
|
23
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
23
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
24
24
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
25
25
|
line_1: t.StringC;
|
|
26
26
|
city: t.StringC;
|
|
@@ -104,13 +104,13 @@ export declare const ApplicantDetails: t.TypeC<{
|
|
|
104
104
|
months_self_employed: t.NumberC;
|
|
105
105
|
}>;
|
|
106
106
|
not_employed_details: t.TypeC<{
|
|
107
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
107
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
108
108
|
}>;
|
|
109
109
|
}>]>;
|
|
110
110
|
finance_details: t.PartialC<{
|
|
111
111
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
112
112
|
expenditures: t.ArrayC<t.PartialC<{
|
|
113
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
113
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
114
114
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
115
115
|
amount: t.NumberC;
|
|
116
116
|
}>, t.PartialC<{
|
|
@@ -26,7 +26,7 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
26
26
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
27
27
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
28
28
|
number_of_dependants: t.NumberC;
|
|
29
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
29
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
30
30
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
31
31
|
line_1: t.StringC;
|
|
32
32
|
city: t.StringC;
|
|
@@ -110,7 +110,7 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
110
110
|
months_self_employed: t.NumberC;
|
|
111
111
|
}>;
|
|
112
112
|
not_employed_details: t.TypeC<{
|
|
113
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
113
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
114
114
|
}>;
|
|
115
115
|
}>]>;
|
|
116
116
|
}>, t.PartialC<{
|
|
@@ -137,7 +137,7 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
137
137
|
finance_details: t.PartialC<{
|
|
138
138
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
139
139
|
expenditures: t.ArrayC<t.PartialC<{
|
|
140
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
140
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
141
141
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
142
142
|
amount: t.NumberC;
|
|
143
143
|
}>, t.PartialC<{
|
|
@@ -162,7 +162,7 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
162
162
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
163
163
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
164
164
|
number_of_dependants: t.NumberC;
|
|
165
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
165
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
166
166
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
167
167
|
line_1: t.StringC;
|
|
168
168
|
city: t.StringC;
|
|
@@ -246,13 +246,13 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
246
246
|
months_self_employed: t.NumberC;
|
|
247
247
|
}>;
|
|
248
248
|
not_employed_details: t.TypeC<{
|
|
249
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
249
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
250
250
|
}>;
|
|
251
251
|
}>]>;
|
|
252
252
|
finance_details: t.PartialC<{
|
|
253
253
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
254
254
|
expenditures: t.ArrayC<t.PartialC<{
|
|
255
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
255
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
256
256
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
257
257
|
amount: t.NumberC;
|
|
258
258
|
}>, t.PartialC<{
|
|
@@ -10,7 +10,7 @@ export declare const CustomerDetails: t.IntersectionC<[t.TypeC<{
|
|
|
10
10
|
date_of_birth: import("io-ts-types/DateFromISOString").DateFromISOStringC;
|
|
11
11
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
12
12
|
number_of_dependants: t.NumberC;
|
|
13
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
13
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
14
14
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
15
15
|
line_1: t.StringC;
|
|
16
16
|
city: t.StringC;
|
|
@@ -83,7 +83,7 @@ export interface CustomerDetails {
|
|
|
83
83
|
date_of_birth: Date;
|
|
84
84
|
marital_status: "widowed" | "other" | "married" | "divorced" | "cohabiting" | "to_be_married" | "separated" | "single";
|
|
85
85
|
number_of_dependants: number;
|
|
86
|
-
residential_status: "tenant" | "
|
|
86
|
+
residential_status: "tenant" | "council_tenant" | "living_with_parents" | "owner" | "owner_without_mortgage" | "lodger" | "armed_forces";
|
|
87
87
|
monthly_rent_amount?: Money;
|
|
88
88
|
current_address: Address;
|
|
89
89
|
previous_address_one?: Address;
|
|
@@ -55,12 +55,12 @@ exports.CustomerDetails = t.intersection([
|
|
|
55
55
|
number_of_dependants: t.number,
|
|
56
56
|
residential_status: t.union([
|
|
57
57
|
t.literal("tenant"),
|
|
58
|
-
t.literal("
|
|
59
|
-
t.literal("
|
|
58
|
+
t.literal("council_tenant"),
|
|
59
|
+
t.literal("living_with_parents"),
|
|
60
60
|
t.literal("owner"),
|
|
61
|
-
t.literal("
|
|
61
|
+
t.literal("owner_without_mortgage"),
|
|
62
62
|
t.literal("lodger"),
|
|
63
|
-
t.literal("
|
|
63
|
+
t.literal("armed_forces"),
|
|
64
64
|
]),
|
|
65
65
|
current_address: Address_1.Address,
|
|
66
66
|
}),
|
|
@@ -27,7 +27,7 @@ export declare const EmploymentDetails: t.IntersectionC<[t.TypeC<{
|
|
|
27
27
|
months_self_employed: t.NumberC;
|
|
28
28
|
}>;
|
|
29
29
|
not_employed_details: t.TypeC<{
|
|
30
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
30
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
31
31
|
}>;
|
|
32
32
|
}>]>;
|
|
33
33
|
export interface EmploymentDetails {
|
|
@@ -216,7 +216,7 @@ export declare const Entity: t.PartialC<{
|
|
|
216
216
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
217
217
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
218
218
|
number_of_dependants: t.NumberC;
|
|
219
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
219
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
220
220
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
221
221
|
line_1: t.StringC;
|
|
222
222
|
city: t.StringC;
|
|
@@ -300,7 +300,7 @@ export declare const Entity: t.PartialC<{
|
|
|
300
300
|
months_self_employed: t.NumberC;
|
|
301
301
|
}>;
|
|
302
302
|
not_employed_details: t.TypeC<{
|
|
303
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
303
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
304
304
|
}>;
|
|
305
305
|
}>]>;
|
|
306
306
|
}>, t.PartialC<{
|
|
@@ -327,7 +327,7 @@ export declare const Entity: t.PartialC<{
|
|
|
327
327
|
finance_details: t.PartialC<{
|
|
328
328
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
329
329
|
expenditures: t.ArrayC<t.PartialC<{
|
|
330
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
330
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
331
331
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
332
332
|
amount: t.NumberC;
|
|
333
333
|
}>, t.PartialC<{
|
|
@@ -352,7 +352,7 @@ export declare const Entity: t.PartialC<{
|
|
|
352
352
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
353
353
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
354
354
|
number_of_dependants: t.NumberC;
|
|
355
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
355
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
356
356
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
357
357
|
line_1: t.StringC;
|
|
358
358
|
city: t.StringC;
|
|
@@ -436,13 +436,13 @@ export declare const Entity: t.PartialC<{
|
|
|
436
436
|
months_self_employed: t.NumberC;
|
|
437
437
|
}>;
|
|
438
438
|
not_employed_details: t.TypeC<{
|
|
439
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
439
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
440
440
|
}>;
|
|
441
441
|
}>]>;
|
|
442
442
|
finance_details: t.PartialC<{
|
|
443
443
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
444
444
|
expenditures: t.ArrayC<t.PartialC<{
|
|
445
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
445
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
446
446
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
447
447
|
amount: t.NumberC;
|
|
448
448
|
}>, t.PartialC<{
|
|
@@ -223,7 +223,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
223
223
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
224
224
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
225
225
|
number_of_dependants: t.NumberC;
|
|
226
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
226
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
227
227
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
228
228
|
line_1: t.StringC;
|
|
229
229
|
city: t.StringC;
|
|
@@ -307,7 +307,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
307
307
|
months_self_employed: t.NumberC;
|
|
308
308
|
}>;
|
|
309
309
|
not_employed_details: t.TypeC<{
|
|
310
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
310
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
311
311
|
}>;
|
|
312
312
|
}>]>;
|
|
313
313
|
}>, t.PartialC<{
|
|
@@ -334,7 +334,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
334
334
|
finance_details: t.PartialC<{
|
|
335
335
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
336
336
|
expenditures: t.ArrayC<t.PartialC<{
|
|
337
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
337
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
338
338
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
339
339
|
amount: t.NumberC;
|
|
340
340
|
}>, t.PartialC<{
|
|
@@ -359,7 +359,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
359
359
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
360
360
|
marital_status: t.UnionC<[t.LiteralC<"widowed">, t.LiteralC<"other">, t.LiteralC<"married">, t.LiteralC<"divorced">, t.LiteralC<"cohabiting">, t.LiteralC<"to_be_married">, t.LiteralC<"separated">, t.LiteralC<"single">]>;
|
|
361
361
|
number_of_dependants: t.NumberC;
|
|
362
|
-
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"
|
|
362
|
+
residential_status: t.UnionC<[t.LiteralC<"tenant">, t.LiteralC<"council_tenant">, t.LiteralC<"living_with_parents">, t.LiteralC<"owner">, t.LiteralC<"owner_without_mortgage">, t.LiteralC<"lodger">, t.LiteralC<"armed_forces">]>;
|
|
363
363
|
current_address: t.IntersectionC<[t.TypeC<{
|
|
364
364
|
line_1: t.StringC;
|
|
365
365
|
city: t.StringC;
|
|
@@ -443,13 +443,13 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
443
443
|
months_self_employed: t.NumberC;
|
|
444
444
|
}>;
|
|
445
445
|
not_employed_details: t.TypeC<{
|
|
446
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
446
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
447
447
|
}>;
|
|
448
448
|
}>]>;
|
|
449
449
|
finance_details: t.PartialC<{
|
|
450
450
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
451
451
|
expenditures: t.ArrayC<t.PartialC<{
|
|
452
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
452
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
453
453
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
454
454
|
amount: t.NumberC;
|
|
455
455
|
}>, t.PartialC<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { Money } from "./Money";
|
|
3
3
|
export declare const Expenditure: t.PartialC<{
|
|
4
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
4
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
5
5
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
6
6
|
amount: t.NumberC;
|
|
7
7
|
}>, t.PartialC<{
|
|
@@ -9,7 +9,7 @@ export declare const Expenditure: t.PartialC<{
|
|
|
9
9
|
}>]>;
|
|
10
10
|
}>;
|
|
11
11
|
export interface Expenditure {
|
|
12
|
-
expenditure_type?: "
|
|
12
|
+
expenditure_type?: "credit_card" | "clothes" | "council_tax_and_bills" | "child_support_agency" | "healthcare" | "holidays";
|
|
13
13
|
monthly_amount?: Money;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=Expenditure.d.ts.map
|
|
@@ -28,10 +28,10 @@ const t = __importStar(require("io-ts"));
|
|
|
28
28
|
const Money_1 = require("./Money");
|
|
29
29
|
exports.Expenditure = t.partial({
|
|
30
30
|
expenditure_type: t.union([
|
|
31
|
-
t.literal("
|
|
31
|
+
t.literal("credit_card"),
|
|
32
32
|
t.literal("clothes"),
|
|
33
|
-
t.literal("
|
|
34
|
-
t.literal("
|
|
33
|
+
t.literal("council_tax_and_bills"),
|
|
34
|
+
t.literal("child_support_agency"),
|
|
35
35
|
t.literal("healthcare"),
|
|
36
36
|
t.literal("holidays"),
|
|
37
37
|
]),
|
|
@@ -3,7 +3,7 @@ import { Expenditure } from "./Expenditure";
|
|
|
3
3
|
export declare const FinanceDetails: t.PartialC<{
|
|
4
4
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
5
5
|
expenditures: t.ArrayC<t.PartialC<{
|
|
6
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
6
|
+
expenditure_type: t.UnionC<[t.LiteralC<"credit_card">, t.LiteralC<"clothes">, t.LiteralC<"council_tax_and_bills">, t.LiteralC<"child_support_agency">, t.LiteralC<"healthcare">, t.LiteralC<"holidays">]>;
|
|
7
7
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
8
8
|
amount: t.NumberC;
|
|
9
9
|
}>, t.PartialC<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
export declare const NotEmployedDetails: t.TypeC<{
|
|
3
|
-
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"
|
|
3
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
4
4
|
}>;
|
|
5
5
|
export interface NotEmployedDetails {
|
|
6
|
-
source_of_income: "partner" | "benefits" | "maintenance" | "disabled" | "
|
|
6
|
+
source_of_income: "partner" | "benefits" | "maintenance" | "disabled" | "fulltime_carer" | "homemaker" | "permanent_dla" | "other";
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=NotEmployedDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotEmployedDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/NotEmployedDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;EAW7B,CAAC;AAEH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EACZ,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,
|
|
1
|
+
{"version":3,"file":"NotEmployedDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/NotEmployedDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;EAW7B,CAAC;AAEH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EACZ,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,WAAW,GACX,eAAe,GACf,OAAO,CAAC;CACb"}
|
|
@@ -31,9 +31,9 @@ exports.NotEmployedDetails = t.type({
|
|
|
31
31
|
t.literal("benefits"),
|
|
32
32
|
t.literal("maintenance"),
|
|
33
33
|
t.literal("disabled"),
|
|
34
|
-
t.literal("
|
|
34
|
+
t.literal("fulltime_carer"),
|
|
35
35
|
t.literal("homemaker"),
|
|
36
|
-
t.literal("
|
|
36
|
+
t.literal("permanent_dla"),
|
|
37
37
|
t.literal("other"),
|
|
38
38
|
]),
|
|
39
39
|
});
|
|
@@ -27,7 +27,7 @@ export declare const applyCreditOperation: {
|
|
|
27
27
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
28
28
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
29
29
|
number_of_dependants: import("io-ts").NumberC;
|
|
30
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
30
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
31
31
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
32
32
|
line_1: import("io-ts").StringC;
|
|
33
33
|
city: import("io-ts").StringC;
|
|
@@ -111,7 +111,7 @@ export declare const applyCreditOperation: {
|
|
|
111
111
|
months_self_employed: import("io-ts").NumberC;
|
|
112
112
|
}>;
|
|
113
113
|
not_employed_details: import("io-ts").TypeC<{
|
|
114
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
114
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
115
115
|
}>;
|
|
116
116
|
}>]>;
|
|
117
117
|
}>, import("io-ts").PartialC<{
|
|
@@ -138,7 +138,7 @@ export declare const applyCreditOperation: {
|
|
|
138
138
|
finance_details: import("io-ts").PartialC<{
|
|
139
139
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
140
140
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
141
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
142
142
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
143
|
amount: import("io-ts").NumberC;
|
|
144
144
|
}>, import("io-ts").PartialC<{
|
|
@@ -163,7 +163,7 @@ export declare const applyCreditOperation: {
|
|
|
163
163
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
164
164
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
165
165
|
number_of_dependants: import("io-ts").NumberC;
|
|
166
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
166
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
167
167
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
168
168
|
line_1: import("io-ts").StringC;
|
|
169
169
|
city: import("io-ts").StringC;
|
|
@@ -247,13 +247,13 @@ export declare const applyCreditOperation: {
|
|
|
247
247
|
months_self_employed: import("io-ts").NumberC;
|
|
248
248
|
}>;
|
|
249
249
|
not_employed_details: import("io-ts").TypeC<{
|
|
250
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
250
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
251
251
|
}>;
|
|
252
252
|
}>]>;
|
|
253
253
|
finance_details: import("io-ts").PartialC<{
|
|
254
254
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
255
255
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
256
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
257
257
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
258
|
amount: import("io-ts").NumberC;
|
|
259
259
|
}>, import("io-ts").PartialC<{
|
|
@@ -27,7 +27,7 @@ export declare const checkCreditOperation: {
|
|
|
27
27
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
28
28
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
29
29
|
number_of_dependants: import("io-ts").NumberC;
|
|
30
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
30
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
31
31
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
32
32
|
line_1: import("io-ts").StringC;
|
|
33
33
|
city: import("io-ts").StringC;
|
|
@@ -111,7 +111,7 @@ export declare const checkCreditOperation: {
|
|
|
111
111
|
months_self_employed: import("io-ts").NumberC;
|
|
112
112
|
}>;
|
|
113
113
|
not_employed_details: import("io-ts").TypeC<{
|
|
114
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
114
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
115
115
|
}>;
|
|
116
116
|
}>]>;
|
|
117
117
|
}>, import("io-ts").PartialC<{
|
|
@@ -138,7 +138,7 @@ export declare const checkCreditOperation: {
|
|
|
138
138
|
finance_details: import("io-ts").PartialC<{
|
|
139
139
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
140
140
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
141
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
142
142
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
143
|
amount: import("io-ts").NumberC;
|
|
144
144
|
}>, import("io-ts").PartialC<{
|
|
@@ -163,7 +163,7 @@ export declare const checkCreditOperation: {
|
|
|
163
163
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
164
164
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
165
165
|
number_of_dependants: import("io-ts").NumberC;
|
|
166
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
166
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
167
167
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
168
168
|
line_1: import("io-ts").StringC;
|
|
169
169
|
city: import("io-ts").StringC;
|
|
@@ -247,13 +247,13 @@ export declare const checkCreditOperation: {
|
|
|
247
247
|
months_self_employed: import("io-ts").NumberC;
|
|
248
248
|
}>;
|
|
249
249
|
not_employed_details: import("io-ts").TypeC<{
|
|
250
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
250
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
251
251
|
}>;
|
|
252
252
|
}>]>;
|
|
253
253
|
finance_details: import("io-ts").PartialC<{
|
|
254
254
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
255
255
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
256
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
257
257
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
258
|
amount: import("io-ts").NumberC;
|
|
259
259
|
}>, import("io-ts").PartialC<{
|
|
@@ -27,7 +27,7 @@ export declare const deleteCreditOperation: {
|
|
|
27
27
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
28
28
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
29
29
|
number_of_dependants: import("io-ts").NumberC;
|
|
30
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
30
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
31
31
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
32
32
|
line_1: import("io-ts").StringC;
|
|
33
33
|
city: import("io-ts").StringC;
|
|
@@ -111,7 +111,7 @@ export declare const deleteCreditOperation: {
|
|
|
111
111
|
months_self_employed: import("io-ts").NumberC;
|
|
112
112
|
}>;
|
|
113
113
|
not_employed_details: import("io-ts").TypeC<{
|
|
114
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
114
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
115
115
|
}>;
|
|
116
116
|
}>]>;
|
|
117
117
|
}>, import("io-ts").PartialC<{
|
|
@@ -138,7 +138,7 @@ export declare const deleteCreditOperation: {
|
|
|
138
138
|
finance_details: import("io-ts").PartialC<{
|
|
139
139
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
140
140
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
141
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
142
142
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
143
|
amount: import("io-ts").NumberC;
|
|
144
144
|
}>, import("io-ts").PartialC<{
|
|
@@ -163,7 +163,7 @@ export declare const deleteCreditOperation: {
|
|
|
163
163
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
164
164
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
165
165
|
number_of_dependants: import("io-ts").NumberC;
|
|
166
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
166
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
167
167
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
168
168
|
line_1: import("io-ts").StringC;
|
|
169
169
|
city: import("io-ts").StringC;
|
|
@@ -247,13 +247,13 @@ export declare const deleteCreditOperation: {
|
|
|
247
247
|
months_self_employed: import("io-ts").NumberC;
|
|
248
248
|
}>;
|
|
249
249
|
not_employed_details: import("io-ts").TypeC<{
|
|
250
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
250
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
251
251
|
}>;
|
|
252
252
|
}>]>;
|
|
253
253
|
finance_details: import("io-ts").PartialC<{
|
|
254
254
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
255
255
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
256
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
257
257
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
258
|
amount: import("io-ts").NumberC;
|
|
259
259
|
}>, import("io-ts").PartialC<{
|
|
@@ -27,7 +27,7 @@ export declare const getCreditOperation: {
|
|
|
27
27
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
28
28
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
29
29
|
number_of_dependants: import("io-ts").NumberC;
|
|
30
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
30
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
31
31
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
32
32
|
line_1: import("io-ts").StringC;
|
|
33
33
|
city: import("io-ts").StringC;
|
|
@@ -111,7 +111,7 @@ export declare const getCreditOperation: {
|
|
|
111
111
|
months_self_employed: import("io-ts").NumberC;
|
|
112
112
|
}>;
|
|
113
113
|
not_employed_details: import("io-ts").TypeC<{
|
|
114
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
114
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
115
115
|
}>;
|
|
116
116
|
}>]>;
|
|
117
117
|
}>, import("io-ts").PartialC<{
|
|
@@ -138,7 +138,7 @@ export declare const getCreditOperation: {
|
|
|
138
138
|
finance_details: import("io-ts").PartialC<{
|
|
139
139
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
140
140
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
141
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
142
142
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
143
|
amount: import("io-ts").NumberC;
|
|
144
144
|
}>, import("io-ts").PartialC<{
|
|
@@ -163,7 +163,7 @@ export declare const getCreditOperation: {
|
|
|
163
163
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
164
164
|
marital_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"widowed">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"married">, import("io-ts").LiteralC<"divorced">, import("io-ts").LiteralC<"cohabiting">, import("io-ts").LiteralC<"to_be_married">, import("io-ts").LiteralC<"separated">, import("io-ts").LiteralC<"single">]>;
|
|
165
165
|
number_of_dependants: import("io-ts").NumberC;
|
|
166
|
-
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"
|
|
166
|
+
residential_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"tenant">, import("io-ts").LiteralC<"council_tenant">, import("io-ts").LiteralC<"living_with_parents">, import("io-ts").LiteralC<"owner">, import("io-ts").LiteralC<"owner_without_mortgage">, import("io-ts").LiteralC<"lodger">, import("io-ts").LiteralC<"armed_forces">]>;
|
|
167
167
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
168
168
|
line_1: import("io-ts").StringC;
|
|
169
169
|
city: import("io-ts").StringC;
|
|
@@ -247,13 +247,13 @@ export declare const getCreditOperation: {
|
|
|
247
247
|
months_self_employed: import("io-ts").NumberC;
|
|
248
248
|
}>;
|
|
249
249
|
not_employed_details: import("io-ts").TypeC<{
|
|
250
|
-
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"
|
|
250
|
+
source_of_income: import("io-ts").UnionC<[import("io-ts").LiteralC<"partner">, import("io-ts").LiteralC<"benefits">, import("io-ts").LiteralC<"maintenance">, import("io-ts").LiteralC<"disabled">, import("io-ts").LiteralC<"fulltime_carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent_dla">, import("io-ts").LiteralC<"other">]>;
|
|
251
251
|
}>;
|
|
252
252
|
}>]>;
|
|
253
253
|
finance_details: import("io-ts").PartialC<{
|
|
254
254
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
255
255
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
256
|
+
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"credit_card">, import("io-ts").LiteralC<"clothes">, import("io-ts").LiteralC<"council_tax_and_bills">, import("io-ts").LiteralC<"child_support_agency">, import("io-ts").LiteralC<"healthcare">, import("io-ts").LiteralC<"holidays">]>;
|
|
257
257
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
258
|
amount: import("io-ts").NumberC;
|
|
259
259
|
}>, import("io-ts").PartialC<{
|