@vepler/sdk 2.30.2 → 2.33.0

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 (75) hide show
  1. package/README.md +90 -85
  2. package/dist/commonjs/funcs/areasGetCoverage.d.ts +24 -0
  3. package/dist/commonjs/funcs/areasGetCoverage.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/areasGetCoverage.js +130 -0
  5. package/dist/commonjs/funcs/areasGetCoverage.js.map +1 -0
  6. package/dist/commonjs/funcs/metricsGetMetricValues.js +9 -8
  7. package/dist/commonjs/funcs/metricsGetMetricValues.js.map +1 -1
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/sdk/areas.d.ts +13 -0
  11. package/dist/commonjs/sdk/areas.d.ts.map +1 -1
  12. package/dist/commonjs/sdk/areas.js +16 -0
  13. package/dist/commonjs/sdk/areas.js.map +1 -1
  14. package/dist/commonjs/sdk/models/errors/getareacoverage.d.ts +156 -0
  15. package/dist/commonjs/sdk/models/errors/getareacoverage.d.ts.map +1 -0
  16. package/dist/commonjs/sdk/models/errors/getareacoverage.js +153 -0
  17. package/dist/commonjs/sdk/models/errors/getareacoverage.js.map +1 -0
  18. package/dist/commonjs/sdk/models/errors/index.d.ts +1 -0
  19. package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -1
  20. package/dist/commonjs/sdk/models/errors/index.js +1 -0
  21. package/dist/commonjs/sdk/models/errors/index.js.map +1 -1
  22. package/dist/commonjs/sdk/models/operations/getareacoverage.d.ts +408 -0
  23. package/dist/commonjs/sdk/models/operations/getareacoverage.d.ts.map +1 -0
  24. package/dist/commonjs/sdk/models/operations/getareacoverage.js +343 -0
  25. package/dist/commonjs/sdk/models/operations/getareacoverage.js.map +1 -0
  26. package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts +36 -85
  27. package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
  28. package/dist/commonjs/sdk/models/operations/getmetricvalues.js +12 -70
  29. package/dist/commonjs/sdk/models/operations/getmetricvalues.js.map +1 -1
  30. package/dist/commonjs/sdk/models/operations/index.d.ts +1 -0
  31. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  32. package/dist/commonjs/sdk/models/operations/index.js +1 -0
  33. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  34. package/dist/esm/funcs/areasGetCoverage.d.ts +24 -0
  35. package/dist/esm/funcs/areasGetCoverage.d.ts.map +1 -0
  36. package/dist/esm/funcs/areasGetCoverage.js +94 -0
  37. package/dist/esm/funcs/areasGetCoverage.js.map +1 -0
  38. package/dist/esm/funcs/metricsGetMetricValues.js +9 -8
  39. package/dist/esm/funcs/metricsGetMetricValues.js.map +1 -1
  40. package/dist/esm/lib/config.d.ts +2 -2
  41. package/dist/esm/lib/config.js +2 -2
  42. package/dist/esm/sdk/areas.d.ts +13 -0
  43. package/dist/esm/sdk/areas.d.ts.map +1 -1
  44. package/dist/esm/sdk/areas.js +16 -0
  45. package/dist/esm/sdk/areas.js.map +1 -1
  46. package/dist/esm/sdk/models/errors/getareacoverage.d.ts +156 -0
  47. package/dist/esm/sdk/models/errors/getareacoverage.d.ts.map +1 -0
  48. package/dist/esm/sdk/models/errors/getareacoverage.js +114 -0
  49. package/dist/esm/sdk/models/errors/getareacoverage.js.map +1 -0
  50. package/dist/esm/sdk/models/errors/index.d.ts +1 -0
  51. package/dist/esm/sdk/models/errors/index.d.ts.map +1 -1
  52. package/dist/esm/sdk/models/errors/index.js +1 -0
  53. package/dist/esm/sdk/models/errors/index.js.map +1 -1
  54. package/dist/esm/sdk/models/operations/getareacoverage.d.ts +408 -0
  55. package/dist/esm/sdk/models/operations/getareacoverage.d.ts.map +1 -0
  56. package/dist/esm/sdk/models/operations/getareacoverage.js +303 -0
  57. package/dist/esm/sdk/models/operations/getareacoverage.js.map +1 -0
  58. package/dist/esm/sdk/models/operations/getmetricvalues.d.ts +36 -85
  59. package/dist/esm/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
  60. package/dist/esm/sdk/models/operations/getmetricvalues.js +11 -69
  61. package/dist/esm/sdk/models/operations/getmetricvalues.js.map +1 -1
  62. package/dist/esm/sdk/models/operations/index.d.ts +1 -0
  63. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  64. package/dist/esm/sdk/models/operations/index.js +1 -0
  65. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  66. package/package.json +1 -1
  67. package/src/funcs/areasGetCoverage.ts +193 -0
  68. package/src/funcs/metricsGetMetricValues.ts +9 -8
  69. package/src/lib/config.ts +2 -2
  70. package/src/sdk/areas.ts +24 -0
  71. package/src/sdk/models/errors/getareacoverage.ts +264 -0
  72. package/src/sdk/models/errors/index.ts +1 -0
  73. package/src/sdk/models/operations/getareacoverage.ts +530 -0
  74. package/src/sdk/models/operations/getmetricvalues.ts +48 -102
  75. package/src/sdk/models/operations/index.ts +1 -0
@@ -0,0 +1,114 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v3";
5
+ import { SDKBaseError } from "./sdkbaseerror.js";
6
+ /**
7
+ * Error response format for failed requests
8
+ */
9
+ export class GetAreaCoverageAreasResponseResponseBody extends SDKBaseError {
10
+ constructor(err, httpMeta) {
11
+ const message = "message" in err && typeof err.message === "string"
12
+ ? err.message
13
+ : `API error occurred: ${JSON.stringify(err)}`;
14
+ super(message, httpMeta);
15
+ this.data$ = err;
16
+ if (err.code != null)
17
+ this.code = err.code;
18
+ if (err.details != null)
19
+ this.details = err.details;
20
+ this.error = err.error;
21
+ this.success = err.success;
22
+ this.name = "GetAreaCoverageAreasResponseResponseBody";
23
+ }
24
+ }
25
+ /**
26
+ * Error response format for failed requests
27
+ */
28
+ export class GetAreaCoverageAreasResponseBody extends SDKBaseError {
29
+ constructor(err, httpMeta) {
30
+ const message = "message" in err && typeof err.message === "string"
31
+ ? err.message
32
+ : `API error occurred: ${JSON.stringify(err)}`;
33
+ super(message, httpMeta);
34
+ this.data$ = err;
35
+ if (err.code != null)
36
+ this.code = err.code;
37
+ if (err.details != null)
38
+ this.details = err.details;
39
+ this.error = err.error;
40
+ this.success = err.success;
41
+ this.name = "GetAreaCoverageAreasResponseBody";
42
+ }
43
+ }
44
+ /**
45
+ * Error response format for failed requests
46
+ */
47
+ export class GetAreaCoverageResponseBody extends SDKBaseError {
48
+ constructor(err, httpMeta) {
49
+ const message = "message" in err && typeof err.message === "string"
50
+ ? err.message
51
+ : `API error occurred: ${JSON.stringify(err)}`;
52
+ super(message, httpMeta);
53
+ this.data$ = err;
54
+ if (err.code != null)
55
+ this.code = err.code;
56
+ if (err.details != null)
57
+ this.details = err.details;
58
+ this.error = err.error;
59
+ this.success = err.success;
60
+ this.name = "GetAreaCoverageResponseBody";
61
+ }
62
+ }
63
+ /** @internal */
64
+ export const GetAreaCoverageAreasResponseResponseBody$inboundSchema = z.object({
65
+ code: z.string().optional(),
66
+ details: z.string().optional(),
67
+ error: z.string(),
68
+ success: z.boolean(),
69
+ request$: z.instanceof(Request),
70
+ response$: z.instanceof(Response),
71
+ body$: z.string(),
72
+ })
73
+ .transform((v) => {
74
+ return new GetAreaCoverageAreasResponseResponseBody(v, {
75
+ request: v.request$,
76
+ response: v.response$,
77
+ body: v.body$,
78
+ });
79
+ });
80
+ /** @internal */
81
+ export const GetAreaCoverageAreasResponseBody$inboundSchema = z.object({
82
+ code: z.string().optional(),
83
+ details: z.string().optional(),
84
+ error: z.string(),
85
+ success: z.boolean(),
86
+ request$: z.instanceof(Request),
87
+ response$: z.instanceof(Response),
88
+ body$: z.string(),
89
+ })
90
+ .transform((v) => {
91
+ return new GetAreaCoverageAreasResponseBody(v, {
92
+ request: v.request$,
93
+ response: v.response$,
94
+ body: v.body$,
95
+ });
96
+ });
97
+ /** @internal */
98
+ export const GetAreaCoverageResponseBody$inboundSchema = z.object({
99
+ code: z.string().optional(),
100
+ details: z.string().optional(),
101
+ error: z.string(),
102
+ success: z.boolean(),
103
+ request$: z.instanceof(Request),
104
+ response$: z.instanceof(Response),
105
+ body$: z.string(),
106
+ })
107
+ .transform((v) => {
108
+ return new GetAreaCoverageResponseBody(v, {
109
+ request: v.request$,
110
+ response: v.response$,
111
+ body: v.body$,
112
+ });
113
+ });
114
+ //# sourceMappingURL=getareacoverage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getareacoverage.js","sourceRoot":"","sources":["../../../../../src/sdk/models/errors/getareacoverage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAwBjD;;GAEG;AACH,MAAM,OAAO,wCAAyC,SAAQ,YAAY;IAqBxE,YACE,GAAiD,EACjD,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,IAAI,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3C,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;YAAE,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAE3B,IAAI,CAAC,IAAI,GAAG,0CAA0C,CAAC;IACzD,CAAC;CACF;AAwBD;;GAEG;AACH,MAAM,OAAO,gCAAiC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AC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,gCAAgC,CAAC,CAAC,EAAE;QAC7C,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,2BAA2B,CAAC,CAAC,EAAE;QACxC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from "./aggregateproperties.js";
2
2
  export * from "./councilerrorresponse.js";
3
+ export * from "./getareacoverage.js";
3
4
  export * from "./getareasbyfieldandids.js";
4
5
  export * from "./getareaswithinradius.js";
5
6
  export * from "./getborderingareas.js";
@@ -1 +1 @@
1
- {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AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export * from "./aggregateproperties.js";
5
5
  export * from "./councilerrorresponse.js";
6
+ export * from "./getareacoverage.js";
6
7
  export * from "./getareasbyfieldandids.js";
7
8
  export * from "./getareaswithinradius.js";
8
9
  export * from "./getborderingareas.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/sdk/models/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C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B,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,408 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ /**
6
+ * Environmental or geographic layer type for coverage calculations
7
+ */
8
+ export declare const CoverageType: {
9
+ readonly FloodRisk: "flood_risk";
10
+ readonly NoiseRoadLden: "noise_road_lden";
11
+ readonly NoiseRailLden: "noise_rail_lden";
12
+ readonly NoiseIndustryLden: "noise_industry_lden";
13
+ readonly RadonLevel: "radon_level";
14
+ readonly Ramsar: "ramsar";
15
+ readonly SpecialAreaConservation: "special_area_conservation";
16
+ readonly SpecialProtectionArea: "special_protection_area";
17
+ readonly AncientWoodland: "ancient_woodland";
18
+ readonly NativeWoodlandSurvey: "native_woodland_survey";
19
+ readonly AreaNaturalBeauty: "area_natural_beauty";
20
+ readonly NationalScenicArea: "national_scenic_area";
21
+ readonly PriorityHabitats: "priority_habitats";
22
+ readonly ProtectedWoodlands: "protected_woodlands";
23
+ readonly Natura2000: "natura_2000";
24
+ readonly Aonb: "aonb";
25
+ readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
26
+ readonly HistoricLandfillSite: "historic_landfill_site";
27
+ readonly WorldHeritageSite: "world_heritage_site";
28
+ readonly ProtectedWreckSite: "protected_wreck_site";
29
+ readonly ScheduledMonument: "scheduled_monument";
30
+ readonly Battlefield: "battlefield";
31
+ readonly BrownfieldLand: "brownfield_land";
32
+ readonly GreenBelt: "green_belt";
33
+ readonly CommonLand: "common_land";
34
+ readonly BuiltUpArea250: "built_up_area_250";
35
+ readonly ParcelsGb: "parcels_gb";
36
+ readonly Building: "building";
37
+ };
38
+ /**
39
+ * Environmental or geographic layer type for coverage calculations
40
+ */
41
+ export type CoverageType = ClosedEnum<typeof CoverageType>;
42
+ /**
43
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
44
+ */
45
+ export declare const IntersectsWith: {
46
+ readonly Postcode: "postcode";
47
+ readonly Outcode: "outcode";
48
+ readonly UkOutputArea: "uk_output_area";
49
+ readonly Lsoa21: "lsoa21";
50
+ readonly Ward: "ward";
51
+ readonly Parish: "parish";
52
+ readonly LocalAuthorityDistrict: "local_authority_district";
53
+ readonly County: "county";
54
+ readonly Country: "country";
55
+ readonly CountyElectoralDivision: "county_electoral_division";
56
+ readonly DistrictBoroughUnitary: "district_borough_unitary";
57
+ readonly DistrictBoroughUnitaryWard: "district_borough_unitary_ward";
58
+ readonly LocalPlanningAuthority: "local_planning_authority";
59
+ readonly CeremonialCountiesRegion: "ceremonial_counties_region";
60
+ readonly EnglishRegion: "english_region";
61
+ readonly CountryRegion: "country_region";
62
+ readonly UnitaryElectoralDivision: "unitary_electoral_division";
63
+ readonly Province: "province";
64
+ readonly ElectoralDivision: "electoral_division";
65
+ readonly GreaterLondonConstituency: "greater_london_constituency";
66
+ readonly ScotlandAndWalesConstituency: "scotland_and_wales_constituency";
67
+ readonly ScotlandAndWalesRegion: "scotland_and_wales_region";
68
+ readonly WestminsterConstituency: "westminster_constituency";
69
+ readonly Building: "building";
70
+ readonly BuiltUpArea250: "built_up_area_250";
71
+ readonly GreenBelt: "green_belt";
72
+ readonly CommonLand: "common_land";
73
+ readonly ParcelsGb: "parcels_gb";
74
+ readonly FloodRisk: "flood_risk";
75
+ readonly Ramsar: "ramsar";
76
+ readonly Natura2000: "natura_2000";
77
+ readonly Aonb: "aonb";
78
+ readonly AreaNaturalBeauty: "area_natural_beauty";
79
+ readonly NationalScenicArea: "national_scenic_area";
80
+ readonly SpecialAreaConservation: "special_area_conservation";
81
+ readonly SpecialProtectionArea: "special_protection_area";
82
+ readonly AncientWoodland: "ancient_woodland";
83
+ readonly NativeWoodlandSurvey: "native_woodland_survey";
84
+ readonly PriorityHabitats: "priority_habitats";
85
+ readonly ProtectedWoodlands: "protected_woodlands";
86
+ readonly ProtectedWoodland: "protected_woodland";
87
+ readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
88
+ readonly WorldHeritageSite: "world_heritage_site";
89
+ readonly ScheduledMonument: "scheduled_monument";
90
+ readonly Battlefield: "battlefield";
91
+ readonly ProtectedWreckSite: "protected_wreck_site";
92
+ readonly HistoricLandfillSite: "historic_landfill_site";
93
+ readonly RadonLevel: "radon_level";
94
+ readonly BrownfieldLand: "brownfield_land";
95
+ readonly NoiseRailLden: "noise_rail_lden";
96
+ readonly NoiseRoadLden: "noise_road_lden";
97
+ readonly NoiseIndustryLden: "noise_industry_lden";
98
+ };
99
+ /**
100
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
101
+ */
102
+ export type IntersectsWith = ClosedEnum<typeof IntersectsWith>;
103
+ export type GetAreaCoverageRequest = {
104
+ /**
105
+ * Coverage layer type for environmental coverage analysis (e.g., flood_risk, noise_road_lden). Mutually exclusive with targetCode.
106
+ */
107
+ coverageType?: CoverageType | undefined;
108
+ /**
109
+ * Entity type to calculate intersection coverage for (e.g., building, parcels_gb). Only applicable with coverageType.
110
+ */
111
+ intersectsWith?: IntersectsWith | undefined;
112
+ /**
113
+ * Source geography code to analyse coverage for (e.g., E05000001 for a ward)
114
+ */
115
+ sourceCode: string;
116
+ /**
117
+ * Target geography code for geography-to-geography coverage calculation. Mutually exclusive with coverageType.
118
+ */
119
+ targetCode?: string | undefined;
120
+ };
121
+ /**
122
+ * Additional metadata about the coverage result
123
+ */
124
+ export type GetAreaCoverageMetadata = {
125
+ /**
126
+ * Category name for categorised data (e.g., high, medium, low)
127
+ */
128
+ category?: string | undefined;
129
+ /**
130
+ * Component layer types for composite coverage types
131
+ */
132
+ componentLayers?: Array<string> | undefined;
133
+ /**
134
+ * Decibel range for noise coverage (e.g., '<55dB', '55-70dB', '>70dB')
135
+ */
136
+ dbRange?: string | undefined;
137
+ /**
138
+ * Count of entities affected (for intersectsWith queries)
139
+ */
140
+ entityCount?: number | undefined;
141
+ /**
142
+ * Number of features contributing to this coverage result
143
+ */
144
+ featureCount?: number | undefined;
145
+ /**
146
+ * Total count of entities in source area (for intersectsWith queries)
147
+ */
148
+ totalEntities?: number | undefined;
149
+ };
150
+ /**
151
+ * Individual coverage calculation result
152
+ */
153
+ export type Coverage = {
154
+ /**
155
+ * Area covered in square metres
156
+ */
157
+ area: number;
158
+ /**
159
+ * Identifier for the coverage area (e.g., 'flood_risk_high', 'E06000001', '<55dB')
160
+ */
161
+ identifier: string;
162
+ /**
163
+ * Additional metadata about the coverage result
164
+ */
165
+ metadata?: GetAreaCoverageMetadata | undefined;
166
+ /**
167
+ * Coverage percentage of the relevant area (source area or intersecting entities)
168
+ */
169
+ percentage: number;
170
+ };
171
+ /**
172
+ * Environmental or geographic layer type for coverage calculations
173
+ */
174
+ export declare const GetAreaCoverageCoverageType: {
175
+ readonly FloodRisk: "flood_risk";
176
+ readonly NoiseRoadLden: "noise_road_lden";
177
+ readonly NoiseRailLden: "noise_rail_lden";
178
+ readonly NoiseIndustryLden: "noise_industry_lden";
179
+ readonly RadonLevel: "radon_level";
180
+ readonly Ramsar: "ramsar";
181
+ readonly SpecialAreaConservation: "special_area_conservation";
182
+ readonly SpecialProtectionArea: "special_protection_area";
183
+ readonly AncientWoodland: "ancient_woodland";
184
+ readonly NativeWoodlandSurvey: "native_woodland_survey";
185
+ readonly AreaNaturalBeauty: "area_natural_beauty";
186
+ readonly NationalScenicArea: "national_scenic_area";
187
+ readonly PriorityHabitats: "priority_habitats";
188
+ readonly ProtectedWoodlands: "protected_woodlands";
189
+ readonly Natura2000: "natura_2000";
190
+ readonly Aonb: "aonb";
191
+ readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
192
+ readonly HistoricLandfillSite: "historic_landfill_site";
193
+ readonly WorldHeritageSite: "world_heritage_site";
194
+ readonly ProtectedWreckSite: "protected_wreck_site";
195
+ readonly ScheduledMonument: "scheduled_monument";
196
+ readonly Battlefield: "battlefield";
197
+ readonly BrownfieldLand: "brownfield_land";
198
+ readonly GreenBelt: "green_belt";
199
+ readonly CommonLand: "common_land";
200
+ readonly BuiltUpArea250: "built_up_area_250";
201
+ readonly ParcelsGb: "parcels_gb";
202
+ readonly Building: "building";
203
+ };
204
+ /**
205
+ * Environmental or geographic layer type for coverage calculations
206
+ */
207
+ export type GetAreaCoverageCoverageType = OpenEnum<typeof GetAreaCoverageCoverageType>;
208
+ /**
209
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
210
+ */
211
+ export declare const GetAreaCoverageIntersectsWith: {
212
+ readonly Postcode: "postcode";
213
+ readonly Outcode: "outcode";
214
+ readonly UkOutputArea: "uk_output_area";
215
+ readonly Lsoa21: "lsoa21";
216
+ readonly Ward: "ward";
217
+ readonly Parish: "parish";
218
+ readonly LocalAuthorityDistrict: "local_authority_district";
219
+ readonly County: "county";
220
+ readonly Country: "country";
221
+ readonly CountyElectoralDivision: "county_electoral_division";
222
+ readonly DistrictBoroughUnitary: "district_borough_unitary";
223
+ readonly DistrictBoroughUnitaryWard: "district_borough_unitary_ward";
224
+ readonly LocalPlanningAuthority: "local_planning_authority";
225
+ readonly CeremonialCountiesRegion: "ceremonial_counties_region";
226
+ readonly EnglishRegion: "english_region";
227
+ readonly CountryRegion: "country_region";
228
+ readonly UnitaryElectoralDivision: "unitary_electoral_division";
229
+ readonly Province: "province";
230
+ readonly ElectoralDivision: "electoral_division";
231
+ readonly GreaterLondonConstituency: "greater_london_constituency";
232
+ readonly ScotlandAndWalesConstituency: "scotland_and_wales_constituency";
233
+ readonly ScotlandAndWalesRegion: "scotland_and_wales_region";
234
+ readonly WestminsterConstituency: "westminster_constituency";
235
+ readonly Building: "building";
236
+ readonly BuiltUpArea250: "built_up_area_250";
237
+ readonly GreenBelt: "green_belt";
238
+ readonly CommonLand: "common_land";
239
+ readonly ParcelsGb: "parcels_gb";
240
+ readonly FloodRisk: "flood_risk";
241
+ readonly Ramsar: "ramsar";
242
+ readonly Natura2000: "natura_2000";
243
+ readonly Aonb: "aonb";
244
+ readonly AreaNaturalBeauty: "area_natural_beauty";
245
+ readonly NationalScenicArea: "national_scenic_area";
246
+ readonly SpecialAreaConservation: "special_area_conservation";
247
+ readonly SpecialProtectionArea: "special_protection_area";
248
+ readonly AncientWoodland: "ancient_woodland";
249
+ readonly NativeWoodlandSurvey: "native_woodland_survey";
250
+ readonly PriorityHabitats: "priority_habitats";
251
+ readonly ProtectedWoodlands: "protected_woodlands";
252
+ readonly ProtectedWoodland: "protected_woodland";
253
+ readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
254
+ readonly WorldHeritageSite: "world_heritage_site";
255
+ readonly ScheduledMonument: "scheduled_monument";
256
+ readonly Battlefield: "battlefield";
257
+ readonly ProtectedWreckSite: "protected_wreck_site";
258
+ readonly HistoricLandfillSite: "historic_landfill_site";
259
+ readonly RadonLevel: "radon_level";
260
+ readonly BrownfieldLand: "brownfield_land";
261
+ readonly NoiseRailLden: "noise_rail_lden";
262
+ readonly NoiseRoadLden: "noise_road_lden";
263
+ readonly NoiseIndustryLden: "noise_industry_lden";
264
+ };
265
+ /**
266
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
267
+ */
268
+ export type GetAreaCoverageIntersectsWith = OpenEnum<typeof GetAreaCoverageIntersectsWith>;
269
+ /**
270
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
271
+ */
272
+ export declare const SourceType: {
273
+ readonly Postcode: "postcode";
274
+ readonly Outcode: "outcode";
275
+ readonly UkOutputArea: "uk_output_area";
276
+ readonly Lsoa21: "lsoa21";
277
+ readonly Ward: "ward";
278
+ readonly Parish: "parish";
279
+ readonly LocalAuthorityDistrict: "local_authority_district";
280
+ readonly County: "county";
281
+ readonly Country: "country";
282
+ readonly CountyElectoralDivision: "county_electoral_division";
283
+ readonly DistrictBoroughUnitary: "district_borough_unitary";
284
+ readonly DistrictBoroughUnitaryWard: "district_borough_unitary_ward";
285
+ readonly LocalPlanningAuthority: "local_planning_authority";
286
+ readonly CeremonialCountiesRegion: "ceremonial_counties_region";
287
+ readonly EnglishRegion: "english_region";
288
+ readonly CountryRegion: "country_region";
289
+ readonly UnitaryElectoralDivision: "unitary_electoral_division";
290
+ readonly Province: "province";
291
+ readonly ElectoralDivision: "electoral_division";
292
+ readonly GreaterLondonConstituency: "greater_london_constituency";
293
+ readonly ScotlandAndWalesConstituency: "scotland_and_wales_constituency";
294
+ readonly ScotlandAndWalesRegion: "scotland_and_wales_region";
295
+ readonly WestminsterConstituency: "westminster_constituency";
296
+ readonly Building: "building";
297
+ readonly BuiltUpArea250: "built_up_area_250";
298
+ readonly GreenBelt: "green_belt";
299
+ readonly CommonLand: "common_land";
300
+ readonly ParcelsGb: "parcels_gb";
301
+ readonly FloodRisk: "flood_risk";
302
+ readonly Ramsar: "ramsar";
303
+ readonly Natura2000: "natura_2000";
304
+ readonly Aonb: "aonb";
305
+ readonly AreaNaturalBeauty: "area_natural_beauty";
306
+ readonly NationalScenicArea: "national_scenic_area";
307
+ readonly SpecialAreaConservation: "special_area_conservation";
308
+ readonly SpecialProtectionArea: "special_protection_area";
309
+ readonly AncientWoodland: "ancient_woodland";
310
+ readonly NativeWoodlandSurvey: "native_woodland_survey";
311
+ readonly PriorityHabitats: "priority_habitats";
312
+ readonly ProtectedWoodlands: "protected_woodlands";
313
+ readonly ProtectedWoodland: "protected_woodland";
314
+ readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
315
+ readonly WorldHeritageSite: "world_heritage_site";
316
+ readonly ScheduledMonument: "scheduled_monument";
317
+ readonly Battlefield: "battlefield";
318
+ readonly ProtectedWreckSite: "protected_wreck_site";
319
+ readonly HistoricLandfillSite: "historic_landfill_site";
320
+ readonly RadonLevel: "radon_level";
321
+ readonly BrownfieldLand: "brownfield_land";
322
+ readonly NoiseRailLden: "noise_rail_lden";
323
+ readonly NoiseRoadLden: "noise_road_lden";
324
+ readonly NoiseIndustryLden: "noise_industry_lden";
325
+ };
326
+ /**
327
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
328
+ */
329
+ export type SourceType = OpenEnum<typeof SourceType>;
330
+ /**
331
+ * Response containing coverage analysis for a geographic area. Returns either geography-to-geography overlap or environmental layer coverage depending on query parameters.
332
+ */
333
+ export type GetAreaCoverageResponseBody = {
334
+ /**
335
+ * Array of coverage calculation results
336
+ */
337
+ coverage: Array<Coverage>;
338
+ /**
339
+ * Environmental or geographic layer type for coverage calculations
340
+ */
341
+ coverageType?: GetAreaCoverageCoverageType | undefined;
342
+ /**
343
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
344
+ */
345
+ intersectsWith?: GetAreaCoverageIntersectsWith | undefined;
346
+ /**
347
+ * Optional message providing additional context about the response
348
+ */
349
+ message?: string | undefined;
350
+ /**
351
+ * Total area of source geography in square metres
352
+ */
353
+ sourceArea: number;
354
+ /**
355
+ * Source geography code that was analysed
356
+ */
357
+ sourceCode: string;
358
+ /**
359
+ * Human-readable name of the source geography
360
+ */
361
+ sourceName: string;
362
+ /**
363
+ * Layer type - supports postcodes, outcodes (e.g., SW1A), ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
364
+ */
365
+ sourceType: SourceType;
366
+ /**
367
+ * Indicates whether the request was successful
368
+ */
369
+ success: boolean;
370
+ /**
371
+ * Target geography code (for geography-to-geography queries)
372
+ */
373
+ targetCode?: string | undefined;
374
+ /**
375
+ * Target geography name (for geography-to-geography queries)
376
+ */
377
+ targetName?: string | undefined;
378
+ };
379
+ /** @internal */
380
+ export declare const CoverageType$outboundSchema: z.ZodNativeEnum<typeof CoverageType>;
381
+ /** @internal */
382
+ export declare const IntersectsWith$outboundSchema: z.ZodNativeEnum<typeof IntersectsWith>;
383
+ /** @internal */
384
+ export type GetAreaCoverageRequest$Outbound = {
385
+ coverageType?: string | undefined;
386
+ intersectsWith?: string | undefined;
387
+ sourceCode: string;
388
+ targetCode?: string | undefined;
389
+ };
390
+ /** @internal */
391
+ export declare const GetAreaCoverageRequest$outboundSchema: z.ZodType<GetAreaCoverageRequest$Outbound, z.ZodTypeDef, GetAreaCoverageRequest>;
392
+ export declare function getAreaCoverageRequestToJSON(getAreaCoverageRequest: GetAreaCoverageRequest): string;
393
+ /** @internal */
394
+ export declare const GetAreaCoverageMetadata$inboundSchema: z.ZodType<GetAreaCoverageMetadata, z.ZodTypeDef, unknown>;
395
+ export declare function getAreaCoverageMetadataFromJSON(jsonString: string): SafeParseResult<GetAreaCoverageMetadata, SDKValidationError>;
396
+ /** @internal */
397
+ export declare const Coverage$inboundSchema: z.ZodType<Coverage, z.ZodTypeDef, unknown>;
398
+ export declare function coverageFromJSON(jsonString: string): SafeParseResult<Coverage, SDKValidationError>;
399
+ /** @internal */
400
+ export declare const GetAreaCoverageCoverageType$inboundSchema: z.ZodType<GetAreaCoverageCoverageType, z.ZodTypeDef, unknown>;
401
+ /** @internal */
402
+ export declare const GetAreaCoverageIntersectsWith$inboundSchema: z.ZodType<GetAreaCoverageIntersectsWith, z.ZodTypeDef, unknown>;
403
+ /** @internal */
404
+ export declare const SourceType$inboundSchema: z.ZodType<SourceType, z.ZodTypeDef, unknown>;
405
+ /** @internal */
406
+ export declare const GetAreaCoverageResponseBody$inboundSchema: z.ZodType<GetAreaCoverageResponseBody, z.ZodTypeDef, unknown>;
407
+ export declare function getAreaCoverageResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAreaCoverageResponseBody, SDKValidationError>;
408
+ //# sourceMappingURL=getareacoverage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getareacoverage.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/operations/getareacoverage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,O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