@kanda-libs/ks-schema 1.0.79 → 1.0.81
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/FinanceStatus.d.ts +2 -2
- package/dist/components/schemas/FinanceStatus.js +1 -1
- package/dist/components/schemas/Job.d.ts +3 -3
- package/dist/components/schemas/SatNote.d.ts +4 -4
- package/dist/components/schemas/SatNote.d.ts.map +1 -1
- package/dist/components/schemas/SatNote.js +2 -2
- package/dist/operations/applyJob.d.ts +3 -3
- package/dist/operations/approveJobSatNote.d.ts +3 -3
- package/dist/operations/archiveJob.d.ts +3 -3
- package/dist/operations/completeJob.d.ts +3 -3
- package/dist/operations/deleteJob.d.ts +3 -3
- package/dist/operations/getJob.d.ts +3 -3
- package/dist/operations/getJobs.d.ts +3 -3
- package/dist/operations/index.d.ts +39 -39
- package/dist/operations/payJob.d.ts +3 -3
- package/dist/operations/postJob.d.ts +3 -3
- package/dist/operations/putJob.d.ts +3 -3
- package/dist/operations/sendJob.d.ts +3 -3
- package/dist/operations/signJobSateNote.d.ts +3 -3
- package/dist/operations/viewJobSatNote.d.ts +3 -3
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +2537 -2537
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +4967 -4967
- package/package.json +1 -1
- package/schema.yaml +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
export declare const FinanceStatus: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"
|
|
3
|
-
export declare type FinanceStatus = "not_applied" | "under_review" | "applied_for_finance" | "
|
|
2
|
+
export declare const FinanceStatus: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"finance_not_approved">, t.LiteralC<"financed">, t.LiteralC<"sat_note_sent">, t.LiteralC<"sat_note_viewed">, t.LiteralC<"sat_note_signed">, t.LiteralC<"paid">]>;
|
|
3
|
+
export declare type FinanceStatus = "not_applied" | "under_review" | "applied_for_finance" | "finance_not_approved" | "financed" | "sat_note_sent" | "sat_note_viewed" | "sat_note_signed" | "paid";
|
|
4
4
|
//# sourceMappingURL=FinanceStatus.d.ts.map
|
|
@@ -29,7 +29,7 @@ exports.FinanceStatus = t.union([
|
|
|
29
29
|
t.literal("not_applied"),
|
|
30
30
|
t.literal("under_review"),
|
|
31
31
|
t.literal("applied_for_finance"),
|
|
32
|
-
t.literal("
|
|
32
|
+
t.literal("finance_not_approved"),
|
|
33
33
|
t.literal("financed"),
|
|
34
34
|
t.literal("sat_note_sent"),
|
|
35
35
|
t.literal("sat_note_viewed"),
|
|
@@ -94,7 +94,7 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
|
|
|
94
94
|
notes: t.ArrayC<t.StringC>;
|
|
95
95
|
archived: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
96
96
|
status: t.UnionC<[t.LiteralC<"draft">, t.LiteralC<"sent">, t.LiteralC<"accepted">, t.LiteralC<"declined">, t.LiteralC<"finished">]>;
|
|
97
|
-
finance_status: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"
|
|
97
|
+
finance_status: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"finance_not_approved">, t.LiteralC<"financed">, t.LiteralC<"sat_note_sent">, t.LiteralC<"sat_note_viewed">, t.LiteralC<"sat_note_signed">, t.LiteralC<"paid">]>;
|
|
98
98
|
checkout_options: t.ArrayC<t.UnionC<[t.LiteralC<"apply_for_finance">, t.LiteralC<"decline_job">, t.LiteralC<"pay_on_completion">]>>;
|
|
99
99
|
finance_options: t.ArrayC<t.StringC>;
|
|
100
100
|
customer_options: t.IntersectionC<[t.TypeC<{
|
|
@@ -137,8 +137,8 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
|
|
|
137
137
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
138
138
|
}>;
|
|
139
139
|
sat_note: t.TypeC<{
|
|
140
|
-
q_pressure: t.UnionC<[t.LiteralC<"
|
|
141
|
-
q_easiness: t.UnionC<[t.LiteralC<"
|
|
140
|
+
q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
141
|
+
q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
142
142
|
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">]>;
|
|
143
143
|
q_application: t.UnionC<[t.LiteralC<"I completed the application myself">, t.LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
144
144
|
q_advice: t.UnionC<[t.LiteralC<"They just sent me a link to apply">, t.LiteralC<"They told me what rates where available">, t.LiteralC<"They helped me work out my potential repayments">, t.LiteralC<"They completed the application for me">]>;
|
|
@@ -2,8 +2,8 @@ import * as t from "io-ts";
|
|
|
2
2
|
import { Document } from "./Document";
|
|
3
3
|
import { Signature } from "./Signature";
|
|
4
4
|
export declare const SatNote: t.TypeC<{
|
|
5
|
-
q_pressure: t.UnionC<[t.LiteralC<"
|
|
6
|
-
q_easiness: t.UnionC<[t.LiteralC<"
|
|
5
|
+
q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
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">]>;
|
|
8
8
|
q_application: t.UnionC<[t.LiteralC<"I completed the application myself">, t.LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
9
9
|
q_advice: t.UnionC<[t.LiteralC<"They just sent me a link to apply">, t.LiteralC<"They told me what rates where available">, t.LiteralC<"They helped me work out my potential repayments">, t.LiteralC<"They completed the application for me">]>;
|
|
@@ -41,8 +41,8 @@ export declare const SatNote: t.TypeC<{
|
|
|
41
41
|
}>]>;
|
|
42
42
|
}>;
|
|
43
43
|
export interface SatNote {
|
|
44
|
-
q_pressure: "
|
|
45
|
-
q_easiness: "
|
|
44
|
+
q_pressure: "no" | "somewhat" | "yes";
|
|
45
|
+
q_easiness: "no" | "somewhat" | "yes";
|
|
46
46
|
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";
|
|
47
47
|
q_application: "I completed the application myself" | "Someone completed the appliation on my behalf";
|
|
48
48
|
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";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BlB,CAAC;AAEH,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BlB,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,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,QAAQ,CAAC;IAChB,WAAW,EAAE,QAAQ,CAAC;CACvB"}
|
|
@@ -29,14 +29,14 @@ const Document_1 = require("./Document");
|
|
|
29
29
|
const Signature_1 = require("./Signature");
|
|
30
30
|
exports.SatNote = t.type({
|
|
31
31
|
q_pressure: t.union([
|
|
32
|
-
t.literal("yes"),
|
|
33
32
|
t.literal("no"),
|
|
34
33
|
t.literal("somewhat"),
|
|
34
|
+
t.literal("yes"),
|
|
35
35
|
]),
|
|
36
36
|
q_easiness: t.union([
|
|
37
|
-
t.literal("yes"),
|
|
38
37
|
t.literal("no"),
|
|
39
38
|
t.literal("somewhat"),
|
|
39
|
+
t.literal("yes"),
|
|
40
40
|
]),
|
|
41
41
|
q_availability: t.union([
|
|
42
42
|
t.literal("The installer told me when quoting me"),
|
|
@@ -93,7 +93,7 @@ export declare const applyJobOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const applyJobOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -93,7 +93,7 @@ export declare const approveJobSatNoteOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const approveJobSatNoteOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -93,7 +93,7 @@ export declare const archiveJobOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const archiveJobOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -93,7 +93,7 @@ export declare const completeJobOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const completeJobOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -93,7 +93,7 @@ export declare const deleteJobOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const deleteJobOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -93,7 +93,7 @@ export declare const getJobOperation: {
|
|
|
93
93
|
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
94
94
|
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
95
95
|
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"draft">, import("io-ts").LiteralC<"sent">, import("io-ts").LiteralC<"accepted">, import("io-ts").LiteralC<"declined">, import("io-ts").LiteralC<"finished">]>;
|
|
96
|
-
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"
|
|
96
|
+
finance_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_applied">, import("io-ts").LiteralC<"under_review">, import("io-ts").LiteralC<"applied_for_finance">, import("io-ts").LiteralC<"finance_not_approved">, import("io-ts").LiteralC<"financed">, import("io-ts").LiteralC<"sat_note_sent">, import("io-ts").LiteralC<"sat_note_viewed">, import("io-ts").LiteralC<"sat_note_signed">, import("io-ts").LiteralC<"paid">]>;
|
|
97
97
|
checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
|
|
98
98
|
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
99
99
|
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -136,8 +136,8 @@ export declare const getJobOperation: {
|
|
|
136
136
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
137
137
|
}>;
|
|
138
138
|
sat_note: import("io-ts").TypeC<{
|
|
139
|
-
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
140
|
-
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"
|
|
139
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
140
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
141
141
|
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">]>;
|
|
142
142
|
q_application: import("io-ts").UnionC<[import("io-ts").LiteralC<"I completed the application myself">, import("io-ts").LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
143
143
|
q_advice: import("io-ts").UnionC<[import("io-ts").LiteralC<"They just sent me a link to apply">, import("io-ts").LiteralC<"They told me what rates where available">, import("io-ts").LiteralC<"They helped me work out my potential repayments">, import("io-ts").LiteralC<"They completed the application for me">]>;
|
|
@@ -91,7 +91,7 @@ export declare const getJobsOperation: {
|
|
|
91
91
|
notes: t.ArrayC<t.StringC>;
|
|
92
92
|
archived: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
|
|
93
93
|
status: t.UnionC<[t.LiteralC<"draft">, t.LiteralC<"sent">, t.LiteralC<"accepted">, t.LiteralC<"declined">, t.LiteralC<"finished">]>;
|
|
94
|
-
finance_status: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"
|
|
94
|
+
finance_status: t.UnionC<[t.LiteralC<"not_applied">, t.LiteralC<"under_review">, t.LiteralC<"applied_for_finance">, t.LiteralC<"finance_not_approved">, t.LiteralC<"financed">, t.LiteralC<"sat_note_sent">, t.LiteralC<"sat_note_viewed">, t.LiteralC<"sat_note_signed">, t.LiteralC<"paid">]>;
|
|
95
95
|
checkout_options: t.ArrayC<t.UnionC<[t.LiteralC<"apply_for_finance">, t.LiteralC<"decline_job">, t.LiteralC<"pay_on_completion">]>>;
|
|
96
96
|
finance_options: t.ArrayC<t.StringC>;
|
|
97
97
|
customer_options: t.IntersectionC<[t.TypeC<{
|
|
@@ -134,8 +134,8 @@ export declare const getJobsOperation: {
|
|
|
134
134
|
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
135
135
|
}>;
|
|
136
136
|
sat_note: t.TypeC<{
|
|
137
|
-
q_pressure: t.UnionC<[t.LiteralC<"
|
|
138
|
-
q_easiness: t.UnionC<[t.LiteralC<"
|
|
137
|
+
q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
138
|
+
q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
|
|
139
139
|
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">]>;
|
|
140
140
|
q_application: t.UnionC<[t.LiteralC<"I completed the application myself">, t.LiteralC<"Someone completed the appliation on my behalf">]>;
|
|
141
141
|
q_advice: t.UnionC<[t.LiteralC<"They just sent me a link to apply">, t.LiteralC<"They told me what rates where available">, t.LiteralC<"They helped me work out my potential repayments">, t.LiteralC<"They completed the application for me">]>;
|