@kanda-libs/ks-schema 1.0.813 → 1.0.815

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/components/schemas/CheckoutStep.d.ts +4 -0
  2. package/dist/components/schemas/CheckoutStep.d.ts.map +1 -0
  3. package/dist/components/schemas/CheckoutStep.js +38 -0
  4. package/dist/components/schemas/CustomerOptions.d.ts +2 -0
  5. package/dist/components/schemas/CustomerOptions.d.ts.map +1 -1
  6. package/dist/components/schemas/CustomerOptions.js +1 -0
  7. package/dist/components/schemas/InfoEntity.d.ts +13 -0
  8. package/dist/components/schemas/InfoEntity.d.ts.map +1 -1
  9. package/dist/components/schemas/InfoSearch.d.ts +13 -0
  10. package/dist/components/schemas/InfoSearch.d.ts.map +1 -1
  11. package/dist/components/schemas/Job.d.ts +16 -0
  12. package/dist/components/schemas/Job.d.ts.map +1 -1
  13. package/dist/components/schemas/Job.js +3 -0
  14. package/dist/components/schemas/JobOverride.d.ts +1 -0
  15. package/dist/components/schemas/JobOverride.d.ts.map +1 -1
  16. package/dist/components/schemas/JobStep.d.ts +14 -0
  17. package/dist/components/schemas/JobStep.d.ts.map +1 -0
  18. package/dist/components/schemas/JobStep.js +38 -0
  19. package/dist/components/schemas/SearchHits.d.ts +13 -0
  20. package/dist/components/schemas/SearchHits.d.ts.map +1 -1
  21. package/dist/components/schemas/index.d.ts +2 -0
  22. package/dist/components/schemas/index.d.ts.map +1 -1
  23. package/dist/components/schemas/index.js +2 -0
  24. package/dist/operations/applyJob.d.ts +13 -0
  25. package/dist/operations/applyJob.d.ts.map +1 -1
  26. package/dist/operations/approveJobSatNote.d.ts +13 -0
  27. package/dist/operations/approveJobSatNote.d.ts.map +1 -1
  28. package/dist/operations/archiveJob.d.ts +13 -0
  29. package/dist/operations/archiveJob.d.ts.map +1 -1
  30. package/dist/operations/completeJob.d.ts +13 -0
  31. package/dist/operations/completeJob.d.ts.map +1 -1
  32. package/dist/operations/delayJobSatNote.d.ts +13 -0
  33. package/dist/operations/delayJobSatNote.d.ts.map +1 -1
  34. package/dist/operations/deleteJob.d.ts +13 -0
  35. package/dist/operations/deleteJob.d.ts.map +1 -1
  36. package/dist/operations/getInfoEntity.d.ts +13 -0
  37. package/dist/operations/getInfoEntity.d.ts.map +1 -1
  38. package/dist/operations/getJob.d.ts +13 -0
  39. package/dist/operations/getJob.d.ts.map +1 -1
  40. package/dist/operations/getJobs.d.ts +13 -0
  41. package/dist/operations/getJobs.d.ts.map +1 -1
  42. package/dist/operations/index.d.ts +12 -0
  43. package/dist/operations/index.d.ts.map +1 -1
  44. package/dist/operations/index.js +12 -0
  45. package/dist/operations/infoExampleJob.d.ts +13 -0
  46. package/dist/operations/infoExampleJob.d.ts.map +1 -1
  47. package/dist/operations/infoSearch.d.ts +13 -0
  48. package/dist/operations/infoSearch.d.ts.map +1 -1
  49. package/dist/operations/jobSwitchDeposit.d.ts +13 -0
  50. package/dist/operations/jobSwitchDeposit.d.ts.map +1 -1
  51. package/dist/operations/lenderReviewJobSatNote.d.ts +13 -0
  52. package/dist/operations/lenderReviewJobSatNote.d.ts.map +1 -1
  53. package/dist/operations/overrideJob.d.ts +13 -0
  54. package/dist/operations/overrideJob.d.ts.map +1 -1
  55. package/dist/operations/payJob.d.ts +13 -0
  56. package/dist/operations/payJob.d.ts.map +1 -1
  57. package/dist/operations/payoutJob.d.ts +13 -0
  58. package/dist/operations/payoutJob.d.ts.map +1 -1
  59. package/dist/operations/postJob.d.ts +13 -0
  60. package/dist/operations/postJob.d.ts.map +1 -1
  61. package/dist/operations/putJob.d.ts +13 -0
  62. package/dist/operations/putJob.d.ts.map +1 -1
  63. package/dist/operations/quoteJob.d.ts +13 -0
  64. package/dist/operations/quoteJob.d.ts.map +1 -1
  65. package/dist/operations/reactivateCompany.d.ts +320 -0
  66. package/dist/operations/reactivateCompany.d.ts.map +1 -0
  67. package/dist/operations/reactivateCompany.js +44 -0
  68. package/dist/operations/reapplyJob.d.ts +13 -0
  69. package/dist/operations/reapplyJob.d.ts.map +1 -1
  70. package/dist/operations/sendJob.d.ts +13 -0
  71. package/dist/operations/sendJob.d.ts.map +1 -1
  72. package/dist/operations/signJobSatNote.d.ts +13 -0
  73. package/dist/operations/signJobSatNote.d.ts.map +1 -1
  74. package/dist/operations/stepJob.d.ts +318 -0
  75. package/dist/operations/stepJob.d.ts.map +1 -0
  76. package/dist/operations/stepJob.js +50 -0
  77. package/dist/operations/suspendCompany.d.ts +320 -0
  78. package/dist/operations/suspendCompany.d.ts.map +1 -0
  79. package/dist/operations/suspendCompany.js +44 -0
  80. package/dist/operations/tradeQuoteApprovalLead.d.ts +13 -0
  81. package/dist/operations/tradeQuoteApprovalLead.d.ts.map +1 -1
  82. package/dist/operations/unarchiveJob.d.ts +13 -0
  83. package/dist/operations/unarchiveJob.d.ts.map +1 -1
  84. package/dist/operations/viewJobSatNote.d.ts +13 -0
  85. package/dist/operations/viewJobSatNote.d.ts.map +1 -1
  86. package/dist/schema.json +1 -1
  87. package/dist/widget/index.d.ts +14991 -14919
  88. package/dist/widget/index.d.ts.map +1 -1
  89. package/dist/widget/index.js +36202 -36001
  90. package/package.json +1 -1
  91. package/schema.yaml +140 -0
@@ -0,0 +1,44 @@
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.reactivateCompanyOperation = void 0;
27
+ const schemas = __importStar(require("../components/schemas"));
28
+ exports.reactivateCompanyOperation = {
29
+ path: "/api/company/{id}/reactivate",
30
+ method: "post",
31
+ responses: {
32
+ "200": { _tag: "JsonResponse", decoder: schemas.Company },
33
+ default: { _tag: "JsonResponse", decoder: schemas.Error },
34
+ },
35
+ parameters: [
36
+ {
37
+ _tag: "FormParameter",
38
+ explode: false,
39
+ in: "path",
40
+ name: "id",
41
+ },
42
+ ],
43
+ requestDefaultHeaders: { Accept: "application/json" },
44
+ };
@@ -161,6 +161,7 @@ export declare const reapplyJobOperation: {
161
161
  signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
162
162
  fingerprint: import("io-ts").StringC;
163
163
  }>;
164
+ declined_reason: import("io-ts").StringC;
164
165
  }>]>;
165
166
  payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
166
167
  payment_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -257,6 +258,18 @@ export declare const reapplyJobOperation: {
257
258
  updated_at: import("io-ts-types").DateFromISOStringC;
258
259
  }>;
259
260
  }>]>>;
261
+ current_step: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
262
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
263
+ appended_at: import("io-ts-types").DateFromISOStringC;
264
+ }>, import("io-ts").PartialC<{
265
+ text: import("io-ts").StringC;
266
+ }>]>;
267
+ steps: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
268
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
269
+ appended_at: import("io-ts-types").DateFromISOStringC;
270
+ }>, import("io-ts").PartialC<{
271
+ text: import("io-ts").StringC;
272
+ }>]>>;
260
273
  xid: import("io-ts").StringC;
261
274
  xref: import("io-ts").StringC;
262
275
  redirect_urls: import("io-ts").PartialC<{
@@ -1 +1 @@
1
- {"version":3,"file":"reapplyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/reapplyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IACE,MAAM,EAAE,2BAA2B,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC;CACzC,EACD,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"reapplyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/reapplyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IACE,MAAM,EAAE,2BAA2B,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC;CACzC,EACD,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -161,6 +161,7 @@ export declare const sendJobOperation: {
161
161
  signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
162
162
  fingerprint: import("io-ts").StringC;
163
163
  }>;
164
+ declined_reason: import("io-ts").StringC;
164
165
  }>]>;
165
166
  payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
166
167
  payment_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -257,6 +258,18 @@ export declare const sendJobOperation: {
257
258
  updated_at: import("io-ts-types").DateFromISOStringC;
258
259
  }>;
259
260
  }>]>>;
261
+ current_step: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
262
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
263
+ appended_at: import("io-ts-types").DateFromISOStringC;
264
+ }>, import("io-ts").PartialC<{
265
+ text: import("io-ts").StringC;
266
+ }>]>;
267
+ steps: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
268
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
269
+ appended_at: import("io-ts-types").DateFromISOStringC;
270
+ }>, import("io-ts").PartialC<{
271
+ text: import("io-ts").StringC;
272
+ }>]>>;
260
273
  xid: import("io-ts").StringC;
261
274
  xref: import("io-ts").StringC;
262
275
  redirect_urls: import("io-ts").PartialC<{
@@ -1 +1 @@
1
- {"version":3,"file":"sendJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/sendJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnB,CAAC;AAEX,oBAAY,sBAAsB,GAAG,eAAe,CAClD;IAAE,MAAM,EAAE,wBAAwB,CAAA;CAAE,EACpC,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"sendJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/sendJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnB,CAAC;AAEX,oBAAY,sBAAsB,GAAG,eAAe,CAClD;IAAE,MAAM,EAAE,wBAAwB,CAAA;CAAE,EACpC,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -161,6 +161,7 @@ export declare const signJobSatNoteOperation: {
161
161
  signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
162
162
  fingerprint: import("io-ts").StringC;
163
163
  }>;
164
+ declined_reason: import("io-ts").StringC;
164
165
  }>]>;
165
166
  payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
166
167
  payment_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -257,6 +258,18 @@ export declare const signJobSatNoteOperation: {
257
258
  updated_at: import("io-ts-types").DateFromISOStringC;
258
259
  }>;
259
260
  }>]>>;
261
+ current_step: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
262
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
263
+ appended_at: import("io-ts-types").DateFromISOStringC;
264
+ }>, import("io-ts").PartialC<{
265
+ text: import("io-ts").StringC;
266
+ }>]>;
267
+ steps: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
268
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
269
+ appended_at: import("io-ts-types").DateFromISOStringC;
270
+ }>, import("io-ts").PartialC<{
271
+ text: import("io-ts").StringC;
272
+ }>]>>;
260
273
  xid: import("io-ts").StringC;
261
274
  xref: import("io-ts").StringC;
262
275
  redirect_urls: import("io-ts").PartialC<{
@@ -1 +1 @@
1
- {"version":3,"file":"signJobSatNote.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/signJobSatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAA;CAAE,EAClE,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"signJobSatNote.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/signJobSatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAA;CAAE,EAClE,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -0,0 +1,318 @@
1
+ import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
2
+ import * as schemas from "../components/schemas";
3
+ export declare type StepJobRequestParameters = {
4
+ id: string;
5
+ };
6
+ export declare const stepJobOperation: {
7
+ readonly path: "/api/job/{id}/step";
8
+ readonly method: "post";
9
+ readonly responses: {
10
+ readonly "200": {
11
+ readonly _tag: "JsonResponse";
12
+ readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
13
+ title: import("io-ts").StringC;
14
+ deposit_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_deposit">, import("io-ts").LiteralC<"partial_deposit">, import("io-ts").LiteralC<"fixed_deposit">]>;
15
+ deposit_value: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
16
+ amount: import("io-ts").NumberC;
17
+ }>, import("io-ts").PartialC<{
18
+ currency: import("io-ts").LiteralC<"GBP">;
19
+ }>]>;
20
+ job_items: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
21
+ title: import("io-ts").StringC;
22
+ quantity: import("io-ts").NumberC;
23
+ price: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
24
+ amount: import("io-ts").NumberC;
25
+ }>, import("io-ts").PartialC<{
26
+ currency: import("io-ts").LiteralC<"GBP">;
27
+ }>]>;
28
+ vat: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
29
+ amount: import("io-ts").NumberC;
30
+ }>, import("io-ts").PartialC<{
31
+ currency: import("io-ts").LiteralC<"GBP">;
32
+ }>]>;
33
+ }>, import("io-ts").PartialC<{
34
+ description: import("io-ts").StringC;
35
+ 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">]>;
36
+ quote_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
37
+ name: import("io-ts").StringC;
38
+ }>, import("io-ts").PartialC<{
39
+ id: import("io-ts").StringC;
40
+ cid: import("io-ts").StringC;
41
+ oid: import("io-ts").StringC;
42
+ aid: import("io-ts").StringC;
43
+ eid: import("io-ts").StringC;
44
+ bid: import("io-ts").StringC;
45
+ tid: import("io-ts").StringC;
46
+ expiry: import("io-ts").StringC;
47
+ content: import("io-ts").StringC;
48
+ mimetype: import("io-ts").StringC;
49
+ metadata: import("io-ts").TypeC<{
50
+ liveness: import("io-ts").BooleanC;
51
+ created_at: import("io-ts-types").DateFromISOStringC;
52
+ updated_at: import("io-ts-types").DateFromISOStringC;
53
+ }>;
54
+ }>]>;
55
+ style: import("io-ts").UnionC<[import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
56
+ }>]>>;
57
+ }>, import("io-ts").PartialC<{
58
+ id: import("io-ts").StringC;
59
+ cid: import("io-ts").StringC;
60
+ oid: import("io-ts").StringC;
61
+ aid: import("io-ts").StringC;
62
+ eid: import("io-ts").StringC;
63
+ bid: import("io-ts").StringC;
64
+ tid: import("io-ts").StringC;
65
+ description: import("io-ts").StringC;
66
+ customer: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
67
+ first_name: import("io-ts").StringC;
68
+ last_name: import("io-ts").StringC;
69
+ email: import("io-ts").StringC;
70
+ phone: import("io-ts").StringC;
71
+ }>, import("io-ts").PartialC<{
72
+ address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
73
+ line_1: import("io-ts").StringC;
74
+ city: import("io-ts").StringC;
75
+ country: import("io-ts").StringC;
76
+ postcode: import("io-ts").StringC;
77
+ }>, import("io-ts").PartialC<{
78
+ building_number: import("io-ts").StringC;
79
+ building_name: import("io-ts").StringC;
80
+ line_2: import("io-ts").StringC;
81
+ county: import("io-ts").StringC;
82
+ months_at_address: import("io-ts").NumberC;
83
+ }>]>;
84
+ }>]>;
85
+ total: import("io-ts").PartialC<{
86
+ amount_vat_inclusive: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
87
+ amount: import("io-ts").NumberC;
88
+ }>, import("io-ts").PartialC<{
89
+ currency: import("io-ts").LiteralC<"GBP">;
90
+ }>]>;
91
+ amount_vat_exclusive: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
92
+ amount: import("io-ts").NumberC;
93
+ }>, import("io-ts").PartialC<{
94
+ currency: import("io-ts").LiteralC<"GBP">;
95
+ }>]>;
96
+ amount_vat: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
97
+ amount: import("io-ts").NumberC;
98
+ }>, import("io-ts").PartialC<{
99
+ currency: import("io-ts").LiteralC<"GBP">;
100
+ }>]>;
101
+ }>;
102
+ notes: import("io-ts").ArrayC<import("io-ts").StringC>;
103
+ archived: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"yes">]>;
104
+ 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">]>;
105
+ 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<"sat_note_delayed">, import("io-ts").LiteralC<"sat_note_lender_review">, import("io-ts").LiteralC<"payout_pending">, import("io-ts").LiteralC<"paid">, import("io-ts").LiteralC<"finance_cancelled">]>;
106
+ work_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"air_source_heat_pumps">, import("io-ts").LiteralC<"alarm_systems">, import("io-ts").LiteralC<"artificial_grass">, import("io-ts").LiteralC<"bathrooms_supply_and_fitted">, import("io-ts").LiteralC<"bathrooms_supply_only">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"bedrooms_furnitue_custom">, import("io-ts").LiteralC<"blinds_awnings_shutters">, import("io-ts").LiteralC<"boiler_swap">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"carpets">, import("io-ts").LiteralC<"cctv">, import("io-ts").LiteralC<"central_heating_system">, import("io-ts").LiteralC<"conservatory">, import("io-ts").LiteralC<"conservatory_roof">, import("io-ts").LiteralC<"damp_proofing">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"door_canopy">, import("io-ts").LiteralC<"door_internal">, import("io-ts").LiteralC<"doors">, import("io-ts").LiteralC<"driveways">, import("io-ts").LiteralC<"electrical_installation">, import("io-ts").LiteralC<"ev_charger">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_furniture">, import("io-ts").LiteralC<"flooring_excluding_carpets">, import("io-ts").LiteralC<"foundations">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_buildings">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"glass_splash_backs">, import("io-ts").LiteralC<"granite_worktops">, import("io-ts").LiteralC<"ground_source_heat_pumps">, import("io-ts").LiteralC<"home_lifts">, import("io-ts").LiteralC<"home_study">, import("io-ts").LiteralC<"hot_tubs_and_spas">, import("io-ts").LiteralC<"insulation_roof_foil_wrap_only">, import("io-ts").LiteralC<"kitchens_fitted">, import("io-ts").LiteralC<"kitchens_supply_only">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"loft_boarding">, import("io-ts").LiteralC<"loft_conversion">, import("io-ts").LiteralC<"media_walls">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"painting_and_decorating">, import("io-ts").LiteralC<"patios">, import("io-ts").LiteralC<"plastering">, import("io-ts").LiteralC<"porch">, import("io-ts").LiteralC<"rendering">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing">, import("io-ts").LiteralC<"roofing_excl_flat_roofs">, import("io-ts").LiteralC<"roofline">, import("io-ts").LiteralC<"security_lighting">, import("io-ts").LiteralC<"solar_pv_panels">, import("io-ts").LiteralC<"spray_foam_removal">, import("io-ts").LiteralC<"stair_lifts">, import("io-ts").LiteralC<"staircases">, import("io-ts").LiteralC<"tiling">, import("io-ts").LiteralC<"under_stair_storage">, import("io-ts").LiteralC<"underfloor_heating">, import("io-ts").LiteralC<"upvc_doors">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"wall_insulation_and_cladding">, import("io-ts").LiteralC<"wardrobes">, import("io-ts").LiteralC<"water_softeners">, import("io-ts").LiteralC<"windows">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"aesthetics">, import("io-ts").LiteralC<"appliances">, import("io-ts").LiteralC<"car_body_shop">, import("io-ts").LiteralC<"car_detailing_and_alloys">, import("io-ts").LiteralC<"catering">, import("io-ts").LiteralC<"computer_builder">, import("io-ts").LiteralC<"dental">, import("io-ts").LiteralC<"electronics">, import("io-ts").LiteralC<"entertainers">, import("io-ts").LiteralC<"events">, import("io-ts").LiteralC<"experiences">, import("io-ts").LiteralC<"flowers">, import("io-ts").LiteralC<"full_events_package">, import("io-ts").LiteralC<"furniture">, import("io-ts").LiteralC<"graphic_designer">, import("io-ts").LiteralC<"high_end_clothing">, import("io-ts").LiteralC<"home_removals">, import("io-ts").LiteralC<"jewllery">, import("io-ts").LiteralC<"medical_assessments">, import("io-ts").LiteralC<"memberships">, import("io-ts").LiteralC<"mobillity_and_mobility_scooters">, import("io-ts").LiteralC<"network_engineer">, import("io-ts").LiteralC<"number_plates">, import("io-ts").LiteralC<"personal_security">, import("io-ts").LiteralC<"photography">, import("io-ts").LiteralC<"planners">, import("io-ts").LiteralC<"sports equipment">, import("io-ts").LiteralC<"technology_repair">, import("io-ts").LiteralC<"tool sales">, import("io-ts").LiteralC<"tyres">, import("io-ts").LiteralC<"vehicle_wrapping">, import("io-ts").LiteralC<"venues">, import("io-ts").LiteralC<"website_builder">]>;
107
+ checkout_options: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"pay_on_card">, import("io-ts").LiteralC<"pay_by_bank">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>>;
108
+ finance_options: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
109
+ name: import("io-ts").StringC;
110
+ fee: import("io-ts").NumberC;
111
+ charge: import("io-ts").NumberC;
112
+ enabled: import("io-ts").BooleanC;
113
+ finance_types: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"primary">, import("io-ts").LiteralC<"secondary">]>>;
114
+ provider: import("io-ts").UnionC<[import("io-ts").LiteralC<"allium">, import("io-ts").LiteralC<"demo">, import("io-ts").LiteralC<"etika">, import("io-ts").LiteralC<"humm">, import("io-ts").LiteralC<"novuna">, import("io-ts").LiteralC<"omni">, import("io-ts").LiteralC<"propensio">]>;
115
+ }>, import("io-ts").PartialC<{
116
+ credit_line: import("io-ts").NumberC;
117
+ min_charge: import("io-ts").NumberC;
118
+ apr_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"INTEREST_FREE">, import("io-ts").LiteralC<"INTEREST_BEARING">, import("io-ts").LiteralC<"BUYNOW_PAYLATER">]>;
119
+ apr: import("io-ts").NumberC;
120
+ deferred_duration: import("io-ts").NumberC;
121
+ duration: import("io-ts").NumberC;
122
+ min_deposit_pct: import("io-ts").NumberC;
123
+ max_deposit_pct: import("io-ts").NumberC;
124
+ min_deposit_value: import("io-ts").NumberC;
125
+ max_deposit_value: import("io-ts").NumberC;
126
+ min_job_value: import("io-ts").NumberC;
127
+ max_job_value: import("io-ts").NumberC;
128
+ work_types: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"air_source_heat_pumps">, import("io-ts").LiteralC<"alarm_systems">, import("io-ts").LiteralC<"artificial_grass">, import("io-ts").LiteralC<"bathrooms_supply_and_fitted">, import("io-ts").LiteralC<"bathrooms_supply_only">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"bedrooms_furnitue_custom">, import("io-ts").LiteralC<"blinds_awnings_shutters">, import("io-ts").LiteralC<"boiler_swap">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"carpets">, import("io-ts").LiteralC<"cctv">, import("io-ts").LiteralC<"central_heating_system">, import("io-ts").LiteralC<"conservatory">, import("io-ts").LiteralC<"conservatory_roof">, import("io-ts").LiteralC<"damp_proofing">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"door_canopy">, import("io-ts").LiteralC<"door_internal">, import("io-ts").LiteralC<"doors">, import("io-ts").LiteralC<"driveways">, import("io-ts").LiteralC<"electrical_installation">, import("io-ts").LiteralC<"ev_charger">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_furniture">, import("io-ts").LiteralC<"flooring_excluding_carpets">, import("io-ts").LiteralC<"foundations">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_buildings">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"glass_splash_backs">, import("io-ts").LiteralC<"granite_worktops">, import("io-ts").LiteralC<"ground_source_heat_pumps">, import("io-ts").LiteralC<"home_lifts">, import("io-ts").LiteralC<"home_study">, import("io-ts").LiteralC<"hot_tubs_and_spas">, import("io-ts").LiteralC<"insulation_roof_foil_wrap_only">, import("io-ts").LiteralC<"kitchens_fitted">, import("io-ts").LiteralC<"kitchens_supply_only">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"loft_boarding">, import("io-ts").LiteralC<"loft_conversion">, import("io-ts").LiteralC<"media_walls">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"painting_and_decorating">, import("io-ts").LiteralC<"patios">, import("io-ts").LiteralC<"plastering">, import("io-ts").LiteralC<"porch">, import("io-ts").LiteralC<"rendering">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing">, import("io-ts").LiteralC<"roofing_excl_flat_roofs">, import("io-ts").LiteralC<"roofline">, import("io-ts").LiteralC<"security_lighting">, import("io-ts").LiteralC<"solar_pv_panels">, import("io-ts").LiteralC<"spray_foam_removal">, import("io-ts").LiteralC<"stair_lifts">, import("io-ts").LiteralC<"staircases">, import("io-ts").LiteralC<"tiling">, import("io-ts").LiteralC<"under_stair_storage">, import("io-ts").LiteralC<"underfloor_heating">, import("io-ts").LiteralC<"upvc_doors">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"wall_insulation_and_cladding">, import("io-ts").LiteralC<"wardrobes">, import("io-ts").LiteralC<"water_softeners">, import("io-ts").LiteralC<"windows">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"aesthetics">, import("io-ts").LiteralC<"appliances">, import("io-ts").LiteralC<"car_body_shop">, import("io-ts").LiteralC<"car_detailing_and_alloys">, import("io-ts").LiteralC<"catering">, import("io-ts").LiteralC<"computer_builder">, import("io-ts").LiteralC<"dental">, import("io-ts").LiteralC<"electronics">, import("io-ts").LiteralC<"entertainers">, import("io-ts").LiteralC<"events">, import("io-ts").LiteralC<"experiences">, import("io-ts").LiteralC<"flowers">, import("io-ts").LiteralC<"full_events_package">, import("io-ts").LiteralC<"furniture">, import("io-ts").LiteralC<"graphic_designer">, import("io-ts").LiteralC<"high_end_clothing">, import("io-ts").LiteralC<"home_removals">, import("io-ts").LiteralC<"jewllery">, import("io-ts").LiteralC<"medical_assessments">, import("io-ts").LiteralC<"memberships">, import("io-ts").LiteralC<"mobillity_and_mobility_scooters">, import("io-ts").LiteralC<"network_engineer">, import("io-ts").LiteralC<"number_plates">, import("io-ts").LiteralC<"personal_security">, import("io-ts").LiteralC<"photography">, import("io-ts").LiteralC<"planners">, import("io-ts").LiteralC<"sports equipment">, import("io-ts").LiteralC<"technology_repair">, import("io-ts").LiteralC<"tool sales">, import("io-ts").LiteralC<"tyres">, import("io-ts").LiteralC<"vehicle_wrapping">, import("io-ts").LiteralC<"venues">, import("io-ts").LiteralC<"website_builder">]>>;
129
+ }>]>>;
130
+ customer_options: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
131
+ checkout_option: import("io-ts").UnionC<[import("io-ts").LiteralC<"apply_for_finance">, import("io-ts").LiteralC<"pay_on_card">, import("io-ts").LiteralC<"pay_by_bank">, import("io-ts").LiteralC<"decline_job">, import("io-ts").LiteralC<"pay_on_completion">]>;
132
+ finance_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
133
+ name: import("io-ts").StringC;
134
+ fee: import("io-ts").NumberC;
135
+ charge: import("io-ts").NumberC;
136
+ enabled: import("io-ts").BooleanC;
137
+ finance_types: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"primary">, import("io-ts").LiteralC<"secondary">]>>;
138
+ provider: import("io-ts").UnionC<[import("io-ts").LiteralC<"allium">, import("io-ts").LiteralC<"demo">, import("io-ts").LiteralC<"etika">, import("io-ts").LiteralC<"humm">, import("io-ts").LiteralC<"novuna">, import("io-ts").LiteralC<"omni">, import("io-ts").LiteralC<"propensio">]>;
139
+ }>, import("io-ts").PartialC<{
140
+ credit_line: import("io-ts").NumberC;
141
+ min_charge: import("io-ts").NumberC;
142
+ apr_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"INTEREST_FREE">, import("io-ts").LiteralC<"INTEREST_BEARING">, import("io-ts").LiteralC<"BUYNOW_PAYLATER">]>;
143
+ apr: import("io-ts").NumberC;
144
+ deferred_duration: import("io-ts").NumberC;
145
+ duration: import("io-ts").NumberC;
146
+ min_deposit_pct: import("io-ts").NumberC;
147
+ max_deposit_pct: import("io-ts").NumberC;
148
+ min_deposit_value: import("io-ts").NumberC;
149
+ max_deposit_value: import("io-ts").NumberC;
150
+ min_job_value: import("io-ts").NumberC;
151
+ max_job_value: import("io-ts").NumberC;
152
+ work_types: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"air_source_heat_pumps">, import("io-ts").LiteralC<"alarm_systems">, import("io-ts").LiteralC<"artificial_grass">, import("io-ts").LiteralC<"bathrooms_supply_and_fitted">, import("io-ts").LiteralC<"bathrooms_supply_only">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"bedrooms_furnitue_custom">, import("io-ts").LiteralC<"blinds_awnings_shutters">, import("io-ts").LiteralC<"boiler_swap">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"carpets">, import("io-ts").LiteralC<"cctv">, import("io-ts").LiteralC<"central_heating_system">, import("io-ts").LiteralC<"conservatory">, import("io-ts").LiteralC<"conservatory_roof">, import("io-ts").LiteralC<"damp_proofing">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"door_canopy">, import("io-ts").LiteralC<"door_internal">, import("io-ts").LiteralC<"doors">, import("io-ts").LiteralC<"driveways">, import("io-ts").LiteralC<"electrical_installation">, import("io-ts").LiteralC<"ev_charger">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_furniture">, import("io-ts").LiteralC<"flooring_excluding_carpets">, import("io-ts").LiteralC<"foundations">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_buildings">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"glass_splash_backs">, import("io-ts").LiteralC<"granite_worktops">, import("io-ts").LiteralC<"ground_source_heat_pumps">, import("io-ts").LiteralC<"home_lifts">, import("io-ts").LiteralC<"home_study">, import("io-ts").LiteralC<"hot_tubs_and_spas">, import("io-ts").LiteralC<"insulation_roof_foil_wrap_only">, import("io-ts").LiteralC<"kitchens_fitted">, import("io-ts").LiteralC<"kitchens_supply_only">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"loft_boarding">, import("io-ts").LiteralC<"loft_conversion">, import("io-ts").LiteralC<"media_walls">, import("io-ts").LiteralC<"other">, import("io-ts").LiteralC<"painting_and_decorating">, import("io-ts").LiteralC<"patios">, import("io-ts").LiteralC<"plastering">, import("io-ts").LiteralC<"porch">, import("io-ts").LiteralC<"rendering">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing">, import("io-ts").LiteralC<"roofing_excl_flat_roofs">, import("io-ts").LiteralC<"roofline">, import("io-ts").LiteralC<"security_lighting">, import("io-ts").LiteralC<"solar_pv_panels">, import("io-ts").LiteralC<"spray_foam_removal">, import("io-ts").LiteralC<"stair_lifts">, import("io-ts").LiteralC<"staircases">, import("io-ts").LiteralC<"tiling">, import("io-ts").LiteralC<"under_stair_storage">, import("io-ts").LiteralC<"underfloor_heating">, import("io-ts").LiteralC<"upvc_doors">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"wall_insulation_and_cladding">, import("io-ts").LiteralC<"wardrobes">, import("io-ts").LiteralC<"water_softeners">, import("io-ts").LiteralC<"windows">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"aesthetics">, import("io-ts").LiteralC<"appliances">, import("io-ts").LiteralC<"car_body_shop">, import("io-ts").LiteralC<"car_detailing_and_alloys">, import("io-ts").LiteralC<"catering">, import("io-ts").LiteralC<"computer_builder">, import("io-ts").LiteralC<"dental">, import("io-ts").LiteralC<"electronics">, import("io-ts").LiteralC<"entertainers">, import("io-ts").LiteralC<"events">, import("io-ts").LiteralC<"experiences">, import("io-ts").LiteralC<"flowers">, import("io-ts").LiteralC<"full_events_package">, import("io-ts").LiteralC<"furniture">, import("io-ts").LiteralC<"graphic_designer">, import("io-ts").LiteralC<"high_end_clothing">, import("io-ts").LiteralC<"home_removals">, import("io-ts").LiteralC<"jewllery">, import("io-ts").LiteralC<"medical_assessments">, import("io-ts").LiteralC<"memberships">, import("io-ts").LiteralC<"mobillity_and_mobility_scooters">, import("io-ts").LiteralC<"network_engineer">, import("io-ts").LiteralC<"number_plates">, import("io-ts").LiteralC<"personal_security">, import("io-ts").LiteralC<"photography">, import("io-ts").LiteralC<"planners">, import("io-ts").LiteralC<"sports equipment">, import("io-ts").LiteralC<"technology_repair">, import("io-ts").LiteralC<"tool sales">, import("io-ts").LiteralC<"tyres">, import("io-ts").LiteralC<"vehicle_wrapping">, import("io-ts").LiteralC<"venues">, import("io-ts").LiteralC<"website_builder">]>>;
153
+ }>]>;
154
+ }>, import("io-ts").PartialC<{
155
+ deposit_value: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
156
+ amount: import("io-ts").NumberC;
157
+ }>, import("io-ts").PartialC<{
158
+ currency: import("io-ts").LiteralC<"GBP">;
159
+ }>]>;
160
+ agree_commission_terms: import("io-ts").TypeC<{
161
+ signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
162
+ fingerprint: import("io-ts").StringC;
163
+ }>;
164
+ declined_reason: import("io-ts").StringC;
165
+ }>]>;
166
+ payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
167
+ payment_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
168
+ payment_method: import("io-ts").UnionC<[import("io-ts").LiteralC<"cash">, import("io-ts").LiteralC<"card">, import("io-ts").LiteralC<"bank">, import("io-ts").LiteralC<"loan">, import("io-ts").LiteralC<"external">]>;
169
+ amount: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
170
+ amount: import("io-ts").NumberC;
171
+ }>, import("io-ts").PartialC<{
172
+ currency: import("io-ts").LiteralC<"GBP">;
173
+ }>]>;
174
+ }>, import("io-ts").PartialC<{
175
+ provider: import("io-ts").UnionC<[import("io-ts").LiteralC<"allium">, import("io-ts").LiteralC<"demo">, import("io-ts").LiteralC<"etika">, import("io-ts").LiteralC<"humm">, import("io-ts").LiteralC<"novuna">, import("io-ts").LiteralC<"omni">, import("io-ts").LiteralC<"propensio">]>;
176
+ }>]>;
177
+ }>, import("io-ts").PartialC<{
178
+ id: import("io-ts").StringC;
179
+ cid: import("io-ts").StringC;
180
+ oid: import("io-ts").StringC;
181
+ aid: import("io-ts").StringC;
182
+ eid: import("io-ts").StringC;
183
+ bid: import("io-ts").StringC;
184
+ tid: import("io-ts").StringC;
185
+ kid: import("io-ts").StringC;
186
+ kind: import("io-ts").UnionC<[import("io-ts").LiteralC<"job">, import("io-ts").LiteralC<"charge">]>;
187
+ xid: import("io-ts").StringC;
188
+ xref: import("io-ts").StringC;
189
+ 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">]>;
190
+ flow_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"example">, import("io-ts").LiteralC<"live">]>;
191
+ quoted_to: import("io-ts").StringC;
192
+ introduced_to: import("io-ts").StringC;
193
+ metadata: import("io-ts").TypeC<{
194
+ liveness: import("io-ts").BooleanC;
195
+ created_at: import("io-ts-types").DateFromISOStringC;
196
+ updated_at: import("io-ts-types").DateFromISOStringC;
197
+ }>;
198
+ }>]>>;
199
+ sat_note_timeline: import("io-ts").PartialC<{
200
+ sent_at: import("io-ts-types").DateFromISOStringC;
201
+ viewed_at: import("io-ts-types").DateFromISOStringC;
202
+ signed_at: import("io-ts-types").DateFromISOStringC;
203
+ }>;
204
+ sat_note: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
205
+ q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
206
+ q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
207
+ 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">]>;
208
+ 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">]>;
209
+ 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">]>;
210
+ signature: import("io-ts").TypeC<{
211
+ signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
212
+ fingerprint: import("io-ts").StringC;
213
+ }>;
214
+ certificate: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
215
+ name: import("io-ts").StringC;
216
+ }>, import("io-ts").PartialC<{
217
+ id: import("io-ts").StringC;
218
+ cid: import("io-ts").StringC;
219
+ oid: import("io-ts").StringC;
220
+ aid: import("io-ts").StringC;
221
+ eid: import("io-ts").StringC;
222
+ bid: import("io-ts").StringC;
223
+ tid: import("io-ts").StringC;
224
+ expiry: import("io-ts").StringC;
225
+ content: import("io-ts").StringC;
226
+ mimetype: import("io-ts").StringC;
227
+ metadata: import("io-ts").TypeC<{
228
+ liveness: import("io-ts").BooleanC;
229
+ created_at: import("io-ts-types").DateFromISOStringC;
230
+ updated_at: import("io-ts-types").DateFromISOStringC;
231
+ }>;
232
+ }>]>;
233
+ }>, import("io-ts").PartialC<{
234
+ q_rate: import("io-ts").UnionC<[import("io-ts").LiteralC<"No - I was not told to choose a specific option">, import("io-ts").LiteralC<"Yes - I was told to choose a specific option">]>;
235
+ q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I do not understand">]>;
236
+ remark: import("io-ts").StringC;
237
+ }>]>;
238
+ job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
239
+ flow_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"example">, import("io-ts").LiteralC<"live">]>;
240
+ quoted_to: import("io-ts").StringC;
241
+ introduced_to: import("io-ts").StringC;
242
+ job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
243
+ name: import("io-ts").StringC;
244
+ }>, import("io-ts").PartialC<{
245
+ id: import("io-ts").StringC;
246
+ cid: import("io-ts").StringC;
247
+ oid: import("io-ts").StringC;
248
+ aid: import("io-ts").StringC;
249
+ eid: import("io-ts").StringC;
250
+ bid: import("io-ts").StringC;
251
+ tid: import("io-ts").StringC;
252
+ expiry: import("io-ts").StringC;
253
+ content: import("io-ts").StringC;
254
+ mimetype: import("io-ts").StringC;
255
+ metadata: import("io-ts").TypeC<{
256
+ liveness: import("io-ts").BooleanC;
257
+ created_at: import("io-ts-types").DateFromISOStringC;
258
+ updated_at: import("io-ts-types").DateFromISOStringC;
259
+ }>;
260
+ }>]>>;
261
+ current_step: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
262
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
263
+ appended_at: import("io-ts-types").DateFromISOStringC;
264
+ }>, import("io-ts").PartialC<{
265
+ text: import("io-ts").StringC;
266
+ }>]>;
267
+ steps: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
268
+ name: import("io-ts").UnionC<[import("io-ts").LiteralC<"checkout_quote_viewed">, import("io-ts").LiteralC<"checkout_quote_accepted">, import("io-ts").LiteralC<"checkout_quote_changes_requested">, import("io-ts").LiteralC<"checkout_quote_changes_amended">, import("io-ts").LiteralC<"checkout_quote_changes_rejected">, import("io-ts").LiteralC<"checkout_quote_declined">, import("io-ts").LiteralC<"checkout_quote_payment_selected">, import("io-ts").LiteralC<"checkout_quote_finalised">, import("io-ts").LiteralC<"checkout_quote_completed">]>;
269
+ appended_at: import("io-ts-types").DateFromISOStringC;
270
+ }>, import("io-ts").PartialC<{
271
+ text: import("io-ts").StringC;
272
+ }>]>>;
273
+ xid: import("io-ts").StringC;
274
+ xref: import("io-ts").StringC;
275
+ redirect_urls: import("io-ts").PartialC<{
276
+ checkout_url: import("io-ts").StringC;
277
+ success_url: import("io-ts").StringC;
278
+ failure_url: import("io-ts").StringC;
279
+ webhook_url: import("io-ts").StringC;
280
+ }>;
281
+ metarefs: import("io-ts").TypeC<{
282
+ references: import("io-ts").ArrayC<import("io-ts").StringC>;
283
+ }>;
284
+ metadata: import("io-ts").TypeC<{
285
+ liveness: import("io-ts").BooleanC;
286
+ created_at: import("io-ts-types").DateFromISOStringC;
287
+ updated_at: import("io-ts-types").DateFromISOStringC;
288
+ }>;
289
+ }>]>;
290
+ };
291
+ readonly default: {
292
+ readonly _tag: "JsonResponse";
293
+ readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
294
+ message: import("io-ts").StringC;
295
+ }>, import("io-ts").PartialC<{
296
+ code: import("io-ts").NumberC;
297
+ }>]>;
298
+ };
299
+ };
300
+ readonly parameters: readonly [{
301
+ readonly _tag: "FormParameter";
302
+ readonly explode: false;
303
+ readonly in: "path";
304
+ readonly name: "id";
305
+ }];
306
+ readonly requestDefaultHeaders: {
307
+ readonly "Content-Type": "application/json";
308
+ readonly Accept: "application/json";
309
+ };
310
+ readonly body: {
311
+ readonly _tag: "JsonBody";
312
+ };
313
+ };
314
+ export declare type StepJobRequestFunction = RequestFunction<{
315
+ params: StepJobRequestParameters;
316
+ body: schemas.JobStep;
317
+ }, schemas.Job>;
318
+ //# sourceMappingURL=stepJob.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/stepJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC;AAEX,oBAAY,sBAAsB,GAAG,eAAe,CAClD;IAAE,MAAM,EAAE,wBAAwB,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAA;CAAE,EAC3D,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -0,0 +1,50 @@
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.stepJobOperation = void 0;
27
+ const schemas = __importStar(require("../components/schemas"));
28
+ exports.stepJobOperation = {
29
+ path: "/api/job/{id}/step",
30
+ method: "post",
31
+ responses: {
32
+ "200": { _tag: "JsonResponse", decoder: schemas.Job },
33
+ default: { _tag: "JsonResponse", decoder: schemas.Error },
34
+ },
35
+ parameters: [
36
+ {
37
+ _tag: "FormParameter",
38
+ explode: false,
39
+ in: "path",
40
+ name: "id",
41
+ },
42
+ ],
43
+ requestDefaultHeaders: {
44
+ "Content-Type": "application/json",
45
+ Accept: "application/json",
46
+ },
47
+ body: {
48
+ _tag: "JsonBody",
49
+ },
50
+ };