@kanda-libs/ks-schema 1.0.123 → 1.0.125

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 (74) hide show
  1. package/dist/components/schemas/Company.d.ts +10 -0
  2. package/dist/components/schemas/Company.d.ts.map +1 -1
  3. package/dist/components/schemas/Company.js +2 -0
  4. package/dist/components/schemas/Entity.d.ts +28 -2
  5. package/dist/components/schemas/Entity.d.ts.map +1 -1
  6. package/dist/components/schemas/Event.d.ts +28 -2
  7. package/dist/components/schemas/Event.d.ts.map +1 -1
  8. package/dist/components/schemas/Identity.d.ts +5 -4
  9. package/dist/components/schemas/Identity.d.ts.map +1 -1
  10. package/dist/components/schemas/Identity.js +12 -8
  11. package/dist/components/schemas/Job.d.ts +23 -2
  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/SatNote.d.ts +5 -2
  15. package/dist/components/schemas/SatNote.d.ts.map +1 -1
  16. package/dist/components/schemas/SatNote.js +37 -29
  17. package/dist/components/schemas/SolarCompanyInfo.d.ts +17 -0
  18. package/dist/components/schemas/SolarCompanyInfo.d.ts.map +1 -0
  19. package/dist/components/schemas/SolarCompanyInfo.js +46 -0
  20. package/dist/components/schemas/index.d.ts +1 -0
  21. package/dist/components/schemas/index.d.ts.map +1 -1
  22. package/dist/components/schemas/index.js +1 -0
  23. package/dist/operations/applyJob.d.ts +20 -2
  24. package/dist/operations/applyJob.d.ts.map +1 -1
  25. package/dist/operations/approveCompany.d.ts +8 -0
  26. package/dist/operations/approveCompany.d.ts.map +1 -1
  27. package/dist/operations/approveJobSatNote.d.ts +20 -2
  28. package/dist/operations/approveJobSatNote.d.ts.map +1 -1
  29. package/dist/operations/archiveJob.d.ts +20 -2
  30. package/dist/operations/archiveJob.d.ts.map +1 -1
  31. package/dist/operations/completeJob.d.ts +20 -2
  32. package/dist/operations/completeJob.d.ts.map +1 -1
  33. package/dist/operations/declineCompany.d.ts +8 -0
  34. package/dist/operations/declineCompany.d.ts.map +1 -1
  35. package/dist/operations/deleteCompany.d.ts +8 -0
  36. package/dist/operations/deleteCompany.d.ts.map +1 -1
  37. package/dist/operations/deleteJob.d.ts +20 -2
  38. package/dist/operations/deleteJob.d.ts.map +1 -1
  39. package/dist/operations/directorCompany.d.ts +8 -0
  40. package/dist/operations/directorCompany.d.ts.map +1 -1
  41. package/dist/operations/getCompanies.d.ts +8 -0
  42. package/dist/operations/getCompanies.d.ts.map +1 -1
  43. package/dist/operations/getCompany.d.ts +8 -0
  44. package/dist/operations/getCompany.d.ts.map +1 -1
  45. package/dist/operations/getJob.d.ts +20 -2
  46. package/dist/operations/getJob.d.ts.map +1 -1
  47. package/dist/operations/getJobs.d.ts +20 -2
  48. package/dist/operations/getJobs.d.ts.map +1 -1
  49. package/dist/operations/index.d.ts +344 -28
  50. package/dist/operations/index.d.ts.map +1 -1
  51. package/dist/operations/payJob.d.ts +20 -2
  52. package/dist/operations/payJob.d.ts.map +1 -1
  53. package/dist/operations/payoutJob.d.ts +20 -2
  54. package/dist/operations/payoutJob.d.ts.map +1 -1
  55. package/dist/operations/postCompany.d.ts +8 -0
  56. package/dist/operations/postCompany.d.ts.map +1 -1
  57. package/dist/operations/postJob.d.ts +20 -2
  58. package/dist/operations/postJob.d.ts.map +1 -1
  59. package/dist/operations/putCompany.d.ts +8 -0
  60. package/dist/operations/putCompany.d.ts.map +1 -1
  61. package/dist/operations/putJob.d.ts +20 -2
  62. package/dist/operations/putJob.d.ts.map +1 -1
  63. package/dist/operations/sendJob.d.ts +20 -2
  64. package/dist/operations/sendJob.d.ts.map +1 -1
  65. package/dist/operations/signJobSateNote.d.ts +20 -2
  66. package/dist/operations/signJobSateNote.d.ts.map +1 -1
  67. package/dist/operations/viewJobSatNote.d.ts +20 -2
  68. package/dist/operations/viewJobSatNote.d.ts.map +1 -1
  69. package/dist/schema.json +1 -1
  70. package/dist/widget/index.d.ts +5259 -4813
  71. package/dist/widget/index.d.ts.map +1 -1
  72. package/dist/widget/index.js +14189 -13597
  73. package/package.json +1 -1
  74. package/schema.yaml +58 -1
@@ -6,6 +6,7 @@ import { ContactInfo } from "./ContactInfo";
6
6
  import { Document } from "./Document";
7
7
  import { LimitedCompanyInfo } from "./LimitedCompanyInfo";
8
8
  import { Metadata } from "./Metadata";
9
+ import { SolarCompanyInfo } from "./SolarCompanyInfo";
9
10
  import { SoleTraderInfo } from "./SoleTraderInfo";
10
11
  import { UserType } from "./UserType";
11
12
  export declare const Company: t.IntersectionC<[t.TypeC<{
@@ -89,6 +90,14 @@ export declare const Company: t.IntersectionC<[t.TypeC<{
89
90
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
90
91
  }>;
91
92
  }>]>;
93
+ solar_company_info: t.IntersectionC<[t.TypeC<{
94
+ epvs_registration_number: t.StringC;
95
+ solar_trade_association: t.UnionC<[t.LiteralC<"msc">, t.LiteralC<"heis">, t.LiteralC<"rec">]>;
96
+ solar_trade_association_number: t.StringC;
97
+ electrical_trade_association: t.UnionC<[t.LiteralC<"niceic">, t.LiteralC<"napit">, t.LiteralC<"none">]>;
98
+ }>, t.PartialC<{
99
+ electrical_trade_association_number: t.StringC;
100
+ }>]>;
92
101
  limited_company_info: t.IntersectionC<[t.TypeC<{
93
102
  company_name: t.StringC;
94
103
  company_address: t.IntersectionC<[t.TypeC<{
@@ -198,6 +207,7 @@ export interface Company {
198
207
  emails?: Array<string>;
199
208
  users?: Array<UserType>;
200
209
  company_info?: CompanyInfo;
210
+ solar_company_info?: SolarCompanyInfo;
201
211
  company_type: "limited_company" | "sole_trader";
202
212
  limited_company_info?: LimitedCompanyInfo;
203
213
  sole_trader_info?: SoleTraderInfo;
@@ -1 +1 @@
1
- {"version":3,"file":"Company.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Company.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,aA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CAAC,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB"}
@@ -32,6 +32,7 @@ const ContactInfo_1 = require("./ContactInfo");
32
32
  const Document_1 = require("./Document");
33
33
  const LimitedCompanyInfo_1 = require("./LimitedCompanyInfo");
34
34
  const Metadata_1 = require("./Metadata");
35
+ const SolarCompanyInfo_1 = require("./SolarCompanyInfo");
35
36
  const SoleTraderInfo_1 = require("./SoleTraderInfo");
36
37
  const UserType_1 = require("./UserType");
37
38
  exports.Company = t.intersection([
@@ -49,6 +50,7 @@ exports.Company = t.intersection([
49
50
  emails: t.array(t.string),
50
51
  users: t.array(UserType_1.UserType),
51
52
  company_info: CompanyInfo_1.CompanyInfo,
53
+ solar_company_info: SolarCompanyInfo_1.SolarCompanyInfo,
52
54
  limited_company_info: LimitedCompanyInfo_1.LimitedCompanyInfo,
53
55
  sole_trader_info: SoleTraderInfo_1.SoleTraderInfo,
54
56
  available_rates: t.array(AvailableRate_1.AvailableRate),
@@ -87,6 +87,14 @@ export declare const Entity: t.PartialC<{
87
87
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
88
88
  }>;
89
89
  }>]>;
90
+ solar_company_info: t.IntersectionC<[t.TypeC<{
91
+ epvs_registration_number: t.StringC;
92
+ solar_trade_association: t.UnionC<[t.LiteralC<"msc">, t.LiteralC<"heis">, t.LiteralC<"rec">]>;
93
+ solar_trade_association_number: t.StringC;
94
+ electrical_trade_association: t.UnionC<[t.LiteralC<"niceic">, t.LiteralC<"napit">, t.LiteralC<"none">]>;
95
+ }>, t.PartialC<{
96
+ electrical_trade_association_number: t.StringC;
97
+ }>]>;
90
98
  limited_company_info: t.IntersectionC<[t.TypeC<{
91
99
  company_name: t.StringC;
92
100
  company_address: t.IntersectionC<[t.TypeC<{
@@ -481,7 +489,7 @@ export declare const Entity: t.PartialC<{
481
489
  viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
482
490
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
483
491
  }>;
484
- sat_note: t.TypeC<{
492
+ sat_note: t.IntersectionC<[t.TypeC<{
485
493
  q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
486
494
  q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
487
495
  q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
@@ -506,7 +514,25 @@ export declare const Entity: t.PartialC<{
506
514
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
507
515
  }>;
508
516
  }>]>;
509
- }>;
517
+ }>, t.PartialC<{
518
+ q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
519
+ }>]>;
520
+ job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
521
+ job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
522
+ name: t.StringC;
523
+ }>, t.PartialC<{
524
+ id: t.StringC;
525
+ cid: t.StringC;
526
+ oid: t.StringC;
527
+ aid: t.StringC;
528
+ content: t.StringC;
529
+ mimetype: t.StringC;
530
+ metadata: t.TypeC<{
531
+ liveness: t.BooleanC;
532
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
533
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
534
+ }>;
535
+ }>]>>;
510
536
  metadata: t.TypeC<{
511
537
  liveness: t.BooleanC;
512
538
  created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
@@ -1 +1 @@
1
- {"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MA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AE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B"}
@@ -94,6 +94,14 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
94
94
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
95
95
  }>;
96
96
  }>]>;
97
+ solar_company_info: t.IntersectionC<[t.TypeC<{
98
+ epvs_registration_number: t.StringC;
99
+ solar_trade_association: t.UnionC<[t.LiteralC<"msc">, t.LiteralC<"heis">, t.LiteralC<"rec">]>;
100
+ solar_trade_association_number: t.StringC;
101
+ electrical_trade_association: t.UnionC<[t.LiteralC<"niceic">, t.LiteralC<"napit">, t.LiteralC<"none">]>;
102
+ }>, t.PartialC<{
103
+ electrical_trade_association_number: t.StringC;
104
+ }>]>;
97
105
  limited_company_info: t.IntersectionC<[t.TypeC<{
98
106
  company_name: t.StringC;
99
107
  company_address: t.IntersectionC<[t.TypeC<{
@@ -488,7 +496,7 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
488
496
  viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
489
497
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
490
498
  }>;
491
- sat_note: t.TypeC<{
499
+ sat_note: t.IntersectionC<[t.TypeC<{
492
500
  q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
493
501
  q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
494
502
  q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
@@ -513,7 +521,25 @@ export declare const Event: t.IntersectionC<[t.TypeC<{
513
521
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
514
522
  }>;
515
523
  }>]>;
516
- }>;
524
+ }>, t.PartialC<{
525
+ q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
526
+ }>]>;
527
+ job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
528
+ job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
529
+ name: t.StringC;
530
+ }>, t.PartialC<{
531
+ id: t.StringC;
532
+ cid: t.StringC;
533
+ oid: t.StringC;
534
+ aid: t.StringC;
535
+ content: t.StringC;
536
+ mimetype: t.StringC;
537
+ metadata: t.TypeC<{
538
+ liveness: t.BooleanC;
539
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
540
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
541
+ }>;
542
+ }>]>>;
517
543
  metadata: t.TypeC<{
518
544
  liveness: t.BooleanC;
519
545
  created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
@@ -1 +1 @@
1
- {"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoBhB,CAAC;AAEH,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB"}
@@ -1,11 +1,10 @@
1
1
  import * as t from "io-ts";
2
2
  import { Address } from "./Address";
3
- export declare const Identity: t.TypeC<{
3
+ export declare const Identity: t.IntersectionC<[t.TypeC<{
4
4
  first_name: t.StringC;
5
5
  last_name: t.StringC;
6
6
  email: t.StringC;
7
7
  mobile: t.StringC;
8
- date_of_birth: import("io-ts-types/DateFromISOString").DateFromISOStringC;
9
8
  home_address: t.IntersectionC<[t.TypeC<{
10
9
  line_1: t.StringC;
11
10
  city: t.StringC;
@@ -18,13 +17,15 @@ export declare const Identity: t.TypeC<{
18
17
  county: t.StringC;
19
18
  months_at_address: t.NumberC;
20
19
  }>]>;
21
- }>;
20
+ }>, t.PartialC<{
21
+ date_of_birth: import("io-ts-types/DateFromISOString").DateFromISOStringC;
22
+ }>]>;
22
23
  export interface Identity {
23
24
  first_name: string;
24
25
  last_name: string;
25
26
  email: string;
26
27
  mobile: string;
27
- date_of_birth: Date;
28
+ date_of_birth?: Date;
28
29
  home_address: Address;
29
30
  }
30
31
  //# sourceMappingURL=Identity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Identity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;EAOnB,CAAC;AAEH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,IAAI,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"Identity.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;IAWnB,CAAC;AAEH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB"}
@@ -27,11 +27,15 @@ exports.Identity = void 0;
27
27
  const t = __importStar(require("io-ts"));
28
28
  const DateFromISOString_1 = require("io-ts-types/DateFromISOString");
29
29
  const Address_1 = require("./Address");
30
- exports.Identity = t.type({
31
- first_name: t.string,
32
- last_name: t.string,
33
- email: t.string,
34
- mobile: t.string,
35
- date_of_birth: DateFromISOString_1.DateFromISOString,
36
- home_address: Address_1.Address,
37
- });
30
+ exports.Identity = t.intersection([
31
+ t.type({
32
+ first_name: t.string,
33
+ last_name: t.string,
34
+ email: t.string,
35
+ mobile: t.string,
36
+ home_address: Address_1.Address,
37
+ }),
38
+ t.partial({
39
+ date_of_birth: DateFromISOString_1.DateFromISOString,
40
+ }),
41
+ ]);
@@ -2,6 +2,7 @@ import * as t from "io-ts";
2
2
  import { CheckoutOption } from "./CheckoutOption";
3
3
  import { Customer } from "./Customer";
4
4
  import { CustomerOptions } from "./CustomerOptions";
5
+ import { Document } from "./Document";
5
6
  import { FinanceStatus } from "./FinanceStatus";
6
7
  import { JobItem } from "./JobItem";
7
8
  import { Metadata } from "./Metadata";
@@ -139,7 +140,7 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
139
140
  viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
140
141
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
141
142
  }>;
142
- sat_note: t.TypeC<{
143
+ sat_note: t.IntersectionC<[t.TypeC<{
143
144
  q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
144
145
  q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
145
146
  q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
@@ -164,7 +165,25 @@ export declare const Job: t.IntersectionC<[t.TypeC<{
164
165
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
165
166
  }>;
166
167
  }>]>;
167
- }>;
168
+ }>, t.PartialC<{
169
+ q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
170
+ }>]>;
171
+ job_type: t.UnionC<[t.LiteralC<"standard">, t.LiteralC<"solar">]>;
172
+ job_documents: t.ArrayC<t.IntersectionC<[t.TypeC<{
173
+ name: t.StringC;
174
+ }>, t.PartialC<{
175
+ id: t.StringC;
176
+ cid: t.StringC;
177
+ oid: t.StringC;
178
+ aid: t.StringC;
179
+ content: t.StringC;
180
+ mimetype: t.StringC;
181
+ metadata: t.TypeC<{
182
+ liveness: t.BooleanC;
183
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
184
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
185
+ }>;
186
+ }>]>>;
168
187
  metadata: t.TypeC<{
169
188
  liveness: t.BooleanC;
170
189
  created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
@@ -193,6 +212,8 @@ export interface Job {
193
212
  payments?: Array<Payment>;
194
213
  sat_note_timeline?: SatNoteTimeline;
195
214
  sat_note?: SatNote;
215
+ job_type?: "standard" | "solar";
216
+ job_documents?: Array<Document>;
196
217
  metadata?: Metadata;
197
218
  }
198
219
  //# sourceMappingURL=Job.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Job.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/Job.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,C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C,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB"}
@@ -28,6 +28,7 @@ const t = __importStar(require("io-ts"));
28
28
  const CheckoutOption_1 = require("./CheckoutOption");
29
29
  const Customer_1 = require("./Customer");
30
30
  const CustomerOptions_1 = require("./CustomerOptions");
31
+ const Document_1 = require("./Document");
31
32
  const FinanceStatus_1 = require("./FinanceStatus");
32
33
  const JobItem_1 = require("./JobItem");
33
34
  const Metadata_1 = require("./Metadata");
@@ -71,6 +72,8 @@ exports.Job = t.intersection([
71
72
  payments: t.array(Payment_1.Payment),
72
73
  sat_note_timeline: SatNoteTimeline_1.SatNoteTimeline,
73
74
  sat_note: SatNote_1.SatNote,
75
+ job_type: t.union([t.literal("standard"), t.literal("solar")]),
76
+ job_documents: t.array(Document_1.Document),
74
77
  metadata: Metadata_1.Metadata,
75
78
  }),
76
79
  ]);
@@ -1,7 +1,7 @@
1
1
  import * as t from "io-ts";
2
2
  import { Document } from "./Document";
3
3
  import { Signature } from "./Signature";
4
- export declare const SatNote: t.TypeC<{
4
+ export declare const SatNote: t.IntersectionC<[t.TypeC<{
5
5
  q_pressure: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
6
6
  q_easiness: t.UnionC<[t.LiteralC<"no">, t.LiteralC<"somewhat">, t.LiteralC<"yes">]>;
7
7
  q_availability: t.UnionC<[t.LiteralC<"The installer told me when quoting me">, t.LiteralC<"I saw it advertised by the installer">, t.LiteralC<"I found out when the installer sent me a link via Kanda">]>;
@@ -26,13 +26,16 @@ export declare const SatNote: t.TypeC<{
26
26
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
27
27
  }>;
28
28
  }>]>;
29
- }>;
29
+ }>, t.PartialC<{
30
+ q_saving: t.UnionC<[t.LiteralC<"Yes I understand">, t.LiteralC<"No I don't understand">]>;
31
+ }>]>;
30
32
  export interface SatNote {
31
33
  q_pressure: "no" | "somewhat" | "yes";
32
34
  q_easiness: "no" | "somewhat" | "yes";
33
35
  q_availability: "The installer told me when quoting me" | "I saw it advertised by the installer" | "I found out when the installer sent me a link via Kanda";
34
36
  q_application: "I completed the application myself" | "Someone completed the appliation on my behalf";
35
37
  q_advice: "They just sent me a link to apply" | "They told me what rates where available" | "They helped me work out my potential repayments" | "They completed the application for me";
38
+ q_saving?: "Yes I understand" | "No I don't understand";
36
39
  signature: Signature;
37
40
  certificate: Document;
38
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SatNote.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;EA4BlB,CAAC;AAEH,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,cAAc,EACV,uCAAuC,GACvC,sCAAsC,GACtC,yDAAyD,CAAC;IAC9D,aAAa,EACT,oCAAoC,GACpC,+CAA+C,CAAC;IACpD,QAAQ,EACJ,mCAAmC,GACnC,yCAAyC,GACzC,iDAAiD,GACjD,uCAAuC,CAAC;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,QAAQ,CAAC;CACvB"}
1
+ {"version":3,"file":"SatNote.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SatNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoClB,CAAC;AAEH,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,KAAK,CAAC;IACtC,cAAc,EACV,uCAAuC,GACvC,sCAAsC,GACtC,yDAAyD,CAAC;IAC9D,aAAa,EACT,oCAAoC,GACpC,+CAA+C,CAAC;IACpD,QAAQ,EACJ,mCAAmC,GACnC,yCAAyC,GACzC,iDAAiD,GACjD,uCAAuC,CAAC;IAC5C,QAAQ,CAAC,EAAE,kBAAkB,GAAG,uBAAuB,CAAC;IACxD,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,QAAQ,CAAC;CACvB"}
@@ -27,32 +27,40 @@ exports.SatNote = void 0;
27
27
  const t = __importStar(require("io-ts"));
28
28
  const Document_1 = require("./Document");
29
29
  const Signature_1 = require("./Signature");
30
- exports.SatNote = t.type({
31
- q_pressure: t.union([
32
- t.literal("no"),
33
- t.literal("somewhat"),
34
- t.literal("yes"),
35
- ]),
36
- q_easiness: t.union([
37
- t.literal("no"),
38
- t.literal("somewhat"),
39
- t.literal("yes"),
40
- ]),
41
- q_availability: t.union([
42
- t.literal("The installer told me when quoting me"),
43
- t.literal("I saw it advertised by the installer"),
44
- t.literal("I found out when the installer sent me a link via Kanda"),
45
- ]),
46
- q_application: t.union([
47
- t.literal("I completed the application myself"),
48
- t.literal("Someone completed the appliation on my behalf"),
49
- ]),
50
- q_advice: t.union([
51
- t.literal("They just sent me a link to apply"),
52
- t.literal("They told me what rates where available"),
53
- t.literal("They helped me work out my potential repayments"),
54
- t.literal("They completed the application for me"),
55
- ]),
56
- signature: Signature_1.Signature,
57
- certificate: Document_1.Document,
58
- });
30
+ exports.SatNote = t.intersection([
31
+ t.type({
32
+ q_pressure: t.union([
33
+ t.literal("no"),
34
+ t.literal("somewhat"),
35
+ t.literal("yes"),
36
+ ]),
37
+ q_easiness: t.union([
38
+ t.literal("no"),
39
+ t.literal("somewhat"),
40
+ t.literal("yes"),
41
+ ]),
42
+ q_availability: t.union([
43
+ t.literal("The installer told me when quoting me"),
44
+ t.literal("I saw it advertised by the installer"),
45
+ t.literal("I found out when the installer sent me a link via Kanda"),
46
+ ]),
47
+ q_application: t.union([
48
+ t.literal("I completed the application myself"),
49
+ t.literal("Someone completed the appliation on my behalf"),
50
+ ]),
51
+ q_advice: t.union([
52
+ t.literal("They just sent me a link to apply"),
53
+ t.literal("They told me what rates where available"),
54
+ t.literal("They helped me work out my potential repayments"),
55
+ t.literal("They completed the application for me"),
56
+ ]),
57
+ signature: Signature_1.Signature,
58
+ certificate: Document_1.Document,
59
+ }),
60
+ t.partial({
61
+ q_saving: t.union([
62
+ t.literal("Yes I understand"),
63
+ t.literal("No I don't understand"),
64
+ ]),
65
+ }),
66
+ ]);
@@ -0,0 +1,17 @@
1
+ import * as t from "io-ts";
2
+ export declare const SolarCompanyInfo: t.IntersectionC<[t.TypeC<{
3
+ epvs_registration_number: t.StringC;
4
+ solar_trade_association: t.UnionC<[t.LiteralC<"msc">, t.LiteralC<"heis">, t.LiteralC<"rec">]>;
5
+ solar_trade_association_number: t.StringC;
6
+ electrical_trade_association: t.UnionC<[t.LiteralC<"niceic">, t.LiteralC<"napit">, t.LiteralC<"none">]>;
7
+ }>, t.PartialC<{
8
+ electrical_trade_association_number: t.StringC;
9
+ }>]>;
10
+ export interface SolarCompanyInfo {
11
+ epvs_registration_number: string;
12
+ solar_trade_association: "msc" | "heis" | "rec";
13
+ solar_trade_association_number: string;
14
+ electrical_trade_association: "niceic" | "napit" | "none";
15
+ electrical_trade_association_number?: string;
16
+ }
17
+ //# sourceMappingURL=SolarCompanyInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SolarCompanyInfo.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/SolarCompanyInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;;;;IAkB3B,CAAC;AAEH,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,uBAAuB,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IAChD,8BAA8B,EAAE,MAAM,CAAC;IACvC,4BAA4B,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1D,mCAAmC,CAAC,EAAE,MAAM,CAAC;CAC9C"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.SolarCompanyInfo = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ exports.SolarCompanyInfo = t.intersection([
29
+ t.type({
30
+ epvs_registration_number: t.string,
31
+ solar_trade_association: t.union([
32
+ t.literal("msc"),
33
+ t.literal("heis"),
34
+ t.literal("rec"),
35
+ ]),
36
+ solar_trade_association_number: t.string,
37
+ electrical_trade_association: t.union([
38
+ t.literal("niceic"),
39
+ t.literal("napit"),
40
+ t.literal("none"),
41
+ ]),
42
+ }),
43
+ t.partial({
44
+ electrical_trade_association_number: t.string,
45
+ }),
46
+ ]);
@@ -43,6 +43,7 @@ export * from "./SatNoteTimeline";
43
43
  export * from "./SelfEmployedDetails";
44
44
  export * from "./Signature";
45
45
  export * from "./SignDocument";
46
+ export * from "./SolarCompanyInfo";
46
47
  export * from "./SoleTraderInfo";
47
48
  export * from "./Subscription";
48
49
  export * from "./UserType";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW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AO,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"}
@@ -59,6 +59,7 @@ __exportStar(require("./SatNoteTimeline"), exports);
59
59
  __exportStar(require("./SelfEmployedDetails"), exports);
60
60
  __exportStar(require("./Signature"), exports);
61
61
  __exportStar(require("./SignDocument"), exports);
62
+ __exportStar(require("./SolarCompanyInfo"), exports);
62
63
  __exportStar(require("./SoleTraderInfo"), exports);
63
64
  __exportStar(require("./Subscription"), exports);
64
65
  __exportStar(require("./UserType"), exports);
@@ -138,7 +138,7 @@ export declare const applyJobOperation: {
138
138
  viewed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
139
139
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
140
140
  }>;
141
- sat_note: import("io-ts").TypeC<{
141
+ sat_note: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
142
142
  q_pressure: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
143
143
  q_easiness: import("io-ts").UnionC<[import("io-ts").LiteralC<"no">, import("io-ts").LiteralC<"somewhat">, import("io-ts").LiteralC<"yes">]>;
144
144
  q_availability: import("io-ts").UnionC<[import("io-ts").LiteralC<"The installer told me when quoting me">, import("io-ts").LiteralC<"I saw it advertised by the installer">, import("io-ts").LiteralC<"I found out when the installer sent me a link via Kanda">]>;
@@ -163,7 +163,25 @@ export declare const applyJobOperation: {
163
163
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
164
164
  }>;
165
165
  }>]>;
166
- }>;
166
+ }>, import("io-ts").PartialC<{
167
+ q_saving: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes I understand">, import("io-ts").LiteralC<"No I don't understand">]>;
168
+ }>]>;
169
+ job_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"standard">, import("io-ts").LiteralC<"solar">]>;
170
+ job_documents: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
171
+ name: import("io-ts").StringC;
172
+ }>, import("io-ts").PartialC<{
173
+ id: import("io-ts").StringC;
174
+ cid: import("io-ts").StringC;
175
+ oid: import("io-ts").StringC;
176
+ aid: import("io-ts").StringC;
177
+ content: import("io-ts").StringC;
178
+ mimetype: import("io-ts").StringC;
179
+ metadata: import("io-ts").TypeC<{
180
+ liveness: import("io-ts").BooleanC;
181
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
182
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
183
+ }>;
184
+ }>]>>;
167
185
  metadata: import("io-ts").TypeC<{
168
186
  liveness: import("io-ts").BooleanC;
169
187
  created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
@@ -1 +1 @@
1
- {"version":3,"file":"applyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAC;AAEX,oBAAY,uBAAuB,GAAG,eAAe,CACnD;IAAE,MAAM,EAAE,yBAAyB,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAA;CAAE,EACpE,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"applyJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/applyJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAC;AAEX,oBAAY,uBAAuB,GAAG,eAAe,CACnD;IAAE,MAAM,EAAE,yBAAyB,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAA;CAAE,EACpE,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -90,6 +90,14 @@ export declare const approveCompanyOperation: {
90
90
  signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
91
91
  }>;
92
92
  }>]>;
93
+ solar_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
94
+ epvs_registration_number: import("io-ts").StringC;
95
+ solar_trade_association: import("io-ts").UnionC<[import("io-ts").LiteralC<"msc">, import("io-ts").LiteralC<"heis">, import("io-ts").LiteralC<"rec">]>;
96
+ solar_trade_association_number: import("io-ts").StringC;
97
+ electrical_trade_association: import("io-ts").UnionC<[import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"none">]>;
98
+ }>, import("io-ts").PartialC<{
99
+ electrical_trade_association_number: import("io-ts").StringC;
100
+ }>]>;
93
101
  limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
94
102
  company_name: import("io-ts").StringC;
95
103
  company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -1 +1 @@
1
- {"version":3,"file":"approveCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/approveCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAA;CAAE,EAC3C,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"approveCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/oper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