@kanda-libs/ks-schema 1.0.147 → 1.0.148

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.
Files changed (33) hide show
  1. package/dist/components/schemas/Credit.d.ts +29 -6
  2. package/dist/components/schemas/Credit.d.ts.map +1 -1
  3. package/dist/components/schemas/Credit.js +1 -2
  4. package/dist/components/schemas/Entity.d.ts +28 -4
  5. package/dist/components/schemas/Entity.d.ts.map +1 -1
  6. package/dist/components/schemas/Event.d.ts +28 -4
  7. package/dist/components/schemas/Event.d.ts.map +1 -1
  8. package/dist/operations/applyCredit.d.ts +28 -4
  9. package/dist/operations/applyCredit.d.ts.map +1 -1
  10. package/dist/operations/checkCredit.d.ts +28 -4
  11. package/dist/operations/checkCredit.d.ts.map +1 -1
  12. package/dist/operations/deleteCredit.d.ts +28 -4
  13. package/dist/operations/deleteCredit.d.ts.map +1 -1
  14. package/dist/operations/getCredit.d.ts +28 -4
  15. package/dist/operations/getCredit.d.ts.map +1 -1
  16. package/dist/operations/getCredits.d.ts +28 -4
  17. package/dist/operations/getCredits.d.ts.map +1 -1
  18. package/dist/operations/index.d.ts +252 -36
  19. package/dist/operations/index.d.ts.map +1 -1
  20. package/dist/operations/postCredit.d.ts +28 -4
  21. package/dist/operations/postCredit.d.ts.map +1 -1
  22. package/dist/operations/putCredit.d.ts +28 -4
  23. package/dist/operations/putCredit.d.ts.map +1 -1
  24. package/dist/operations/quoteCredit.d.ts +28 -4
  25. package/dist/operations/quoteCredit.d.ts.map +1 -1
  26. package/dist/operations/signCredit.d.ts +28 -4
  27. package/dist/operations/signCredit.d.ts.map +1 -1
  28. package/dist/schema.json +1 -1
  29. package/dist/widget/index.d.ts +6953 -6692
  30. package/dist/widget/index.d.ts.map +1 -1
  31. package/dist/widget/index.js +12340 -12039
  32. package/package.json +1 -1
  33. package/schema.yaml +1 -1
@@ -3,7 +3,6 @@ import { ApplicantDetails } from "./ApplicantDetails";
3
3
  import { BankAccount } from "./BankAccount";
4
4
  import { CustomerDetails } from "./CustomerDetails";
5
5
  import { Document } from "./Document";
6
- import { EmployedDetails } from "./EmployedDetails";
7
6
  import { EmploymentDetails } from "./EmploymentDetails";
8
7
  import { FinanceDetails } from "./FinanceDetails";
9
8
  import { Metadata } from "./Metadata";
@@ -140,11 +139,35 @@ export declare const Credit: t.IntersectionC<[t.TypeC<{
140
139
  currency: t.LiteralC<"GBP">;
141
140
  }>]>;
142
141
  additional_employment_details: t.ArrayC<t.IntersectionC<[t.TypeC<{
143
- employer_name: t.StringC;
144
- main_occupation: t.StringC;
145
- months_employed: t.NumberC;
142
+ employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
143
+ gross_annual_income: t.IntersectionC<[t.TypeC<{
144
+ amount: t.NumberC;
145
+ }>, t.PartialC<{
146
+ currency: t.LiteralC<"GBP">;
147
+ }>]>;
146
148
  }>, t.PartialC<{
147
- employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
149
+ employed_details: t.IntersectionC<[t.TypeC<{
150
+ employer_name: t.StringC;
151
+ main_occupation: t.StringC;
152
+ months_employed: t.NumberC;
153
+ }>, t.PartialC<{
154
+ employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
155
+ }>]>;
156
+ self_employed_details: t.IntersectionC<[t.TypeC<{
157
+ business_name: t.StringC;
158
+ type_of_business: t.StringC;
159
+ months_self_employed: t.NumberC;
160
+ }>, t.PartialC<{
161
+ self_employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
162
+ }>]>;
163
+ not_employed_details: t.TypeC<{
164
+ 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">]>;
165
+ }>;
166
+ household_annual_income: t.IntersectionC<[t.TypeC<{
167
+ amount: t.NumberC;
168
+ }>, t.PartialC<{
169
+ currency: t.LiteralC<"GBP">;
170
+ }>]>;
148
171
  }>]>>;
149
172
  finance_details: t.PartialC<{
150
173
  bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
@@ -343,7 +366,7 @@ export interface Credit {
343
366
  bank_account: BankAccount;
344
367
  customer_details: CustomerDetails;
345
368
  employment_details: EmploymentDetails;
346
- additional_employment_details?: Array<EmployedDetails>;
369
+ additional_employment_details?: Array<EmploymentDetails>;
347
370
  finance_details?: FinanceDetails;
348
371
  extra_applicants?: Array<ApplicantDetails>;
349
372
  credit_documents?: Array<Document>;
@@ -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,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,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,6BAA6B,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACzD,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"}
@@ -29,7 +29,6 @@ const ApplicantDetails_1 = require("./ApplicantDetails");
29
29
  const BankAccount_1 = require("./BankAccount");
30
30
  const CustomerDetails_1 = require("./CustomerDetails");
31
31
  const Document_1 = require("./Document");
32
- const EmployedDetails_1 = require("./EmployedDetails");
33
32
  const EmploymentDetails_1 = require("./EmploymentDetails");
34
33
  const FinanceDetails_1 = require("./FinanceDetails");
35
34
  const Metadata_1 = require("./Metadata");
@@ -65,7 +64,7 @@ exports.Credit = t.intersection([
65
64
  ]),
66
65
  amount: Money_1.Money,
67
66
  deposit_value: Money_1.Money,
68
- additional_employment_details: t.array(EmployedDetails_1.EmployedDetails),
67
+ additional_employment_details: t.array(EmploymentDetails_1.EmploymentDetails),
69
68
  finance_details: FinanceDetails_1.FinanceDetails,
70
69
  extra_applicants: t.array(ApplicantDetails_1.ApplicantDetails),
71
70
  credit_documents: t.array(Document_1.Document),
@@ -329,11 +329,35 @@ export declare const Entity: t.PartialC<{
329
329
  currency: t.LiteralC<"GBP">;
330
330
  }>]>;
331
331
  additional_employment_details: t.ArrayC<t.IntersectionC<[t.TypeC<{
332
- employer_name: t.StringC;
333
- main_occupation: t.StringC;
334
- months_employed: t.NumberC;
332
+ employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
333
+ gross_annual_income: t.IntersectionC<[t.TypeC<{
334
+ amount: t.NumberC;
335
+ }>, t.PartialC<{
336
+ currency: t.LiteralC<"GBP">;
337
+ }>]>;
335
338
  }>, t.PartialC<{
336
- employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
339
+ employed_details: t.IntersectionC<[t.TypeC<{
340
+ employer_name: t.StringC;
341
+ main_occupation: t.StringC;
342
+ months_employed: t.NumberC;
343
+ }>, t.PartialC<{
344
+ employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
345
+ }>]>;
346
+ self_employed_details: t.IntersectionC<[t.TypeC<{
347
+ business_name: t.StringC;
348
+ type_of_business: t.StringC;
349
+ months_self_employed: t.NumberC;
350
+ }>, t.PartialC<{
351
+ self_employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
352
+ }>]>;
353
+ not_employed_details: t.TypeC<{
354
+ 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">]>;
355
+ }>;
356
+ household_annual_income: t.IntersectionC<[t.TypeC<{
357
+ amount: t.NumberC;
358
+ }>, t.PartialC<{
359
+ currency: t.LiteralC<"GBP">;
360
+ }>]>;
337
361
  }>]>>;
338
362
  finance_details: t.PartialC<{
339
363
  bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -336,11 +336,35 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
336
336
  currency: t.LiteralC<"GBP">;
337
337
  }>]>;
338
338
  additional_employment_details: t.ArrayC<t.IntersectionC<[t.TypeC<{
339
- employer_name: t.StringC;
340
- main_occupation: t.StringC;
341
- months_employed: t.NumberC;
339
+ employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
340
+ gross_annual_income: t.IntersectionC<[t.TypeC<{
341
+ amount: t.NumberC;
342
+ }>, t.PartialC<{
343
+ currency: t.LiteralC<"GBP">;
344
+ }>]>;
342
345
  }>, t.PartialC<{
343
- employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
346
+ employed_details: t.IntersectionC<[t.TypeC<{
347
+ employer_name: t.StringC;
348
+ main_occupation: t.StringC;
349
+ months_employed: t.NumberC;
350
+ }>, t.PartialC<{
351
+ employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
352
+ }>]>;
353
+ self_employed_details: t.IntersectionC<[t.TypeC<{
354
+ business_name: t.StringC;
355
+ type_of_business: t.StringC;
356
+ months_self_employed: t.NumberC;
357
+ }>, t.PartialC<{
358
+ self_employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
359
+ }>]>;
360
+ not_employed_details: t.TypeC<{
361
+ 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">]>;
362
+ }>;
363
+ household_annual_income: t.IntersectionC<[t.TypeC<{
364
+ amount: t.NumberC;
365
+ }>, t.PartialC<{
366
+ currency: t.LiteralC<"GBP">;
367
+ }>]>;
344
368
  }>]>>;
345
369
  finance_details: t.PartialC<{
346
370
  bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
@@ -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,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -140,11 +140,35 @@ export declare const applyCreditOperation: {
140
140
  currency: import("io-ts").LiteralC<"GBP">;
141
141
  }>]>;
142
142
  additional_employment_details: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
143
- employer_name: import("io-ts").StringC;
144
- main_occupation: import("io-ts").StringC;
145
- months_employed: import("io-ts").NumberC;
143
+ 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">]>;
144
+ gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
145
+ amount: import("io-ts").NumberC;
146
+ }>, import("io-ts").PartialC<{
147
+ currency: import("io-ts").LiteralC<"GBP">;
148
+ }>]>;
146
149
  }>, import("io-ts").PartialC<{
147
- employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
150
+ employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
151
+ employer_name: import("io-ts").StringC;
152
+ main_occupation: import("io-ts").StringC;
153
+ months_employed: import("io-ts").NumberC;
154
+ }>, import("io-ts").PartialC<{
155
+ employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
156
+ }>]>;
157
+ self_employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
158
+ business_name: import("io-ts").StringC;
159
+ type_of_business: import("io-ts").StringC;
160
+ months_self_employed: import("io-ts").NumberC;
161
+ }>, import("io-ts").PartialC<{
162
+ self_employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
163
+ }>]>;
164
+ not_employed_details: import("io-ts").TypeC<{
165
+ 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">]>;
166
+ }>;
167
+ household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
168
+ amount: import("io-ts").NumberC;
169
+ }>, import("io-ts").PartialC<{
170
+ currency: import("io-ts").LiteralC<"GBP">;
171
+ }>]>;
148
172
  }>]>>;
149
173
  finance_details: import("io-ts").PartialC<{
150
174
  bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
@@ -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,wBAAw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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBvB,CAAC;AAEX,oBAAY,0BAA0B,GAAG,eAAe,CACtD;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,EACxC,OAAO,CAAC,MAAM,CACf,CAAC"}
@@ -140,11 +140,35 @@ export declare const checkCreditOperation: {
140
140
  currency: import("io-ts").LiteralC<"GBP">;
141
141
  }>]>;
142
142
  additional_employment_details: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
143
- employer_name: import("io-ts").StringC;
144
- main_occupation: import("io-ts").StringC;
145
- months_employed: import("io-ts").NumberC;
143
+ 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">]>;
144
+ gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
145
+ amount: import("io-ts").NumberC;
146
+ }>, import("io-ts").PartialC<{
147
+ currency: import("io-ts").LiteralC<"GBP">;
148
+ }>]>;
146
149
  }>, import("io-ts").PartialC<{
147
- employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
150
+ employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
151
+ employer_name: import("io-ts").StringC;
152
+ main_occupation: import("io-ts").StringC;
153
+ months_employed: import("io-ts").NumberC;
154
+ }>, import("io-ts").PartialC<{
155
+ employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
156
+ }>]>;
157
+ self_employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
158
+ business_name: import("io-ts").StringC;
159
+ type_of_business: import("io-ts").StringC;
160
+ months_self_employed: import("io-ts").NumberC;
161
+ }>, import("io-ts").PartialC<{
162
+ self_employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
163
+ }>]>;
164
+ not_employed_details: import("io-ts").TypeC<{
165
+ 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">]>;
166
+ }>;
167
+ household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
168
+ amount: import("io-ts").NumberC;
169
+ }>, import("io-ts").PartialC<{
170
+ currency: import("io-ts").LiteralC<"GBP">;
171
+ }>]>;
148
172
  }>]>>;
149
173
  finance_details: import("io-ts").PartialC<{
150
174
  bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBvB,CAAC;AAEX,oBAAY,0BAA0B,GAAG,eAAe,CACtD;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,EACxC,OAAO,CAAC,MAAM,CACf,CAAC"}
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"}
@@ -140,11 +140,35 @@ export declare const deleteCreditOperation: {
140
140
  currency: import("io-ts").LiteralC<"GBP">;
141
141
  }>]>;
142
142
  additional_employment_details: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
143
- employer_name: import("io-ts").StringC;
144
- main_occupation: import("io-ts").StringC;
145
- months_employed: import("io-ts").NumberC;
143
+ 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">]>;
144
+ gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
145
+ amount: import("io-ts").NumberC;
146
+ }>, import("io-ts").PartialC<{
147
+ currency: import("io-ts").LiteralC<"GBP">;
148
+ }>]>;
146
149
  }>, import("io-ts").PartialC<{
147
- employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
150
+ employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
151
+ employer_name: import("io-ts").StringC;
152
+ main_occupation: import("io-ts").StringC;
153
+ months_employed: import("io-ts").NumberC;
154
+ }>, import("io-ts").PartialC<{
155
+ employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
156
+ }>]>;
157
+ self_employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
158
+ business_name: import("io-ts").StringC;
159
+ type_of_business: import("io-ts").StringC;
160
+ months_self_employed: import("io-ts").NumberC;
161
+ }>, import("io-ts").PartialC<{
162
+ self_employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
163
+ }>]>;
164
+ not_employed_details: import("io-ts").TypeC<{
165
+ 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">]>;
166
+ }>;
167
+ household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
168
+ amount: import("io-ts").NumberC;
169
+ }>, import("io-ts").PartialC<{
170
+ currency: import("io-ts").LiteralC<"GBP">;
171
+ }>]>;
148
172
  }>]>>;
149
173
  finance_details: import("io-ts").PartialC<{
150
174
  bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
@@ -1 +1 @@
1
- {"version":3,"file":"deleteCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,EACzC,OAAO,CAAC,MAAM,CACf,CAAC"}
1
+ {"version":3,"file":"deleteCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteCredit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,EACzC,OAAO,CAAC,MAAM,CACf,CAAC"}
@@ -140,11 +140,35 @@ export declare const getCreditOperation: {
140
140
  currency: import("io-ts").LiteralC<"GBP">;
141
141
  }>]>;
142
142
  additional_employment_details: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
143
- employer_name: import("io-ts").StringC;
144
- main_occupation: import("io-ts").StringC;
145
- months_employed: import("io-ts").NumberC;
143
+ 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">]>;
144
+ gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
145
+ amount: import("io-ts").NumberC;
146
+ }>, import("io-ts").PartialC<{
147
+ currency: import("io-ts").LiteralC<"GBP">;
148
+ }>]>;
146
149
  }>, import("io-ts").PartialC<{
147
- employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
150
+ employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
151
+ employer_name: import("io-ts").StringC;
152
+ main_occupation: import("io-ts").StringC;
153
+ months_employed: import("io-ts").NumberC;
154
+ }>, import("io-ts").PartialC<{
155
+ employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
156
+ }>]>;
157
+ self_employed_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
158
+ business_name: import("io-ts").StringC;
159
+ type_of_business: import("io-ts").StringC;
160
+ months_self_employed: import("io-ts").NumberC;
161
+ }>, import("io-ts").PartialC<{
162
+ self_employed_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"full_time">, import("io-ts").LiteralC<"part_time">]>;
163
+ }>]>;
164
+ not_employed_details: import("io-ts").TypeC<{
165
+ 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">]>;
166
+ }>;
167
+ household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
168
+ amount: import("io-ts").NumberC;
169
+ }>, import("io-ts").PartialC<{
170
+ currency: import("io-ts").LiteralC<"GBP">;
171
+ }>]>;
148
172
  }>]>>;
149
173
  finance_details: import("io-ts").PartialC<{
150
174
  bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
@@ -1 +1 @@
1
- {"version":3,"file":"getCredit.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCredit.ts"],"names":[],"m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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBrB,CAAC;AAEX,oBAAY,wBAAwB,GAAG,eAAe,CACpD;IAAE,MAAM,EAAE,0BAA0B,CAAA;CAAE,EACtC,OAAO,CAAC,MAAM,CACf,CAAC"}
@@ -138,11 +138,35 @@ export declare const getCreditsOperation: {
138
138
  currency: t.LiteralC<"GBP">;
139
139
  }>]>;
140
140
  additional_employment_details: t.ArrayC<t.IntersectionC<[t.TypeC<{
141
- employer_name: t.StringC;
142
- main_occupation: t.StringC;
143
- months_employed: t.NumberC;
141
+ employment_status: t.UnionC<[t.LiteralC<"employed">, t.LiteralC<"self_employed">, t.LiteralC<"not_employed">, t.LiteralC<"retired">]>;
142
+ gross_annual_income: t.IntersectionC<[t.TypeC<{
143
+ amount: t.NumberC;
144
+ }>, t.PartialC<{
145
+ currency: t.LiteralC<"GBP">;
146
+ }>]>;
144
147
  }>, t.PartialC<{
145
- employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
148
+ employed_details: t.IntersectionC<[t.TypeC<{
149
+ employer_name: t.StringC;
150
+ main_occupation: t.StringC;
151
+ months_employed: t.NumberC;
152
+ }>, t.PartialC<{
153
+ employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
154
+ }>]>;
155
+ self_employed_details: t.IntersectionC<[t.TypeC<{
156
+ business_name: t.StringC;
157
+ type_of_business: t.StringC;
158
+ months_self_employed: t.NumberC;
159
+ }>, t.PartialC<{
160
+ self_employed_type: t.UnionC<[t.LiteralC<"full_time">, t.LiteralC<"part_time">]>;
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
+ household_annual_income: t.IntersectionC<[t.TypeC<{
166
+ amount: t.NumberC;
167
+ }>, t.PartialC<{
168
+ currency: t.LiteralC<"GBP">;
169
+ }>]>;
146
170
  }>]>>;
147
171
  finance_details: t.PartialC<{
148
172
  bankrupcy_or_iva_in_last_5_years: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
@@ -1 +1 @@
1
- {"version":3,"file":"getCredits.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCredits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAStB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CACtB,CAAC"}
1
+ {"version":3,"file":"getCredits.d.ts","sourceRoot":"","sources":["../../frontend/gener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