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
* Makes a href for a given customer code and detour id
62
63
* @param {string} customerCode Customer code
@@ -89,7 +90,7 @@ class Detour extends Resource {
89
90
* @param {boolean} data.shouldMatchScheduledStops - Indicates whether the detour should match scheduled stops.
90
91
* @param {Date} data.startDateTime - The start date and time of the detour.
91
92
* @param {Date} data.endDateTime - The end date and time of the detour.
92
-
*
93
+
*
93
94
* @returns {Promise<Detour>} A promise that resolves to a hydrated instance of the Detour class, representing all active detours including the newly created detour.
94
95
*/
95
96
asynccreate(data){
@@ -103,7 +104,7 @@ class Detour extends Resource {
103
104
104
105
/**
105
106
* Update an existing detour for a customer via the client.
106
-
*
107
+
*
107
108
* @param {number} detourId - The ID of the detour to update.
108
109
* @returns {Promise<Detour>} A promise that resolves to a hydrated instance of the Detour class, representing active detours.
0 commit comments