@chrt-inc/typescript-sdk 1.303.0 → 1.304.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -604
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/connections/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/connections/client/Client.js +3 -3
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +1 -1
- package/dist/cjs/api/resources/dev/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/dev/client/Client.js +9 -9
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
- package/dist/cjs/api/resources/orderDrafts/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/orderDrafts/client/Client.js +125 -0
- package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/orders/client/Client.js +0 -5
- package/dist/cjs/api/resources/orders/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/index.js +1 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +3 -3
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +7 -7
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/orgs/client/Client.js +7 -7
- package/dist/cjs/api/resources/root/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/root/client/Client.js +5 -5
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +7 -7
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +14 -14
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.js +1 -1
- package/dist/cjs/api/resources/utils/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/utils/client/Client.js +1 -1
- package/dist/cjs/api/types/Cargo1.d.ts +1 -1
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +1 -1
- package/dist/{esm/api/types/DriverUpdateResp.d.mts → cjs/api/types/DriverUpdateRes.d.ts} +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/connections/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/connections/client/Client.mjs +3 -3
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +1 -1
- package/dist/esm/api/resources/dev/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/dev/client/Client.mjs +9 -9
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orderDrafts/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/orderDrafts/client/Client.mjs +125 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/orders/client/Client.mjs +0 -5
- package/dist/esm/api/resources/orders/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/index.mjs +0 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +3 -3
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +7 -7
- package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/orgs/client/Client.mjs +7 -7
- package/dist/esm/api/resources/root/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/root/client/Client.mjs +5 -5
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +7 -7
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +14 -14
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.mjs +1 -1
- package/dist/esm/api/resources/utils/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/utils/client/Client.mjs +1 -1
- package/dist/esm/api/types/Cargo1.d.mts +1 -1
- package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +1 -1
- package/dist/{cjs/api/types/DriverUpdateResp.d.ts → esm/api/types/DriverUpdateRes.d.mts} +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +212 -214
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +0 -23
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/draft/client/index.js +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/index.js +0 -18
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +0 -61
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +0 -193
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +0 -17
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +0 -41
- package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +0 -23
- package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +0 -13
- package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/index.mjs +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +0 -61
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +0 -156
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.mjs +0 -1
- package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +0 -2
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.js +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.js +0 -0
- /package/dist/cjs/api/types/{DriverUpdateResp.js → DriverUpdateRes.js} +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.mts +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.mjs +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.mts +0 -0
- /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.mjs +0 -0
- /package/dist/esm/api/types/{DriverUpdateResp.mjs → DriverUpdateRes.mjs} +0 -0
|
@@ -20,7 +20,7 @@ export class SessionByDevice {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns all tracking sessions for the authenticated user's organization.
|
|
23
|
+
* Returns all tracking sessions for the authenticated user's organization. | () -> (list[Session1])
|
|
24
24
|
*
|
|
25
25
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
26
|
*
|
|
@@ -71,7 +71,7 @@ export class SessionByDevice {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves a single session by its ID. Access restricted to the session's organization.
|
|
74
|
+
* Retrieves a single session by its ID. Access restricted to the session's organization. | () -> (Session1)
|
|
75
75
|
*
|
|
76
76
|
* @param {Chrt.tracking.SessionByDeviceGetV1Request} request
|
|
77
77
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -135,7 +135,7 @@ export class SessionByDevice {
|
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization.
|
|
138
|
+
* Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
139
139
|
*
|
|
140
140
|
* @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
|
|
141
141
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -202,7 +202,7 @@ export class SessionByDevice {
|
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers.
|
|
205
|
+
* Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
206
206
|
*
|
|
207
207
|
* @param {Chrt.tracking.SessionByDeviceDataPointsV1Request} request
|
|
208
208
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -273,7 +273,7 @@ export class SessionByDevice {
|
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization.
|
|
276
|
+
* Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization. | (SessionByDeviceCreateSessionRequest1) -> (PydanticObjectId)
|
|
277
277
|
*
|
|
278
278
|
* @param {Chrt.tracking.SessionByDeviceCreateSessionRequest1} request
|
|
279
279
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -337,7 +337,7 @@ export class SessionByDevice {
|
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
|
-
* Updates a session's comments and/or public visibility status. Can update one or both fields.
|
|
340
|
+
* Updates a session's comments and/or public visibility status. Can update one or both fields. | (SessionByDeviceUpdateRequest1) -> (bool)
|
|
341
341
|
*
|
|
342
342
|
* @param {Chrt.tracking.SessionByDeviceUpdateRequest1} request
|
|
343
343
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -401,7 +401,7 @@ export class SessionByDevice {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
|
-
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start.
|
|
404
|
+
* Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start. | () -> (bool)
|
|
405
405
|
*
|
|
406
406
|
* @param {Chrt.tracking.SessionByDeviceStartV1Request} request
|
|
407
407
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -465,7 +465,7 @@ export class SessionByDevice {
|
|
|
465
465
|
});
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
|
-
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session.
|
|
468
|
+
* Pauses location recording for a session by setting recording status to false. Device remains linked to the session. | () -> (bool)
|
|
469
469
|
*
|
|
470
470
|
* @param {Chrt.tracking.SessionByDevicePauseRecordingV1Request} request
|
|
471
471
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -529,7 +529,7 @@ export class SessionByDevice {
|
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
531
|
/**
|
|
532
|
-
* Resumes location recording for a session by setting recording status to true.
|
|
532
|
+
* Resumes location recording for a session by setting recording status to true. | () -> (bool)
|
|
533
533
|
*
|
|
534
534
|
* @param {Chrt.tracking.SessionByDeviceResumeRecordingV1Request} request
|
|
535
535
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -593,7 +593,7 @@ export class SessionByDevice {
|
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
/**
|
|
596
|
-
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session.
|
|
596
|
+
* Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session. | () -> (bool)
|
|
597
597
|
*
|
|
598
598
|
* @param {Chrt.tracking.SessionByDeviceTerminateV1Request} request
|
|
599
599
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -657,7 +657,7 @@ export class SessionByDevice {
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
/**
|
|
660
|
-
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates.
|
|
660
|
+
* Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates. | (SessionByDeviceMarkOutliersRequest1) -> (SessionByDeviceMarkOutliersResponse1)
|
|
661
661
|
*
|
|
662
662
|
* @param {Chrt.tracking.SessionByDeviceMarkOutliersRequest1} request
|
|
663
663
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -725,7 +725,7 @@ export class SessionByDevice {
|
|
|
725
725
|
});
|
|
726
726
|
}
|
|
727
727
|
/**
|
|
728
|
-
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted.
|
|
728
|
+
* Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted. | () -> (SessionByDeviceDeleteResponse1)
|
|
729
729
|
*
|
|
730
730
|
* @param {Chrt.tracking.SessionByDeviceDeleteV1Request} request
|
|
731
731
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -789,7 +789,7 @@ export class SessionByDevice {
|
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
|
-
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled.
|
|
792
|
+
* Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
793
793
|
*
|
|
794
794
|
* @param {Chrt.tracking.SessionByDeviceLastSeenPublicV1Request} request
|
|
795
795
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -856,7 +856,7 @@ export class SessionByDevice {
|
|
|
856
856
|
});
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
|
-
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled.
|
|
859
|
+
* Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled. | () -> (list[TrackingSessionByDeviceDataPoint1])
|
|
860
860
|
*
|
|
861
861
|
* @param {Chrt.tracking.SessionByDeviceDataPointsPublicV1Request} request
|
|
862
862
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class TaskGroupByDriver {
|
|
|
31
31
|
protected readonly _options: TaskGroupByDriver.Options;
|
|
32
32
|
constructor(_options?: TaskGroupByDriver.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint.
|
|
34
|
+
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (TrackingTaskGroupByDriverDataPoint1 | None)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.tracking.TaskGroupByDriverLastSeenV1Request} request
|
|
37
37
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class TaskGroupByDriver {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint.
|
|
23
|
+
* Returns the most recent driver location data point for a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (TrackingTaskGroupByDriverDataPoint1 | None)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.tracking.TaskGroupByDriverLastSeenV1Request} request
|
|
26
26
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Users {
|
|
|
31
31
|
protected readonly _options: Users.Options;
|
|
32
32
|
constructor(_options?: Users.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information.
|
|
34
|
+
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information. | () -> (UserPublicData1)
|
|
35
35
|
*
|
|
36
36
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -19,7 +19,7 @@ export class Users {
|
|
|
19
19
|
this._options = _options;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information.
|
|
22
|
+
* Retrieves public user data for the authenticated user, including email, notes, and Stripe customer information. | () -> (UserPublicData1)
|
|
23
23
|
*
|
|
24
24
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
@@ -31,7 +31,7 @@ export declare class Utils {
|
|
|
31
31
|
protected readonly _options: Utils.Options;
|
|
32
32
|
constructor(_options?: Utils.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge.
|
|
34
|
+
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.UtilsGetTimezoneV1Request} request
|
|
37
37
|
* @param {Utils.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class Utils {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge.
|
|
23
|
+
* Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.UtilsGetTimezoneV1Request} request
|
|
26
26
|
* @param {Utils.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -12,7 +12,7 @@ export interface Cargo1 {
|
|
|
12
12
|
height_inches?: number | null;
|
|
13
13
|
turnable?: boolean | null;
|
|
14
14
|
stackable?: boolean | null;
|
|
15
|
-
|
|
15
|
+
description?: string | null;
|
|
16
16
|
_id: string;
|
|
17
17
|
order_id: string;
|
|
18
18
|
order_short_id: string;
|
|
@@ -6,7 +6,6 @@ export interface TaskClientUpdate1 {
|
|
|
6
6
|
location?: Chrt.LocationFeature | null;
|
|
7
7
|
action?: TaskClientUpdate1.Action | null;
|
|
8
8
|
time_windows?: Chrt.TimeWindow1[] | null;
|
|
9
|
-
order_placer_comments?: string | null;
|
|
10
9
|
shipper_contact_info_ids?: string[] | null;
|
|
11
10
|
flight_number?: string | null;
|
|
12
11
|
}
|
|
@@ -27,7 +27,7 @@ export * from "./DecodedJwtWithOrgAndUserId.mjs";
|
|
|
27
27
|
export * from "./Device1.mjs";
|
|
28
28
|
export * from "./Driver1.mjs";
|
|
29
29
|
export * from "./DriverStatusEnum.mjs";
|
|
30
|
-
export * from "./
|
|
30
|
+
export * from "./DriverUpdateRes.mjs";
|
|
31
31
|
export * from "./FlightTaskActionEnum1.mjs";
|
|
32
32
|
export * from "./ForwarderConnectionRes.mjs";
|
|
33
33
|
export * from "./ForwarderOrgInfoForConnections1.mjs";
|
|
@@ -27,7 +27,7 @@ export * from "./DecodedJwtWithOrgAndUserId.mjs";
|
|
|
27
27
|
export * from "./Device1.mjs";
|
|
28
28
|
export * from "./Driver1.mjs";
|
|
29
29
|
export * from "./DriverStatusEnum.mjs";
|
|
30
|
-
export * from "./
|
|
30
|
+
export * from "./DriverUpdateRes.mjs";
|
|
31
31
|
export * from "./FlightTaskActionEnum1.mjs";
|
|
32
32
|
export * from "./ForwarderConnectionRes.mjs";
|
|
33
33
|
export * from "./ForwarderOrgInfoForConnections1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.304.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.304.0";
|