import type * as Samsara from "../index.js"; export interface UpdateRoutesStopRequestObjectRequestBody { /** ID of the address. An address [externalId](https://developers.samsara.com/docs/external-ids#using-external-ids) can also be used interchangeably here. */ addressId?: string | undefined; /** Appointment windows for the stop. */ appointmentWindows?: Samsara.RouteStopAppointmentWindowRequestBody[] | undefined; /** A map of external ids */ externalIds?: Record | undefined; /** Form attachments for the stop. */ forms?: Samsara.RouteStopFormRequestObjectRequestBody[] | undefined; /** ID of the stop. This can either be the Samsara-specified ID or an external ID in `key:value` format. */ id?: string | undefined; /** Name of the stop */ name?: string | undefined; /** Notes for the stop */ notes?: string | undefined; /** Specifies the time window (in milliseconds) after a stop's scheduled arrival time during which the stop is considered 'on-time'. */ ontimeWindowAfterArrivalMs?: number | undefined; /** Specifies the time window (in milliseconds) before a stop's scheduled arrival time during which the stop is considered 'on-time'. */ ontimeWindowBeforeArrivalMs?: number | undefined; /** Orders to replace on this stop. Omit this field to preserve existing order attachments; provide an empty array to clear them. */ orders?: Samsara.RouteStopOrderUpsertInputRequestBody[] | undefined; /** This is a required field for all stops EXCEPT the start and end, based on route start and stop settings selected. */ scheduledArrivalTime?: string | undefined; /** This is a required field for all stops EXCEPT the start and end, based on route start and stop settings selected. */ scheduledDepartureTime?: string | undefined; /** Manual sequence position for this stop. Only meaningful when route.settings.sequencingMethod=manual. Must be unique and positive when specified. */ sequenceNumber?: number | undefined; singleUseLocation?: Samsara.RoutesSingleUseAddressObjectRequestBody | undefined; }