Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client auto update #492

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions src/models/IdentifiedVesselShippingMethod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import type { IdentifiedVesselByIMOShippingMethod } from './IdentifiedVesselByIMOShippingMethod.js'
import type { IdentifiedVesselByNameShippingMethod } from './IdentifiedVesselByNameShippingMethod.js'
import type { Timestamp } from './Timestamp.js'

/**
* This method uses either the vessel's IMO number or the vessel name in order to select an emission factor, falling back to trade lane emissions factors if provided.
Expand All @@ -26,26 +25,17 @@ export type IdentifiedVesselShippingMethod = (
) & {
vesselTracking?: {
/**
* The timestamp of the departure from the source port.
*
* The more precise the better. Rule of thumb: you can be half a day off
* and a vessel should still be tracked correctly unless the transport is
* significantly shorter than half a day.
*
* The date of the departure from the source port.
*/
departureAt: Timestamp
departureOn: string
/**
* The timestamp of the arrival to the destination port.
*
* The more precise the better. Rule of thumb: you can be half a day off
* and a vessel should still be tracked correctly unless the transport is
* significantly shorter than half a day.
* The date of the arrival to the destination port.
*
* We can only perform vessel tracking for shipments that finished more than
* 24 hours ago.
*
*/
arrivalAt: Timestamp
arrivalOn: string
/**
* The vessel's MMSI number at the time of arrival to the destination port.
*
Expand Down
Loading