@kanda-libs/ks-schema 1.0.124 → 1.0.126
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 +128 -0
- package/dist/components/schemas/ApplicantDetails.d.ts.map +1 -0
- package/dist/components/schemas/ApplicantDetails.js +37 -0
- package/dist/components/schemas/BankAccount.d.ts +5 -2
- package/dist/components/schemas/BankAccount.d.ts.map +1 -1
- package/dist/components/schemas/BankAccount.js +10 -5
- package/dist/components/schemas/Company.d.ts +14 -2
- package/dist/components/schemas/Company.d.ts.map +1 -1
- package/dist/components/schemas/Company.js +2 -0
- package/dist/components/schemas/Credit.d.ts +139 -6
- package/dist/components/schemas/Credit.d.ts.map +1 -1
- package/dist/components/schemas/Credit.js +5 -1
- package/dist/components/schemas/CustomerDetails.d.ts +2 -2
- package/dist/components/schemas/CustomerDetails.d.ts.map +1 -1
- package/dist/components/schemas/CustomerDetails.js +3 -0
- package/dist/components/schemas/EmploymentDetails.d.ts +1 -1
- package/dist/components/schemas/Entity.d.ts +166 -9
- package/dist/components/schemas/Entity.d.ts.map +1 -1
- package/dist/components/schemas/Event.d.ts +166 -9
- package/dist/components/schemas/Event.d.ts.map +1 -1
- package/dist/components/schemas/Expenditure.d.ts +15 -0
- package/dist/components/schemas/Expenditure.d.ts.map +1 -0
- package/dist/components/schemas/Expenditure.js +39 -0
- package/dist/components/schemas/FinanceDetails.d.ts +18 -0
- package/dist/components/schemas/FinanceDetails.d.ts.map +1 -0
- package/dist/components/schemas/FinanceDetails.js +35 -0
- package/dist/components/schemas/Job.d.ts +23 -2
- package/dist/components/schemas/Job.d.ts.map +1 -1
- package/dist/components/schemas/Job.js +3 -0
- package/dist/components/schemas/JobCompanyInfo.d.ts +4 -2
- package/dist/components/schemas/JobCompanyInfo.d.ts.map +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 +4 -0
- package/dist/components/schemas/SatNote.d.ts +5 -2
- package/dist/components/schemas/SatNote.d.ts.map +1 -1
- package/dist/components/schemas/SatNote.js +37 -29
- package/dist/components/schemas/SolarCompanyInfo.d.ts +17 -0
- package/dist/components/schemas/SolarCompanyInfo.d.ts.map +1 -0
- package/dist/components/schemas/SolarCompanyInfo.js +46 -0
- package/dist/components/schemas/index.d.ts +4 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +4 -0
- package/dist/operations/applyCredit.d.ts +134 -5
- package/dist/operations/applyCredit.d.ts.map +1 -1
- package/dist/operations/applyJob.d.ts +20 -2
- package/dist/operations/applyJob.d.ts.map +1 -1
- package/dist/operations/approveCompany.d.ts +12 -2
- package/dist/operations/approveCompany.d.ts.map +1 -1
- package/dist/operations/approveJobSatNote.d.ts +20 -2
- package/dist/operations/approveJobSatNote.d.ts.map +1 -1
- package/dist/operations/archiveJob.d.ts +20 -2
- package/dist/operations/archiveJob.d.ts.map +1 -1
- package/dist/operations/checkCredit.d.ts +134 -5
- package/dist/operations/checkCredit.d.ts.map +1 -1
- package/dist/operations/completeJob.d.ts +20 -2
- package/dist/operations/completeJob.d.ts.map +1 -1
- package/dist/operations/declineCompany.d.ts +12 -2
- package/dist/operations/declineCompany.d.ts.map +1 -1
- package/dist/operations/deleteCompany.d.ts +12 -2
- package/dist/operations/deleteCompany.d.ts.map +1 -1
- package/dist/operations/deleteCredit.d.ts +134 -5
- package/dist/operations/deleteCredit.d.ts.map +1 -1
- package/dist/operations/deleteJob.d.ts +20 -2
- package/dist/operations/deleteJob.d.ts.map +1 -1
- package/dist/operations/directorCompany.d.ts +12 -2
- package/dist/operations/directorCompany.d.ts.map +1 -1
- package/dist/operations/getCompanies.d.ts +12 -2
- package/dist/operations/getCompanies.d.ts.map +1 -1
- package/dist/operations/getCompany.d.ts +12 -2
- package/dist/operations/getCompany.d.ts.map +1 -1
- package/dist/operations/getCredit.d.ts +134 -5
- package/dist/operations/getCredit.d.ts.map +1 -1
- package/dist/operations/getCredits.d.ts +134 -5
- package/dist/operations/getCredits.d.ts.map +1 -1
- package/dist/operations/getJob.d.ts +20 -2
- package/dist/operations/getJob.d.ts.map +1 -1
- package/dist/operations/getJobs.d.ts +20 -2
- package/dist/operations/getJobs.d.ts.map +1 -1
- package/dist/operations/index.d.ts +1692 -197
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/jobCompanyInfo.d.ts +4 -2
- package/dist/operations/jobCompanyInfo.d.ts.map +1 -1
- package/dist/operations/payJob.d.ts +20 -2
- package/dist/operations/payJob.d.ts.map +1 -1
- package/dist/operations/payoutJob.d.ts +20 -2
- package/dist/operations/payoutJob.d.ts.map +1 -1
- package/dist/operations/postCompany.d.ts +12 -2
- package/dist/operations/postCompany.d.ts.map +1 -1
- package/dist/operations/postCredit.d.ts +134 -5
- package/dist/operations/postCredit.d.ts.map +1 -1
- package/dist/operations/postJob.d.ts +20 -2
- package/dist/operations/postJob.d.ts.map +1 -1
- package/dist/operations/putCompany.d.ts +12 -2
- package/dist/operations/putCompany.d.ts.map +1 -1
- package/dist/operations/putCredit.d.ts +134 -5
- package/dist/operations/putCredit.d.ts.map +1 -1
- package/dist/operations/putJob.d.ts +20 -2
- package/dist/operations/putJob.d.ts.map +1 -1
- package/dist/operations/quoteCredit.d.ts +134 -5
- package/dist/operations/quoteCredit.d.ts.map +1 -1
- package/dist/operations/sendJob.d.ts +20 -2
- package/dist/operations/sendJob.d.ts.map +1 -1
- package/dist/operations/signCredit.d.ts +134 -5
- package/dist/operations/signCredit.d.ts.map +1 -1
- package/dist/operations/signJobSateNote.d.ts +20 -2
- package/dist/operations/signJobSateNote.d.ts.map +1 -1
- package/dist/operations/viewJobSatNote.d.ts +20 -2
- package/dist/operations/viewJobSatNote.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +8388 -5245
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +15039 -11434
- package/package.json +1 -1
- package/schema.yaml +141 -0
|
@@ -2,6 +2,7 @@ import * as t from "io-ts";
|
|
|
2
2
|
import { CheckoutOption } from "./CheckoutOption";
|
|
3
3
|
import { Customer } from "./Customer";
|
|
4
4
|
import { CustomerOptions } from "./CustomerOptions";
|
|
5
|
+
import { Document } from "./Document";
|
|
5
6
|
import { FinanceStatus } from "./FinanceStatus";
|
|
6
7
|
import { JobItem } from "./JobItem";
|
|
7
8
|
import { Metadata } from "./Metadata";
|
|
@@ -139,7 +140,7 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
|
|
|
139
140
|
viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
140
141
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
141
142
|
}>;
|
|
142
|
-
sat_note: t.TypeC<{
|
|
143
|
+
sat_note: t.IntersectionC<[t.TypeC<{
|
|
143
144
|
q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
144
145
|
q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
145
146
|
q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
|
|
@@ -164,7 +165,25 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
|
|
|
164
165
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
165
166
|
}>;
|
|
166
167
|
}>]>;
|
|
167
|
-
}
|
|
168
|
+
}>, t.PartialC<{
|
|
169
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
|
|
170
|
+
}>]>;
|
|
171
|
+
job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
|
|
172
|
+
job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
173
|
+
name: t.StringC;
|
|
174
|
+
}>, t.PartialC<{
|
|
175
|
+
id: t.StringC;
|
|
176
|
+
cid: t.StringC;
|
|
177
|
+
oid: t.StringC;
|
|
178
|
+
aid: t.StringC;
|
|
179
|
+
content: t.StringC;
|
|
180
|
+
mimetype: t.StringC;
|
|
181
|
+
metadata: t.TypeC<{
|
|
182
|
+
liveness: t.BooleanC;
|
|
183
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
184
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
185
|
+
}>;
|
|
186
|
+
}>]>>;
|
|
168
187
|
metadata: t.TypeC<{
|
|
169
188
|
liveness: t.BooleanC;
|
|
170
189
|
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
@@ -193,6 +212,8 @@ export interface Job {
|
|
|
193
212
|
payments?: Array<Payment>;
|
|
194
213
|
sat_note_timeline?: SatNoteTimeline;
|
|
195
214
|
sat_note?: SatNote;
|
|
215
|
+
job_type?: "standard" | "solar";
|
|
216
|
+
job_documents?: Array<Document>;
|
|
196
217
|
metadata?: Metadata;
|
|
197
218
|
}
|
|
198
219
|
//# sourceMappingURL=Job.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Job.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Job.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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Customer");
|
|
30
30
|
const CustomerOptions_1 = require("./CustomerOptions");
|
|
31
|
+
const Document_1 = require("./Document");
|
|
31
32
|
const FinanceStatus_1 = require("./FinanceStatus");
|
|
32
33
|
const JobItem_1 = require("./JobItem");
|
|
33
34
|
const Metadata_1 = require("./Metadata");
|
|
@@ -71,6 +72,8 @@ exports.Job = t.intersection([
|
|
|
71
72
|
payments: t.array(Payment_1.Payment),
|
|
72
73
|
sat_note_timeline: SatNoteTimeline_1.SatNoteTimeline,
|
|
73
74
|
sat_note: SatNote_1.SatNote,
|
|
75
|
+
job_type: t.union([t.literal("standard"), t.literal("solar")]),
|
|
76
|
+
job_documents: t.array(Document_1.Document),
|
|
74
77
|
metadata: Metadata_1.Metadata,
|
|
75
78
|
}),
|
|
76
79
|
]);
|
|
@@ -21,11 +21,13 @@ export declare const JobCompanyInfo: t.IntersectionC<[t.TypeC<{
|
|
|
21
21
|
}>;
|
|
22
22
|
}>]>;
|
|
23
23
|
vat_number: t.StringC;
|
|
24
|
-
bank_account: t.TypeC<{
|
|
24
|
+
bank_account: t.IntersectionC<[t.TypeC<{
|
|
25
25
|
account_name: t.StringC;
|
|
26
26
|
account_number: t.StringC;
|
|
27
27
|
sort_code: t.StringC;
|
|
28
|
-
}
|
|
28
|
+
}>, t.PartialC<{
|
|
29
|
+
months_held: t.NumberC;
|
|
30
|
+
}>]>;
|
|
29
31
|
contact_info: t.PartialC<{
|
|
30
32
|
contact_name: t.StringC;
|
|
31
33
|
contact_email: t.StringC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JobCompanyInfo.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/JobCompanyInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"JobCompanyInfo.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/JobCompanyInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUzB,CAAC;AAEH,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B"}
|
|
@@ -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<"other">]>;
|
|
3
|
+
source_of_income: t.UnionC<[t.LiteralC<"partner">, t.LiteralC<"benefits">, t.LiteralC<"maintenance">, t.LiteralC<"disabled">, t.LiteralC<"full-time 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" | "other";
|
|
6
|
+
source_of_income: "partner" | "benefits" | "maintenance" | "disabled" | "full-time 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;;
|
|
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,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,OAAO,CAAC;CACb"}
|
|
@@ -30,6 +30,10 @@ exports.NotEmployedDetails = t.type({
|
|
|
30
30
|
t.literal("partner"),
|
|
31
31
|
t.literal("benefits"),
|
|
32
32
|
t.literal("maintenance"),
|
|
33
|
+
t.literal("disabled"),
|
|
34
|
+
t.literal("full-time carer"),
|
|
35
|
+
t.literal("homemaker"),
|
|
36
|
+
t.literal("permanent dla"),
|
|
33
37
|
t.literal("other"),
|
|
34
38
|
]),
|
|
35
39
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { Document } from "./Document";
|
|
3
3
|
import { Signature } from "./Signature";
|
|
4
|
-
export declare const SatNote: t.TypeC<{
|
|
4
|
+
export declare const SatNote: t.IntersectionC<[t.TypeC<{
|
|
5
5
|
q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
6
6
|
q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
7
7
|
q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
|
|
@@ -26,13 +26,16 @@ export declare const SatNote: t.TypeC<{
|
|
|
26
26
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
27
27
|
}>;
|
|
28
28
|
}>]>;
|
|
29
|
-
}
|
|
29
|
+
}>, t.PartialC<{
|
|
30
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
|
|
31
|
+
}>]>;
|
|
30
32
|
export interface SatNote {
|
|
31
33
|
q_pressure: "no" | "somewhat" | "yes";
|
|
32
34
|
q_easiness: "no" | "somewhat" | "yes";
|
|
33
35
|
q_availability: "The installer told me when quoting me" | "I saw it advertised by the installer" | "I found out when the installer sent me a link via Kanda";
|
|
34
36
|
q_application: "I completed the application myself" | "Someone completed the appliation on my behalf";
|
|
35
37
|
q_advice: "They just sent me a link to apply" | "They told me what rates where available" | "They helped me work out my potential repayments" | "They completed the application for me";
|
|
38
|
+
q_saving?: "Yes I understand" | "No I don't understand";
|
|
36
39
|
signature: Signature;
|
|
37
40
|
certificate: Document;
|
|
38
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SatNote.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"SatNote.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoClB,CAAC;AAEH,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,cAAc,EACV,uCAAuC,GACvC,sCAAsC,GACtC,yDAAyD,CAAC;IAC9D,aAAa,EACT,oCAAoC,GACpC,+CAA+C,CAAC;IACpD,QAAQ,EACJ,mCAAmC,GACnC,yCAAyC,GACzC,iDAAiD,GACjD,uCAAuC,CAAC;IAC5C,QAAQ,CAAC,EAAE,kBAAkB,GAAG,uBAAuB,CAAC;IACxD,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,QAAQ,CAAC;CACvB"}
|
|
@@ -27,32 +27,40 @@ exports.SatNote = void 0;
|
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const Document_1 = require("./Document");
|
|
29
29
|
const Signature_1 = require("./Signature");
|
|
30
|
-
exports.SatNote = t.
|
|
31
|
-
|
|
32
|
-
t.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
t.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
t.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
t.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
t.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
30
|
+
exports.SatNote = t.intersection([
|
|
31
|
+
t.type({
|
|
32
|
+
q_pressure: t.union([
|
|
33
|
+
t.literal("no"),
|
|
34
|
+
t.literal("somewhat"),
|
|
35
|
+
t.literal("yes"),
|
|
36
|
+
]),
|
|
37
|
+
q_easiness: t.union([
|
|
38
|
+
t.literal("no"),
|
|
39
|
+
t.literal("somewhat"),
|
|
40
|
+
t.literal("yes"),
|
|
41
|
+
]),
|
|
42
|
+
q_availability: t.union([
|
|
43
|
+
t.literal("The installer told me when quoting me"),
|
|
44
|
+
t.literal("I saw it advertised by the installer"),
|
|
45
|
+
t.literal("I found out when the installer sent me a link via Kanda"),
|
|
46
|
+
]),
|
|
47
|
+
q_application: t.union([
|
|
48
|
+
t.literal("I completed the application myself"),
|
|
49
|
+
t.literal("Someone completed the appliation on my behalf"),
|
|
50
|
+
]),
|
|
51
|
+
q_advice: t.union([
|
|
52
|
+
t.literal("They just sent me a link to apply"),
|
|
53
|
+
t.literal("They told me what rates where available"),
|
|
54
|
+
t.literal("They helped me work out my potential repayments"),
|
|
55
|
+
t.literal("They completed the application for me"),
|
|
56
|
+
]),
|
|
57
|
+
signature: Signature_1.Signature,
|
|
58
|
+
certificate: Document_1.Document,
|
|
59
|
+
}),
|
|
60
|
+
t.partial({
|
|
61
|
+
q_saving: t.union([
|
|
62
|
+
t.literal("Yes I understand"),
|
|
63
|
+
t.literal("No I don't understand"),
|
|
64
|
+
]),
|
|
65
|
+
}),
|
|
66
|
+
]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
export declare const SolarCompanyInfo: t.IntersectionC<[t.TypeC<{
|
|
3
|
+
epvs_registration_number: t.StringC;
|
|
4
|
+
solar_trade_association: t.UnionC<[t.LiteralC<"msc">, t.LiteralC<"heis">, t.LiteralC<"recc">]>;
|
|
5
|
+
solar_trade_association_number: t.StringC;
|
|
6
|
+
electrical_trade_association: t.UnionC<[t.LiteralC<"niceic">, t.LiteralC<"napit">, t.LiteralC<"none">]>;
|
|
7
|
+
}>, t.PartialC<{
|
|
8
|
+
electrical_trade_association_number: t.StringC;
|
|
9
|
+
}>]>;
|
|
10
|
+
export interface SolarCompanyInfo {
|
|
11
|
+
epvs_registration_number: string;
|
|
12
|
+
solar_trade_association: "msc" | "heis" | "recc";
|
|
13
|
+
solar_trade_association_number: string;
|
|
14
|
+
electrical_trade_association: "niceic" | "napit" | "none";
|
|
15
|
+
electrical_trade_association_number?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=SolarCompanyInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolarCompanyInfo.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SolarCompanyInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;;;;IAkB3B,CAAC;AAEH,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,uBAAuB,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACjD,8BAA8B,EAAE,MAAM,CAAC;IACvC,4BAA4B,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1D,mCAAmC,CAAC,EAAE,MAAM,CAAC;CAC9C"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.SolarCompanyInfo = void 0;
|
|
27
|
+
const t = __importStar(require("io-ts"));
|
|
28
|
+
exports.SolarCompanyInfo = t.intersection([
|
|
29
|
+
t.type({
|
|
30
|
+
epvs_registration_number: t.string,
|
|
31
|
+
solar_trade_association: t.union([
|
|
32
|
+
t.literal("msc"),
|
|
33
|
+
t.literal("heis"),
|
|
34
|
+
t.literal("recc"),
|
|
35
|
+
]),
|
|
36
|
+
solar_trade_association_number: t.string,
|
|
37
|
+
electrical_trade_association: t.union([
|
|
38
|
+
t.literal("niceic"),
|
|
39
|
+
t.literal("napit"),
|
|
40
|
+
t.literal("none"),
|
|
41
|
+
]),
|
|
42
|
+
}),
|
|
43
|
+
t.partial({
|
|
44
|
+
electrical_trade_association_number: t.string,
|
|
45
|
+
}),
|
|
46
|
+
]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./Address";
|
|
2
|
+
export * from "./ApplicantDetails";
|
|
2
3
|
export * from "./AuthUser";
|
|
3
4
|
export * from "./AvailableRate";
|
|
4
5
|
export * from "./BankAccount";
|
|
@@ -18,6 +19,8 @@ export * from "./EmploymentDetails";
|
|
|
18
19
|
export * from "./Entity";
|
|
19
20
|
export * from "./Error";
|
|
20
21
|
export * from "./Event";
|
|
22
|
+
export * from "./Expenditure";
|
|
23
|
+
export * from "./FinanceDetails";
|
|
21
24
|
export * from "./FinanceStatus";
|
|
22
25
|
export * from "./Identity";
|
|
23
26
|
export * from "./InfoAuth";
|
|
@@ -43,6 +46,7 @@ export * from "./SatNoteTimeline";
|
|
|
43
46
|
export * from "./SelfEmployedDetails";
|
|
44
47
|
export * from "./Signature";
|
|
45
48
|
export * from "./SignDocument";
|
|
49
|
+
export * from "./SolarCompanyInfo";
|
|
46
50
|
export * from "./SoleTraderInfo";
|
|
47
51
|
export * from "./Subscription";
|
|
48
52
|
export * from "./UserType";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,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ACtC,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Address"), exports);
|
|
18
|
+
__exportStar(require("./ApplicantDetails"), exports);
|
|
18
19
|
__exportStar(require("./AuthUser"), exports);
|
|
19
20
|
__exportStar(require("./AvailableRate"), exports);
|
|
20
21
|
__exportStar(require("./BankAccount"), exports);
|
|
@@ -34,6 +35,8 @@ __exportStar(require("./EmploymentDetails"), exports);
|
|
|
34
35
|
__exportStar(require("./Entity"), exports);
|
|
35
36
|
__exportStar(require("./Error"), exports);
|
|
36
37
|
__exportStar(require("./Event"), exports);
|
|
38
|
+
__exportStar(require("./Expenditure"), exports);
|
|
39
|
+
__exportStar(require("./FinanceDetails"), exports);
|
|
37
40
|
__exportStar(require("./FinanceStatus"), exports);
|
|
38
41
|
__exportStar(require("./Identity"), exports);
|
|
39
42
|
__exportStar(require("./InfoAuth"), exports);
|
|
@@ -59,6 +62,7 @@ __exportStar(require("./SatNoteTimeline"), exports);
|
|
|
59
62
|
__exportStar(require("./SelfEmployedDetails"), exports);
|
|
60
63
|
__exportStar(require("./Signature"), exports);
|
|
61
64
|
__exportStar(require("./SignDocument"), exports);
|
|
65
|
+
__exportStar(require("./SolarCompanyInfo"), exports);
|
|
62
66
|
__exportStar(require("./SoleTraderInfo"), exports);
|
|
63
67
|
__exportStar(require("./Subscription"), exports);
|
|
64
68
|
__exportStar(require("./UserType"), exports);
|
|
@@ -11,11 +11,13 @@ export declare const applyCreditOperation: {
|
|
|
11
11
|
readonly _tag: "JsonResponse";
|
|
12
12
|
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
13
13
|
finance_option: import("io-ts").StringC;
|
|
14
|
-
bank_account: import("io-ts").TypeC<{
|
|
14
|
+
bank_account: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
15
15
|
account_name: import("io-ts").StringC;
|
|
16
16
|
account_number: import("io-ts").StringC;
|
|
17
17
|
sort_code: import("io-ts").StringC;
|
|
18
|
-
}
|
|
18
|
+
}>, import("io-ts").PartialC<{
|
|
19
|
+
months_held: import("io-ts").NumberC;
|
|
20
|
+
}>]>;
|
|
19
21
|
customer_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
20
22
|
email: import("io-ts").StringC;
|
|
21
23
|
gender: import("io-ts").UnionC<[import("io-ts").LiteralC<"male">, import("io-ts").LiteralC<"female">]>;
|
|
@@ -25,7 +27,7 @@ export declare const applyCreditOperation: {
|
|
|
25
27
|
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
26
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">]>;
|
|
27
29
|
number_of_dependants: import("io-ts").NumberC;
|
|
28
|
-
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">]>;
|
|
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">]>;
|
|
29
31
|
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
30
32
|
line_1: import("io-ts").StringC;
|
|
31
33
|
city: import("io-ts").StringC;
|
|
@@ -109,7 +111,7 @@ export declare const applyCreditOperation: {
|
|
|
109
111
|
months_self_employed: import("io-ts").NumberC;
|
|
110
112
|
}>;
|
|
111
113
|
not_employed_details: import("io-ts").TypeC<{
|
|
112
|
-
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<"other">]>;
|
|
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<"full-time carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent dla">, import("io-ts").LiteralC<"other">]>;
|
|
113
115
|
}>;
|
|
114
116
|
}>]>;
|
|
115
117
|
}>, import("io-ts").PartialC<{
|
|
@@ -119,7 +121,7 @@ export declare const applyCreditOperation: {
|
|
|
119
121
|
aid: import("io-ts").StringC;
|
|
120
122
|
kid: import("io-ts").StringC;
|
|
121
123
|
kind: import("io-ts").UnionC<[import("io-ts").LiteralC<"job">, import("io-ts").LiteralC<"charge">]>;
|
|
122
|
-
provider: import("io-ts").LiteralC<"omni">;
|
|
124
|
+
provider: import("io-ts").UnionC<[import("io-ts").LiteralC<"omni">, import("io-ts").LiteralC<"propensio">]>;
|
|
123
125
|
xid: import("io-ts").StringC;
|
|
124
126
|
xref: import("io-ts").StringC;
|
|
125
127
|
state: import("io-ts").UnionC<[import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"action_lender">, import("io-ts").LiteralC<"action_customer">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"finished">, import("io-ts").LiteralC<"paid_out">, import("io-ts").LiteralC<"cancelled">]>;
|
|
@@ -133,6 +135,133 @@ export declare const applyCreditOperation: {
|
|
|
133
135
|
}>, import("io-ts").PartialC<{
|
|
134
136
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
135
137
|
}>]>;
|
|
138
|
+
finance_details: import("io-ts").PartialC<{
|
|
139
|
+
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
140
|
+
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
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
|
+
monthly_amount: 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
|
+
}>>;
|
|
148
|
+
}>;
|
|
149
|
+
extra_applicants: import("io-ts").ArrayC<import("io-ts").TypeC<{
|
|
150
|
+
bank_account: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
151
|
+
account_name: import("io-ts").StringC;
|
|
152
|
+
account_number: import("io-ts").StringC;
|
|
153
|
+
sort_code: import("io-ts").StringC;
|
|
154
|
+
}>, import("io-ts").PartialC<{
|
|
155
|
+
months_held: import("io-ts").NumberC;
|
|
156
|
+
}>]>;
|
|
157
|
+
customer_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
158
|
+
email: import("io-ts").StringC;
|
|
159
|
+
gender: import("io-ts").UnionC<[import("io-ts").LiteralC<"male">, import("io-ts").LiteralC<"female">]>;
|
|
160
|
+
title: import("io-ts").UnionC<[import("io-ts").LiteralC<"mrs">, import("io-ts").LiteralC<"mr">, import("io-ts").LiteralC<"miss">, import("io-ts").LiteralC<"ms">, import("io-ts").LiteralC<"dr">]>;
|
|
161
|
+
first_name: import("io-ts").StringC;
|
|
162
|
+
last_name: import("io-ts").StringC;
|
|
163
|
+
date_of_birth: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
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
|
+
number_of_dependants: import("io-ts").NumberC;
|
|
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
|
+
current_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
168
|
+
line_1: import("io-ts").StringC;
|
|
169
|
+
city: import("io-ts").StringC;
|
|
170
|
+
country: import("io-ts").StringC;
|
|
171
|
+
postcode: import("io-ts").StringC;
|
|
172
|
+
}>, import("io-ts").PartialC<{
|
|
173
|
+
building_number: import("io-ts").StringC;
|
|
174
|
+
building_name: import("io-ts").StringC;
|
|
175
|
+
line_2: import("io-ts").StringC;
|
|
176
|
+
county: import("io-ts").StringC;
|
|
177
|
+
months_at_address: import("io-ts").NumberC;
|
|
178
|
+
}>]>;
|
|
179
|
+
}>, import("io-ts").PartialC<{
|
|
180
|
+
middle_name: import("io-ts").StringC;
|
|
181
|
+
maiden_name: import("io-ts").StringC;
|
|
182
|
+
telephone: import("io-ts").StringC;
|
|
183
|
+
mobile: import("io-ts").StringC;
|
|
184
|
+
monthly_rent_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
185
|
+
amount: import("io-ts").NumberC;
|
|
186
|
+
}>, import("io-ts").PartialC<{
|
|
187
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
188
|
+
}>]>;
|
|
189
|
+
previous_address_one: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
190
|
+
line_1: import("io-ts").StringC;
|
|
191
|
+
city: import("io-ts").StringC;
|
|
192
|
+
country: import("io-ts").StringC;
|
|
193
|
+
postcode: import("io-ts").StringC;
|
|
194
|
+
}>, import("io-ts").PartialC<{
|
|
195
|
+
building_number: import("io-ts").StringC;
|
|
196
|
+
building_name: import("io-ts").StringC;
|
|
197
|
+
line_2: import("io-ts").StringC;
|
|
198
|
+
county: import("io-ts").StringC;
|
|
199
|
+
months_at_address: import("io-ts").NumberC;
|
|
200
|
+
}>]>;
|
|
201
|
+
previous_address_two: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
202
|
+
line_1: import("io-ts").StringC;
|
|
203
|
+
city: import("io-ts").StringC;
|
|
204
|
+
country: import("io-ts").StringC;
|
|
205
|
+
postcode: import("io-ts").StringC;
|
|
206
|
+
}>, import("io-ts").PartialC<{
|
|
207
|
+
building_number: import("io-ts").StringC;
|
|
208
|
+
building_name: import("io-ts").StringC;
|
|
209
|
+
line_2: import("io-ts").StringC;
|
|
210
|
+
county: import("io-ts").StringC;
|
|
211
|
+
months_at_address: import("io-ts").NumberC;
|
|
212
|
+
}>]>;
|
|
213
|
+
goods_delivery_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
214
|
+
line_1: import("io-ts").StringC;
|
|
215
|
+
city: import("io-ts").StringC;
|
|
216
|
+
country: import("io-ts").StringC;
|
|
217
|
+
postcode: import("io-ts").StringC;
|
|
218
|
+
}>, import("io-ts").PartialC<{
|
|
219
|
+
building_number: import("io-ts").StringC;
|
|
220
|
+
building_name: import("io-ts").StringC;
|
|
221
|
+
line_2: import("io-ts").StringC;
|
|
222
|
+
county: import("io-ts").StringC;
|
|
223
|
+
months_at_address: import("io-ts").NumberC;
|
|
224
|
+
}>]>;
|
|
225
|
+
}>]>;
|
|
226
|
+
employment_details: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
227
|
+
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">]>;
|
|
228
|
+
gross_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
229
|
+
amount: import("io-ts").NumberC;
|
|
230
|
+
}>, import("io-ts").PartialC<{
|
|
231
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
232
|
+
}>]>;
|
|
233
|
+
household_annual_income: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
234
|
+
amount: import("io-ts").NumberC;
|
|
235
|
+
}>, import("io-ts").PartialC<{
|
|
236
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
237
|
+
}>]>;
|
|
238
|
+
}>, import("io-ts").PartialC<{
|
|
239
|
+
employed_details: import("io-ts").TypeC<{
|
|
240
|
+
employer_name: import("io-ts").StringC;
|
|
241
|
+
main_occupation: import("io-ts").StringC;
|
|
242
|
+
months_employed: import("io-ts").NumberC;
|
|
243
|
+
}>;
|
|
244
|
+
self_employed_details: import("io-ts").TypeC<{
|
|
245
|
+
business_name: import("io-ts").StringC;
|
|
246
|
+
type_of_business: import("io-ts").StringC;
|
|
247
|
+
months_self_employed: import("io-ts").NumberC;
|
|
248
|
+
}>;
|
|
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<"full-time carer">, import("io-ts").LiteralC<"homemaker">, import("io-ts").LiteralC<"permanent dla">, import("io-ts").LiteralC<"other">]>;
|
|
251
|
+
}>;
|
|
252
|
+
}>]>;
|
|
253
|
+
finance_details: import("io-ts").PartialC<{
|
|
254
|
+
bankrupcy_or_iva_in_last_5_years: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
255
|
+
expenditures: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
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
|
+
monthly_amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
258
|
+
amount: import("io-ts").NumberC;
|
|
259
|
+
}>, import("io-ts").PartialC<{
|
|
260
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
261
|
+
}>]>;
|
|
262
|
+
}>>;
|
|
263
|
+
}>;
|
|
264
|
+
}>>;
|
|
136
265
|
credit_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
137
266
|
name: import("io-ts").StringC;
|
|
138
267
|
}>, 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"}
|
|
@@ -138,7 +138,7 @@ export declare const applyJobOperation: {
|
|
|
138
138
|
viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
139
139
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
140
140
|
}>;
|
|
141
|
-
sat_note: import("io-ts").TypeC<{
|
|
141
|
+
sat_note: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
142
142
|
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
143
143
|
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
144
144
|
q_availability: import("io-ts").UnionC<[import("io-ts").LiteralC<"The installer told me when quoting me">, import("io-ts").LiteralC<"I saw it advertised by the installer">, import("io-ts").LiteralC<"I found out when the installer sent me a link via Kanda">]>;
|
|
@@ -163,7 +163,25 @@ export declare const applyJobOperation: {
|
|
|
163
163
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
164
164
|
}>;
|
|
165
165
|
}>]>;
|
|
166
|
-
}
|
|
166
|
+
}>, import("io-ts").PartialC<{
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I don't understand">]>;
|
|
168
|
+
}>]>;
|
|
169
|
+
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
|
+
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
171
|
+
name: import("io-ts").StringC;
|
|
172
|
+
}>, import("io-ts").PartialC<{
|
|
173
|
+
id: import("io-ts").StringC;
|
|
174
|
+
cid: import("io-ts").StringC;
|
|
175
|
+
oid: import("io-ts").StringC;
|
|
176
|
+
aid: import("io-ts").StringC;
|
|
177
|
+
content: import("io-ts").StringC;
|
|
178
|
+
mimetype: import("io-ts").StringC;
|
|
179
|
+
metadata: import("io-ts").TypeC<{
|
|
180
|
+
liveness: import("io-ts").BooleanC;
|
|
181
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
182
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
183
|
+
}>;
|
|
184
|
+
}>]>>;
|
|
167
185
|
metadata: import("io-ts").TypeC<{
|
|
168
186
|
liveness: import("io-ts").BooleanC;
|
|
169
187
|
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"applyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAC;AAEX,oBAAY,uBAAuB,GAAG,eAAe,CACnD;IAAE,MAAM,EAAE,yBAAyB,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAA;CAAE,EACpE,OAAO,CAAC,GAAG,CACZ,CAAC"}
|