mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #65697 chore: sync updates to google.maps by @googlemaps-bot
Co-authored-by: copybara-service[bot] <copybara-service[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
// No tests required for generated types
|
||||
// Synced from: https://github.com/googlemaps/js-types/commit/5ae7b651aa36bb3b588cdb3f54a7b47ae634e2c7
|
||||
// Synced from: https://github.com/googlemaps/js-types/commit/9a624940d7a281dc31b7d911c061a1a1eef06b6d
|
||||
google.maps.Map;
|
||||
|
||||
40
types/google.maps/index.d.ts
vendored
40
types/google.maps/index.d.ts
vendored
@@ -7938,7 +7938,8 @@ declare namespace google.maps.journeySharing {
|
||||
*/
|
||||
export interface AuthToken {
|
||||
/**
|
||||
* The expiration time of this token, in seconds from token issuance.
|
||||
* The expiration time in seconds. A token expires in this amount of time
|
||||
* after fetching.
|
||||
*/
|
||||
expiresInSeconds: number;
|
||||
/**
|
||||
@@ -8074,7 +8075,10 @@ declare namespace google.maps.journeySharing {
|
||||
remainingDurationMillis: number|null;
|
||||
/**
|
||||
* The journey segments assigned to this delivery vehicle, starting from the
|
||||
* vehicle's most recently reported location.
|
||||
* vehicle's most recently reported location. This is only populated
|
||||
* when the {@link google.maps.journeySharing.DeliveryVehicle} data object
|
||||
* is provided through {@link
|
||||
* google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider}.
|
||||
*/
|
||||
remainingVehicleJourneySegments:
|
||||
google.maps.journeySharing.VehicleJourneySegment[];
|
||||
@@ -8097,12 +8101,20 @@ declare namespace google.maps.journeySharing {
|
||||
* DeliveryVehicleStop type
|
||||
*/
|
||||
export interface DeliveryVehicleStop {
|
||||
/**
|
||||
* The location of the stop.
|
||||
*/
|
||||
plannedLocation: google.maps.LatLngLiteral|null;
|
||||
/**
|
||||
* The state of the stop.
|
||||
*/
|
||||
state: google.maps.journeySharing.DeliveryVehicleStopState|null;
|
||||
/**
|
||||
* The list of Tasks to be performed at this stop. <ul> <li><code>id</code>:
|
||||
* the ID of the task. <li><code>extraDurationMillis</code>: the extra time
|
||||
* it takes to perform the task, in milliseconds. </ul>
|
||||
*/
|
||||
tasks: {extraDurationMillis: number|null, id: string|null}[];
|
||||
tasks: google.maps.journeySharing.TaskInfo[];
|
||||
}
|
||||
/**
|
||||
* The current state of a {@link
|
||||
@@ -9503,6 +9515,24 @@ declare namespace google.maps.journeySharing {
|
||||
*/
|
||||
vehicleId: string|null;
|
||||
}
|
||||
/**
|
||||
* TaskInfo type, used by {@link
|
||||
* google.maps.journeySharing.DeliveryVehicleStop}.
|
||||
*/
|
||||
export interface TaskInfo {
|
||||
/**
|
||||
* The extra time it takes to perform the task, in milliseconds.
|
||||
*/
|
||||
extraDurationMillis: number|null;
|
||||
/**
|
||||
* The ID of the task.
|
||||
*/
|
||||
id: string|null;
|
||||
/**
|
||||
* The time window during which the task should be completed.
|
||||
*/
|
||||
targetTimeWindow: google.maps.journeySharing.TimeWindow|null;
|
||||
}
|
||||
/**
|
||||
* Parameters specific to marker customization functions that apply options to
|
||||
* markers representing planned or actual task locations. Used by {@link
|
||||
@@ -10244,7 +10274,7 @@ declare namespace google.maps.marker {
|
||||
/**
|
||||
* See {@link google.maps.marker.AdvancedMarkerElementOptions.content}.
|
||||
*/
|
||||
content?: null|Element;
|
||||
content?: null|Node;
|
||||
/**
|
||||
* This field is read-only. The DOM Element backing the view.
|
||||
*/
|
||||
@@ -10296,7 +10326,7 @@ declare namespace google.maps.marker {
|
||||
* cause the previous <code>AdvancedMarkerElement</code> to look empty.
|
||||
* @defaultValue {@link google.maps.marker.PinElement.element}
|
||||
*/
|
||||
content?: null|Element;
|
||||
content?: null|Node;
|
||||
/**
|
||||
* If <code>true</code>, the <code>AdvancedMarkerElement</code> can be
|
||||
* dragged. <p><strong>Note</strong>: <code>AdvancedMarkerElement</code>
|
||||
|
||||
Reference in New Issue
Block a user