@vepler/sdk 2.30.0 → 2.30.4
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/commonjs/funcs/metricsGetMetricValues.js +9 -8
- package/dist/commonjs/funcs/metricsGetMetricValues.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts +19 -7
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js +5 -2
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts +19 -7
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js +5 -2
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts +38 -14
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getborderingareas.js +10 -4
- package/dist/commonjs/sdk/models/operations/getborderingareas.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts +38 -14
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getchildareas.js +10 -4
- package/dist/commonjs/sdk/models/operations/getchildareas.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts +36 -85
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js +12 -70
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js.map +1 -1
- package/dist/esm/funcs/metricsGetMetricValues.js +9 -8
- package/dist/esm/funcs/metricsGetMetricValues.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts +19 -7
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js +5 -2
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js.map +1 -1
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts +19 -7
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getareaswithinradius.js +5 -2
- package/dist/esm/sdk/models/operations/getareaswithinradius.js.map +1 -1
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts +38 -14
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getborderingareas.js +10 -4
- package/dist/esm/sdk/models/operations/getborderingareas.js.map +1 -1
- package/dist/esm/sdk/models/operations/getchildareas.d.ts +38 -14
- package/dist/esm/sdk/models/operations/getchildareas.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getchildareas.js +10 -4
- package/dist/esm/sdk/models/operations/getchildareas.js.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts +36 -85
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricvalues.js +11 -69
- package/dist/esm/sdk/models/operations/getmetricvalues.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/metricsGetMetricValues.ts +9 -8
- package/src/lib/config.ts +2 -2
- package/src/sdk/models/operations/getareasbyfieldandids.ts +24 -9
- package/src/sdk/models/operations/getareaswithinradius.ts +24 -9
- package/src/sdk/models/operations/getborderingareas.ts +48 -18
- package/src/sdk/models/operations/getchildareas.ts +48 -18
- package/src/sdk/models/operations/getmetricvalues.ts +48 -102
|
@@ -1,84 +1,36 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import {
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* 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
|
|
7
|
-
*/
|
|
8
|
-
export declare const GeographicType: {
|
|
9
|
-
readonly Postcode: "postcode";
|
|
10
|
-
readonly Outcode: "outcode";
|
|
11
|
-
readonly UkOutputArea: "uk_output_area";
|
|
12
|
-
readonly Lsoa21: "lsoa21";
|
|
13
|
-
readonly Ward: "ward";
|
|
14
|
-
readonly Parish: "parish";
|
|
15
|
-
readonly LocalAuthorityDistrict: "local_authority_district";
|
|
16
|
-
readonly County: "county";
|
|
17
|
-
readonly Country: "country";
|
|
18
|
-
readonly CountyElectoralDivision: "county_electoral_division";
|
|
19
|
-
readonly DistrictBoroughUnitary: "district_borough_unitary";
|
|
20
|
-
readonly DistrictBoroughUnitaryWard: "district_borough_unitary_ward";
|
|
21
|
-
readonly LocalPlanningAuthority: "local_planning_authority";
|
|
22
|
-
readonly CeremonialCountiesRegion: "ceremonial_counties_region";
|
|
23
|
-
readonly EnglishRegion: "english_region";
|
|
24
|
-
readonly CountryRegion: "country_region";
|
|
25
|
-
readonly UnitaryElectoralDivision: "unitary_electoral_division";
|
|
26
|
-
readonly Province: "province";
|
|
27
|
-
readonly ElectoralDivision: "electoral_division";
|
|
28
|
-
readonly GreaterLondonConstituency: "greater_london_constituency";
|
|
29
|
-
readonly ScotlandAndWalesConstituency: "scotland_and_wales_constituency";
|
|
30
|
-
readonly ScotlandAndWalesRegion: "scotland_and_wales_region";
|
|
31
|
-
readonly WestminsterConstituency: "westminster_constituency";
|
|
32
|
-
readonly Building: "building";
|
|
33
|
-
readonly BuiltUpArea250: "built_up_area_250";
|
|
34
|
-
readonly GreenBelt: "green_belt";
|
|
35
|
-
readonly CommonLand: "common_land";
|
|
36
|
-
readonly ParcelsGb: "parcels_gb";
|
|
37
|
-
readonly FloodRisk: "flood_risk";
|
|
38
|
-
readonly Ramsar: "ramsar";
|
|
39
|
-
readonly Natura2000: "natura_2000";
|
|
40
|
-
readonly Aonb: "aonb";
|
|
41
|
-
readonly AreaNaturalBeauty: "area_natural_beauty";
|
|
42
|
-
readonly NationalScenicArea: "national_scenic_area";
|
|
43
|
-
readonly SpecialAreaConservation: "special_area_conservation";
|
|
44
|
-
readonly SpecialProtectionArea: "special_protection_area";
|
|
45
|
-
readonly AncientWoodland: "ancient_woodland";
|
|
46
|
-
readonly NativeWoodlandSurvey: "native_woodland_survey";
|
|
47
|
-
readonly PriorityHabitats: "priority_habitats";
|
|
48
|
-
readonly ProtectedWoodlands: "protected_woodlands";
|
|
49
|
-
readonly ProtectedWoodland: "protected_woodland";
|
|
50
|
-
readonly ProtectedScenicLandscapes: "protected_scenic_landscapes";
|
|
51
|
-
readonly WorldHeritageSite: "world_heritage_site";
|
|
52
|
-
readonly ScheduledMonument: "scheduled_monument";
|
|
53
|
-
readonly Battlefield: "battlefield";
|
|
54
|
-
readonly ProtectedWreckSite: "protected_wreck_site";
|
|
55
|
-
readonly HistoricLandfillSite: "historic_landfill_site";
|
|
56
|
-
readonly RadonLevel: "radon_level";
|
|
57
|
-
readonly BrownfieldLand: "brownfield_land";
|
|
58
|
-
readonly NoiseRailLden: "noise_rail_lden";
|
|
59
|
-
readonly NoiseRoadLden: "noise_road_lden";
|
|
60
|
-
readonly NoiseIndustryLden: "noise_industry_lden";
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* 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
|
|
64
|
-
*/
|
|
65
|
-
export type GeographicType = ClosedEnum<typeof GeographicType>;
|
|
66
5
|
export type GetMetricValuesRequest = {
|
|
67
6
|
category?: string | undefined;
|
|
68
|
-
|
|
69
|
-
|
|
7
|
+
endMonth?: number | null | undefined;
|
|
8
|
+
endYear?: number | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Geographic entity IDs (comma-separated)
|
|
11
|
+
*/
|
|
12
|
+
geographicEntityIds?: string | undefined;
|
|
70
13
|
/**
|
|
71
|
-
*
|
|
14
|
+
* Geographic entity types to filter by (comma-separated)
|
|
72
15
|
*/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
16
|
+
geographicEntityTypes?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Include geographic entity information in response
|
|
19
|
+
*/
|
|
20
|
+
includeGeographicEntity?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Include metric metadata in response
|
|
23
|
+
*/
|
|
24
|
+
includeMetric?: string | undefined;
|
|
76
25
|
limit?: string | undefined;
|
|
77
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Metric identifiers to retrieve (comma-separated)
|
|
28
|
+
*/
|
|
29
|
+
metricIds?: string | undefined;
|
|
78
30
|
metricName?: string | undefined;
|
|
79
31
|
offset?: string | undefined;
|
|
80
|
-
|
|
81
|
-
|
|
32
|
+
startMonth?: number | null | undefined;
|
|
33
|
+
startYear?: number | null | undefined;
|
|
82
34
|
};
|
|
83
35
|
export type Pagination = {
|
|
84
36
|
hasMore: boolean;
|
|
@@ -89,7 +41,7 @@ export type Pagination = {
|
|
|
89
41
|
/**
|
|
90
42
|
* 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
|
|
91
43
|
*/
|
|
92
|
-
export declare const
|
|
44
|
+
export declare const GeographicType: {
|
|
93
45
|
readonly Postcode: "postcode";
|
|
94
46
|
readonly Outcode: "outcode";
|
|
95
47
|
readonly UkOutputArea: "uk_output_area";
|
|
@@ -146,7 +98,7 @@ export declare const GetMetricValuesGeographicType: {
|
|
|
146
98
|
/**
|
|
147
99
|
* 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
|
|
148
100
|
*/
|
|
149
|
-
export type
|
|
101
|
+
export type GeographicType = OpenEnum<typeof GeographicType>;
|
|
150
102
|
/**
|
|
151
103
|
* 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
|
|
152
104
|
*/
|
|
@@ -257,7 +209,7 @@ export type GetMetricValuesResult = {
|
|
|
257
209
|
/**
|
|
258
210
|
* 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
|
|
259
211
|
*/
|
|
260
|
-
geographicType:
|
|
212
|
+
geographicType: GeographicType;
|
|
261
213
|
geography?: Geography | undefined;
|
|
262
214
|
id: number;
|
|
263
215
|
metadata?: {
|
|
@@ -285,21 +237,20 @@ export type GetMetricValuesResponseBody = {
|
|
|
285
237
|
success: boolean;
|
|
286
238
|
};
|
|
287
239
|
/** @internal */
|
|
288
|
-
export declare const GeographicType$outboundSchema: z.ZodNativeEnum<typeof GeographicType>;
|
|
289
|
-
/** @internal */
|
|
290
240
|
export type GetMetricValuesRequest$Outbound = {
|
|
291
241
|
category?: string | undefined;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
242
|
+
endMonth?: number | null | undefined;
|
|
243
|
+
endYear?: number | null | undefined;
|
|
244
|
+
geographicEntityIds?: string | undefined;
|
|
245
|
+
geographicEntityTypes?: string | undefined;
|
|
246
|
+
includeGeographicEntity?: string | undefined;
|
|
247
|
+
includeMetric?: string | undefined;
|
|
297
248
|
limit: string;
|
|
298
|
-
|
|
249
|
+
metricIds?: string | undefined;
|
|
299
250
|
metricName?: string | undefined;
|
|
300
251
|
offset: string;
|
|
301
|
-
|
|
302
|
-
|
|
252
|
+
startMonth?: number | null | undefined;
|
|
253
|
+
startYear?: number | null | undefined;
|
|
303
254
|
};
|
|
304
255
|
/** @internal */
|
|
305
256
|
export declare const GetMetricValuesRequest$outboundSchema: z.ZodType<GetMetricValuesRequest$Outbound, z.ZodTypeDef, GetMetricValuesRequest>;
|
|
@@ -308,7 +259,7 @@ export declare function getMetricValuesRequestToJSON(getMetricValuesRequest: Get
|
|
|
308
259
|
export declare const Pagination$inboundSchema: z.ZodType<Pagination, z.ZodTypeDef, unknown>;
|
|
309
260
|
export declare function paginationFromJSON(jsonString: string): SafeParseResult<Pagination, SDKValidationError>;
|
|
310
261
|
/** @internal */
|
|
311
|
-
export declare const
|
|
262
|
+
export declare const GeographicType$inboundSchema: z.ZodType<GeographicType, z.ZodTypeDef, unknown>;
|
|
312
263
|
/** @internal */
|
|
313
264
|
export declare const GetMetricValuesType$inboundSchema: z.ZodType<GetMetricValuesType, z.ZodTypeDef, unknown>;
|
|
314
265
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getmetricvalues.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/operations/getmetricvalues.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getmetricvalues.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/operations/getmetricvalues.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,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,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CACoC,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,SAAS,EACT,CAAC,CAAC,UAAU,EACZ,OAAO,CAC6B,CAAC;AAEvC,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAYtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -61,63 +61,6 @@ export const GeographicType = {
|
|
|
61
61
|
NoiseRoadLden: "noise_road_lden",
|
|
62
62
|
NoiseIndustryLden: "noise_industry_lden",
|
|
63
63
|
};
|
|
64
|
-
/**
|
|
65
|
-
* 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
|
|
66
|
-
*/
|
|
67
|
-
export const GetMetricValuesGeographicType = {
|
|
68
|
-
Postcode: "postcode",
|
|
69
|
-
Outcode: "outcode",
|
|
70
|
-
UkOutputArea: "uk_output_area",
|
|
71
|
-
Lsoa21: "lsoa21",
|
|
72
|
-
Ward: "ward",
|
|
73
|
-
Parish: "parish",
|
|
74
|
-
LocalAuthorityDistrict: "local_authority_district",
|
|
75
|
-
County: "county",
|
|
76
|
-
Country: "country",
|
|
77
|
-
CountyElectoralDivision: "county_electoral_division",
|
|
78
|
-
DistrictBoroughUnitary: "district_borough_unitary",
|
|
79
|
-
DistrictBoroughUnitaryWard: "district_borough_unitary_ward",
|
|
80
|
-
LocalPlanningAuthority: "local_planning_authority",
|
|
81
|
-
CeremonialCountiesRegion: "ceremonial_counties_region",
|
|
82
|
-
EnglishRegion: "english_region",
|
|
83
|
-
CountryRegion: "country_region",
|
|
84
|
-
UnitaryElectoralDivision: "unitary_electoral_division",
|
|
85
|
-
Province: "province",
|
|
86
|
-
ElectoralDivision: "electoral_division",
|
|
87
|
-
GreaterLondonConstituency: "greater_london_constituency",
|
|
88
|
-
ScotlandAndWalesConstituency: "scotland_and_wales_constituency",
|
|
89
|
-
ScotlandAndWalesRegion: "scotland_and_wales_region",
|
|
90
|
-
WestminsterConstituency: "westminster_constituency",
|
|
91
|
-
Building: "building",
|
|
92
|
-
BuiltUpArea250: "built_up_area_250",
|
|
93
|
-
GreenBelt: "green_belt",
|
|
94
|
-
CommonLand: "common_land",
|
|
95
|
-
ParcelsGb: "parcels_gb",
|
|
96
|
-
FloodRisk: "flood_risk",
|
|
97
|
-
Ramsar: "ramsar",
|
|
98
|
-
Natura2000: "natura_2000",
|
|
99
|
-
Aonb: "aonb",
|
|
100
|
-
AreaNaturalBeauty: "area_natural_beauty",
|
|
101
|
-
NationalScenicArea: "national_scenic_area",
|
|
102
|
-
SpecialAreaConservation: "special_area_conservation",
|
|
103
|
-
SpecialProtectionArea: "special_protection_area",
|
|
104
|
-
AncientWoodland: "ancient_woodland",
|
|
105
|
-
NativeWoodlandSurvey: "native_woodland_survey",
|
|
106
|
-
PriorityHabitats: "priority_habitats",
|
|
107
|
-
ProtectedWoodlands: "protected_woodlands",
|
|
108
|
-
ProtectedWoodland: "protected_woodland",
|
|
109
|
-
ProtectedScenicLandscapes: "protected_scenic_landscapes",
|
|
110
|
-
WorldHeritageSite: "world_heritage_site",
|
|
111
|
-
ScheduledMonument: "scheduled_monument",
|
|
112
|
-
Battlefield: "battlefield",
|
|
113
|
-
ProtectedWreckSite: "protected_wreck_site",
|
|
114
|
-
HistoricLandfillSite: "historic_landfill_site",
|
|
115
|
-
RadonLevel: "radon_level",
|
|
116
|
-
BrownfieldLand: "brownfield_land",
|
|
117
|
-
NoiseRailLden: "noise_rail_lden",
|
|
118
|
-
NoiseRoadLden: "noise_road_lden",
|
|
119
|
-
NoiseIndustryLden: "noise_industry_lden",
|
|
120
|
-
};
|
|
121
64
|
/**
|
|
122
65
|
* 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
|
|
123
66
|
*/
|
|
@@ -194,21 +137,20 @@ export const Frequency = {
|
|
|
194
137
|
Irregular: "irregular",
|
|
195
138
|
};
|
|
196
139
|
/** @internal */
|
|
197
|
-
export const GeographicType$outboundSchema = z.nativeEnum(GeographicType);
|
|
198
|
-
/** @internal */
|
|
199
140
|
export const GetMetricValuesRequest$outboundSchema = z.object({
|
|
200
141
|
category: z.string().optional(),
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
142
|
+
endMonth: z.nullable(z.number()).optional(),
|
|
143
|
+
endYear: z.nullable(z.number()).optional(),
|
|
144
|
+
geographicEntityIds: z.string().optional(),
|
|
145
|
+
geographicEntityTypes: z.string().optional(),
|
|
146
|
+
includeGeographicEntity: z.string().optional(),
|
|
147
|
+
includeMetric: z.string().optional(),
|
|
206
148
|
limit: z.string().default("100"),
|
|
207
|
-
|
|
149
|
+
metricIds: z.string().optional(),
|
|
208
150
|
metricName: z.string().optional(),
|
|
209
151
|
offset: z.string().default("0"),
|
|
210
|
-
|
|
211
|
-
|
|
152
|
+
startMonth: z.nullable(z.number()).optional(),
|
|
153
|
+
startYear: z.nullable(z.number()).optional(),
|
|
212
154
|
});
|
|
213
155
|
export function getMetricValuesRequestToJSON(getMetricValuesRequest) {
|
|
214
156
|
return JSON.stringify(GetMetricValuesRequest$outboundSchema.parse(getMetricValuesRequest));
|
|
@@ -224,7 +166,7 @@ export function paginationFromJSON(jsonString) {
|
|
|
224
166
|
return safeParse(jsonString, (x) => Pagination$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Pagination' from JSON`);
|
|
225
167
|
}
|
|
226
168
|
/** @internal */
|
|
227
|
-
export const
|
|
169
|
+
export const GeographicType$inboundSchema = openEnums.inboundSchema(GeographicType);
|
|
228
170
|
/** @internal */
|
|
229
171
|
export const GetMetricValuesType$inboundSchema = openEnums.inboundSchema(GetMetricValuesType);
|
|
230
172
|
/** @internal */
|
|
@@ -262,7 +204,7 @@ export const GetMetricValuesResult$inboundSchema = z.object({
|
|
|
262
204
|
confidence: z.nullable(z.number()),
|
|
263
205
|
createdAt: z.string(),
|
|
264
206
|
geographicCode: z.string(),
|
|
265
|
-
geographicType:
|
|
207
|
+
geographicType: GeographicType$inboundSchema,
|
|
266
208
|
geography: z.lazy(() => Geography$inboundSchema).optional(),
|
|
267
209
|
id: z.number(),
|
|
268
210
|
metadata: z.nullable(z.record(z.nullable(z.any()))).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getmetricvalues.js","sourceRoot":"","sources":["../../../../../src/sdk/models/operations/getmetricvalues.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;
|
|
1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CAAC,mCAAmC,CAAC,CAAC;IAClE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -95,17 +95,18 @@ async function $do(
|
|
|
95
95
|
|
|
96
96
|
const query = encodeFormQuery({
|
|
97
97
|
"category": payload?.category,
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
98
|
+
"endMonth": payload?.endMonth,
|
|
99
|
+
"endYear": payload?.endYear,
|
|
100
|
+
"geographicEntityIds": payload?.geographicEntityIds,
|
|
101
|
+
"geographicEntityTypes": payload?.geographicEntityTypes,
|
|
102
|
+
"includeGeographicEntity": payload?.includeGeographicEntity,
|
|
103
|
+
"includeMetric": payload?.includeMetric,
|
|
103
104
|
"limit": payload?.limit,
|
|
104
|
-
"
|
|
105
|
+
"metricIds": payload?.metricIds,
|
|
105
106
|
"metricName": payload?.metricName,
|
|
106
107
|
"offset": payload?.offset,
|
|
107
|
-
"
|
|
108
|
-
"
|
|
108
|
+
"startMonth": payload?.startMonth,
|
|
109
|
+
"startYear": payload?.startYear,
|
|
109
110
|
});
|
|
110
111
|
|
|
111
112
|
const headers = new Headers(compactMap({
|
package/src/lib/config.ts
CHANGED
|
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
60
60
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
|
-
openapiDocVersion: "2.30.
|
|
63
|
+
openapiDocVersion: "2.30.4",
|
|
64
64
|
sdkVersion: "0.8.0",
|
|
65
65
|
genVersion: "2.801.2",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.30.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.30.4 @vepler/sdk",
|
|
67
67
|
} as const;
|
|
@@ -46,21 +46,33 @@ export type GetAreasByFieldAndIdsRequest = {
|
|
|
46
46
|
|
|
47
47
|
export type Hierarchy = {
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Human-readable category name
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
categoryName?: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Display name for the area
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
displayName?: string | undefined;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Unique identifier/code of the area at this hierarchy level
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
entityId: string;
|
|
60
|
+
/**
|
|
61
|
+
* Full name of the entity
|
|
62
|
+
*/
|
|
63
|
+
entityName?: string | undefined;
|
|
60
64
|
/**
|
|
61
65
|
* Geographic type at this level
|
|
62
66
|
*/
|
|
63
|
-
|
|
67
|
+
entityType: string;
|
|
68
|
+
/**
|
|
69
|
+
* Hierarchy level (0 = finest granularity like output_area, higher numbers = broader areas like country)
|
|
70
|
+
*/
|
|
71
|
+
level: number;
|
|
72
|
+
/**
|
|
73
|
+
* Category name at this hierarchy level
|
|
74
|
+
*/
|
|
75
|
+
name: string;
|
|
64
76
|
};
|
|
65
77
|
|
|
66
78
|
export type Relationships = {
|
|
@@ -258,10 +270,13 @@ export const Hierarchy$inboundSchema: z.ZodType<
|
|
|
258
270
|
z.ZodTypeDef,
|
|
259
271
|
unknown
|
|
260
272
|
> = z.object({
|
|
261
|
-
|
|
273
|
+
categoryName: z.string().optional(),
|
|
274
|
+
displayName: z.string().optional(),
|
|
275
|
+
entityId: z.string(),
|
|
276
|
+
entityName: z.string().optional(),
|
|
277
|
+
entityType: z.string(),
|
|
262
278
|
level: z.number(),
|
|
263
279
|
name: z.string(),
|
|
264
|
-
type: z.string(),
|
|
265
280
|
});
|
|
266
281
|
|
|
267
282
|
export function hierarchyFromJSON(
|
|
@@ -100,21 +100,33 @@ export type GetAreasWithinRadiusRequest = {
|
|
|
100
100
|
|
|
101
101
|
export type GetAreasWithinRadiusHierarchy = {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Human-readable category name
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
categoryName?: string | undefined;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Display name for the area
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
displayName?: string | undefined;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Unique identifier/code of the area at this hierarchy level
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
entityId: string;
|
|
114
|
+
/**
|
|
115
|
+
* Full name of the entity
|
|
116
|
+
*/
|
|
117
|
+
entityName?: string | undefined;
|
|
114
118
|
/**
|
|
115
119
|
* Geographic type at this level
|
|
116
120
|
*/
|
|
117
|
-
|
|
121
|
+
entityType: string;
|
|
122
|
+
/**
|
|
123
|
+
* Hierarchy level (0 = finest granularity like output_area, higher numbers = broader areas like country)
|
|
124
|
+
*/
|
|
125
|
+
level: number;
|
|
126
|
+
/**
|
|
127
|
+
* Category name at this hierarchy level
|
|
128
|
+
*/
|
|
129
|
+
name: string;
|
|
118
130
|
};
|
|
119
131
|
|
|
120
132
|
export type GetAreasWithinRadiusRelationships = {
|
|
@@ -317,10 +329,13 @@ export const GetAreasWithinRadiusHierarchy$inboundSchema: z.ZodType<
|
|
|
317
329
|
z.ZodTypeDef,
|
|
318
330
|
unknown
|
|
319
331
|
> = z.object({
|
|
320
|
-
|
|
332
|
+
categoryName: z.string().optional(),
|
|
333
|
+
displayName: z.string().optional(),
|
|
334
|
+
entityId: z.string(),
|
|
335
|
+
entityName: z.string().optional(),
|
|
336
|
+
entityType: z.string(),
|
|
321
337
|
level: z.number(),
|
|
322
338
|
name: z.string(),
|
|
323
|
-
type: z.string(),
|
|
324
339
|
});
|
|
325
340
|
|
|
326
341
|
export function getAreasWithinRadiusHierarchyFromJSON(
|
|
@@ -30,21 +30,33 @@ export type GetBorderingAreasRequest = {
|
|
|
30
30
|
|
|
31
31
|
export type GetBorderingAreasHierarchy = {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Human-readable category name
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
categoryName?: string | undefined;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Display name for the area
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
displayName?: string | undefined;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Unique identifier/code of the area at this hierarchy level
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
entityId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Full name of the entity
|
|
46
|
+
*/
|
|
47
|
+
entityName?: string | undefined;
|
|
44
48
|
/**
|
|
45
49
|
* Geographic type at this level
|
|
46
50
|
*/
|
|
47
|
-
|
|
51
|
+
entityType: string;
|
|
52
|
+
/**
|
|
53
|
+
* Hierarchy level (0 = finest granularity like output_area, higher numbers = broader areas like country)
|
|
54
|
+
*/
|
|
55
|
+
level: number;
|
|
56
|
+
/**
|
|
57
|
+
* Category name at this hierarchy level
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
48
60
|
};
|
|
49
61
|
|
|
50
62
|
export type GetBorderingAreasRelationships = {
|
|
@@ -180,21 +192,33 @@ export type BorderingAreas = {
|
|
|
180
192
|
|
|
181
193
|
export type GetBorderingAreasAreasHierarchy = {
|
|
182
194
|
/**
|
|
183
|
-
*
|
|
195
|
+
* Human-readable category name
|
|
184
196
|
*/
|
|
185
|
-
|
|
197
|
+
categoryName?: string | undefined;
|
|
186
198
|
/**
|
|
187
|
-
*
|
|
199
|
+
* Display name for the area
|
|
188
200
|
*/
|
|
189
|
-
|
|
201
|
+
displayName?: string | undefined;
|
|
190
202
|
/**
|
|
191
|
-
*
|
|
203
|
+
* Unique identifier/code of the area at this hierarchy level
|
|
192
204
|
*/
|
|
193
|
-
|
|
205
|
+
entityId: string;
|
|
206
|
+
/**
|
|
207
|
+
* Full name of the entity
|
|
208
|
+
*/
|
|
209
|
+
entityName?: string | undefined;
|
|
194
210
|
/**
|
|
195
211
|
* Geographic type at this level
|
|
196
212
|
*/
|
|
197
|
-
|
|
213
|
+
entityType: string;
|
|
214
|
+
/**
|
|
215
|
+
* Hierarchy level (0 = finest granularity like output_area, higher numbers = broader areas like country)
|
|
216
|
+
*/
|
|
217
|
+
level: number;
|
|
218
|
+
/**
|
|
219
|
+
* Category name at this hierarchy level
|
|
220
|
+
*/
|
|
221
|
+
name: string;
|
|
198
222
|
};
|
|
199
223
|
|
|
200
224
|
export type GetBorderingAreasAreasRelationships = {
|
|
@@ -390,10 +414,13 @@ export const GetBorderingAreasHierarchy$inboundSchema: z.ZodType<
|
|
|
390
414
|
z.ZodTypeDef,
|
|
391
415
|
unknown
|
|
392
416
|
> = z.object({
|
|
393
|
-
|
|
417
|
+
categoryName: z.string().optional(),
|
|
418
|
+
displayName: z.string().optional(),
|
|
419
|
+
entityId: z.string(),
|
|
420
|
+
entityName: z.string().optional(),
|
|
421
|
+
entityType: z.string(),
|
|
394
422
|
level: z.number(),
|
|
395
423
|
name: z.string(),
|
|
396
|
-
type: z.string(),
|
|
397
424
|
});
|
|
398
425
|
|
|
399
426
|
export function getBorderingAreasHierarchyFromJSON(
|
|
@@ -474,10 +501,13 @@ export const GetBorderingAreasAreasHierarchy$inboundSchema: z.ZodType<
|
|
|
474
501
|
z.ZodTypeDef,
|
|
475
502
|
unknown
|
|
476
503
|
> = z.object({
|
|
477
|
-
|
|
504
|
+
categoryName: z.string().optional(),
|
|
505
|
+
displayName: z.string().optional(),
|
|
506
|
+
entityId: z.string(),
|
|
507
|
+
entityName: z.string().optional(),
|
|
508
|
+
entityType: z.string(),
|
|
478
509
|
level: z.number(),
|
|
479
510
|
name: z.string(),
|
|
480
|
-
type: z.string(),
|
|
481
511
|
});
|
|
482
512
|
|
|
483
513
|
export function getBorderingAreasAreasHierarchyFromJSON(
|