@kanda-libs/ks-schema 1.0.817 → 1.0.819
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/schemas/KagentChat.d.ts +1 -0
- package/dist/components/schemas/KagentChat.d.ts.map +1 -1
- package/dist/components/schemas/TradeSummary.d.ts +2 -0
- package/dist/components/schemas/TradeSummary.d.ts.map +1 -1
- package/dist/components/schemas/TradeSummary.js +1 -0
- package/dist/operations/cancelCompany.d.ts +320 -0
- package/dist/operations/cancelCompany.d.ts.map +1 -0
- package/dist/operations/cancelCompany.js +44 -0
- package/dist/operations/connectTradesLead.d.ts +1 -0
- package/dist/operations/connectTradesLead.d.ts.map +1 -1
- package/dist/operations/index.d.ts +4 -0
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -0
- package/dist/operations/infoKagent.d.ts +1 -0
- package/dist/operations/infoKagent.d.ts.map +1 -1
- package/dist/operations/infoTradeSummary.d.ts +1 -0
- package/dist/operations/infoTradeSummary.d.ts.map +1 -1
- package/dist/operations/matchTradesLead.d.ts +1 -0
- package/dist/operations/matchTradesLead.d.ts.map +1 -1
- package/dist/operations/providerCheckWebhook.d.ts +1 -1
- package/dist/operations/providerCheckWebhook.d.ts.map +1 -1
- package/dist/operations/providerWebhook.d.ts +1 -1
- package/dist/operations/providerWebhook.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +15207 -15203
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +35294 -35283
- package/package.json +1 -1
- package/schema.yaml +35 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KagentChat.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/KagentChat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"KagentChat.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/KagentChat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYrB,CAAC;AAEH,oBAAY,UAAU,GAAG,MAAM,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC,CAAC"}
|
|
@@ -49,6 +49,7 @@ export declare const TradeSummary: t.PartialC<{
|
|
|
49
49
|
lng: t.NumberC;
|
|
50
50
|
}>;
|
|
51
51
|
distance: t.NumberC;
|
|
52
|
+
landing_url: t.StringC;
|
|
52
53
|
}>;
|
|
53
54
|
export interface TradeSummary {
|
|
54
55
|
id?: string;
|
|
@@ -58,5 +59,6 @@ export interface TradeSummary {
|
|
|
58
59
|
work_types?: Array<WorkType>;
|
|
59
60
|
lat_lng?: LatLng;
|
|
60
61
|
distance?: number;
|
|
62
|
+
landing_url?: string;
|
|
61
63
|
}
|
|
62
64
|
//# sourceMappingURL=TradeSummary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradeSummary.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/TradeSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"TradeSummary.d.ts","sourceRoot":"","sources":["../../../frontend/generated/components/schemas/TradeSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASvB,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -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 CancelCompanyRequestParameters = {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const cancelCompanyOperation: {
|
|
7
|
+
readonly path: "/api/company/{id}/cancel";
|
|
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 CancelCompanyRequestFunction = RequestFunction<{
|
|
318
|
+
params: CancelCompanyRequestParameters;
|
|
319
|
+
}, schemas.Company>;
|
|
320
|
+
//# sourceMappingURL=cancelCompany.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancelCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/cancelCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,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"}
|
|
@@ -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.cancelCompanyOperation = void 0;
|
|
27
|
+
const schemas = __importStar(require("../components/schemas"));
|
|
28
|
+
exports.cancelCompanyOperation = {
|
|
29
|
+
path: "/api/company/{id}/cancel",
|
|
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
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectTradesLead.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/connectTradesLead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,kCAAkC,GAAG;IAC/C,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,0BAA0B
|
|
1
|
+
{"version":3,"file":"connectTradesLead.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/connectTradesLead.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,kCAAkC,GAAG;IAC/C,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,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B7B,CAAC;AAEX,oBAAY,gCAAgC,GAAG,eAAe,CAC5D;IAAE,MAAM,EAAE,kCAAkC,CAAC;IAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,EACnE,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAC5B,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { approveCompanyOperation, ApproveCompanyRequestFunction } from "./approv
|
|
|
9
9
|
import { approveJobSatNoteOperation, ApproveJobSatNoteRequestFunction } from "./approveJobSatNote";
|
|
10
10
|
import { archiveJobOperation, ArchiveJobRequestFunction } from "./archiveJob";
|
|
11
11
|
import { budgetLeadOperation, BudgetLeadRequestFunction } from "./budgetLead";
|
|
12
|
+
import { cancelCompanyOperation, CancelCompanyRequestFunction } from "./cancelCompany";
|
|
12
13
|
import { checkCreditOperation, CheckCreditRequestFunction } from "./checkCredit";
|
|
13
14
|
import { checkJobOperation, CheckJobRequestFunction } from "./checkJob";
|
|
14
15
|
import { completeJobOperation, CompleteJobRequestFunction } from "./completeJob";
|
|
@@ -328,6 +329,7 @@ export interface OperationRequestFunctionMap {
|
|
|
328
329
|
postCompanyReferrals: PostCompanyReferralsRequestFunction;
|
|
329
330
|
suspendCompany: SuspendCompanyRequestFunction;
|
|
330
331
|
reactivateCompany: ReactivateCompanyRequestFunction;
|
|
332
|
+
cancelCompany: CancelCompanyRequestFunction;
|
|
331
333
|
approveCompany: ApproveCompanyRequestFunction;
|
|
332
334
|
declineCompany: DeclineCompanyRequestFunction;
|
|
333
335
|
exportFcaApproved: ExportFcaApprovedRequestFunction;
|
|
@@ -675,6 +677,7 @@ export declare const companyServiceBuilder: (requestFunctions: OperationRequestF
|
|
|
675
677
|
postCompanyReferrals: PostCompanyReferralsRequestFunction;
|
|
676
678
|
suspendCompany: SuspendCompanyRequestFunction;
|
|
677
679
|
reactivateCompany: ReactivateCompanyRequestFunction;
|
|
680
|
+
cancelCompany: CancelCompanyRequestFunction;
|
|
678
681
|
approveCompany: ApproveCompanyRequestFunction;
|
|
679
682
|
declineCompany: DeclineCompanyRequestFunction;
|
|
680
683
|
exportFcaApproved: ExportFcaApprovedRequestFunction;
|
|
@@ -891,6 +894,7 @@ export interface Operations {
|
|
|
891
894
|
postCompanyReferrals: typeof postCompanyReferralsOperation;
|
|
892
895
|
suspendCompany: typeof suspendCompanyOperation;
|
|
893
896
|
reactivateCompany: typeof reactivateCompanyOperation;
|
|
897
|
+
cancelCompany: typeof cancelCompanyOperation;
|
|
894
898
|
approveCompany: typeof approveCompanyOperation;
|
|
895
899
|
declineCompany: typeof declineCompanyOperation;
|
|
896
900
|
exportFcaApproved: typeof exportFcaApprovedOperation;
|