@kanda-libs/ks-schema 1.0.151 → 1.0.153
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/Entity.d.ts +1 -1
- package/dist/components/schemas/Event.d.ts +1 -1
- package/dist/components/schemas/Job.d.ts +1 -1
- package/dist/components/schemas/JobOverride.d.ts +8 -0
- package/dist/components/schemas/JobOverride.d.ts.map +1 -0
- package/dist/components/schemas/JobOverride.js +35 -0
- package/dist/components/schemas/SatNote.d.ts +2 -2
- package/dist/components/schemas/SatNote.d.ts.map +1 -1
- package/dist/components/schemas/SatNote.js +1 -1
- package/dist/components/schemas/index.d.ts +1 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +1 -0
- package/dist/operations/applyJob.d.ts +1 -1
- package/dist/operations/approveJobSatNote.d.ts +1 -1
- package/dist/operations/archiveJob.d.ts +1 -1
- package/dist/operations/completeJob.d.ts +1 -1
- package/dist/operations/deleteJob.d.ts +1 -1
- package/dist/operations/getJob.d.ts +1 -1
- package/dist/operations/getJobs.d.ts +1 -1
- package/dist/operations/index.d.ts +226 -14
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -0
- package/dist/operations/overrideJob.d.ts +219 -0
- package/dist/operations/overrideJob.d.ts.map +1 -0
- package/dist/operations/overrideJob.js +50 -0
- package/dist/operations/payJob.d.ts +1 -1
- package/dist/operations/payoutJob.d.ts +1 -1
- package/dist/operations/postJob.d.ts +1 -1
- package/dist/operations/putJob.d.ts +1 -1
- package/dist/operations/sendJob.d.ts +1 -1
- package/dist/operations/signJobSateNote.d.ts +1 -1
- package/dist/operations/viewJobSatNote.d.ts +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +6976 -6968
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +11204 -11187
- package/package.json +1 -1
- package/schema.yaml +52 -1
|
@@ -733,7 +733,7 @@ export declare const Entity: t.PartialC<{
|
|
|
733
733
|
}>;
|
|
734
734
|
}>]>;
|
|
735
735
|
}>, t.PartialC<{
|
|
736
|
-
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I
|
|
736
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I do not understand">]>;
|
|
737
737
|
}>]>;
|
|
738
738
|
job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
|
|
739
739
|
job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -740,7 +740,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
|
|
|
740
740
|
}>;
|
|
741
741
|
}>]>;
|
|
742
742
|
}>, t.PartialC<{
|
|
743
|
-
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I
|
|
743
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I do not understand">]>;
|
|
744
744
|
}>]>;
|
|
745
745
|
job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
|
|
746
746
|
job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -166,7 +166,7 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
|
|
|
166
166
|
}>;
|
|
167
167
|
}>]>;
|
|
168
168
|
}>, t.PartialC<{
|
|
169
|
-
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I
|
|
169
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I do not understand">]>;
|
|
170
170
|
}>]>;
|
|
171
171
|
job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
|
|
172
172
|
job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
export declare const JobOverride: t.TypeC<{
|
|
3
|
+
action: t.UnionC<[t.LiteralC<"mark_job_as_pending">, t.LiteralC<"mark_job_as_accepted">, t.LiteralC<"mark_job_as_declined">, t.LiteralC<"mark_job_as_cancelled">]>;
|
|
4
|
+
}>;
|
|
5
|
+
export interface JobOverride {
|
|
6
|
+
action: "mark_job_as_pending" | "mark_job_as_accepted" | "mark_job_as_declined" | "mark_job_as_cancelled";
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=JobOverride.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JobOverride.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/JobOverride.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,WAAW;;EAOtB,CAAC;AAEH,MAAM,WAAW,WAAW;IAC1B,MAAM,EACF,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,GACtB,uBAAuB,CAAC;CAC7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.JobOverride = void 0;
|
|
27
|
+
const t = __importStar(require("io-ts"));
|
|
28
|
+
exports.JobOverride = t.type({
|
|
29
|
+
action: t.union([
|
|
30
|
+
t.literal("mark_job_as_pending"),
|
|
31
|
+
t.literal("mark_job_as_accepted"),
|
|
32
|
+
t.literal("mark_job_as_declined"),
|
|
33
|
+
t.literal("mark_job_as_cancelled"),
|
|
34
|
+
]),
|
|
35
|
+
});
|
|
@@ -27,7 +27,7 @@ export declare const SatNote: t.IntersectionC<[t.TypeC<{
|
|
|
27
27
|
}>;
|
|
28
28
|
}>]>;
|
|
29
29
|
}>, t.PartialC<{
|
|
30
|
-
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I
|
|
30
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I do not understand">]>;
|
|
31
31
|
}>]>;
|
|
32
32
|
export interface SatNote {
|
|
33
33
|
q_pressure: "no" | "somewhat" | "yes";
|
|
@@ -35,7 +35,7 @@ export interface SatNote {
|
|
|
35
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";
|
|
36
36
|
q_application: "I completed the application myself" | "Someone completed the appliation on my behalf";
|
|
37
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
|
|
38
|
+
q_saving?: "Yes I understand" | "No I do not understand";
|
|
39
39
|
signature: Signature;
|
|
40
40
|
certificate: Document;
|
|
41
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;;;;;;;;;;;;;;;;;;;;;;;;;;;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,
|
|
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,wBAAwB,CAAC;IACzD,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,QAAQ,CAAC;CACvB"}
|
|
@@ -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,oBAAoB,CAAC;AACnC,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,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,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,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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,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,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,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,eAAe,CAAC;AAC9B,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"}
|
|
@@ -50,6 +50,7 @@ __exportStar(require("./Job"), exports);
|
|
|
50
50
|
__exportStar(require("./JobCompanyInfo"), exports);
|
|
51
51
|
__exportStar(require("./JobCreditState"), exports);
|
|
52
52
|
__exportStar(require("./JobItem"), exports);
|
|
53
|
+
__exportStar(require("./JobOverride"), exports);
|
|
53
54
|
__exportStar(require("./LimitedCompanyInfo"), exports);
|
|
54
55
|
__exportStar(require("./Metadata"), exports);
|
|
55
56
|
__exportStar(require("./Money"), exports);
|
|
@@ -164,7 +164,7 @@ export declare const applyJobOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -164,7 +164,7 @@ export declare const approveJobSatNoteOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -164,7 +164,7 @@ export declare const archiveJobOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -164,7 +164,7 @@ export declare const completeJobOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -164,7 +164,7 @@ export declare const deleteJobOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -164,7 +164,7 @@ export declare const getJobOperation: {
|
|
|
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
|
|
167
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
168
168
|
}>]>;
|
|
169
169
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
170
170
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -162,7 +162,7 @@ export declare const getJobsOperation: {
|
|
|
162
162
|
}>;
|
|
163
163
|
}>]>;
|
|
164
164
|
}>, t.PartialC<{
|
|
165
|
-
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I
|
|
165
|
+
q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I do not understand">]>;
|
|
166
166
|
}>]>;
|
|
167
167
|
job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
|
|
168
168
|
job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -41,6 +41,7 @@ import { InfoVerifyRequestFunction } from "./infoVerify";
|
|
|
41
41
|
import { JobCompanyInfoRequestFunction } from "./jobCompanyInfo";
|
|
42
42
|
import { MarkPaymentRequestFunction } from "./markPayment";
|
|
43
43
|
import { MeRequestFunction } from "./me";
|
|
44
|
+
import { OverrideJobRequestFunction } from "./overrideJob";
|
|
44
45
|
import { PayJobRequestFunction } from "./payJob";
|
|
45
46
|
import { PayoutJobRequestFunction } from "./payoutJob";
|
|
46
47
|
import { PendingSubscriptionRequestFunction } from "./pendingSubscription";
|
|
@@ -2716,7 +2717,7 @@ export declare const operations: {
|
|
|
2716
2717
|
}>;
|
|
2717
2718
|
}>]>;
|
|
2718
2719
|
}>, import("io-ts").PartialC<{
|
|
2719
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
2720
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
2720
2721
|
}>]>;
|
|
2721
2722
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
2722
2723
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -2916,7 +2917,7 @@ export declare const operations: {
|
|
|
2916
2917
|
}>;
|
|
2917
2918
|
}>]>;
|
|
2918
2919
|
}>, import("io-ts").PartialC<{
|
|
2919
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
2920
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
2920
2921
|
}>]>;
|
|
2921
2922
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
2922
2923
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -3120,7 +3121,7 @@ export declare const operations: {
|
|
|
3120
3121
|
}>;
|
|
3121
3122
|
}>]>;
|
|
3122
3123
|
}>, import("io-ts").PartialC<{
|
|
3123
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
3124
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
3124
3125
|
}>]>;
|
|
3125
3126
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
3126
3127
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -3325,7 +3326,7 @@ export declare const operations: {
|
|
|
3325
3326
|
}>;
|
|
3326
3327
|
}>]>;
|
|
3327
3328
|
}>, import("io-ts").PartialC<{
|
|
3328
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
3329
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
3329
3330
|
}>]>;
|
|
3330
3331
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
3331
3332
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -3534,7 +3535,7 @@ export declare const operations: {
|
|
|
3534
3535
|
}>;
|
|
3535
3536
|
}>]>;
|
|
3536
3537
|
}>, import("io-ts").PartialC<{
|
|
3537
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
3538
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
3538
3539
|
}>]>;
|
|
3539
3540
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
3540
3541
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -3739,7 +3740,7 @@ export declare const operations: {
|
|
|
3739
3740
|
}>;
|
|
3740
3741
|
}>]>;
|
|
3741
3742
|
}>, import("io-ts").PartialC<{
|
|
3742
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
3743
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
3743
3744
|
}>]>;
|
|
3744
3745
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
3745
3746
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -3997,7 +3998,7 @@ export declare const operations: {
|
|
|
3997
3998
|
}>;
|
|
3998
3999
|
}>]>;
|
|
3999
4000
|
}>, import("io-ts").PartialC<{
|
|
4000
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
4001
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
4001
4002
|
}>]>;
|
|
4002
4003
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
4003
4004
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -4202,7 +4203,7 @@ export declare const operations: {
|
|
|
4202
4203
|
}>;
|
|
4203
4204
|
}>]>;
|
|
4204
4205
|
}>, import("io-ts").PartialC<{
|
|
4205
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
4206
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
4206
4207
|
}>]>;
|
|
4207
4208
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
4208
4209
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -4407,7 +4408,7 @@ export declare const operations: {
|
|
|
4407
4408
|
}>;
|
|
4408
4409
|
}>]>;
|
|
4409
4410
|
}>, import("io-ts").PartialC<{
|
|
4410
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
4411
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
4411
4412
|
}>]>;
|
|
4412
4413
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
4413
4414
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -4616,7 +4617,7 @@ export declare const operations: {
|
|
|
4616
4617
|
}>;
|
|
4617
4618
|
}>]>;
|
|
4618
4619
|
}>, import("io-ts").PartialC<{
|
|
4619
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
4620
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
4620
4621
|
}>]>;
|
|
4621
4622
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
4622
4623
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -4825,7 +4826,7 @@ export declare const operations: {
|
|
|
4825
4826
|
}>;
|
|
4826
4827
|
}>]>;
|
|
4827
4828
|
}>, import("io-ts").PartialC<{
|
|
4828
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
4829
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
4829
4830
|
}>]>;
|
|
4830
4831
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
4831
4832
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -5030,7 +5031,7 @@ export declare const operations: {
|
|
|
5030
5031
|
}>;
|
|
5031
5032
|
}>]>;
|
|
5032
5033
|
}>, import("io-ts").PartialC<{
|
|
5033
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
5034
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
5034
5035
|
}>]>;
|
|
5035
5036
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
5036
5037
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -5239,7 +5240,7 @@ export declare const operations: {
|
|
|
5239
5240
|
}>;
|
|
5240
5241
|
}>]>;
|
|
5241
5242
|
}>, import("io-ts").PartialC<{
|
|
5242
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
5243
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
5243
5244
|
}>]>;
|
|
5244
5245
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
5245
5246
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -5444,7 +5445,7 @@ export declare const operations: {
|
|
|
5444
5445
|
}>;
|
|
5445
5446
|
}>]>;
|
|
5446
5447
|
}>, import("io-ts").PartialC<{
|
|
5447
|
-
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I
|
|
5448
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
5448
5449
|
}>]>;
|
|
5449
5450
|
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
5450
5451
|
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -5488,6 +5489,215 @@ export declare const operations: {
|
|
|
5488
5489
|
readonly Accept: "application/json";
|
|
5489
5490
|
};
|
|
5490
5491
|
};
|
|
5492
|
+
readonly overrideJob: {
|
|
5493
|
+
readonly path: "/api/job/{id}/override";
|
|
5494
|
+
readonly method: "post";
|
|
5495
|
+
readonly responses: {
|
|
5496
|
+
readonly "200": {
|
|
5497
|
+
readonly _tag: "JsonResponse";
|
|
5498
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5499
|
+
title: import("io-ts").StringC;
|
|
5500
|
+
deposit_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_deposit">, import("io-ts").LiteralC<"partial_deposit">, import("io-ts").LiteralC<"fixed_deposit">]>;
|
|
5501
|
+
deposit_value: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5502
|
+
amount: import("io-ts").NumberC;
|
|
5503
|
+
}>, import("io-ts").PartialC<{
|
|
5504
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5505
|
+
}>]>;
|
|
5506
|
+
job_items: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5507
|
+
title: import("io-ts").StringC;
|
|
5508
|
+
quantity: import("io-ts").NumberC;
|
|
5509
|
+
price: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5510
|
+
amount: import("io-ts").NumberC;
|
|
5511
|
+
}>, import("io-ts").PartialC<{
|
|
5512
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5513
|
+
}>]>;
|
|
5514
|
+
vat: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5515
|
+
amount: import("io-ts").NumberC;
|
|
5516
|
+
}>, import("io-ts").PartialC<{
|
|
5517
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5518
|
+
}>]>;
|
|
5519
|
+
}>, import("io-ts").PartialC<{
|
|
5520
|
+
description: import("io-ts").StringC;
|
|
5521
|
+
vat_rate: import("io-ts").UnionC<[import("io-ts").LiteralC<"vat_not_set">, import("io-ts").LiteralC<"exempted">, import("io-ts").LiteralC<"0%">, import("io-ts").LiteralC<"5%">, import("io-ts").LiteralC<"20%">, import("io-ts").LiteralC<"custom">]>;
|
|
5522
|
+
quote_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5523
|
+
name: import("io-ts").StringC;
|
|
5524
|
+
}>, import("io-ts").PartialC<{
|
|
5525
|
+
id: import("io-ts").StringC;
|
|
5526
|
+
cid: import("io-ts").StringC;
|
|
5527
|
+
oid: import("io-ts").StringC;
|
|
5528
|
+
aid: import("io-ts").StringC;
|
|
5529
|
+
content: import("io-ts").StringC;
|
|
5530
|
+
mimetype: import("io-ts").StringC;
|
|
5531
|
+
metadata: import("io-ts").TypeC<{
|
|
5532
|
+
liveness: import("io-ts").BooleanC;
|
|
5533
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5534
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5535
|
+
}>;
|
|
5536
|
+
}>]>;
|
|
5537
|
+
style: import("io-ts").UnionC<[import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
5538
|
+
}>]>>;
|
|
5539
|
+
}>, import("io-ts").PartialC<{
|
|
5540
|
+
id: import("io-ts").StringC;
|
|
5541
|
+
cid: import("io-ts").StringC;
|
|
5542
|
+
oid: import("io-ts").StringC;
|
|
5543
|
+
aid: import("io-ts").StringC;
|
|
5544
|
+
description: import("io-ts").StringC;
|
|
5545
|
+
customer: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5546
|
+
first_name: import("io-ts").StringC;
|
|
5547
|
+
last_name: import("io-ts").StringC;
|
|
5548
|
+
email: import("io-ts").StringC;
|
|
5549
|
+
phone: import("io-ts").StringC;
|
|
5550
|
+
}>, import("io-ts").PartialC<{
|
|
5551
|
+
address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5552
|
+
line_1: import("io-ts").StringC;
|
|
5553
|
+
city: import("io-ts").StringC;
|
|
5554
|
+
country: import("io-ts").StringC;
|
|
5555
|
+
postcode: import("io-ts").StringC;
|
|
5556
|
+
}>, import("io-ts").PartialC<{
|
|
5557
|
+
building_number: import("io-ts").StringC;
|
|
5558
|
+
building_name: import("io-ts").StringC;
|
|
5559
|
+
line_2: import("io-ts").StringC;
|
|
5560
|
+
county: import("io-ts").StringC;
|
|
5561
|
+
months_at_address: import("io-ts").NumberC;
|
|
5562
|
+
}>]>;
|
|
5563
|
+
}>]>;
|
|
5564
|
+
total: import("io-ts").PartialC<{
|
|
5565
|
+
amount_vat_inclusive: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5566
|
+
amount: import("io-ts").NumberC;
|
|
5567
|
+
}>, import("io-ts").PartialC<{
|
|
5568
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5569
|
+
}>]>;
|
|
5570
|
+
amount_vat_exclusive: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5571
|
+
amount: import("io-ts").NumberC;
|
|
5572
|
+
}>, import("io-ts").PartialC<{
|
|
5573
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5574
|
+
}>]>;
|
|
5575
|
+
amount_vat: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5576
|
+
amount: import("io-ts").NumberC;
|
|
5577
|
+
}>, import("io-ts").PartialC<{
|
|
5578
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5579
|
+
}>]>;
|
|
5580
|
+
}>;
|
|
5581
|
+
notes: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
5582
|
+
archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
5583
|
+
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">]>;
|
|
5584
|
+
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<"payout_pending">, import("io-ts").LiteralC<"paid">, import("io-ts").LiteralC<"finance_cancelled">]>;
|
|
5585
|
+
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">]>>;
|
|
5586
|
+
finance_options: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
5587
|
+
customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5588
|
+
checkout_option: import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>;
|
|
5589
|
+
finance_option: import("io-ts").StringC;
|
|
5590
|
+
}>, import("io-ts").PartialC<{
|
|
5591
|
+
deposit_value: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5592
|
+
amount: import("io-ts").NumberC;
|
|
5593
|
+
}>, import("io-ts").PartialC<{
|
|
5594
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5595
|
+
}>]>;
|
|
5596
|
+
}>]>;
|
|
5597
|
+
payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5598
|
+
payment_option: import("io-ts").TypeC<{
|
|
5599
|
+
payment_method: import("io-ts").UnionC<[import("io-ts").LiteralC<"cash">, import("io-ts").LiteralC<"card">, import("io-ts").LiteralC<"loan">]>;
|
|
5600
|
+
amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5601
|
+
amount: import("io-ts").NumberC;
|
|
5602
|
+
}>, import("io-ts").PartialC<{
|
|
5603
|
+
currency: import("io-ts").LiteralC<"GBP">;
|
|
5604
|
+
}>]>;
|
|
5605
|
+
}>;
|
|
5606
|
+
}>, import("io-ts").PartialC<{
|
|
5607
|
+
id: import("io-ts").StringC;
|
|
5608
|
+
cid: import("io-ts").StringC;
|
|
5609
|
+
oid: import("io-ts").StringC;
|
|
5610
|
+
aid: import("io-ts").StringC;
|
|
5611
|
+
kid: import("io-ts").StringC;
|
|
5612
|
+
kind: import("io-ts").UnionC<[import("io-ts").LiteralC<"job">, import("io-ts").LiteralC<"charge">]>;
|
|
5613
|
+
xid: import("io-ts").StringC;
|
|
5614
|
+
xref: import("io-ts").StringC;
|
|
5615
|
+
status: import("io-ts").UnionC<[import("io-ts").LiteralC<"unpaid">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"paid">, import("io-ts").LiteralC<"disputed">, import("io-ts").LiteralC<"cancelled">, import("io-ts").LiteralC<"refunded">]>;
|
|
5616
|
+
metadata: import("io-ts").TypeC<{
|
|
5617
|
+
liveness: import("io-ts").BooleanC;
|
|
5618
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5619
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5620
|
+
}>;
|
|
5621
|
+
}>]>>;
|
|
5622
|
+
sat_note_timeline: import("io-ts").PartialC<{
|
|
5623
|
+
sent_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5624
|
+
viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5625
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5626
|
+
}>;
|
|
5627
|
+
sat_note: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5628
|
+
q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
5629
|
+
q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
|
|
5630
|
+
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">]>;
|
|
5631
|
+
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">]>;
|
|
5632
|
+
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">]>;
|
|
5633
|
+
signature: import("io-ts").TypeC<{
|
|
5634
|
+
signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
5635
|
+
fingerprint: import("io-ts").StringC;
|
|
5636
|
+
}>;
|
|
5637
|
+
certificate: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5638
|
+
name: import("io-ts").StringC;
|
|
5639
|
+
}>, import("io-ts").PartialC<{
|
|
5640
|
+
id: import("io-ts").StringC;
|
|
5641
|
+
cid: import("io-ts").StringC;
|
|
5642
|
+
oid: import("io-ts").StringC;
|
|
5643
|
+
aid: import("io-ts").StringC;
|
|
5644
|
+
content: import("io-ts").StringC;
|
|
5645
|
+
mimetype: import("io-ts").StringC;
|
|
5646
|
+
metadata: import("io-ts").TypeC<{
|
|
5647
|
+
liveness: import("io-ts").BooleanC;
|
|
5648
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5649
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5650
|
+
}>;
|
|
5651
|
+
}>]>;
|
|
5652
|
+
}>, import("io-ts").PartialC<{
|
|
5653
|
+
q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
|
|
5654
|
+
}>]>;
|
|
5655
|
+
job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
|
|
5656
|
+
job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5657
|
+
name: import("io-ts").StringC;
|
|
5658
|
+
}>, import("io-ts").PartialC<{
|
|
5659
|
+
id: import("io-ts").StringC;
|
|
5660
|
+
cid: import("io-ts").StringC;
|
|
5661
|
+
oid: import("io-ts").StringC;
|
|
5662
|
+
aid: import("io-ts").StringC;
|
|
5663
|
+
content: import("io-ts").StringC;
|
|
5664
|
+
mimetype: import("io-ts").StringC;
|
|
5665
|
+
metadata: import("io-ts").TypeC<{
|
|
5666
|
+
liveness: import("io-ts").BooleanC;
|
|
5667
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5668
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5669
|
+
}>;
|
|
5670
|
+
}>]>>;
|
|
5671
|
+
metadata: import("io-ts").TypeC<{
|
|
5672
|
+
liveness: import("io-ts").BooleanC;
|
|
5673
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5674
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
5675
|
+
}>;
|
|
5676
|
+
}>]>;
|
|
5677
|
+
};
|
|
5678
|
+
readonly default: {
|
|
5679
|
+
readonly _tag: "JsonResponse";
|
|
5680
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
5681
|
+
message: import("io-ts").StringC;
|
|
5682
|
+
}>, import("io-ts").PartialC<{
|
|
5683
|
+
code: import("io-ts").NumberC;
|
|
5684
|
+
}>]>;
|
|
5685
|
+
};
|
|
5686
|
+
};
|
|
5687
|
+
readonly parameters: readonly [{
|
|
5688
|
+
readonly _tag: "FormParameter";
|
|
5689
|
+
readonly explode: false;
|
|
5690
|
+
readonly in: "path";
|
|
5691
|
+
readonly name: "id";
|
|
5692
|
+
}];
|
|
5693
|
+
readonly requestDefaultHeaders: {
|
|
5694
|
+
readonly "Content-Type": "application/json";
|
|
5695
|
+
readonly Accept: "application/json";
|
|
5696
|
+
};
|
|
5697
|
+
readonly body: {
|
|
5698
|
+
readonly _tag: "JsonBody";
|
|
5699
|
+
};
|
|
5700
|
+
};
|
|
5491
5701
|
readonly jobCompanyInfo: {
|
|
5492
5702
|
readonly path: "/api/job/{id}/companyInfo";
|
|
5493
5703
|
readonly method: "post";
|
|
@@ -9990,6 +10200,7 @@ export interface OperationRequestFunctionMap {
|
|
|
9990
10200
|
signJobSateNote: SignJobSateNoteRequestFunction;
|
|
9991
10201
|
approveJobSatNote: ApproveJobSatNoteRequestFunction;
|
|
9992
10202
|
payoutJob: PayoutJobRequestFunction;
|
|
10203
|
+
overrideJob: OverrideJobRequestFunction;
|
|
9993
10204
|
jobCompanyInfo: JobCompanyInfoRequestFunction;
|
|
9994
10205
|
getPayments: GetPaymentsRequestFunction;
|
|
9995
10206
|
postPayment: PostPaymentRequestFunction;
|
|
@@ -10079,6 +10290,7 @@ export declare const jobServiceBuilder: (requestFunctions: OperationRequestFunct
|
|
|
10079
10290
|
signJobSateNote: SignJobSateNoteRequestFunction;
|
|
10080
10291
|
approveJobSatNote: ApproveJobSatNoteRequestFunction;
|
|
10081
10292
|
payoutJob: PayoutJobRequestFunction;
|
|
10293
|
+
overrideJob: OverrideJobRequestFunction;
|
|
10082
10294
|
jobCompanyInfo: JobCompanyInfoRequestFunction;
|
|
10083
10295
|
};
|
|
10084
10296
|
export declare const paymentServiceBuilder: (requestFunctions: OperationRequestFunctionMap) => {
|