You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/generated/models/TimeConstraintV1.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,19 @@
14
14
15
15
import{mapValues}from"../runtime";
16
16
/**
17
-
* Specifies the time context for time-dependent routing (e.g., to account for traffic patterns or time-based access restrictions). Defaults "now" for traffic-influenced routing profiles like `auto_traffic`.
17
+
* Specifies the time context for time-dependent routing (e.g., to account for traffic patterns or time-based access restrictions). Defaults to "depart_now" for traffic-influenced routing profiles like `auto_traffic`.
18
18
* @export
19
19
* @interface TimeConstraintV1
20
20
*/
21
21
exportinterfaceTimeConstraintV1{
22
22
/**
23
-
* The type of time constraint: 0 = current time (depart now), 1 = depart at the specified time, 2 = arrive by the specified time.
23
+
* The type of time constraint: "depart_now" = depart now (current time), "depart_at" = depart at the specified time, "arrive_at" = arrive by the specified time.
24
24
* @type {TimeConstraintV1TypeEnum}
25
25
* @memberof TimeConstraintV1
26
26
*/
27
27
type: TimeConstraintV1TypeEnum;
28
28
/**
29
-
* The date and time in `YYYY-MM-DDTHH:MM` format (seconds are accepted, but will be ignored). The date and time are local (civil) time as observed at the location. Required for types 1 and 2. Must not be provided for type 0.
29
+
* The date and time in `YYYY-MM-DDTHH:MM` format (seconds are accepted, but will be ignored). The date and time are local (civil) time as observed at the location. Required when type is depart_at or arrive_at. Must not be provided for depart_now.
0 commit comments