@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,320 @@
1
+ import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
2
+ import * as schemas from "../components/schemas";
3
+ export declare type SuspendCompanyRequestParameters = {
4
+ id: string;
5
+ };
6
+ export declare const suspendCompanyOperation: {
7
+ readonly path: "/api/company/{id}/suspend";
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
+ company_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"limited_company">, import("io-ts").LiteralC<"sole_trader">]>;
14
+ }>, import("io-ts").PartialC<{
15
+ id: import("io-ts").StringC;
16
+ cid: import("io-ts").StringC;
17
+ oid: import("io-ts").StringC;
18
+ aid: import("io-ts").StringC;
19
+ analytics: import("io-ts").PartialC<{
20
+ utms: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
21
+ utm_source: import("io-ts").StringC;
22
+ }>, import("io-ts").PartialC<{
23
+ utm_medium: import("io-ts").StringC;
24
+ utm_campaign: import("io-ts").StringC;
25
+ utm_term: import("io-ts").StringC;
26
+ utm_content: import("io-ts").StringC;
27
+ }>]>>;
28
+ }>;
29
+ emails: import("io-ts").ArrayC<import("io-ts").StringC>;
30
+ users: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
31
+ role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
32
+ first_name: import("io-ts").StringC;
33
+ email: import("io-ts").StringC;
34
+ }>, import("io-ts").PartialC<{
35
+ director_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
36
+ home_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
37
+ line_1: import("io-ts").StringC;
38
+ city: import("io-ts").StringC;
39
+ country: import("io-ts").StringC;
40
+ postcode: import("io-ts").StringC;
41
+ }>, import("io-ts").PartialC<{
42
+ building_number: import("io-ts").StringC;
43
+ building_name: import("io-ts").StringC;
44
+ line_2: import("io-ts").StringC;
45
+ county: import("io-ts").StringC;
46
+ months_at_address: import("io-ts").NumberC;
47
+ }>]>;
48
+ }>, import("io-ts").PartialC<{
49
+ 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">]>;
50
+ date_of_birth: import("io-ts").StringC;
51
+ }>]>;
52
+ last_name: import("io-ts").StringC;
53
+ mobile: import("io-ts").StringC;
54
+ comm_preferences: import("io-ts").PartialC<{
55
+ pre_job: import("io-ts").UnionC<[import("io-ts").LiteralC<"enabled">, import("io-ts").LiteralC<"disabled">]>;
56
+ post_job: import("io-ts").UnionC<[import("io-ts").LiteralC<"enabled">, import("io-ts").LiteralC<"disabled">]>;
57
+ other: import("io-ts").UnionC<[import("io-ts").LiteralC<"enabled">, import("io-ts").LiteralC<"disabled">]>;
58
+ }>;
59
+ }>]>>;
60
+ company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
61
+ trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"artificial_grass_specialists">, 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<"cladding_sofits_and_guttering">, import("io-ts").LiteralC<"conservatories">, import("io-ts").LiteralC<"curtains">, 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<"home_insulation_excl_spray_foam">, import("io-ts").LiteralC<"hot_tub_specialist">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"kitchen_supplier">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"loft_boarding">, import("io-ts").LiteralC<"painting_and_decorating">, import("io-ts").LiteralC<"plasterer">, import("io-ts").LiteralC<"plumbing">, import("io-ts").LiteralC<"rendering">, import("io-ts").LiteralC<"resin_drive_specialist">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing__excluding_flat_roofs">, import("io-ts").LiteralC<"security_systems">, import("io-ts").LiteralC<"stair_case_specialist">, 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">]>;
62
+ trade_type_name: import("io-ts").StringC;
63
+ 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<"niceic">, import("io-ts").LiteralC<"other">]>;
64
+ trade_body_name: import("io-ts").StringC;
65
+ warranty_length: import("io-ts").NumberC;
66
+ average_monthly_jobs: import("io-ts").NumberC;
67
+ average_job_value: import("io-ts").NumberC;
68
+ use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
69
+ }>, import("io-ts").PartialC<{
70
+ trade_body_number: import("io-ts").StringC;
71
+ online_presence: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
72
+ q_online: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes, I can provide the details">, import("io-ts").LiteralC<"No, I don't have this">]>;
73
+ }>, import("io-ts").PartialC<{
74
+ website: import("io-ts").StringC;
75
+ facebook: import("io-ts").StringC;
76
+ google: import("io-ts").StringC;
77
+ }>]>;
78
+ insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
79
+ name: import("io-ts").StringC;
80
+ }>, import("io-ts").PartialC<{
81
+ id: import("io-ts").StringC;
82
+ cid: import("io-ts").StringC;
83
+ oid: import("io-ts").StringC;
84
+ aid: import("io-ts").StringC;
85
+ eid: import("io-ts").StringC;
86
+ bid: import("io-ts").StringC;
87
+ tid: import("io-ts").StringC;
88
+ expiry: import("io-ts").StringC;
89
+ content: import("io-ts").StringC;
90
+ mimetype: import("io-ts").StringC;
91
+ metadata: import("io-ts").TypeC<{
92
+ liveness: import("io-ts").BooleanC;
93
+ created_at: import("io-ts-types").DateFromISOStringC;
94
+ updated_at: import("io-ts-types").DateFromISOStringC;
95
+ }>;
96
+ }>]>;
97
+ contract_agreement: import("io-ts").PartialC<{
98
+ contract: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
99
+ name: import("io-ts").StringC;
100
+ }>, import("io-ts").PartialC<{
101
+ id: import("io-ts").StringC;
102
+ cid: import("io-ts").StringC;
103
+ oid: import("io-ts").StringC;
104
+ aid: import("io-ts").StringC;
105
+ eid: import("io-ts").StringC;
106
+ bid: import("io-ts").StringC;
107
+ tid: import("io-ts").StringC;
108
+ expiry: import("io-ts").StringC;
109
+ content: import("io-ts").StringC;
110
+ mimetype: import("io-ts").StringC;
111
+ metadata: import("io-ts").TypeC<{
112
+ liveness: import("io-ts").BooleanC;
113
+ created_at: import("io-ts-types").DateFromISOStringC;
114
+ updated_at: import("io-ts-types").DateFromISOStringC;
115
+ }>;
116
+ }>]>;
117
+ agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
118
+ agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
119
+ print_name: import("io-ts").StringC;
120
+ signed_at: import("io-ts-types").DateFromISOStringC;
121
+ }>;
122
+ 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">]>>;
123
+ }>]>;
124
+ solar_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
125
+ epvs_registration_number: import("io-ts").StringC;
126
+ solar_trade_association: import("io-ts").UnionC<[import("io-ts").LiteralC<"msc">, import("io-ts").LiteralC<"heis">, import("io-ts").LiteralC<"recc">]>;
127
+ solar_trade_association_number: import("io-ts").StringC;
128
+ electrical_trade_association: import("io-ts").UnionC<[import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"none">]>;
129
+ }>, import("io-ts").PartialC<{
130
+ electrical_trade_association_number: import("io-ts").StringC;
131
+ }>]>;
132
+ limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
133
+ company_name: import("io-ts").StringC;
134
+ company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
135
+ line_1: import("io-ts").StringC;
136
+ city: import("io-ts").StringC;
137
+ country: import("io-ts").StringC;
138
+ postcode: import("io-ts").StringC;
139
+ }>, import("io-ts").PartialC<{
140
+ building_number: import("io-ts").StringC;
141
+ building_name: import("io-ts").StringC;
142
+ line_2: import("io-ts").StringC;
143
+ county: import("io-ts").StringC;
144
+ months_at_address: import("io-ts").NumberC;
145
+ }>]>;
146
+ company_number: import("io-ts").StringC;
147
+ }>, import("io-ts").PartialC<{
148
+ trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
149
+ line_1: import("io-ts").StringC;
150
+ city: import("io-ts").StringC;
151
+ country: import("io-ts").StringC;
152
+ postcode: import("io-ts").StringC;
153
+ }>, import("io-ts").PartialC<{
154
+ building_number: import("io-ts").StringC;
155
+ building_name: import("io-ts").StringC;
156
+ line_2: import("io-ts").StringC;
157
+ county: import("io-ts").StringC;
158
+ months_at_address: import("io-ts").NumberC;
159
+ }>]>;
160
+ vat_number: import("io-ts").StringC;
161
+ }>]>;
162
+ sole_trader_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
163
+ trading_name: import("io-ts").StringC;
164
+ trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
165
+ line_1: import("io-ts").StringC;
166
+ city: import("io-ts").StringC;
167
+ country: import("io-ts").StringC;
168
+ postcode: import("io-ts").StringC;
169
+ }>, import("io-ts").PartialC<{
170
+ building_number: import("io-ts").StringC;
171
+ building_name: import("io-ts").StringC;
172
+ line_2: import("io-ts").StringC;
173
+ county: import("io-ts").StringC;
174
+ months_at_address: import("io-ts").NumberC;
175
+ }>]>;
176
+ }>, import("io-ts").PartialC<{
177
+ national_insurance_number: import("io-ts").StringC;
178
+ vat_number: import("io-ts").StringC;
179
+ }>]>;
180
+ finance_rates: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
181
+ name: import("io-ts").StringC;
182
+ fee: import("io-ts").NumberC;
183
+ charge: import("io-ts").NumberC;
184
+ enabled: import("io-ts").BooleanC;
185
+ finance_types: import("io-ts").ArrayC<import("io-ts").UnionC<[import("io-ts").LiteralC<"primary">, import("io-ts").LiteralC<"secondary">]>>;
186
+ 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">]>;
187
+ }>, import("io-ts").PartialC<{
188
+ credit_line: import("io-ts").NumberC;
189
+ min_charge: import("io-ts").NumberC;
190
+ apr_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"INTEREST_FREE">, import("io-ts").LiteralC<"INTEREST_BEARING">, import("io-ts").LiteralC<"BUYNOW_PAYLATER">]>;
191
+ apr: import("io-ts").NumberC;
192
+ deferred_duration: import("io-ts").NumberC;
193
+ duration: import("io-ts").NumberC;
194
+ min_deposit_pct: import("io-ts").NumberC;
195
+ max_deposit_pct: import("io-ts").NumberC;
196
+ min_deposit_value: import("io-ts").NumberC;
197
+ max_deposit_value: import("io-ts").NumberC;
198
+ min_job_value: import("io-ts").NumberC;
199
+ max_job_value: import("io-ts").NumberC;
200
+ 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">]>>;
201
+ }>]>>;
202
+ quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
203
+ skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
204
+ lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"director_details_submitted">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
205
+ billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
206
+ referral_code: import("io-ts").StringC;
207
+ referral_activated_at: import("io-ts-types").DateFromISOStringC;
208
+ referred_by: import("io-ts").StringC;
209
+ company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
210
+ name: import("io-ts").StringC;
211
+ }>, import("io-ts").PartialC<{
212
+ id: import("io-ts").StringC;
213
+ cid: import("io-ts").StringC;
214
+ oid: import("io-ts").StringC;
215
+ aid: import("io-ts").StringC;
216
+ eid: import("io-ts").StringC;
217
+ bid: import("io-ts").StringC;
218
+ tid: import("io-ts").StringC;
219
+ expiry: import("io-ts").StringC;
220
+ content: import("io-ts").StringC;
221
+ mimetype: import("io-ts").StringC;
222
+ metadata: import("io-ts").TypeC<{
223
+ liveness: import("io-ts").BooleanC;
224
+ created_at: import("io-ts-types").DateFromISOStringC;
225
+ updated_at: import("io-ts-types").DateFromISOStringC;
226
+ }>;
227
+ }>]>;
228
+ bank_account: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
229
+ account_name: import("io-ts").StringC;
230
+ account_number: import("io-ts").StringC;
231
+ sort_code: import("io-ts").StringC;
232
+ }>, import("io-ts").PartialC<{
233
+ months_held: import("io-ts").NumberC;
234
+ }>]>;
235
+ contact_info: import("io-ts").PartialC<{
236
+ contact_name: import("io-ts").StringC;
237
+ contact_email: import("io-ts").StringC;
238
+ contact_phone: import("io-ts").StringC;
239
+ contact_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
240
+ line_1: import("io-ts").StringC;
241
+ city: import("io-ts").StringC;
242
+ country: import("io-ts").StringC;
243
+ postcode: import("io-ts").StringC;
244
+ }>, import("io-ts").PartialC<{
245
+ building_number: import("io-ts").StringC;
246
+ building_name: import("io-ts").StringC;
247
+ line_2: import("io-ts").StringC;
248
+ county: import("io-ts").StringC;
249
+ months_at_address: import("io-ts").NumberC;
250
+ }>]>;
251
+ trading_name: import("io-ts").StringC;
252
+ }>;
253
+ redirect_urls: import("io-ts").PartialC<{
254
+ checkout_url: import("io-ts").StringC;
255
+ success_url: import("io-ts").StringC;
256
+ failure_url: import("io-ts").StringC;
257
+ webhook_url: import("io-ts").StringC;
258
+ }>;
259
+ fca_number: import("io-ts").StringC;
260
+ welcome_pack: import("io-ts").PartialC<{
261
+ director_verification: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
262
+ invite_team_member: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
263
+ update_website: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
264
+ advert_finance_calculator: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
265
+ }>;
266
+ lender_configs: import("io-ts").ArrayC<import("io-ts").TypeC<{
267
+ 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">]>;
268
+ xid: import("io-ts").StringC;
269
+ }>>;
270
+ business_type: import("io-ts").StringC;
271
+ business_config: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
272
+ show: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
273
+ trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"artificial_grass_specialists">, 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<"cladding_sofits_and_guttering">, import("io-ts").LiteralC<"conservatories">, import("io-ts").LiteralC<"curtains">, 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<"home_insulation_excl_spray_foam">, import("io-ts").LiteralC<"hot_tub_specialist">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"kitchen_supplier">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"loft_boarding">, import("io-ts").LiteralC<"painting_and_decorating">, import("io-ts").LiteralC<"plasterer">, import("io-ts").LiteralC<"plumbing">, import("io-ts").LiteralC<"rendering">, import("io-ts").LiteralC<"resin_drive_specialist">, import("io-ts").LiteralC<"resin_driveways">, import("io-ts").LiteralC<"roofing__excluding_flat_roofs">, import("io-ts").LiteralC<"security_systems">, import("io-ts").LiteralC<"stair_case_specialist">, 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">]>;
274
+ trade_text: import("io-ts").StringC;
275
+ business_sector: import("io-ts").UnionC<[import("io-ts").LiteralC<"Home improvement">, import("io-ts").LiteralC<"Renewables">, import("io-ts").LiteralC<"Retail">, import("io-ts").LiteralC<"IT and technology Services">, import("io-ts").LiteralC<"Automotive services">, import("io-ts").LiteralC<"Training and education">, import("io-ts").LiteralC<"Events (including weddings)">, import("io-ts").LiteralC<"Healthcare">, import("io-ts").LiteralC<"Other">]>;
276
+ lender: 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">]>;
277
+ lender_rate_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"regulated">, import("io-ts").LiteralC<"unregulated">]>;
278
+ }>, import("io-ts").PartialC<{
279
+ extra: import("io-ts").StringC;
280
+ }>]>;
281
+ tier_config: import("io-ts").TypeC<{
282
+ current_tier: import("io-ts").UnionC<[import("io-ts").LiteralC<"base_rate">, import("io-ts").LiteralC<"enterprise_rate">]>;
283
+ tiers: import("io-ts").ArrayC<import("io-ts").TypeC<{
284
+ tier: import("io-ts").UnionC<[import("io-ts").LiteralC<"base_rate">, import("io-ts").LiteralC<"enterprise_rate">]>;
285
+ action: import("io-ts").UnionC<[import("io-ts").LiteralC<"add_tier">, import("io-ts").LiteralC<"remove_tier">]>;
286
+ actioned_at: import("io-ts-types").DateFromISOStringC;
287
+ }>>;
288
+ }>;
289
+ training_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"training_required">, import("io-ts").LiteralC<"training_scheduled">, import("io-ts").LiteralC<"training_done">]>;
290
+ hide_openbanking: import("io-ts").BooleanC;
291
+ metadata: import("io-ts").TypeC<{
292
+ liveness: import("io-ts").BooleanC;
293
+ created_at: import("io-ts-types").DateFromISOStringC;
294
+ updated_at: import("io-ts-types").DateFromISOStringC;
295
+ }>;
296
+ }>]>;
297
+ };
298
+ readonly default: {
299
+ readonly _tag: "JsonResponse";
300
+ readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
301
+ message: import("io-ts").StringC;
302
+ }>, import("io-ts").PartialC<{
303
+ code: import("io-ts").NumberC;
304
+ }>]>;
305
+ };
306
+ };
307
+ readonly parameters: readonly [{
308
+ readonly _tag: "FormParameter";
309
+ readonly explode: false;
310
+ readonly in: "path";
311
+ readonly name: "id";
312
+ }];
313
+ readonly requestDefaultHeaders: {
314
+ readonly Accept: "application/json";
315
+ };
316
+ };
317
+ export declare type SuspendCompanyRequestFunction = RequestFunction<{
318
+ params: SuspendCompanyRequestParameters;
319
+ }, schemas.Company>;
320
+ //# sourceMappingURL=suspendCompany.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suspendCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/suspendCompany.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAA;CAAE,EAC3C,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -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.suspendCompanyOperation = void 0;
27
+ const schemas = __importStar(require("../components/schemas"));
28
+ exports.suspendCompanyOperation = {
29
+ path: "/api/company/{id}/suspend",
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
+ };
@@ -165,6 +165,7 @@ export declare const tradeQuoteApprovalLeadOperation: {
165
165
  signed: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
166
166
  fingerprint: import("io-ts").StringC;
167
167
  }>;
168
+ declined_reason: import("io-ts").StringC;
168
169
  }>]>;
169
170
  payments: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
170
171
  payment_option: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -261,6 +262,18 @@ export declare const tradeQuoteApprovalLeadOperation: {
261
262
  updated_at: import("io-ts-types").DateFromISOStringC;
262
263
  }>;
263
264
  }>]>>;
265
+ current_step: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
266
+ 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">]>;
267
+ appended_at: import("io-ts-types").DateFromISOStringC;
268
+ }>, import("io-ts").PartialC<{
269
+ text: import("io-ts").StringC;
270
+ }>]>;
271
+ steps: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
272
+ 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">]>;
273
+ appended_at: import("io-ts-types").DateFromISOStringC;
274
+ }>, import("io-ts").PartialC<{
275
+ text: import("io-ts").StringC;
276
+ }>]>>;
264
277
  xid: import("io-ts").StringC;
265
278
  xref: import("io-ts").StringC;
266
279
  redirect_urls: import("io-ts").PartialC<{
@@ -1 +1 @@
1
- {"version":3,"file":"tradeQuoteApprovalLead.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/tradeQuoteApprovalLead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,uCAAuC,GAAG;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBlC,CAAC;AAEX,oBAAY,qCAAqC,GAAG,eAAe,CACjE;IAAE,MAAM,EAAE,uCAAuC,CAAA;CAAE,EACnD,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"tradeQuoteApprovalLead.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/tradeQuoteApprovalLead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,uCAAuC,GAAG;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBlC,CAAC;AAEX,oBAAY,qCAAqC,GAAG,eAAe,CACjE;IAAE,MAAM,EAAE,uCAAuC,CAAA;CAAE,EACnD,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -161,6 +161,7 @@ export declare const unarchiveJobOperation: {
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 unarchiveJobOperation: {
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":"unarchiveJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/unarchiveJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,EACzC,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"unarchiveJob.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/unarchiveJob.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD;IAAE,MAAM,EAAE,6BAA6B,CAAA;CAAE,EACzC,OAAO,CAAC,GAAG,CACZ,CAAC"}
@@ -161,6 +161,7 @@ export declare const viewJobSatNoteOperation: {
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 viewJobSatNoteOperation: {
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":"viewJobSatNote.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/viewJobSatNote.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAA;CAAE,EAC3C,OAAO,CAAC,GAAG,CACZ,CAAC"}
1
+ {"version":3,"file":"viewJobSatNote.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/viewJobSatNote.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEX,oBAAY,6BAA6B,GAAG,eAAe,CACzD;IAAE,MAAM,EAAE,+BAA+B,CAAA;CAAE,EAC3C,OAAO,CAAC,GAAG,CACZ,CAAC"}