@aws-sdk/client-geo-routes 3.738.0 → 3.740.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 +8 -6
- package/dist-cjs/models/models_0.js +8 -2
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/GeoRoutes.d.ts +8 -6
- package/dist-types/GeoRoutesClient.d.ts +8 -6
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +2 -1
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -4
- package/dist-types/commands/CalculateRoutesCommand.d.ts +5 -3
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +13 -4
- package/dist-types/commands/SnapToRoadsCommand.d.ts +4 -2
- package/dist-types/index.d.ts +8 -6
- package/dist-types/models/models_0.d.ts +588 -281
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/package.json +1 -1
|
@@ -827,6 +827,7 @@ export declare const RouteFerryNoticeCode: {
|
|
|
827
827
|
readonly ACCURATE_POLYLINE_UNAVAILABLE: "AccuratePolylineUnavailable";
|
|
828
828
|
readonly NO_SCHEDULE: "NoSchedule";
|
|
829
829
|
readonly OTHER: "Other";
|
|
830
|
+
readonly SEASONAL_CLOSURE: "SeasonalClosure";
|
|
830
831
|
readonly VIOLATED_AVOID_FERRY: "ViolatedAvoidFerry";
|
|
831
832
|
readonly VIOLATED_AVOID_RAIL_FERRY: "ViolatedAvoidRailFerry";
|
|
832
833
|
};
|
|
@@ -1117,6 +1118,7 @@ export interface RoutePedestrianLegDetails {
|
|
|
1117
1118
|
}
|
|
1118
1119
|
export declare const RouteLegTravelMode: {
|
|
1119
1120
|
readonly CAR: "Car";
|
|
1121
|
+
readonly CAR_SHUTTLE_TRAIN: "CarShuttleTrain";
|
|
1120
1122
|
readonly FERRY: "Ferry";
|
|
1121
1123
|
readonly PEDESTRIAN: "Pedestrian";
|
|
1122
1124
|
readonly SCOOTER: "Scooter";
|
|
@@ -1548,6 +1550,21 @@ export interface WaypointOptimizationAvoidanceOptions {
|
|
|
1548
1550
|
Tunnels?: boolean | undefined;
|
|
1549
1551
|
UTurns?: boolean | undefined;
|
|
1550
1552
|
}
|
|
1553
|
+
export declare const WaypointOptimizationClusteringAlgorithm: {
|
|
1554
|
+
readonly DRIVING_DISTANCE: "DrivingDistance";
|
|
1555
|
+
readonly TOPOLOGY_SEGMENT: "TopologySegment";
|
|
1556
|
+
};
|
|
1557
|
+
export type WaypointOptimizationClusteringAlgorithm =
|
|
1558
|
+
(typeof WaypointOptimizationClusteringAlgorithm)[keyof typeof WaypointOptimizationClusteringAlgorithm];
|
|
1559
|
+
export interface WaypointOptimizationDrivingDistanceOptions {
|
|
1560
|
+
DrivingDistance: number | undefined;
|
|
1561
|
+
}
|
|
1562
|
+
export interface WaypointOptimizationClusteringOptions {
|
|
1563
|
+
Algorithm: WaypointOptimizationClusteringAlgorithm | undefined;
|
|
1564
|
+
DrivingDistanceOptions?:
|
|
1565
|
+
| WaypointOptimizationDrivingDistanceOptions
|
|
1566
|
+
| undefined;
|
|
1567
|
+
}
|
|
1551
1568
|
export interface WaypointOptimizationAccessHoursEntry {
|
|
1552
1569
|
DayOfWeek: DayOfWeek | undefined;
|
|
1553
1570
|
TimeOfDay: string | undefined;
|
|
@@ -1667,6 +1684,7 @@ export interface WaypointOptimizationWaypoint {
|
|
|
1667
1684
|
}
|
|
1668
1685
|
export interface OptimizeWaypointsRequest {
|
|
1669
1686
|
Avoid?: WaypointOptimizationAvoidanceOptions | undefined;
|
|
1687
|
+
Clustering?: WaypointOptimizationClusteringOptions | undefined;
|
|
1670
1688
|
DepartureTime?: string | undefined;
|
|
1671
1689
|
Destination?: number[] | undefined;
|
|
1672
1690
|
DestinationOptions?: WaypointOptimizationDestinationOptions | undefined;
|
|
@@ -1710,6 +1728,7 @@ export interface WaypointOptimizationImpedingWaypoint {
|
|
|
1710
1728
|
}
|
|
1711
1729
|
export interface WaypointOptimizationOptimizedWaypoint {
|
|
1712
1730
|
ArrivalTime?: string | undefined;
|
|
1731
|
+
ClusterIndex?: number | undefined;
|
|
1713
1732
|
DepartureTime: string | undefined;
|
|
1714
1733
|
Id: string | undefined;
|
|
1715
1734
|
Position: number[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-routes",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Routes Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.740.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|