@kanda-libs/ks-schema 1.0.141 → 1.0.143
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 +28 -1
- package/dist/components/schemas/ApplicantDetails.d.ts.map +1 -1
- package/dist/components/schemas/Credit.d.ts +56 -2
- package/dist/components/schemas/Credit.d.ts.map +1 -1
- package/dist/components/schemas/Entity.d.ts +56 -2
- package/dist/components/schemas/Entity.d.ts.map +1 -1
- package/dist/components/schemas/Event.d.ts +56 -2
- package/dist/components/schemas/Event.d.ts.map +1 -1
- package/dist/components/schemas/Expenditure.d.ts +2 -2
- package/dist/components/schemas/Expenditure.js +3 -3
- package/dist/components/schemas/FinanceDetails.d.ts +30 -1
- package/dist/components/schemas/FinanceDetails.d.ts.map +1 -1
- package/dist/components/schemas/FinanceDetails.js +2 -0
- package/dist/operations/applyCredit.d.ts +56 -2
- package/dist/operations/applyCredit.d.ts.map +1 -1
- package/dist/operations/checkCredit.d.ts +56 -2
- package/dist/operations/checkCredit.d.ts.map +1 -1
- package/dist/operations/deleteCredit.d.ts +56 -2
- package/dist/operations/deleteCredit.d.ts.map +1 -1
- package/dist/operations/getCredit.d.ts +56 -2
- package/dist/operations/getCredit.d.ts.map +1 -1
- package/dist/operations/getCredits.d.ts +56 -2
- package/dist/operations/getCredits.d.ts.map +1 -1
- package/dist/operations/index.d.ts +504 -18
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/postCredit.d.ts +56 -2
- package/dist/operations/postCredit.d.ts.map +1 -1
- package/dist/operations/putCredit.d.ts +56 -2
- package/dist/operations/putCredit.d.ts.map +1 -1
- package/dist/operations/quoteCredit.d.ts +56 -2
- package/dist/operations/quoteCredit.d.ts.map +1 -1
- package/dist/operations/signCredit.d.ts +56 -2
- package/dist/operations/signCredit.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +7278 -6286
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +11894 -10842
- package/package.json +1 -1
- package/schema.yaml +8 -3
|
@@ -109,8 +109,35 @@ export declare const ApplicantDetails: t.TypeC<{
|
|
|
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
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
113
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
114
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
115
|
+
amount: t.NumberC;
|
|
116
|
+
}>, t.PartialC<{
|
|
117
|
+
currency: t.LiteralC<"GBP">;
|
|
118
|
+
}>]>;
|
|
119
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
120
|
+
amount: t.NumberC;
|
|
121
|
+
}>, t.PartialC<{
|
|
122
|
+
currency: t.LiteralC<"GBP">;
|
|
123
|
+
}>]>;
|
|
124
|
+
}>, t.PartialC<{
|
|
125
|
+
employed_details: t.TypeC<{
|
|
126
|
+
employer_name: t.StringC;
|
|
127
|
+
main_occupation: t.StringC;
|
|
128
|
+
months_employed: t.NumberC;
|
|
129
|
+
}>;
|
|
130
|
+
self_employed_details: t.TypeC<{
|
|
131
|
+
business_name: t.StringC;
|
|
132
|
+
type_of_business: t.StringC;
|
|
133
|
+
months_self_employed: t.NumberC;
|
|
134
|
+
}>;
|
|
135
|
+
not_employed_details: t.TypeC<{
|
|
136
|
+
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">]>;
|
|
137
|
+
}>;
|
|
138
|
+
}>]>>;
|
|
112
139
|
expenditures: t.ArrayC<t.PartialC<{
|
|
113
|
-
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">]>;
|
|
114
141
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
115
142
|
amount: t.NumberC;
|
|
116
143
|
}>, t.PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicantDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/ApplicantDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ApplicantDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/ApplicantDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,WAAW,CAAC;IAC1B,gBAAgB,EAAE,eAAe,CAAC;IAClC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,eAAe,EAAE,cAAc,CAAC;CACjC"}
|
|
@@ -136,8 +136,35 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
136
136
|
}>]>;
|
|
137
137
|
finance_details: t.PartialC<{
|
|
138
138
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
139
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
140
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
141
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
142
|
+
amount: t.NumberC;
|
|
143
|
+
}>, t.PartialC<{
|
|
144
|
+
currency: t.LiteralC<"GBP">;
|
|
145
|
+
}>]>;
|
|
146
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
147
|
+
amount: t.NumberC;
|
|
148
|
+
}>, t.PartialC<{
|
|
149
|
+
currency: t.LiteralC<"GBP">;
|
|
150
|
+
}>]>;
|
|
151
|
+
}>, t.PartialC<{
|
|
152
|
+
employed_details: t.TypeC<{
|
|
153
|
+
employer_name: t.StringC;
|
|
154
|
+
main_occupation: t.StringC;
|
|
155
|
+
months_employed: t.NumberC;
|
|
156
|
+
}>;
|
|
157
|
+
self_employed_details: t.TypeC<{
|
|
158
|
+
business_name: t.StringC;
|
|
159
|
+
type_of_business: t.StringC;
|
|
160
|
+
months_self_employed: t.NumberC;
|
|
161
|
+
}>;
|
|
162
|
+
not_employed_details: t.TypeC<{
|
|
163
|
+
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">]>;
|
|
164
|
+
}>;
|
|
165
|
+
}>]>>;
|
|
139
166
|
expenditures: t.ArrayC<t.PartialC<{
|
|
140
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
167
|
+
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
168
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
142
169
|
amount: t.NumberC;
|
|
143
170
|
}>, t.PartialC<{
|
|
@@ -251,8 +278,35 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
|
|
|
251
278
|
}>]>;
|
|
252
279
|
finance_details: t.PartialC<{
|
|
253
280
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
281
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
282
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
283
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
284
|
+
amount: t.NumberC;
|
|
285
|
+
}>, t.PartialC<{
|
|
286
|
+
currency: t.LiteralC<"GBP">;
|
|
287
|
+
}>]>;
|
|
288
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
289
|
+
amount: t.NumberC;
|
|
290
|
+
}>, t.PartialC<{
|
|
291
|
+
currency: t.LiteralC<"GBP">;
|
|
292
|
+
}>]>;
|
|
293
|
+
}>, t.PartialC<{
|
|
294
|
+
employed_details: t.TypeC<{
|
|
295
|
+
employer_name: t.StringC;
|
|
296
|
+
main_occupation: t.StringC;
|
|
297
|
+
months_employed: t.NumberC;
|
|
298
|
+
}>;
|
|
299
|
+
self_employed_details: t.TypeC<{
|
|
300
|
+
business_name: t.StringC;
|
|
301
|
+
type_of_business: t.StringC;
|
|
302
|
+
months_self_employed: t.NumberC;
|
|
303
|
+
}>;
|
|
304
|
+
not_employed_details: t.TypeC<{
|
|
305
|
+
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">]>;
|
|
306
|
+
}>;
|
|
307
|
+
}>]>>;
|
|
254
308
|
expenditures: t.ArrayC<t.PartialC<{
|
|
255
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
309
|
+
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
310
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
257
311
|
amount: t.NumberC;
|
|
258
312
|
}>, t.PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Credit.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Credit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Credit.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Credit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCjB,CAAC;AAEH,MAAM,WAAW,MAAM;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EACF,UAAU,GACV,UAAU,GACV,UAAU,GACV,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,WAAW,CAAC;IAC1B,gBAAgB,EAAE,eAAe,CAAC;IAClC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB"}
|
|
@@ -326,8 +326,35 @@ export declare const Entity: t.PartialC<{
|
|
|
326
326
|
}>]>;
|
|
327
327
|
finance_details: t.PartialC<{
|
|
328
328
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
329
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
330
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
331
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
332
|
+
amount: t.NumberC;
|
|
333
|
+
}>, t.PartialC<{
|
|
334
|
+
currency: t.LiteralC<"GBP">;
|
|
335
|
+
}>]>;
|
|
336
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
337
|
+
amount: t.NumberC;
|
|
338
|
+
}>, t.PartialC<{
|
|
339
|
+
currency: t.LiteralC<"GBP">;
|
|
340
|
+
}>]>;
|
|
341
|
+
}>, t.PartialC<{
|
|
342
|
+
employed_details: t.TypeC<{
|
|
343
|
+
employer_name: t.StringC;
|
|
344
|
+
main_occupation: t.StringC;
|
|
345
|
+
months_employed: t.NumberC;
|
|
346
|
+
}>;
|
|
347
|
+
self_employed_details: t.TypeC<{
|
|
348
|
+
business_name: t.StringC;
|
|
349
|
+
type_of_business: t.StringC;
|
|
350
|
+
months_self_employed: t.NumberC;
|
|
351
|
+
}>;
|
|
352
|
+
not_employed_details: t.TypeC<{
|
|
353
|
+
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">]>;
|
|
354
|
+
}>;
|
|
355
|
+
}>]>>;
|
|
329
356
|
expenditures: t.ArrayC<t.PartialC<{
|
|
330
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
357
|
+
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
358
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
332
359
|
amount: t.NumberC;
|
|
333
360
|
}>, t.PartialC<{
|
|
@@ -441,8 +468,35 @@ export declare const Entity: t.PartialC<{
|
|
|
441
468
|
}>]>;
|
|
442
469
|
finance_details: t.PartialC<{
|
|
443
470
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
471
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
472
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
473
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
474
|
+
amount: t.NumberC;
|
|
475
|
+
}>, t.PartialC<{
|
|
476
|
+
currency: t.LiteralC<"GBP">;
|
|
477
|
+
}>]>;
|
|
478
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
479
|
+
amount: t.NumberC;
|
|
480
|
+
}>, t.PartialC<{
|
|
481
|
+
currency: t.LiteralC<"GBP">;
|
|
482
|
+
}>]>;
|
|
483
|
+
}>, t.PartialC<{
|
|
484
|
+
employed_details: t.TypeC<{
|
|
485
|
+
employer_name: t.StringC;
|
|
486
|
+
main_occupation: t.StringC;
|
|
487
|
+
months_employed: t.NumberC;
|
|
488
|
+
}>;
|
|
489
|
+
self_employed_details: t.TypeC<{
|
|
490
|
+
business_name: t.StringC;
|
|
491
|
+
type_of_business: t.StringC;
|
|
492
|
+
months_self_employed: t.NumberC;
|
|
493
|
+
}>;
|
|
494
|
+
not_employed_details: t.TypeC<{
|
|
495
|
+
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">]>;
|
|
496
|
+
}>;
|
|
497
|
+
}>]>>;
|
|
444
498
|
expenditures: t.ArrayC<t.PartialC<{
|
|
445
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
499
|
+
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
500
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
447
501
|
amount: t.NumberC;
|
|
448
502
|
}>, t.PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOjB,CAAC;AAEH,MAAM,WAAW,MAAM;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B"}
|
|
@@ -333,8 +333,35 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
333
333
|
}>]>;
|
|
334
334
|
finance_details: t.PartialC<{
|
|
335
335
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
336
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
337
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
338
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
339
|
+
amount: t.NumberC;
|
|
340
|
+
}>, t.PartialC<{
|
|
341
|
+
currency: t.LiteralC<"GBP">;
|
|
342
|
+
}>]>;
|
|
343
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
344
|
+
amount: t.NumberC;
|
|
345
|
+
}>, t.PartialC<{
|
|
346
|
+
currency: t.LiteralC<"GBP">;
|
|
347
|
+
}>]>;
|
|
348
|
+
}>, t.PartialC<{
|
|
349
|
+
employed_details: t.TypeC<{
|
|
350
|
+
employer_name: t.StringC;
|
|
351
|
+
main_occupation: t.StringC;
|
|
352
|
+
months_employed: t.NumberC;
|
|
353
|
+
}>;
|
|
354
|
+
self_employed_details: t.TypeC<{
|
|
355
|
+
business_name: t.StringC;
|
|
356
|
+
type_of_business: t.StringC;
|
|
357
|
+
months_self_employed: t.NumberC;
|
|
358
|
+
}>;
|
|
359
|
+
not_employed_details: t.TypeC<{
|
|
360
|
+
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">]>;
|
|
361
|
+
}>;
|
|
362
|
+
}>]>>;
|
|
336
363
|
expenditures: t.ArrayC<t.PartialC<{
|
|
337
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
364
|
+
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
365
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
339
366
|
amount: t.NumberC;
|
|
340
367
|
}>, t.PartialC<{
|
|
@@ -448,8 +475,35 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
448
475
|
}>]>;
|
|
449
476
|
finance_details: t.PartialC<{
|
|
450
477
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
478
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
479
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
480
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
481
|
+
amount: t.NumberC;
|
|
482
|
+
}>, t.PartialC<{
|
|
483
|
+
currency: t.LiteralC<"GBP">;
|
|
484
|
+
}>]>;
|
|
485
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
486
|
+
amount: t.NumberC;
|
|
487
|
+
}>, t.PartialC<{
|
|
488
|
+
currency: t.LiteralC<"GBP">;
|
|
489
|
+
}>]>;
|
|
490
|
+
}>, t.PartialC<{
|
|
491
|
+
employed_details: t.TypeC<{
|
|
492
|
+
employer_name: t.StringC;
|
|
493
|
+
main_occupation: t.StringC;
|
|
494
|
+
months_employed: t.NumberC;
|
|
495
|
+
}>;
|
|
496
|
+
self_employed_details: t.TypeC<{
|
|
497
|
+
business_name: t.StringC;
|
|
498
|
+
type_of_business: t.StringC;
|
|
499
|
+
months_self_employed: t.NumberC;
|
|
500
|
+
}>;
|
|
501
|
+
not_employed_details: t.TypeC<{
|
|
502
|
+
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">]>;
|
|
503
|
+
}>;
|
|
504
|
+
}>]>>;
|
|
451
505
|
expenditures: t.ArrayC<t.PartialC<{
|
|
452
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
506
|
+
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
507
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
454
508
|
amount: t.NumberC;
|
|
455
509
|
}>, t.PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoBhB,CAAC;AAEH,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB"}
|
|
@@ -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
|
]),
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
+
import { EmploymentDetails } from "./EmploymentDetails";
|
|
2
3
|
import { Expenditure } from "./Expenditure";
|
|
3
4
|
export declare const FinanceDetails: t.PartialC<{
|
|
4
5
|
bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
6
|
+
additional_incomes: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
7
|
+
employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
|
|
8
|
+
gross_annual_income: t.IntersectionC<[t.TypeC<{
|
|
9
|
+
amount: t.NumberC;
|
|
10
|
+
}>, t.PartialC<{
|
|
11
|
+
currency: t.LiteralC<"GBP">;
|
|
12
|
+
}>]>;
|
|
13
|
+
household_annual_income: t.IntersectionC<[t.TypeC<{
|
|
14
|
+
amount: t.NumberC;
|
|
15
|
+
}>, t.PartialC<{
|
|
16
|
+
currency: t.LiteralC<"GBP">;
|
|
17
|
+
}>]>;
|
|
18
|
+
}>, t.PartialC<{
|
|
19
|
+
employed_details: t.TypeC<{
|
|
20
|
+
employer_name: t.StringC;
|
|
21
|
+
main_occupation: t.StringC;
|
|
22
|
+
months_employed: t.NumberC;
|
|
23
|
+
}>;
|
|
24
|
+
self_employed_details: t.TypeC<{
|
|
25
|
+
business_name: t.StringC;
|
|
26
|
+
type_of_business: t.StringC;
|
|
27
|
+
months_self_employed: t.NumberC;
|
|
28
|
+
}>;
|
|
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<"fulltime_carer">, t.LiteralC<"homemaker">, t.LiteralC<"permanent_dla">, t.LiteralC<"other">]>;
|
|
31
|
+
}>;
|
|
32
|
+
}>]>>;
|
|
5
33
|
expenditures: t.ArrayC<t.PartialC<{
|
|
6
|
-
expenditure_type: t.UnionC<[t.LiteralC<"
|
|
34
|
+
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
35
|
monthly_amount: t.IntersectionC<[t.TypeC<{
|
|
8
36
|
amount: t.NumberC;
|
|
9
37
|
}>, t.PartialC<{
|
|
@@ -13,6 +41,7 @@ export declare const FinanceDetails: t.PartialC<{
|
|
|
13
41
|
}>;
|
|
14
42
|
export interface FinanceDetails {
|
|
15
43
|
bankrupcy_or_iva_in_last_5_years?: "yes" | "no";
|
|
44
|
+
additional_incomes?: Array<EmploymentDetails>;
|
|
16
45
|
expenditures?: Array<Expenditure>;
|
|
17
46
|
}
|
|
18
47
|
//# sourceMappingURL=FinanceDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinanceDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/FinanceDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"FinanceDetails.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/FinanceDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,MAAM,WAAW,cAAc;IAC7B,gCAAgC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAChD,kBAAkB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CACnC"}
|
|
@@ -25,11 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.FinanceDetails = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
|
+
const EmploymentDetails_1 = require("./EmploymentDetails");
|
|
28
29
|
const Expenditure_1 = require("./Expenditure");
|
|
29
30
|
exports.FinanceDetails = t.partial({
|
|
30
31
|
bankrupcy_or_iva_in_last_5_years: t.union([
|
|
31
32
|
t.literal("yes"),
|
|
32
33
|
t.literal("no"),
|
|
33
34
|
]),
|
|
35
|
+
additional_incomes: t.array(EmploymentDetails_1.EmploymentDetails),
|
|
34
36
|
expenditures: t.array(Expenditure_1.Expenditure),
|
|
35
37
|
});
|
|
@@ -137,8 +137,35 @@ export declare const applyCreditOperation: {
|
|
|
137
137
|
}>]>;
|
|
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
|
+
additional_incomes: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
141
|
+
employment_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"employed">, import("io-ts").LiteralC<"self_employed">, import("io-ts").LiteralC<"not_employed">, import("io-ts").LiteralC<"retired">]>;
|
|
142
|
+
gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
|
+
amount: import("io-ts").NumberC;
|
|
144
|
+
}>, import("io-ts").PartialC<{
|
|
145
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
146
|
+
}>]>;
|
|
147
|
+
household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
148
|
+
amount: import("io-ts").NumberC;
|
|
149
|
+
}>, import("io-ts").PartialC<{
|
|
150
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
151
|
+
}>]>;
|
|
152
|
+
}>, import("io-ts").PartialC<{
|
|
153
|
+
employed_details: import("io-ts").TypeC<{
|
|
154
|
+
employer_name: import("io-ts").StringC;
|
|
155
|
+
main_occupation: import("io-ts").StringC;
|
|
156
|
+
months_employed: import("io-ts").NumberC;
|
|
157
|
+
}>;
|
|
158
|
+
self_employed_details: import("io-ts").TypeC<{
|
|
159
|
+
business_name: import("io-ts").StringC;
|
|
160
|
+
type_of_business: import("io-ts").StringC;
|
|
161
|
+
months_self_employed: import("io-ts").NumberC;
|
|
162
|
+
}>;
|
|
163
|
+
not_employed_details: import("io-ts").TypeC<{
|
|
164
|
+
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">]>;
|
|
165
|
+
}>;
|
|
166
|
+
}>]>>;
|
|
140
167
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
168
|
+
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
169
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
170
|
amount: import("io-ts").NumberC;
|
|
144
171
|
}>, import("io-ts").PartialC<{
|
|
@@ -252,8 +279,35 @@ export declare const applyCreditOperation: {
|
|
|
252
279
|
}>]>;
|
|
253
280
|
finance_details: import("io-ts").PartialC<{
|
|
254
281
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
282
|
+
additional_incomes: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
283
|
+
employment_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"employed">, import("io-ts").LiteralC<"self_employed">, import("io-ts").LiteralC<"not_employed">, import("io-ts").LiteralC<"retired">]>;
|
|
284
|
+
gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
285
|
+
amount: import("io-ts").NumberC;
|
|
286
|
+
}>, import("io-ts").PartialC<{
|
|
287
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
288
|
+
}>]>;
|
|
289
|
+
household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
290
|
+
amount: import("io-ts").NumberC;
|
|
291
|
+
}>, import("io-ts").PartialC<{
|
|
292
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
293
|
+
}>]>;
|
|
294
|
+
}>, import("io-ts").PartialC<{
|
|
295
|
+
employed_details: import("io-ts").TypeC<{
|
|
296
|
+
employer_name: import("io-ts").StringC;
|
|
297
|
+
main_occupation: import("io-ts").StringC;
|
|
298
|
+
months_employed: import("io-ts").NumberC;
|
|
299
|
+
}>;
|
|
300
|
+
self_employed_details: import("io-ts").TypeC<{
|
|
301
|
+
business_name: import("io-ts").StringC;
|
|
302
|
+
type_of_business: import("io-ts").StringC;
|
|
303
|
+
months_self_employed: import("io-ts").NumberC;
|
|
304
|
+
}>;
|
|
305
|
+
not_employed_details: import("io-ts").TypeC<{
|
|
306
|
+
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">]>;
|
|
307
|
+
}>;
|
|
308
|
+
}>]>>;
|
|
255
309
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
310
|
+
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
311
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
312
|
amount: import("io-ts").NumberC;
|
|
259
313
|
}>, import("io-ts").PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"applyCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBvB,CAAC;AAEX,oBAAY,0BAA0B,GAAG,eAAe,CACtD;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,EACxC,OAAO,CAAC,MAAM,CACf,CAAC"}
|
|
@@ -137,8 +137,35 @@ export declare const checkCreditOperation: {
|
|
|
137
137
|
}>]>;
|
|
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
|
+
additional_incomes: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
141
|
+
employment_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"employed">, import("io-ts").LiteralC<"self_employed">, import("io-ts").LiteralC<"not_employed">, import("io-ts").LiteralC<"retired">]>;
|
|
142
|
+
gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
|
+
amount: import("io-ts").NumberC;
|
|
144
|
+
}>, import("io-ts").PartialC<{
|
|
145
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
146
|
+
}>]>;
|
|
147
|
+
household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
148
|
+
amount: import("io-ts").NumberC;
|
|
149
|
+
}>, import("io-ts").PartialC<{
|
|
150
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
151
|
+
}>]>;
|
|
152
|
+
}>, import("io-ts").PartialC<{
|
|
153
|
+
employed_details: import("io-ts").TypeC<{
|
|
154
|
+
employer_name: import("io-ts").StringC;
|
|
155
|
+
main_occupation: import("io-ts").StringC;
|
|
156
|
+
months_employed: import("io-ts").NumberC;
|
|
157
|
+
}>;
|
|
158
|
+
self_employed_details: import("io-ts").TypeC<{
|
|
159
|
+
business_name: import("io-ts").StringC;
|
|
160
|
+
type_of_business: import("io-ts").StringC;
|
|
161
|
+
months_self_employed: import("io-ts").NumberC;
|
|
162
|
+
}>;
|
|
163
|
+
not_employed_details: import("io-ts").TypeC<{
|
|
164
|
+
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">]>;
|
|
165
|
+
}>;
|
|
166
|
+
}>]>>;
|
|
140
167
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
141
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
168
|
+
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
169
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
143
170
|
amount: import("io-ts").NumberC;
|
|
144
171
|
}>, import("io-ts").PartialC<{
|
|
@@ -252,8 +279,35 @@ export declare const checkCreditOperation: {
|
|
|
252
279
|
}>]>;
|
|
253
280
|
finance_details: import("io-ts").PartialC<{
|
|
254
281
|
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
282
|
+
additional_incomes: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
283
|
+
employment_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"employed">, import("io-ts").LiteralC<"self_employed">, import("io-ts").LiteralC<"not_employed">, import("io-ts").LiteralC<"retired">]>;
|
|
284
|
+
gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
285
|
+
amount: import("io-ts").NumberC;
|
|
286
|
+
}>, import("io-ts").PartialC<{
|
|
287
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
288
|
+
}>]>;
|
|
289
|
+
household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
290
|
+
amount: import("io-ts").NumberC;
|
|
291
|
+
}>, import("io-ts").PartialC<{
|
|
292
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
293
|
+
}>]>;
|
|
294
|
+
}>, import("io-ts").PartialC<{
|
|
295
|
+
employed_details: import("io-ts").TypeC<{
|
|
296
|
+
employer_name: import("io-ts").StringC;
|
|
297
|
+
main_occupation: import("io-ts").StringC;
|
|
298
|
+
months_employed: import("io-ts").NumberC;
|
|
299
|
+
}>;
|
|
300
|
+
self_employed_details: import("io-ts").TypeC<{
|
|
301
|
+
business_name: import("io-ts").StringC;
|
|
302
|
+
type_of_business: import("io-ts").StringC;
|
|
303
|
+
months_self_employed: import("io-ts").NumberC;
|
|
304
|
+
}>;
|
|
305
|
+
not_employed_details: import("io-ts").TypeC<{
|
|
306
|
+
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">]>;
|
|
307
|
+
}>;
|
|
308
|
+
}>]>>;
|
|
255
309
|
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
256
|
-
expenditure_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
310
|
+
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
311
|
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
312
|
amount: import("io-ts").NumberC;
|
|
259
313
|
}>, import("io-ts").PartialC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/checkCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"checkCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/checkCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBvB,CAAC;AAEX,oBAAY,0BAA0B,GAAG,eAAe,CACtD;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,EACxC,OAAO,CAAC,MAAM,CACf,CAAC"}
|