@kanda-libs/ks-schema 1.0.119 → 1.0.121

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 (44) hide show
  1. package/dist/components/schemas/Company.d.ts +20 -3
  2. package/dist/components/schemas/Company.d.ts.map +1 -1
  3. package/dist/components/schemas/CompanyInfo.d.ts +23 -4
  4. package/dist/components/schemas/CompanyInfo.d.ts.map +1 -1
  5. package/dist/components/schemas/CompanyInfo.js +43 -17
  6. package/dist/components/schemas/ContractAgreement.d.ts +17 -0
  7. package/dist/components/schemas/ContractAgreement.d.ts.map +1 -1
  8. package/dist/components/schemas/ContractAgreement.js +2 -0
  9. package/dist/components/schemas/DirectorInfo.d.ts +2 -2
  10. package/dist/components/schemas/DirectorInfo.d.ts.map +1 -1
  11. package/dist/components/schemas/DirectorInfo.js +2 -0
  12. package/dist/components/schemas/Entity.d.ts +20 -3
  13. package/dist/components/schemas/Entity.d.ts.map +1 -1
  14. package/dist/components/schemas/Event.d.ts +20 -3
  15. package/dist/components/schemas/Event.d.ts.map +1 -1
  16. package/dist/components/schemas/InfoCompany.d.ts +1 -1
  17. package/dist/components/schemas/UserType.d.ts +1 -1
  18. package/dist/operations/approveCompany.d.ts +20 -3
  19. package/dist/operations/approveCompany.d.ts.map +1 -1
  20. package/dist/operations/declineCompany.d.ts +20 -3
  21. package/dist/operations/declineCompany.d.ts.map +1 -1
  22. package/dist/operations/deleteCompany.d.ts +20 -3
  23. package/dist/operations/deleteCompany.d.ts.map +1 -1
  24. package/dist/operations/directorCompany.d.ts +20 -3
  25. package/dist/operations/directorCompany.d.ts.map +1 -1
  26. package/dist/operations/getCompanies.d.ts +20 -3
  27. package/dist/operations/getCompanies.d.ts.map +1 -1
  28. package/dist/operations/getCompany.d.ts +20 -3
  29. package/dist/operations/getCompany.d.ts.map +1 -1
  30. package/dist/operations/getCompanyIdentity.d.ts +1 -1
  31. package/dist/operations/index.d.ts +163 -27
  32. package/dist/operations/index.d.ts.map +1 -1
  33. package/dist/operations/infoCompany.d.ts +1 -1
  34. package/dist/operations/postCompany.d.ts +20 -3
  35. package/dist/operations/postCompany.d.ts.map +1 -1
  36. package/dist/operations/postCompanyIdentity.d.ts +1 -1
  37. package/dist/operations/putCompany.d.ts +20 -3
  38. package/dist/operations/putCompany.d.ts.map +1 -1
  39. package/dist/schema.json +1 -1
  40. package/dist/widget/index.d.ts +5555 -5017
  41. package/dist/widget/index.d.ts.map +1 -1
  42. package/dist/widget/index.js +13601 -12903
  43. package/package.json +1 -1
  44. package/schema.yaml +52 -11
@@ -36,20 +36,22 @@ export declare const deleteCompanyOperation: {
36
36
  months_at_address: import("io-ts").NumberC;
37
37
  }>]>;
38
38
  }>, import("io-ts").PartialC<{
39
- verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
39
+ verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verification_submitted">, import("io-ts").LiteralC<"verification_declined">, import("io-ts").LiteralC<"verified">]>;
40
40
  date_of_birth: import("io-ts").StringC;
41
41
  }>]>;
42
42
  last_name: import("io-ts").StringC;
43
43
  mobile: import("io-ts").StringC;
44
44
  }>]>>;
45
45
  company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
46
- trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
46
+ trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"blinds_and_shutters">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"conservatories">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_bedroom_furniture">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_rooms">, import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"heat_pumps">, import("io-ts").LiteralC<"heating_systems">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"plumbing">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing__excluding_flat_roofs">, import("io-ts").LiteralC<"security_systems">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
47
+ trade_type_name: import("io-ts").StringC;
48
+ trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"acrib">, import("io-ts").LiteralC<"aphc">, import("io-ts").LiteralC<"assure">, import("io-ts").LiteralC<"certass">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"fensa">, import("io-ts").LiteralC<"feta">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"hetas">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"nfrc">, import("io-ts").LiteralC<"nic_eic">, import("io-ts").LiteralC<"other">]>;
49
+ trade_body_name: import("io-ts").StringC;
47
50
  warranty_length: import("io-ts").NumberC;
48
51
  average_monthly_jobs: import("io-ts").NumberC;
49
52
  average_job_value: import("io-ts").NumberC;
50
53
  use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
51
54
  }>, import("io-ts").PartialC<{
52
- trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
53
55
  trade_body_number: import("io-ts").StringC;
54
56
  insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
55
57
  name: import("io-ts").StringC;
@@ -67,6 +69,21 @@ export declare const deleteCompanyOperation: {
67
69
  }>;
68
70
  }>]>;
69
71
  contract_agreement: import("io-ts").PartialC<{
72
+ contract: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
73
+ name: import("io-ts").StringC;
74
+ }>, import("io-ts").PartialC<{
75
+ id: import("io-ts").StringC;
76
+ cid: import("io-ts").StringC;
77
+ oid: import("io-ts").StringC;
78
+ aid: import("io-ts").StringC;
79
+ content: import("io-ts").StringC;
80
+ mimetype: import("io-ts").StringC;
81
+ metadata: import("io-ts").TypeC<{
82
+ liveness: import("io-ts").BooleanC;
83
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
84
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
85
+ }>;
86
+ }>]>;
70
87
  agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
71
88
  agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
72
89
  print_name: import("io-ts").StringC;
@@ -1 +1 @@
1
- {"version":3,"file":"deleteCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBzB,CAAC;AAEX,oBAAY,4BAA4B,GAAG,eAAe,CACxD;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,EAC1C,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"deleteCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBzB,CAAC;AAEX,oBAAY,4BAA4B,GAAG,eAAe,CACxD;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,EAC1C,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -36,20 +36,22 @@ export declare const directorCompanyOperation: {
36
36
  months_at_address: import("io-ts").NumberC;
37
37
  }>]>;
38
38
  }>, import("io-ts").PartialC<{
39
- verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
39
+ verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verification_submitted">, import("io-ts").LiteralC<"verification_declined">, import("io-ts").LiteralC<"verified">]>;
40
40
  date_of_birth: import("io-ts").StringC;
41
41
  }>]>;
42
42
  last_name: import("io-ts").StringC;
43
43
  mobile: import("io-ts").StringC;
44
44
  }>]>>;
45
45
  company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
46
- trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
46
+ trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"blinds_and_shutters">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"conservatories">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_bedroom_furniture">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_rooms">, import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"heat_pumps">, import("io-ts").LiteralC<"heating_systems">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"plumbing">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing__excluding_flat_roofs">, import("io-ts").LiteralC<"security_systems">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
47
+ trade_type_name: import("io-ts").StringC;
48
+ trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"acrib">, import("io-ts").LiteralC<"aphc">, import("io-ts").LiteralC<"assure">, import("io-ts").LiteralC<"certass">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"fensa">, import("io-ts").LiteralC<"feta">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"hetas">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"nfrc">, import("io-ts").LiteralC<"nic_eic">, import("io-ts").LiteralC<"other">]>;
49
+ trade_body_name: import("io-ts").StringC;
47
50
  warranty_length: import("io-ts").NumberC;
48
51
  average_monthly_jobs: import("io-ts").NumberC;
49
52
  average_job_value: import("io-ts").NumberC;
50
53
  use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
51
54
  }>, import("io-ts").PartialC<{
52
- trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
53
55
  trade_body_number: import("io-ts").StringC;
54
56
  insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
55
57
  name: import("io-ts").StringC;
@@ -67,6 +69,21 @@ export declare const directorCompanyOperation: {
67
69
  }>;
68
70
  }>]>;
69
71
  contract_agreement: import("io-ts").PartialC<{
72
+ contract: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
73
+ name: import("io-ts").StringC;
74
+ }>, import("io-ts").PartialC<{
75
+ id: import("io-ts").StringC;
76
+ cid: import("io-ts").StringC;
77
+ oid: import("io-ts").StringC;
78
+ aid: import("io-ts").StringC;
79
+ content: import("io-ts").StringC;
80
+ mimetype: import("io-ts").StringC;
81
+ metadata: import("io-ts").TypeC<{
82
+ liveness: import("io-ts").BooleanC;
83
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
84
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
85
+ }>;
86
+ }>]>;
70
87
  agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
71
88
  agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
72
89
  print_name: import("io-ts").StringC;
@@ -1 +1 @@
1
- {"version":3,"file":"directorCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/directorCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"directorCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/directorCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -34,20 +34,22 @@ export declare const getCompaniesOperation: {
34
34
  months_at_address: t.NumberC;
35
35
  }>]>;
36
36
  }>, t.PartialC<{
37
- verification_status: t.UnionC<[t.LiteralC<"not_verified">, t.LiteralC<"verified">]>;
37
+ verification_status: t.UnionC<[t.LiteralC<"not_verified">, t.LiteralC<"verification_submitted">, t.LiteralC<"verification_declined">, t.LiteralC<"verified">]>;
38
38
  date_of_birth: t.StringC;
39
39
  }>]>;
40
40
  last_name: t.StringC;
41
41
  mobile: t.StringC;
42
42
  }>]>>;
43
43
  company_info: t.IntersectionC<[t.TypeC<{
44
- trade_type: t.UnionC<[t.LiteralC<"gas_engineer">, t.LiteralC<"electrician">, t.LiteralC<"ev_charger_installer">, t.LiteralC<"tiler">, t.LiteralC<"kitchen_fitter">, t.LiteralC<"floor_layer">, t.LiteralC<"cctv_and_security_installations">, t.LiteralC<"windows_and_doors">, t.LiteralC<"landscaping">, t.LiteralC<"air_conditioning">, t.LiteralC<"bathrooms">, t.LiteralC<"driveways_and_patios">, t.LiteralC<"garage_doors">, t.LiteralC<"fireplaces">, t.LiteralC<"multi_trade">, t.LiteralC<"other_trade">]>;
44
+ trade_type: t.UnionC<[t.LiteralC<"air_conditioning">, t.LiteralC<"bathrooms">, t.LiteralC<"battery_storage">, t.LiteralC<"blinds_and_shutters">, t.LiteralC<"carpentry">, t.LiteralC<"cctv_and_security_installations">, t.LiteralC<"conservatories">, t.LiteralC<"decking">, t.LiteralC<"driveways_and_patios">, t.LiteralC<"electrician">, t.LiteralC<"ev_charger_installer">, t.LiteralC<"fencing">, t.LiteralC<"fireplaces">, t.LiteralC<"fitted_bedroom_furniture">, t.LiteralC<"floor_layer">, t.LiteralC<"garage_doors">, t.LiteralC<"garden_rooms">, t.LiteralC<"gas_engineer">, t.LiteralC<"gates">, t.LiteralC<"heat_pumps">, t.LiteralC<"heating_systems">, t.LiteralC<"kitchen_fitter">, t.LiteralC<"landscaping">, t.LiteralC<"plumbing">, t.LiteralC<"resin_driveways">, t.LiteralC<"roofing__excluding_flat_roofs">, t.LiteralC<"security_systems">, t.LiteralC<"tiler">, t.LiteralC<"verandas">, t.LiteralC<"windows_and_doors">, t.LiteralC<"multi_trade">, t.LiteralC<"other_trade">]>;
45
+ trade_type_name: t.StringC;
46
+ trade_body: t.UnionC<[t.LiteralC<"none">, t.LiteralC<"acrib">, t.LiteralC<"aphc">, t.LiteralC<"assure">, t.LiteralC<"certass">, t.LiteralC<"elecsa">, t.LiteralC<"fensa">, t.LiteralC<"feta">, t.LiteralC<"gas_safe">, t.LiteralC<"hetas">, t.LiteralC<"napit">, t.LiteralC<"nfrc">, t.LiteralC<"nic_eic">, t.LiteralC<"other">]>;
47
+ trade_body_name: t.StringC;
45
48
  warranty_length: t.NumberC;
46
49
  average_monthly_jobs: t.NumberC;
47
50
  average_job_value: t.NumberC;
48
51
  use_subcontractor: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
49
52
  }>, t.PartialC<{
50
- trade_body: t.UnionC<[t.LiteralC<"none">, t.LiteralC<"niceic">, t.LiteralC<"elecsa">, t.LiteralC<"gas_safe">, t.LiteralC<"napit">, t.LiteralC<"other">]>;
51
53
  trade_body_number: t.StringC;
52
54
  insurance_document: t.IntersectionC<[t.TypeC<{
53
55
  name: t.StringC;
@@ -65,6 +67,21 @@ export declare const getCompaniesOperation: {
65
67
  }>;
66
68
  }>]>;
67
69
  contract_agreement: t.PartialC<{
70
+ contract: t.IntersectionC<[t.TypeC<{
71
+ name: t.StringC;
72
+ }>, t.PartialC<{
73
+ id: t.StringC;
74
+ cid: t.StringC;
75
+ oid: t.StringC;
76
+ aid: t.StringC;
77
+ content: t.StringC;
78
+ mimetype: t.StringC;
79
+ metadata: t.TypeC<{
80
+ liveness: t.BooleanC;
81
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
82
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
83
+ }>;
84
+ }>]>;
68
85
  agreed_terms_and_conditions: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
69
86
  agreed_to_become_iar_of_kanda: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
70
87
  print_name: t.StringC;
@@ -1 +1 @@
1
- {"version":3,"file":"getCompanies.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompanies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CACvB,CAAC"}
1
+ {"version":3,"file":"getCompanies.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompanies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CACvB,CAAC"}
@@ -36,20 +36,22 @@ export declare const getCompanyOperation: {
36
36
  months_at_address: import("io-ts").NumberC;
37
37
  }>]>;
38
38
  }>, import("io-ts").PartialC<{
39
- verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
39
+ verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verification_submitted">, import("io-ts").LiteralC<"verification_declined">, import("io-ts").LiteralC<"verified">]>;
40
40
  date_of_birth: import("io-ts").StringC;
41
41
  }>]>;
42
42
  last_name: import("io-ts").StringC;
43
43
  mobile: import("io-ts").StringC;
44
44
  }>]>>;
45
45
  company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
46
- trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
46
+ trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"battery_storage">, import("io-ts").LiteralC<"blinds_and_shutters">, import("io-ts").LiteralC<"carpentry">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"conservatories">, import("io-ts").LiteralC<"decking">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"fencing">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"fitted_bedroom_furniture">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"garden_rooms">, import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"gates">, import("io-ts").LiteralC<"heat_pumps">, import("io-ts").LiteralC<"heating_systems">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"plumbing">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing__excluding_flat_roofs">, import("io-ts").LiteralC<"security_systems">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"verandas">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
47
+ trade_type_name: import("io-ts").StringC;
48
+ trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"acrib">, import("io-ts").LiteralC<"aphc">, import("io-ts").LiteralC<"assure">, import("io-ts").LiteralC<"certass">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"fensa">, import("io-ts").LiteralC<"feta">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"hetas">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"nfrc">, import("io-ts").LiteralC<"nic_eic">, import("io-ts").LiteralC<"other">]>;
49
+ trade_body_name: import("io-ts").StringC;
47
50
  warranty_length: import("io-ts").NumberC;
48
51
  average_monthly_jobs: import("io-ts").NumberC;
49
52
  average_job_value: import("io-ts").NumberC;
50
53
  use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
51
54
  }>, import("io-ts").PartialC<{
52
- trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
53
55
  trade_body_number: import("io-ts").StringC;
54
56
  insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
55
57
  name: import("io-ts").StringC;
@@ -67,6 +69,21 @@ export declare const getCompanyOperation: {
67
69
  }>;
68
70
  }>]>;
69
71
  contract_agreement: import("io-ts").PartialC<{
72
+ contract: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
73
+ name: import("io-ts").StringC;
74
+ }>, import("io-ts").PartialC<{
75
+ id: import("io-ts").StringC;
76
+ cid: import("io-ts").StringC;
77
+ oid: import("io-ts").StringC;
78
+ aid: import("io-ts").StringC;
79
+ content: import("io-ts").StringC;
80
+ mimetype: import("io-ts").StringC;
81
+ metadata: import("io-ts").TypeC<{
82
+ liveness: import("io-ts").BooleanC;
83
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
84
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
85
+ }>;
86
+ }>]>;
70
87
  agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
71
88
  agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
72
89
  print_name: import("io-ts").StringC;
@@ -1 +1 @@
1
- {"version":3,"file":"getCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,EACvC,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"getCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,EACvC,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -78,7 +78,7 @@ export declare const getCompanyIdentityOperation: {
78
78
  months_at_address: import("io-ts").NumberC;
79
79
  }>]>;
80
80
  }>, import("io-ts").PartialC<{
81
- verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
81
+ verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verification_submitted">, import("io-ts").LiteralC<"verification_declined">, import("io-ts").LiteralC<"verified">]>;
82
82
  date_of_birth: import("io-ts").StringC;
83
83
  }>]>;
84
84
  last_name: import("io-ts").StringC;