Skip to content

Commit 9a62494

Browse files
chore: sync changes for Maps JS API v3.53.5.
PiperOrigin-RevId: 537957037
1 parent 5ae7b65 commit 9a62494

File tree

1 file changed

+35
-5
lines changed

1 file changed

+35
-5
lines changed

index.d.ts

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7935,7 +7935,8 @@ declare namespace google.maps.journeySharing {
79357935
*/
79367936
export interface AuthToken {
79377937
/**
7938-
* The expiration time of this token, in seconds from token issuance.
7938+
* The expiration time in seconds. A token expires in this amount of time
7939+
* after fetching.
79397940
*/
79407941
expiresInSeconds: number;
79417942
/**
@@ -8071,7 +8072,10 @@ declare namespace google.maps.journeySharing {
80718072
remainingDurationMillis: number|null;
80728073
/**
80738074
* The journey segments assigned to this delivery vehicle, starting from the
8074-
* vehicle's most recently reported location.
8075+
* vehicle's most recently reported location. This is only populated
8076+
* when the {@link google.maps.journeySharing.DeliveryVehicle} data object
8077+
* is provided through {@link
8078+
* google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider}.
80758079
*/
80768080
remainingVehicleJourneySegments:
80778081
google.maps.journeySharing.VehicleJourneySegment[];
@@ -8094,12 +8098,20 @@ declare namespace google.maps.journeySharing {
80948098
* DeliveryVehicleStop type
80958099
*/
80968100
export interface DeliveryVehicleStop {
8101+
/**
8102+
* The location of the stop.
8103+
*/
8104+
plannedLocation: google.maps.LatLngLiteral|null;
8105+
/**
8106+
* The state of the stop.
8107+
*/
8108+
state: google.maps.journeySharing.DeliveryVehicleStopState|null;
80978109
/**
80988110
* The list of Tasks to be performed at this stop. <ul> <li><code>id</code>:
80998111
* the ID of the task. <li><code>extraDurationMillis</code>: the extra time
81008112
* it takes to perform the task, in milliseconds. </ul>
81018113
*/
8102-
tasks: {extraDurationMillis: number|null, id: string|null}[];
8114+
tasks: google.maps.journeySharing.TaskInfo[];
81038115
}
81048116
/**
81058117
* The current state of a {@link
@@ -9500,6 +9512,24 @@ declare namespace google.maps.journeySharing {
95009512
*/
95019513
vehicleId: string|null;
95029514
}
9515+
/**
9516+
* TaskInfo type, used by {@link
9517+
* google.maps.journeySharing.DeliveryVehicleStop}.
9518+
*/
9519+
export interface TaskInfo {
9520+
/**
9521+
* The extra time it takes to perform the task, in milliseconds.
9522+
*/
9523+
extraDurationMillis: number|null;
9524+
/**
9525+
* The ID of the task.
9526+
*/
9527+
id: string|null;
9528+
/**
9529+
* The time window during which the task should be completed.
9530+
*/
9531+
targetTimeWindow: google.maps.journeySharing.TimeWindow|null;
9532+
}
95039533
/**
95049534
* Parameters specific to marker customization functions that apply options to
95059535
* markers representing planned or actual task locations. Used by {@link
@@ -10241,7 +10271,7 @@ declare namespace google.maps.marker {
1024110271
/**
1024210272
* See {@link google.maps.marker.AdvancedMarkerElementOptions.content}.
1024310273
*/
10244-
content?: null|Element;
10274+
content?: null|Node;
1024510275
/**
1024610276
* This field is read-only. The DOM Element backing the view.
1024710277
*/
@@ -10293,7 +10323,7 @@ declare namespace google.maps.marker {
1029310323
* cause the previous <code>AdvancedMarkerElement</code> to look empty.
1029410324
* @defaultValue {@link google.maps.marker.PinElement.element}
1029510325
*/
10296-
content?: null|Element;
10326+
content?: null|Node;
1029710327
/**
1029810328
* If <code>true</code>, the <code>AdvancedMarkerElement</code> can be
1029910329
* dragged. <p><strong>Note</strong>: <code>AdvancedMarkerElement</code>

0 commit comments

Comments
 (0)