@vepler/sdk 2.30.4 → 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.
- package/README.md +90 -85
- package/dist/commonjs/funcs/areasGetCoverage.d.ts +24 -0
- package/dist/commonjs/funcs/areasGetCoverage.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetCoverage.js +130 -0
- package/dist/commonjs/funcs/areasGetCoverage.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/areas.d.ts +13 -0
- package/dist/commonjs/sdk/areas.d.ts.map +1 -1
- package/dist/commonjs/sdk/areas.js +16 -0
- package/dist/commonjs/sdk/areas.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getareacoverage.d.ts +156 -0
- package/dist/commonjs/sdk/models/errors/getareacoverage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/getareacoverage.js +153 -0
- package/dist/commonjs/sdk/models/errors/getareacoverage.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts +1 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/index.js +1 -0
- package/dist/commonjs/sdk/models/errors/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareacoverage.d.ts +408 -0
- package/dist/commonjs/sdk/models/operations/getareacoverage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareacoverage.js +343 -0
- package/dist/commonjs/sdk/models/operations/getareacoverage.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +1 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/funcs/areasGetCoverage.d.ts +24 -0
- package/dist/esm/funcs/areasGetCoverage.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetCoverage.js +94 -0
- package/dist/esm/funcs/areasGetCoverage.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/areas.d.ts +13 -0
- package/dist/esm/sdk/areas.d.ts.map +1 -1
- package/dist/esm/sdk/areas.js +16 -0
- package/dist/esm/sdk/areas.js.map +1 -1
- package/dist/esm/sdk/models/errors/getareacoverage.d.ts +156 -0
- package/dist/esm/sdk/models/errors/getareacoverage.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/getareacoverage.js +114 -0
- package/dist/esm/sdk/models/errors/getareacoverage.js.map +1 -0
- package/dist/esm/sdk/models/errors/index.d.ts +1 -0
- package/dist/esm/sdk/models/errors/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/index.js +1 -0
- package/dist/esm/sdk/models/errors/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/getareacoverage.d.ts +408 -0
- package/dist/esm/sdk/models/operations/getareacoverage.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getareacoverage.js +303 -0
- package/dist/esm/sdk/models/operations/getareacoverage.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +1 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/areasGetCoverage.ts +193 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/areas.ts +24 -0
- package/src/sdk/models/errors/getareacoverage.ts +264 -0
- package/src/sdk/models/errors/index.ts +1 -0
- package/src/sdk/models/operations/getareacoverage.ts +530 -0
- package/src/sdk/models/operations/index.ts +1 -0
package/README.md
CHANGED
|
@@ -181,6 +181,7 @@ run();
|
|
|
181
181
|
* [getAreasWithin](docs/sdks/areas/README.md#getareaswithin) - Find areas within a radius of a location
|
|
182
182
|
* [getBorderingAreas](docs/sdks/areas/README.md#getborderingareas) - Find areas that border a target area
|
|
183
183
|
* [getChildAreas](docs/sdks/areas/README.md#getchildareas) - Get child areas within a parent area
|
|
184
|
+
* [getCoverage](docs/sdks/areas/README.md#getcoverage) - Calculate geographic coverage
|
|
184
185
|
|
|
185
186
|
### [Avm](docs/sdks/avm/README.md)
|
|
186
187
|
|
|
@@ -293,6 +294,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
293
294
|
- [`areasGetAreasWithin`](docs/sdks/areas/README.md#getareaswithin) - Find areas within a radius of a location
|
|
294
295
|
- [`areasGetBorderingAreas`](docs/sdks/areas/README.md#getborderingareas) - Find areas that border a target area
|
|
295
296
|
- [`areasGetChildAreas`](docs/sdks/areas/README.md#getchildareas) - Get child areas within a parent area
|
|
297
|
+
- [`areasGetCoverage`](docs/sdks/areas/README.md#getcoverage) - Calculate geographic coverage
|
|
296
298
|
- [`avmGetValuationAnalysis`](docs/sdks/avm/README.md#getvaluationanalysis) - Get detailed valuation analysis
|
|
297
299
|
- [`avmPredictPropertyValue`](docs/sdks/avm/README.md#predictpropertyvalue) - Predict property value
|
|
298
300
|
- [`avmPredictPropertyValueByLocation`](docs/sdks/avm/README.md#predictpropertyvaluebylocation) - Predict property value by location ID
|
|
@@ -460,7 +462,7 @@ run();
|
|
|
460
462
|
**Primary error:**
|
|
461
463
|
* [`SDKBaseError`](./src/sdk/models/errors/sdkbaseerror.ts): The base class for HTTP error responses.
|
|
462
464
|
|
|
463
|
-
<details><summary>Less common errors (
|
|
465
|
+
<details><summary>Less common errors (93)</summary>
|
|
464
466
|
|
|
465
467
|
<br />
|
|
466
468
|
|
|
@@ -473,90 +475,93 @@ run();
|
|
|
473
475
|
|
|
474
476
|
|
|
475
477
|
**Inherit from [`SDKBaseError`](./src/sdk/models/errors/sdkbaseerror.ts)**:
|
|
476
|
-
* [`CouncilErrorResponse`](./src/sdk/models/errors/councilerrorresponse.ts): Applicable to 2 of
|
|
477
|
-
* [`ResolveAddressResponseBody`](./src/sdk/models/errors/resolveaddressresponsebody.ts): Invalid request parameters. Status code `400`. Applicable to 1 of
|
|
478
|
-
* [`GetAreasByFieldAndIdsResponseBody`](./src/sdk/models/errors/getareasbyfieldandidsresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of
|
|
479
|
-
* [`GetAreasWithinRadiusResponseBody`](./src/sdk/models/errors/getareaswithinradiusresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of
|
|
480
|
-
* [`GetBorderingAreasResponseBody`](./src/sdk/models/errors/getborderingareasresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of
|
|
481
|
-
* [`GetChildAreasResponseBody`](./src/sdk/models/errors/getchildareasresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of
|
|
482
|
-
* [`
|
|
483
|
-
* [`
|
|
484
|
-
* [`
|
|
485
|
-
* [`
|
|
486
|
-
* [`
|
|
487
|
-
* [`
|
|
488
|
-
* [`
|
|
489
|
-
* [`
|
|
490
|
-
* [`
|
|
491
|
-
* [`
|
|
492
|
-
* [`
|
|
493
|
-
* [`
|
|
494
|
-
* [`
|
|
495
|
-
* [`
|
|
496
|
-
* [`
|
|
497
|
-
* [`
|
|
498
|
-
* [`
|
|
499
|
-
* [`
|
|
500
|
-
* [`
|
|
501
|
-
* [`
|
|
502
|
-
* [`
|
|
503
|
-
* [`
|
|
504
|
-
* [`
|
|
505
|
-
* [`
|
|
506
|
-
* [`
|
|
507
|
-
* [`
|
|
508
|
-
* [`
|
|
509
|
-
* [`
|
|
510
|
-
* [`
|
|
511
|
-
* [`
|
|
512
|
-
* [`
|
|
513
|
-
* [`
|
|
514
|
-
* [`
|
|
515
|
-
* [`
|
|
516
|
-
* [`
|
|
517
|
-
* [`
|
|
518
|
-
* [`
|
|
519
|
-
* [`
|
|
520
|
-
* [`
|
|
521
|
-
* [`
|
|
522
|
-
* [`
|
|
523
|
-
* [`
|
|
524
|
-
* [`
|
|
525
|
-
* [`
|
|
526
|
-
* [`
|
|
527
|
-
* [`
|
|
528
|
-
* [`
|
|
529
|
-
* [`
|
|
530
|
-
* [`
|
|
531
|
-
* [`
|
|
532
|
-
* [`
|
|
533
|
-
* [`
|
|
534
|
-
* [`
|
|
535
|
-
* [`
|
|
536
|
-
* [`
|
|
537
|
-
* [`
|
|
538
|
-
* [`
|
|
539
|
-
* [`
|
|
540
|
-
* [`
|
|
541
|
-
* [`
|
|
542
|
-
* [`
|
|
543
|
-
* [`
|
|
544
|
-
* [`
|
|
545
|
-
* [`
|
|
546
|
-
* [`
|
|
547
|
-
* [`
|
|
548
|
-
* [`
|
|
549
|
-
* [`
|
|
550
|
-
* [`
|
|
551
|
-
* [`
|
|
552
|
-
* [`
|
|
553
|
-
* [`
|
|
554
|
-
* [`
|
|
555
|
-
* [`
|
|
556
|
-
* [`
|
|
557
|
-
* [`
|
|
558
|
-
* [`
|
|
559
|
-
* [`
|
|
478
|
+
* [`CouncilErrorResponse`](./src/sdk/models/errors/councilerrorresponse.ts): Applicable to 2 of 52 methods.*
|
|
479
|
+
* [`ResolveAddressResponseBody`](./src/sdk/models/errors/resolveaddressresponsebody.ts): Invalid request parameters. Status code `400`. Applicable to 1 of 52 methods.*
|
|
480
|
+
* [`GetAreasByFieldAndIdsResponseBody`](./src/sdk/models/errors/getareasbyfieldandidsresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
481
|
+
* [`GetAreasWithinRadiusResponseBody`](./src/sdk/models/errors/getareaswithinradiusresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
482
|
+
* [`GetBorderingAreasResponseBody`](./src/sdk/models/errors/getborderingareasresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
483
|
+
* [`GetChildAreasResponseBody`](./src/sdk/models/errors/getchildareasresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
484
|
+
* [`GetAreaCoverageResponseBody`](./src/sdk/models/errors/getareacoverageresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
485
|
+
* [`GetConnectivityScoresResponseBody`](./src/sdk/models/errors/getconnectivityscoresresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
486
|
+
* [`GetMetricValuesResponseBody`](./src/sdk/models/errors/getmetricvaluesresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
487
|
+
* [`GetNearestPOIResponseBody`](./src/sdk/models/errors/getnearestpoiresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
488
|
+
* [`GetPOIMultipleTilesResponseBody`](./src/sdk/models/errors/getpoimultipletilesresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
489
|
+
* [`GetPOITileResponseBody`](./src/sdk/models/errors/getpoitileresponsebody.ts): Error response format for failed requests. Status code `400`. Applicable to 1 of 52 methods.*
|
|
490
|
+
* [`GetValuationAnalysisResponseBody`](./src/sdk/models/errors/getvaluationanalysisresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
491
|
+
* [`PredictPropertyValueResponseBody`](./src/sdk/models/errors/predictpropertyvalueresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
492
|
+
* [`PredictPropertyValueByLocationResponseBody`](./src/sdk/models/errors/predictpropertyvaluebylocationresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
493
|
+
* [`GetEpcByLocationIdResponseBody`](./src/sdk/models/errors/getepcbylocationidresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
494
|
+
* [`QueryListingsResponseBody`](./src/sdk/models/errors/querylistingsresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
495
|
+
* [`QueryListingsBySourceResponseBody`](./src/sdk/models/errors/querylistingsbysourceresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
496
|
+
* [`SearchStreetsResponseBody`](./src/sdk/models/errors/searchstreetsresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
497
|
+
* [`GetPlanningApplicationsResponseBody`](./src/sdk/models/errors/getplanningapplicationsresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
498
|
+
* [`GetPlanningApplicationsBySourceResponseBody`](./src/sdk/models/errors/getplanningapplicationsbysourceresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
499
|
+
* [`SearchPlanningApplicationsResponseBody`](./src/sdk/models/errors/searchplanningapplicationsresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
500
|
+
* [`AggregatePropertiesResponseBody`](./src/sdk/models/errors/aggregatepropertiesresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
501
|
+
* [`GetPropertiesResponseBody`](./src/sdk/models/errors/getpropertiesresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
502
|
+
* [`GetPropertiesByLocationResponseBody`](./src/sdk/models/errors/getpropertiesbylocationresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
503
|
+
* [`GetPropertiesBySlugsResponseBody`](./src/sdk/models/errors/getpropertiesbyslugsresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
504
|
+
* [`GetPropertiesBySourceResponseBody`](./src/sdk/models/errors/getpropertiesbysourceresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
505
|
+
* [`GetPropertyTilesResponseBody`](./src/sdk/models/errors/getpropertytilesresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
506
|
+
* [`SearchPropertiesResponseBody`](./src/sdk/models/errors/searchpropertiesresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
507
|
+
* [`GetV1SafetyCrimeResponseBody`](./src/sdk/models/errors/getv1safetycrimeresponsebody.ts): Invalid parameters. Status code `400`. Applicable to 1 of 52 methods.*
|
|
508
|
+
* [`GetV1SafetyCrimeStatsResponseBody`](./src/sdk/models/errors/getv1safetycrimestatsresponsebody.ts): Invalid parameters. Status code `400`. Applicable to 1 of 52 methods.*
|
|
509
|
+
* [`GetSchoolMetricsResponseBody`](./src/sdk/models/errors/getschoolmetricsresponsebody.ts): Error response structure. Status code `400`. Applicable to 1 of 52 methods.*
|
|
510
|
+
* [`SearchSuggestResponseBody`](./src/sdk/models/errors/searchsuggestresponsebody.ts): Error response. Status code `400`. Applicable to 1 of 52 methods.*
|
|
511
|
+
* [`ResolveAddressAddressResponseBody`](./src/sdk/models/errors/resolveaddressaddressresponsebody.ts): Unauthorized - Invalid or missing API key. Status code `401`. Applicable to 1 of 52 methods.*
|
|
512
|
+
* [`SearchStreetsStreetsResponseBody`](./src/sdk/models/errors/searchstreetsstreetsresponsebody.ts): Error response. Status code `401`. Applicable to 1 of 52 methods.*
|
|
513
|
+
* [`GetAreaCoverageAreasResponseBody`](./src/sdk/models/errors/getareacoverageareasresponsebody.ts): Error response format for failed requests. Status code `404`. Applicable to 1 of 52 methods.*
|
|
514
|
+
* [`GetValuationAnalysisAVMResponseBody`](./src/sdk/models/errors/getvaluationanalysisavmresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
515
|
+
* [`PredictPropertyValueByLocationAVMResponseBody`](./src/sdk/models/errors/predictpropertyvaluebylocationavmresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
516
|
+
* [`GetListingByIdResponseBody`](./src/sdk/models/errors/getlistingbyidresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
517
|
+
* [`GetListingBySourceResponseBody`](./src/sdk/models/errors/getlistingbysourceresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
518
|
+
* [`GetSchoolByIdResponseBody`](./src/sdk/models/errors/getschoolbyidresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
519
|
+
* [`GetSchoolBySlugResponseBody`](./src/sdk/models/errors/getschoolbyslugresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
520
|
+
* [`GetSchoolByUrnResponseBody`](./src/sdk/models/errors/getschoolbyurnresponsebody.ts): Error response. Status code `404`. Applicable to 1 of 52 methods.*
|
|
521
|
+
* [`GetValuationAnalysisAVMResponseResponseBody`](./src/sdk/models/errors/getvaluationanalysisavmresponseresponsebody.ts): Error response. Status code `422`. Applicable to 1 of 52 methods.*
|
|
522
|
+
* [`PredictPropertyValueAVMResponseBody`](./src/sdk/models/errors/predictpropertyvalueavmresponsebody.ts): Error response. Status code `422`. Applicable to 1 of 52 methods.*
|
|
523
|
+
* [`PredictPropertyValueByLocationAVMResponseResponseBody`](./src/sdk/models/errors/predictpropertyvaluebylocationavmresponseresponsebody.ts): Error response. Status code `422`. Applicable to 1 of 52 methods.*
|
|
524
|
+
* [`ResolveAddressAddressResponseResponseBody`](./src/sdk/models/errors/resolveaddressaddressresponseresponsebody.ts): Internal server error. Status code `500`. Applicable to 1 of 52 methods.*
|
|
525
|
+
* [`GetAreasByFieldAndIdsAreasResponseBody`](./src/sdk/models/errors/getareasbyfieldandidsareasresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
526
|
+
* [`GetAreasWithinRadiusAreasResponseBody`](./src/sdk/models/errors/getareaswithinradiusareasresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
527
|
+
* [`GetBorderingAreasAreasResponseBody`](./src/sdk/models/errors/getborderingareasareasresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
528
|
+
* [`GetChildAreasAreasResponseBody`](./src/sdk/models/errors/getchildareasareasresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
529
|
+
* [`GetAreaCoverageAreasResponseResponseBody`](./src/sdk/models/errors/getareacoverageareasresponseresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
530
|
+
* [`GetConnectivityScoresConnectivityResponseBody`](./src/sdk/models/errors/getconnectivityscoresconnectivityresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
531
|
+
* [`GetMetricValuesMetricsResponseBody`](./src/sdk/models/errors/getmetricvaluesmetricsresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
532
|
+
* [`GetNearestPOIPOIResponseBody`](./src/sdk/models/errors/getnearestpoipoiresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
533
|
+
* [`GetPOIMultipleTilesPOIResponseBody`](./src/sdk/models/errors/getpoimultipletilespoiresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
534
|
+
* [`GetPOITilePOIResponseBody`](./src/sdk/models/errors/getpoitilepoiresponsebody.ts): Error response format for failed requests. Status code `500`. Applicable to 1 of 52 methods.*
|
|
535
|
+
* [`GetValuationAnalysisAVMResponse500ResponseBody`](./src/sdk/models/errors/getvaluationanalysisavmresponse500responsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
536
|
+
* [`PredictPropertyValueAVMResponseResponseBody`](./src/sdk/models/errors/predictpropertyvalueavmresponseresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
537
|
+
* [`PredictPropertyValueByLocationAVMResponse500ResponseBody`](./src/sdk/models/errors/predictpropertyvaluebylocationavmresponse500responsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
538
|
+
* [`GetEPCByLocationIdEPCResponseBody`](./src/sdk/models/errors/getepcbylocationidepcresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
539
|
+
* [`GetListingByIdListingsResponseBody`](./src/sdk/models/errors/getlistingbyidlistingsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
540
|
+
* [`GetListingBySourceListingsResponseBody`](./src/sdk/models/errors/getlistingbysourcelistingsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
541
|
+
* [`GetListingsByLocationResponseBody`](./src/sdk/models/errors/getlistingsbylocationresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
542
|
+
* [`QueryListingsListingsResponseBody`](./src/sdk/models/errors/querylistingslistingsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
543
|
+
* [`QueryListingsBySourceListingsResponseBody`](./src/sdk/models/errors/querylistingsbysourcelistingsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
544
|
+
* [`SearchStreetsStreetsResponseResponseBody`](./src/sdk/models/errors/searchstreetsstreetsresponseresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
545
|
+
* [`GetPlanningApplicationsPlanningResponseBody`](./src/sdk/models/errors/getplanningapplicationsplanningresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
546
|
+
* [`GetPlanningApplicationsBySourcePlanningResponseBody`](./src/sdk/models/errors/getplanningapplicationsbysourceplanningresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
547
|
+
* [`SearchPlanningApplicationsPlanningResponseBody`](./src/sdk/models/errors/searchplanningapplicationsplanningresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
548
|
+
* [`AggregatePropertiesPropertyResponseBody`](./src/sdk/models/errors/aggregatepropertiespropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
549
|
+
* [`GetPropertiesPropertyResponseBody`](./src/sdk/models/errors/getpropertiespropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
550
|
+
* [`GetPropertiesByLocationPropertyResponseBody`](./src/sdk/models/errors/getpropertiesbylocationpropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
551
|
+
* [`GetPropertiesBySlugsPropertyResponseBody`](./src/sdk/models/errors/getpropertiesbyslugspropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
552
|
+
* [`GetPropertiesBySourcePropertyResponseBody`](./src/sdk/models/errors/getpropertiesbysourcepropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
553
|
+
* [`GetPropertyTilesPropertyResponseBody`](./src/sdk/models/errors/getpropertytilespropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
554
|
+
* [`SearchPropertiesPropertyResponseBody`](./src/sdk/models/errors/searchpropertiespropertyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
555
|
+
* [`GetV1SafetyCrimeSafetyResponseBody`](./src/sdk/models/errors/getv1safetycrimesafetyresponsebody.ts): Internal server error. Status code `500`. Applicable to 1 of 52 methods.*
|
|
556
|
+
* [`GetV1SafetyCrimeStatsSafetyResponseBody`](./src/sdk/models/errors/getv1safetycrimestatssafetyresponsebody.ts): Internal server error. Status code `500`. Applicable to 1 of 52 methods.*
|
|
557
|
+
* [`GetSchoolByIdSchoolsResponseBody`](./src/sdk/models/errors/getschoolbyidschoolsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
558
|
+
* [`GetSchoolBySlugSchoolsResponseBody`](./src/sdk/models/errors/getschoolbyslugschoolsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
559
|
+
* [`GetSchoolByUrnSchoolsResponseBody`](./src/sdk/models/errors/getschoolbyurnschoolsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
560
|
+
* [`GetSchoolMetricsSchoolsResponseBody`](./src/sdk/models/errors/getschoolmetricsschoolsresponsebody.ts): Error response structure. Status code `500`. Applicable to 1 of 52 methods.*
|
|
561
|
+
* [`ListSchoolsResponseBody`](./src/sdk/models/errors/listschoolsresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
562
|
+
* [`SearchSchoolsNearbyResponseBody`](./src/sdk/models/errors/searchschoolsnearbyresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
563
|
+
* [`SearchSchoolsWithinResponseBody`](./src/sdk/models/errors/searchschoolswithinresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
564
|
+
* [`SearchSuggestSearchResponseBody`](./src/sdk/models/errors/searchsuggestsearchresponsebody.ts): Error response. Status code `500`. Applicable to 1 of 52 methods.*
|
|
560
565
|
* [`ResponseValidationError`](./src/sdk/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
561
566
|
|
|
562
567
|
</details>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SDKCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js";
|
|
4
|
+
import * as errors from "../sdk/models/errors/index.js";
|
|
5
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
6
|
+
import { SDKBaseError } from "../sdk/models/errors/sdkbaseerror.js";
|
|
7
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
8
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../sdk/types/async.js";
|
|
10
|
+
import { Result } from "../sdk/types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Calculate geographic coverage
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Calculate spatial coverage for a geographic area. Supports two modes:
|
|
16
|
+
*
|
|
17
|
+
* 1. **Geography-to-geography**: Use `sourceCode` + `targetCode` to calculate the overlap between two geographic areas.
|
|
18
|
+
*
|
|
19
|
+
* 2. **Environmental coverage**: Use `sourceCode` + `coverageType` to calculate coverage of an environmental layer (flood risk, noise, radon, conservation areas, etc.) within the source geography.
|
|
20
|
+
*
|
|
21
|
+
* Optionally use `intersectsWith` with environmental coverage to find entities (buildings, parcels) affected by the environmental layer.
|
|
22
|
+
*/
|
|
23
|
+
export declare function areasGetCoverage(client: SDKCore, request: operations.GetAreaCoverageRequest, options?: RequestOptions): APIPromise<Result<operations.GetAreaCoverageResponseBody, errors.GetAreaCoverageResponseBody | errors.GetAreaCoverageAreasResponseBody | errors.GetAreaCoverageAreasResponseResponseBody | SDKBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
24
|
+
//# sourceMappingURL=areasGetCoverage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"areasGetCoverage.d.ts","sourceRoot":"","sources":["../../../src/funcs/areasGetCoverage.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAW,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,2BAA2B,EACpC,MAAM,CAAC,2BAA2B,GAClC,MAAM,CAAC,gCAAgC,GACvC,MAAM,CAAC,wCAAwC,GAC/C,YAAY,GACZ,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.areasGetCoverage = areasGetCoverage;
|
|
40
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
+
const security_js_1 = require("../lib/security.js");
|
|
45
|
+
const url_js_1 = require("../lib/url.js");
|
|
46
|
+
const errors = __importStar(require("../sdk/models/errors/index.js"));
|
|
47
|
+
const operations = __importStar(require("../sdk/models/operations/index.js"));
|
|
48
|
+
const async_js_1 = require("../sdk/types/async.js");
|
|
49
|
+
/**
|
|
50
|
+
* Calculate geographic coverage
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Calculate spatial coverage for a geographic area. Supports two modes:
|
|
54
|
+
*
|
|
55
|
+
* 1. **Geography-to-geography**: Use `sourceCode` + `targetCode` to calculate the overlap between two geographic areas.
|
|
56
|
+
*
|
|
57
|
+
* 2. **Environmental coverage**: Use `sourceCode` + `coverageType` to calculate coverage of an environmental layer (flood risk, noise, radon, conservation areas, etc.) within the source geography.
|
|
58
|
+
*
|
|
59
|
+
* Optionally use `intersectsWith` with environmental coverage to find entities (buildings, parcels) affected by the environmental layer.
|
|
60
|
+
*/
|
|
61
|
+
function areasGetCoverage(client, request, options) {
|
|
62
|
+
return new async_js_1.APIPromise($do(client, request, options));
|
|
63
|
+
}
|
|
64
|
+
async function $do(client, request, options) {
|
|
65
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetAreaCoverageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66
|
+
if (!parsed.ok) {
|
|
67
|
+
return [parsed, { status: "invalid" }];
|
|
68
|
+
}
|
|
69
|
+
const payload = parsed.value;
|
|
70
|
+
const body = null;
|
|
71
|
+
const path = (0, url_js_1.pathToFunc)("/v1/area-reference/areas/coverage")();
|
|
72
|
+
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
73
|
+
"coverageType": payload.coverageType,
|
|
74
|
+
"intersectsWith": payload.intersectsWith,
|
|
75
|
+
"sourceCode": payload.sourceCode,
|
|
76
|
+
"targetCode": payload.targetCode,
|
|
77
|
+
});
|
|
78
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
79
|
+
Accept: "application/json",
|
|
80
|
+
}));
|
|
81
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyAuth);
|
|
82
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
83
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
84
|
+
const context = {
|
|
85
|
+
options: client._options,
|
|
86
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
87
|
+
operationID: "getAreaCoverage",
|
|
88
|
+
oAuth2Scopes: null,
|
|
89
|
+
resolvedSecurity: requestSecurity,
|
|
90
|
+
securitySource: client._options.apiKeyAuth,
|
|
91
|
+
retryConfig: options?.retries
|
|
92
|
+
|| client._options.retryConfig
|
|
93
|
+
|| { strategy: "none" },
|
|
94
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
95
|
+
};
|
|
96
|
+
const requestRes = client._createRequest(context, {
|
|
97
|
+
security: requestSecurity,
|
|
98
|
+
method: "GET",
|
|
99
|
+
baseURL: options?.serverURL,
|
|
100
|
+
path: path,
|
|
101
|
+
headers: headers,
|
|
102
|
+
query: query,
|
|
103
|
+
body: body,
|
|
104
|
+
userAgent: client._options.userAgent,
|
|
105
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
106
|
+
}, options);
|
|
107
|
+
if (!requestRes.ok) {
|
|
108
|
+
return [requestRes, { status: "invalid" }];
|
|
109
|
+
}
|
|
110
|
+
const req = requestRes.value;
|
|
111
|
+
const doResult = await client._do(req, {
|
|
112
|
+
context,
|
|
113
|
+
errorCodes: ["400", "404", "4XX", "500", "5XX"],
|
|
114
|
+
retryConfig: context.retryConfig,
|
|
115
|
+
retryCodes: context.retryCodes,
|
|
116
|
+
});
|
|
117
|
+
if (!doResult.ok) {
|
|
118
|
+
return [doResult, { status: "request-error", request: req }];
|
|
119
|
+
}
|
|
120
|
+
const response = doResult.value;
|
|
121
|
+
const responseFields = {
|
|
122
|
+
HttpMeta: { Response: response, Request: req },
|
|
123
|
+
};
|
|
124
|
+
const [result] = await M.match(M.json(200, operations.GetAreaCoverageResponseBody$inboundSchema), M.jsonErr(400, errors.GetAreaCoverageResponseBody$inboundSchema), M.jsonErr(404, errors.GetAreaCoverageAreasResponseBody$inboundSchema), M.jsonErr(500, errors.GetAreaCoverageAreasResponseResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
125
|
+
if (!result.ok) {
|
|
126
|
+
return [result, { status: "complete", request: req, response }];
|
|
127
|
+
}
|
|
128
|
+
return [result, { status: "complete", request: req, response }];
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=areasGetCoverage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"areasGetCoverage.js","sourceRoot":"","sources":["../../../src/funcs/areasGetCoverage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCH,4CAyBC;AA3DD,sDAAsD;AACt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AAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -30,9 +30,9 @@ export type SDKOptions = {
|
|
|
30
30
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
|
-
readonly openapiDocVersion: "2.
|
|
33
|
+
readonly openapiDocVersion: "2.33.0";
|
|
34
34
|
readonly sdkVersion: "0.8.0";
|
|
35
35
|
readonly genVersion: "2.801.2";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.33.0 @vepler/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -30,9 +30,9 @@ function serverURLFromOptions(options) {
|
|
|
30
30
|
}
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
|
-
openapiDocVersion: "2.
|
|
33
|
+
openapiDocVersion: "2.33.0",
|
|
34
34
|
sdkVersion: "0.8.0",
|
|
35
35
|
genVersion: "2.801.2",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.8.0 2.801.2 2.33.0 @vepler/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -29,5 +29,18 @@ export declare class Areas extends ClientSDK {
|
|
|
29
29
|
* Retrieve all child areas contained within a parent geographic area. Optionally filter by child type using the childType query parameter.
|
|
30
30
|
*/
|
|
31
31
|
getChildAreas(request: operations.GetChildAreasRequest, options?: RequestOptions): Promise<operations.GetChildAreasResponseBody>;
|
|
32
|
+
/**
|
|
33
|
+
* Calculate geographic coverage
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Calculate spatial coverage for a geographic area. Supports two modes:
|
|
37
|
+
*
|
|
38
|
+
* 1. **Geography-to-geography**: Use `sourceCode` + `targetCode` to calculate the overlap between two geographic areas.
|
|
39
|
+
*
|
|
40
|
+
* 2. **Environmental coverage**: Use `sourceCode` + `coverageType` to calculate coverage of an environmental layer (flood risk, noise, radon, conservation areas, etc.) within the source geography.
|
|
41
|
+
*
|
|
42
|
+
* Optionally use `intersectsWith` with environmental coverage to find entities (buildings, parcels) affected by the environmental layer.
|
|
43
|
+
*/
|
|
44
|
+
getCoverage(request: operations.GetAreaCoverageRequest, options?: RequestOptions): Promise<operations.GetAreaCoverageResponseBody>;
|
|
32
45
|
}
|
|
33
46
|
//# sourceMappingURL=areas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"areas.d.ts","sourceRoot":"","sources":["../../../src/sdk/areas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"areas.d.ts","sourceRoot":"","sources":["../../../src/sdk/areas.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAG3D,qBAAa,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;;;;;;;OAWG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
|
|
@@ -8,6 +8,7 @@ const areasGetAreas_js_1 = require("../funcs/areasGetAreas.js");
|
|
|
8
8
|
const areasGetAreasWithin_js_1 = require("../funcs/areasGetAreasWithin.js");
|
|
9
9
|
const areasGetBorderingAreas_js_1 = require("../funcs/areasGetBorderingAreas.js");
|
|
10
10
|
const areasGetChildAreas_js_1 = require("../funcs/areasGetChildAreas.js");
|
|
11
|
+
const areasGetCoverage_js_1 = require("../funcs/areasGetCoverage.js");
|
|
11
12
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
12
13
|
const fp_js_1 = require("./types/fp.js");
|
|
13
14
|
class Areas extends sdks_js_1.ClientSDK {
|
|
@@ -47,6 +48,21 @@ class Areas extends sdks_js_1.ClientSDK {
|
|
|
47
48
|
async getChildAreas(request, options) {
|
|
48
49
|
return (0, fp_js_1.unwrapAsync)((0, areasGetChildAreas_js_1.areasGetChildAreas)(this, request, options));
|
|
49
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Calculate geographic coverage
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Calculate spatial coverage for a geographic area. Supports two modes:
|
|
56
|
+
*
|
|
57
|
+
* 1. **Geography-to-geography**: Use `sourceCode` + `targetCode` to calculate the overlap between two geographic areas.
|
|
58
|
+
*
|
|
59
|
+
* 2. **Environmental coverage**: Use `sourceCode` + `coverageType` to calculate coverage of an environmental layer (flood risk, noise, radon, conservation areas, etc.) within the source geography.
|
|
60
|
+
*
|
|
61
|
+
* Optionally use `intersectsWith` with environmental coverage to find entities (buildings, parcels) affected by the environmental layer.
|
|
62
|
+
*/
|
|
63
|
+
async getCoverage(request, options) {
|
|
64
|
+
return (0, fp_js_1.unwrapAsync)((0, areasGetCoverage_js_1.areasGetCoverage)(this, request, options));
|
|
65
|
+
}
|
|
50
66
|
}
|
|
51
67
|
exports.Areas = Areas;
|
|
52
68
|
//# sourceMappingURL=areas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"areas.js","sourceRoot":"","sources":["../../../src/sdk/areas.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gEAA0D;AAC1D,4EAAsE;AACtE,kFAA4E;AAC5E,0EAAoE;AACpE,4CAA2D;AAE3D,yCAA4C;AAE5C,MAAa,KAAM,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAgD,EAChD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gCAAa,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"areas.js","sourceRoot":"","sources":["../../../src/sdk/areas.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gEAA0D;AAC1D,4EAAsE;AACtE,kFAA4E;AAC5E,0EAAoE;AACpE,sEAAgE;AAChE,4CAA2D;AAE3D,yCAA4C;AAE5C,MAAa,KAAM,SAAQ,mBAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAgD,EAChD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gCAAa,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,WAAW,CACf,OAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA3FD,sBA2FC"}
|