@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.
Files changed (163) hide show
  1. package/README.md +0 -604
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/connections/client/Client.d.ts +3 -3
  4. package/dist/cjs/api/resources/connections/client/Client.js +3 -3
  5. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
  6. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
  7. package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +1 -1
  10. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +1 -1
  11. package/dist/cjs/api/resources/dev/client/Client.d.ts +9 -9
  12. package/dist/cjs/api/resources/dev/client/Client.js +9 -9
  13. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
  14. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
  15. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
  16. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
  17. package/dist/cjs/api/resources/orderDrafts/client/Client.d.ts +27 -0
  18. package/dist/cjs/api/resources/orderDrafts/client/Client.js +125 -0
  19. package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/orders/client/Client.d.ts +0 -3
  21. package/dist/cjs/api/resources/orders/client/Client.js +0 -5
  22. package/dist/cjs/api/resources/orders/resources/index.d.ts +0 -1
  23. package/dist/cjs/api/resources/orders/resources/index.js +1 -2
  24. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +3 -3
  25. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +3 -3
  26. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +3 -3
  27. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +3 -3
  28. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +7 -7
  29. package/dist/cjs/api/resources/orgProfiles/client/Client.js +7 -7
  30. package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -8
  31. package/dist/cjs/api/resources/orgs/client/Client.js +7 -7
  32. package/dist/cjs/api/resources/root/client/Client.d.ts +8 -8
  33. package/dist/cjs/api/resources/root/client/Client.js +5 -5
  34. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
  36. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +1 -1
  37. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +1 -1
  38. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +1 -1
  39. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +1 -1
  40. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +7 -7
  41. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +7 -7
  42. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
  43. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +1 -1
  44. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +14 -14
  45. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +14 -14
  46. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +1 -1
  47. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +1 -1
  48. package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
  49. package/dist/cjs/api/resources/users/client/Client.js +1 -1
  50. package/dist/cjs/api/resources/utils/client/Client.d.ts +1 -1
  51. package/dist/cjs/api/resources/utils/client/Client.js +1 -1
  52. package/dist/cjs/api/types/Cargo1.d.ts +1 -1
  53. package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -1
  54. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +1 -1
  55. package/dist/{esm/api/types/DriverUpdateResp.d.mts → cjs/api/types/DriverUpdateRes.d.ts} +1 -1
  56. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -1
  57. package/dist/cjs/api/types/index.d.ts +1 -1
  58. package/dist/cjs/api/types/index.js +1 -1
  59. package/dist/cjs/version.d.ts +1 -1
  60. package/dist/cjs/version.js +1 -1
  61. package/dist/esm/Client.mjs +2 -2
  62. package/dist/esm/api/resources/connections/client/Client.d.mts +3 -3
  63. package/dist/esm/api/resources/connections/client/Client.mjs +3 -3
  64. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
  65. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
  66. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +1 -1
  67. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +1 -1
  68. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +1 -1
  69. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +1 -1
  70. package/dist/esm/api/resources/dev/client/Client.d.mts +9 -9
  71. package/dist/esm/api/resources/dev/client/Client.mjs +9 -9
  72. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
  73. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
  74. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
  75. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
  76. package/dist/esm/api/resources/orderDrafts/client/Client.d.mts +27 -0
  77. package/dist/esm/api/resources/orderDrafts/client/Client.mjs +125 -0
  78. package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
  79. package/dist/esm/api/resources/orders/client/Client.d.mts +0 -3
  80. package/dist/esm/api/resources/orders/client/Client.mjs +0 -5
  81. package/dist/esm/api/resources/orders/resources/index.d.mts +0 -1
  82. package/dist/esm/api/resources/orders/resources/index.mjs +0 -1
  83. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +3 -3
  84. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +3 -3
  85. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +3 -3
  86. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +3 -3
  87. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +7 -7
  88. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +7 -7
  89. package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -8
  90. package/dist/esm/api/resources/orgs/client/Client.mjs +7 -7
  91. package/dist/esm/api/resources/root/client/Client.d.mts +8 -8
  92. package/dist/esm/api/resources/root/client/Client.mjs +5 -5
  93. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
  94. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
  95. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +1 -1
  96. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +1 -1
  97. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +1 -1
  98. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +1 -1
  99. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +7 -7
  100. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +7 -7
  101. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
  102. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +1 -1
  103. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +14 -14
  104. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +14 -14
  105. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
  108. package/dist/esm/api/resources/users/client/Client.mjs +1 -1
  109. package/dist/esm/api/resources/utils/client/Client.d.mts +1 -1
  110. package/dist/esm/api/resources/utils/client/Client.mjs +1 -1
  111. package/dist/esm/api/types/Cargo1.d.mts +1 -1
  112. package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -1
  113. package/dist/esm/api/types/CargoClientUpdate1.d.mts +1 -1
  114. package/dist/{cjs/api/types/DriverUpdateResp.d.ts → esm/api/types/DriverUpdateRes.d.mts} +1 -1
  115. package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -1
  116. package/dist/esm/api/types/index.d.mts +1 -1
  117. package/dist/esm/api/types/index.mjs +1 -1
  118. package/dist/esm/version.d.mts +1 -1
  119. package/dist/esm/version.mjs +1 -1
  120. package/package.json +1 -1
  121. package/reference.md +212 -214
  122. package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +0 -23
  123. package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +0 -17
  124. package/dist/cjs/api/resources/orders/resources/draft/client/index.d.ts +0 -1
  125. package/dist/cjs/api/resources/orders/resources/draft/client/index.js +0 -2
  126. package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +0 -2
  127. package/dist/cjs/api/resources/orders/resources/draft/index.js +0 -18
  128. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +0 -61
  129. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +0 -193
  130. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.d.ts +0 -2
  131. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +0 -17
  132. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +0 -2
  133. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.js +0 -2
  134. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +0 -1
  135. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +0 -17
  136. package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +0 -2
  137. package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +0 -41
  138. package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +0 -23
  139. package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +0 -13
  140. package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +0 -1
  141. package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +0 -1
  142. package/dist/esm/api/resources/orders/resources/draft/index.d.mts +0 -2
  143. package/dist/esm/api/resources/orders/resources/draft/index.mjs +0 -2
  144. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +0 -61
  145. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +0 -156
  146. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.d.mts +0 -2
  147. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +0 -1
  148. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +0 -2
  149. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +0 -1
  150. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.d.mts +0 -1
  151. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.mjs +0 -1
  152. package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +0 -2
  153. package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +0 -2
  154. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.ts +0 -0
  155. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.js +0 -0
  156. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.ts +0 -0
  157. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.js +0 -0
  158. /package/dist/cjs/api/types/{DriverUpdateResp.js → DriverUpdateRes.js} +0 -0
  159. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.mts +0 -0
  160. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.mjs +0 -0
  161. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.mts +0 -0
  162. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.mjs +0 -0
  163. /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
- description_from_shipper?: string | null;
15
+ description?: string | null;
16
16
  _id: string;
17
17
  order_id: string;
18
18
  order_short_id: string;
@@ -12,5 +12,5 @@ export interface CargoClientCreate1 {
12
12
  height_inches?: number | null;
13
13
  turnable?: boolean | null;
14
14
  stackable?: boolean | null;
15
- description_from_shipper?: string | null;
15
+ description?: string | null;
16
16
  }
@@ -11,5 +11,5 @@ export interface CargoClientUpdate1 {
11
11
  height_inches?: number | null;
12
12
  turnable?: boolean | null;
13
13
  stackable?: boolean | null;
14
- description_from_shipper?: string | null;
14
+ description?: string | null;
15
15
  }
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Response showing what was updated.
6
6
  */
7
- export interface DriverUpdateResp {
7
+ export interface DriverUpdateRes {
8
8
  driver_updated: boolean;
9
9
  task_group_tracking_written: boolean;
10
10
  cargo_tracking_count: number;
@@ -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 "./DriverUpdateResp.mjs";
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 "./DriverUpdateResp.mjs";
30
+ export * from "./DriverUpdateRes.mjs";
31
31
  export * from "./FlightTaskActionEnum1.mjs";
32
32
  export * from "./ForwarderConnectionRes.mjs";
33
33
  export * from "./ForwarderOrgInfoForConnections1.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.303.0";
1
+ export declare const SDK_VERSION = "1.304.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.303.0";
1
+ export const SDK_VERSION = "1.304.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.303.0",
3
+ "version": "1.304.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",