@chrt-inc/typescript-sdk 1.326.0 → 1.333.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 (470) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +41 -36
  3. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.d.ts +4 -4
  4. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.js +4 -4
  5. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.ts +1 -1
  6. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.js +1 -1
  7. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +4 -4
  10. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +4 -4
  11. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +6 -6
  12. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +6 -6
  13. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +4 -4
  14. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +4 -4
  15. package/dist/cjs/api/resources/drivers/client/Client.d.ts +2 -1
  16. package/dist/cjs/api/resources/drivers/client/Client.js +20 -3
  17. package/dist/cjs/api/resources/drivers/client/requests/DriverClientCreate1.d.ts +2 -0
  18. package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/client/Client.d.ts +13 -16
  19. package/dist/cjs/api/resources/{tracking/resources/taskGroupByDriver → flights}/client/Client.js +19 -27
  20. package/dist/cjs/api/resources/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/index.js +2 -1
  22. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +5 -7
  23. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.js +8 -10
  24. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -1
  25. package/dist/cjs/api/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  26. package/dist/cjs/api/resources/orders/resources/expanded/client/Client.js +2 -2
  27. package/dist/cjs/api/resources/payments/client/Client.d.ts +5 -5
  28. package/dist/cjs/api/resources/payments/client/Client.js +5 -5
  29. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +5 -5
  30. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +5 -5
  31. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.ts +1 -1
  32. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.js +1 -1
  33. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +1 -1
  34. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +1 -1
  35. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.ts +1 -1
  36. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.js +1 -1
  37. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +3 -3
  38. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +3 -3
  39. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +7 -7
  40. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +7 -7
  41. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +5 -5
  42. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +5 -5
  43. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.d.ts +7 -7
  44. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.js +7 -7
  45. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +5 -7
  46. package/dist/cjs/api/resources/taskGroups/client/Client.js +8 -10
  47. package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +0 -1
  48. package/dist/cjs/api/resources/tracking/client/Client.d.ts +9 -12
  49. package/dist/cjs/api/resources/tracking/client/Client.js +15 -20
  50. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +25 -25
  51. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +73 -73
  52. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +1 -1
  53. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +10 -14
  54. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +9 -13
  55. package/dist/cjs/api/resources/tracking/resources/driver/client/index.d.ts +0 -1
  56. package/dist/cjs/api/resources/tracking/resources/driver/client/index.js +0 -15
  57. package/dist/cjs/api/resources/tracking/resources/index.d.ts +5 -9
  58. package/dist/cjs/api/resources/tracking/resources/index.js +6 -10
  59. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +164 -0
  60. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sessions}/client/Client.js +50 -394
  61. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.d.ts → sessions/client/requests/SessionCreateSessionRequest1.d.ts} +1 -1
  62. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.d.ts → sessions/client/requests/SessionUpdateRequest1.d.ts} +1 -1
  63. package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsDeleteV1Request.d.ts} +1 -1
  64. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.d.ts → sessions/client/requests/SessionsGetV1Request.d.ts} +1 -1
  65. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.d.ts → sessions/client/requests/SessionsPauseRecordingV1Request.d.ts} +1 -1
  66. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsResumeRecordingV1Request.d.ts +12 -0
  67. package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsStartV1Request.d.ts} +1 -1
  68. package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.ts → sessions/client/requests/SessionsTerminateV1Request.d.ts} +1 -1
  69. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +8 -0
  70. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +100 -0
  71. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +330 -0
  72. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +18 -0
  73. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +18 -0
  74. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +16 -0
  75. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +3 -0
  76. package/dist/cjs/api/resources/tracking/resources/timeseries/client/Client.d.ts +32 -0
  77. package/dist/cjs/api/resources/tracking/resources/timeseries/client/Client.js +32 -0
  78. package/dist/cjs/api/resources/tracking/resources/timeseries/index.d.ts +2 -0
  79. package/dist/cjs/api/resources/tracking/resources/timeseries/index.js +18 -0
  80. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +116 -0
  81. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +414 -0
  82. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.d.ts +16 -0
  83. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.d.ts +16 -0
  84. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.d.ts +14 -0
  85. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +14 -0
  86. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +5 -0
  87. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +100 -0
  88. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +346 -0
  89. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.d.ts +16 -0
  90. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.d.ts +16 -0
  91. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.d.ts +14 -0
  92. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +4 -0
  93. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.js +2 -0
  94. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.d.ts +1 -0
  95. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.js +17 -0
  96. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/index.d.ts +8 -0
  97. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/index.js +47 -0
  98. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +112 -0
  99. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +406 -0
  100. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.js +17 -0
  102. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +5 -0
  103. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.js +2 -0
  104. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.d.ts +1 -0
  105. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.js +17 -0
  106. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +96 -0
  107. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +338 -0
  108. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.d.ts +2 -0
  109. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.js +17 -0
  110. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.d.ts +14 -0
  111. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.d.ts +14 -0
  112. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.d.ts +12 -0
  113. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.js +5 -0
  114. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +4 -0
  115. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.js +2 -0
  116. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.d.ts +1 -0
  117. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.js +17 -0
  118. package/dist/cjs/api/types/{TrackingCargoByDeviceDataPoint1.d.ts → CargoByDeviceDataPoint1.d.ts} +2 -2
  119. package/dist/cjs/api/types/CargoByDeviceDataPoint1.js +5 -0
  120. package/dist/cjs/api/types/{TrackingCargoByDeviceDataPointMetadata1.d.ts → CargoByDeviceDataPointMetadata1.d.ts} +3 -3
  121. package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.js +5 -0
  122. package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +7 -0
  123. package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.js +5 -0
  124. package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +16 -0
  125. package/dist/cjs/api/types/CargoByDeviceSharingSettings1.js +5 -0
  126. package/dist/cjs/api/types/{TrackingCargoByDriverDataPoint1.d.ts → CargoByDriverDataPoint1.d.ts} +2 -2
  127. package/dist/cjs/api/types/CargoByDriverDataPoint1.js +5 -0
  128. package/dist/cjs/api/types/{TrackingCargoByDriverDataPointMetadata1.d.ts → CargoByDriverDataPointMetadata1.d.ts} +3 -3
  129. package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.js +5 -0
  130. package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +16 -0
  131. package/dist/cjs/api/types/CargoByDriverSharingSettings1.js +5 -0
  132. package/dist/cjs/api/types/Driver1.d.ts +1 -1
  133. package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
  134. package/dist/cjs/api/types/FlightInfoForTaskRes.d.ts +10 -0
  135. package/dist/cjs/api/types/FlightInfoForTaskRes.js +5 -0
  136. package/dist/cjs/api/types/{TrackingSessionByDeviceDataPoint1.d.ts → SessionByDeviceDataPoint1.d.ts} +2 -2
  137. package/dist/cjs/api/types/SessionByDeviceDataPoint1.js +5 -0
  138. package/dist/cjs/api/types/{TrackingSessionByDeviceDataPointMetadata1.d.ts → SessionByDeviceDataPointMetadata1.d.ts} +1 -1
  139. package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.js +5 -0
  140. package/dist/cjs/api/types/{SessionByDeviceDeleteResponse1.d.ts → SessionDeleteResponse1.d.ts} +1 -1
  141. package/dist/cjs/api/types/SessionDeleteResponse1.js +5 -0
  142. package/dist/cjs/api/types/SetFlightInfoReq.d.ts +9 -0
  143. package/dist/cjs/api/types/SetFlightInfoReq.js +5 -0
  144. package/dist/cjs/api/types/Task1.d.ts +0 -1
  145. package/dist/cjs/api/types/TaskClientCreate1.d.ts +0 -1
  146. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -1
  147. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -0
  148. package/dist/cjs/api/types/{TrackingTaskGroupByDriverDataPoint1.d.ts → TaskGroupByDriverDataPoint1.d.ts} +2 -2
  149. package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.js +5 -0
  150. package/dist/cjs/api/types/{TrackingTaskGroupByDriverDataPointMetadata1.d.ts → TaskGroupByDriverDataPointMetadata1.d.ts} +2 -2
  151. package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.js +5 -0
  152. package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +15 -0
  153. package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.js +5 -0
  154. package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +11 -0
  155. package/dist/cjs/api/types/TrackingSharingSettingsRes.js +5 -0
  156. package/dist/cjs/api/types/index.d.ts +16 -9
  157. package/dist/cjs/api/types/index.js +16 -9
  158. package/dist/cjs/version.d.ts +1 -1
  159. package/dist/cjs/version.js +1 -1
  160. package/dist/esm/Client.d.mts +3 -0
  161. package/dist/esm/Client.mjs +7 -2
  162. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +4 -4
  163. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +4 -4
  164. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +1 -1
  165. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +1 -1
  166. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +1 -1
  167. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +1 -1
  168. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +4 -4
  169. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +4 -4
  170. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +6 -6
  171. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +6 -6
  172. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +4 -4
  173. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +4 -4
  174. package/dist/esm/api/resources/drivers/client/Client.d.mts +2 -1
  175. package/dist/esm/api/resources/drivers/client/Client.mjs +20 -3
  176. package/dist/esm/api/resources/drivers/client/requests/DriverClientCreate1.d.mts +2 -0
  177. package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/client/Client.d.mts +13 -16
  178. package/dist/esm/api/resources/{tracking/resources/taskGroupByDriver → flights}/client/Client.mjs +17 -25
  179. package/dist/esm/api/resources/index.d.mts +1 -0
  180. package/dist/esm/api/resources/index.mjs +1 -0
  181. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +5 -7
  182. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.mjs +8 -10
  183. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -1
  184. package/dist/esm/api/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  185. package/dist/esm/api/resources/orders/resources/expanded/client/Client.mjs +2 -2
  186. package/dist/esm/api/resources/payments/client/Client.d.mts +5 -5
  187. package/dist/esm/api/resources/payments/client/Client.mjs +5 -5
  188. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +5 -5
  189. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +5 -5
  190. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +1 -1
  191. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +1 -1
  192. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +1 -1
  193. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +1 -1
  194. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +1 -1
  195. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +1 -1
  196. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +3 -3
  197. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +3 -3
  198. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +7 -7
  199. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +7 -7
  200. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +5 -5
  201. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +5 -5
  202. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.d.mts +7 -7
  203. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.mjs +7 -7
  204. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +5 -7
  205. package/dist/esm/api/resources/taskGroups/client/Client.mjs +8 -10
  206. package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +0 -1
  207. package/dist/esm/api/resources/tracking/client/Client.d.mts +9 -12
  208. package/dist/esm/api/resources/tracking/client/Client.mjs +11 -16
  209. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +25 -25
  210. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +73 -73
  211. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +1 -1
  212. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +10 -14
  213. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +9 -13
  214. package/dist/esm/api/resources/tracking/resources/driver/client/index.d.mts +0 -1
  215. package/dist/esm/api/resources/tracking/resources/driver/client/index.mjs +1 -1
  216. package/dist/esm/api/resources/tracking/resources/index.d.mts +5 -9
  217. package/dist/esm/api/resources/tracking/resources/index.mjs +5 -9
  218. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +164 -0
  219. package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sessions}/client/Client.mjs +48 -392
  220. package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.d.mts → sessions/client/requests/SessionCreateSessionRequest1.d.mts} +1 -1
  221. package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.d.mts → sessions/client/requests/SessionUpdateRequest1.d.mts} +1 -1
  222. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsDeleteV1Request.d.mts +12 -0
  223. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsGetV1Request.d.mts +12 -0
  224. package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.d.mts → sessions/client/requests/SessionsPauseRecordingV1Request.d.mts} +1 -1
  225. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsResumeRecordingV1Request.d.mts +12 -0
  226. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsStartV1Request.d.mts +12 -0
  227. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsTerminateV1Request.d.mts +12 -0
  228. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +8 -0
  229. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +100 -0
  230. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +293 -0
  231. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +18 -0
  232. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +18 -0
  233. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +16 -0
  234. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +3 -0
  235. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.mjs +1 -0
  236. package/dist/esm/api/resources/tracking/resources/timeseries/client/Client.d.mts +32 -0
  237. package/dist/esm/api/resources/tracking/resources/timeseries/client/Client.mjs +28 -0
  238. package/dist/esm/api/resources/tracking/resources/timeseries/client/index.d.mts +1 -0
  239. package/dist/esm/api/resources/tracking/resources/timeseries/client/index.mjs +1 -0
  240. package/dist/esm/api/resources/tracking/resources/timeseries/index.d.mts +2 -0
  241. package/dist/esm/api/resources/tracking/resources/timeseries/index.mjs +2 -0
  242. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +116 -0
  243. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +377 -0
  244. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.d.mts +16 -0
  245. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.d.mts +16 -0
  246. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.d.mts +14 -0
  247. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +14 -0
  248. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +5 -0
  249. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.mjs +1 -0
  250. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +100 -0
  251. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +309 -0
  252. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.d.mts +16 -0
  253. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.d.mts +16 -0
  254. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.d.mts +14 -0
  255. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +4 -0
  256. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.mjs +1 -0
  257. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.d.mts +1 -0
  258. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.mjs +1 -0
  259. package/dist/esm/api/resources/tracking/resources/timeseries/resources/index.d.mts +8 -0
  260. package/dist/esm/api/resources/tracking/resources/timeseries/resources/index.mjs +8 -0
  261. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +112 -0
  262. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +369 -0
  263. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.d.mts +2 -0
  264. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.mjs +1 -0
  265. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +5 -0
  266. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.mjs +1 -0
  267. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.d.mts +1 -0
  268. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.mjs +1 -0
  269. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +96 -0
  270. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +301 -0
  271. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.d.mts +2 -0
  272. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.mjs +1 -0
  273. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.d.mts +14 -0
  274. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.d.mts +14 -0
  275. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.d.mts +12 -0
  276. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.mjs +4 -0
  277. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +4 -0
  278. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.mjs +1 -0
  279. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.d.mts +1 -0
  280. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.mjs +1 -0
  281. package/dist/esm/api/types/{TrackingCargoByDeviceDataPoint1.d.mts → CargoByDeviceDataPoint1.d.mts} +2 -2
  282. package/dist/esm/api/types/CargoByDeviceDataPoint1.mjs +4 -0
  283. package/dist/esm/api/types/{TrackingCargoByDeviceDataPointMetadata1.d.mts → CargoByDeviceDataPointMetadata1.d.mts} +3 -3
  284. package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.mjs +4 -0
  285. package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +7 -0
  286. package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.mjs +4 -0
  287. package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +16 -0
  288. package/dist/esm/api/types/CargoByDeviceSharingSettings1.mjs +4 -0
  289. package/dist/esm/api/types/{TrackingCargoByDriverDataPoint1.d.mts → CargoByDriverDataPoint1.d.mts} +2 -2
  290. package/dist/esm/api/types/CargoByDriverDataPoint1.mjs +4 -0
  291. package/dist/esm/api/types/{TrackingCargoByDriverDataPointMetadata1.d.mts → CargoByDriverDataPointMetadata1.d.mts} +3 -3
  292. package/dist/esm/api/types/CargoByDriverDataPointMetadata1.mjs +4 -0
  293. package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +16 -0
  294. package/dist/esm/api/types/CargoByDriverSharingSettings1.mjs +4 -0
  295. package/dist/esm/api/types/Driver1.d.mts +1 -1
  296. package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
  297. package/dist/esm/api/types/FlightInfoForTaskRes.d.mts +10 -0
  298. package/dist/esm/api/types/FlightInfoForTaskRes.mjs +4 -0
  299. package/dist/esm/api/types/{TrackingSessionByDeviceDataPoint1.d.mts → SessionByDeviceDataPoint1.d.mts} +2 -2
  300. package/dist/esm/api/types/SessionByDeviceDataPoint1.mjs +4 -0
  301. package/dist/esm/api/types/{TrackingSessionByDeviceDataPointMetadata1.d.mts → SessionByDeviceDataPointMetadata1.d.mts} +1 -1
  302. package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.mjs +4 -0
  303. package/dist/esm/api/types/{SessionByDeviceDeleteResponse1.d.mts → SessionDeleteResponse1.d.mts} +1 -1
  304. package/dist/esm/api/types/SessionDeleteResponse1.mjs +4 -0
  305. package/dist/esm/api/types/SetFlightInfoReq.d.mts +9 -0
  306. package/dist/esm/api/types/SetFlightInfoReq.mjs +4 -0
  307. package/dist/esm/api/types/Task1.d.mts +0 -1
  308. package/dist/esm/api/types/TaskClientCreate1.d.mts +0 -1
  309. package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -1
  310. package/dist/esm/api/types/TaskGroup1.d.mts +1 -0
  311. package/dist/esm/api/types/{TrackingTaskGroupByDriverDataPoint1.d.mts → TaskGroupByDriverDataPoint1.d.mts} +2 -2
  312. package/dist/esm/api/types/TaskGroupByDriverDataPoint1.mjs +4 -0
  313. package/dist/esm/api/types/{TrackingTaskGroupByDriverDataPointMetadata1.d.mts → TaskGroupByDriverDataPointMetadata1.d.mts} +2 -2
  314. package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.mjs +4 -0
  315. package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +15 -0
  316. package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.mjs +4 -0
  317. package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +11 -0
  318. package/dist/esm/api/types/TrackingSharingSettingsRes.mjs +4 -0
  319. package/dist/esm/api/types/index.d.mts +16 -9
  320. package/dist/esm/api/types/index.mjs +16 -9
  321. package/dist/esm/version.d.mts +1 -1
  322. package/dist/esm/version.mjs +1 -1
  323. package/package.json +1 -1
  324. package/reference.md +1227 -236
  325. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.d.ts +0 -13
  326. package/dist/cjs/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.ts +0 -13
  327. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +0 -137
  328. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.ts +0 -1
  329. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +0 -50
  330. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +0 -137
  331. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.ts +0 -1
  332. package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverUpdateReq.d.ts +0 -26
  333. package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.d.ts +0 -1
  334. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +0 -242
  335. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.ts +0 -12
  336. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.ts +0 -12
  337. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.ts +0 -12
  338. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +0 -13
  339. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +0 -49
  340. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.ts +0 -1
  341. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.d.mts +0 -13
  342. package/dist/esm/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.mts +0 -13
  343. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +0 -100
  344. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +0 -1
  345. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +0 -50
  346. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +0 -100
  347. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +0 -1
  348. package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverUpdateReq.d.mts +0 -26
  349. package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.d.mts +0 -1
  350. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +0 -242
  351. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.mts +0 -12
  352. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.mts +0 -12
  353. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.mts +0 -12
  354. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +0 -13
  355. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +0 -49
  356. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +0 -1
  357. /package/dist/{esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.mjs → cjs/api/resources/flights/client/index.d.ts} +0 -0
  358. /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice/client/requests → flights/client}/index.js +0 -0
  359. /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/index.d.ts +0 -0
  360. /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/index.js +0 -0
  361. /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.d.ts +0 -0
  362. /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.js +0 -0
  363. /package/dist/cjs/api/resources/{orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.js → tracking/resources/sessions/client/requests/SessionCreateSessionRequest1.js} +0 -0
  364. /package/dist/cjs/api/resources/{taskGroups/client/requests/SetFlightNumberReq.js → tracking/resources/sessions/client/requests/SessionUpdateRequest1.js} +0 -0
  365. /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.js → sessions/client/requests/SessionsDeleteV1Request.js} +0 -0
  366. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.js → sessions/client/requests/SessionsGetV1Request.js} +0 -0
  367. /package/dist/cjs/api/resources/tracking/resources/{driver/client/requests/DriverUpdateReq.js → sessions/client/requests/SessionsPauseRecordingV1Request.js} +0 -0
  368. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.js → sessions/client/requests/SessionsResumeRecordingV1Request.js} +0 -0
  369. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.js → sessions/client/requests/SessionsStartV1Request.js} +0 -0
  370. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.js → sessions/client/requests/SessionsTerminateV1Request.js} +0 -0
  371. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/client/requests/index.js +0 -0
  372. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/index.d.ts +0 -0
  373. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/index.js +0 -0
  374. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.d.ts +0 -0
  375. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.js +0 -0
  376. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.js → sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.js} +0 -0
  377. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.js → sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.js} +0 -0
  378. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.js → sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.js} +0 -0
  379. /package/dist/cjs/api/resources/tracking/resources/{driver → sharingSettings}/client/requests/index.js +0 -0
  380. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.d.ts +0 -0
  381. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.js +0 -0
  382. /package/dist/{esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.mjs → cjs/api/resources/tracking/resources/timeseries/client/index.d.ts} +0 -0
  383. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests → timeseries/client}/index.js +0 -0
  384. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.d.ts +0 -0
  385. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.js +0 -0
  386. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.js} +0 -0
  387. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.js} +0 -0
  388. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.js} +0 -0
  389. /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → timeseries/resources/cargoByDevice}/client/requests/CargoByDeviceLastSeenV1Request.d.ts +0 -0
  390. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.js} +0 -0
  391. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.js} +0 -0
  392. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/client/requests/index.js +0 -0
  393. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.d.ts +0 -0
  394. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.js +0 -0
  395. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.d.ts +0 -0
  396. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.js +0 -0
  397. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.js} +0 -0
  398. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.js} +0 -0
  399. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.js} +0 -0
  400. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → timeseries/resources/cargoByDriver}/client/requests/CargoByDriverLastSeenV1Request.d.ts +0 -0
  401. /package/dist/cjs/api/{types/SessionByDeviceDeleteResponse1.js → resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.js} +0 -0
  402. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsPublicV1Request.d.ts +0 -0
  403. /package/dist/cjs/api/{types/TrackingCargoByDeviceDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.js} +0 -0
  404. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsV1Request.d.ts +0 -0
  405. /package/dist/cjs/api/{types/TrackingCargoByDeviceDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.js} +0 -0
  406. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenPublicV1Request.d.ts +0 -0
  407. /package/dist/cjs/api/{types/TrackingCargoByDriverDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.js} +0 -0
  408. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenV1Request.d.ts +0 -0
  409. /package/dist/cjs/api/{types/TrackingCargoByDriverDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.js} +0 -0
  410. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +0 -0
  411. /package/dist/cjs/api/{types/TrackingSessionByDeviceDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.js} +0 -0
  412. /package/dist/cjs/api/{types/TrackingSessionByDeviceDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.js} +0 -0
  413. /package/dist/cjs/api/{types/TrackingTaskGroupByDriverDataPoint1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.js} +0 -0
  414. /package/dist/cjs/api/{types/TrackingTaskGroupByDriverDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.js} +0 -0
  415. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/taskGroupByDriver}/client/requests/TaskGroupByDriverLastSeenV1Request.d.ts +0 -0
  416. /package/dist/esm/api/resources/{tracking/resources/driver/client/requests/index.mjs → flights/client/index.d.mts} +0 -0
  417. /package/dist/esm/api/resources/{tracking/resources/sessionByDevice/client/requests → flights/client}/index.mjs +0 -0
  418. /package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/index.d.mts +0 -0
  419. /package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/index.mjs +0 -0
  420. /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.d.mts +0 -0
  421. /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.mjs +0 -0
  422. /package/dist/esm/api/resources/{orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.mjs → tracking/resources/sessions/client/requests/SessionCreateSessionRequest1.mjs} +0 -0
  423. /package/dist/esm/api/resources/{taskGroups/client/requests/SetFlightNumberReq.mjs → tracking/resources/sessions/client/requests/SessionUpdateRequest1.mjs} +0 -0
  424. /package/dist/esm/api/resources/tracking/resources/{cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.mjs → sessions/client/requests/SessionsDeleteV1Request.mjs} +0 -0
  425. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.mjs → sessions/client/requests/SessionsGetV1Request.mjs} +0 -0
  426. /package/dist/esm/api/resources/tracking/resources/{driver/client/requests/DriverUpdateReq.mjs → sessions/client/requests/SessionsPauseRecordingV1Request.mjs} +0 -0
  427. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.mjs → sessions/client/requests/SessionsResumeRecordingV1Request.mjs} +0 -0
  428. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.mjs → sessions/client/requests/SessionsStartV1Request.mjs} +0 -0
  429. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.mjs → sessions/client/requests/SessionsTerminateV1Request.mjs} +0 -0
  430. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → sessions}/client/requests/index.mjs +0 -0
  431. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sessions}/index.d.mts +0 -0
  432. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sessions}/index.mjs +0 -0
  433. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.d.mts +0 -0
  434. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.mjs +0 -0
  435. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.mjs → sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.mjs} +0 -0
  436. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.mjs → sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.mjs} +0 -0
  437. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.mjs → sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.mjs} +0 -0
  438. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.d.mts +0 -0
  439. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.mjs +0 -0
  440. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.d.mts +0 -0
  441. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.mjs +0 -0
  442. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.mjs} +0 -0
  443. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.mjs} +0 -0
  444. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.mjs} +0 -0
  445. /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → timeseries/resources/cargoByDevice}/client/requests/CargoByDeviceLastSeenV1Request.d.mts +0 -0
  446. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.mjs} +0 -0
  447. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.mjs} +0 -0
  448. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.d.mts +0 -0
  449. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.mjs +0 -0
  450. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.d.mts +0 -0
  451. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.mjs +0 -0
  452. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.mjs} +0 -0
  453. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.mjs} +0 -0
  454. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.mjs} +0 -0
  455. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → timeseries/resources/cargoByDriver}/client/requests/CargoByDriverLastSeenV1Request.d.mts +0 -0
  456. /package/dist/esm/api/{types/SessionByDeviceDeleteResponse1.mjs → resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.mjs} +0 -0
  457. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsPublicV1Request.d.mts +0 -0
  458. /package/dist/esm/api/{types/TrackingCargoByDeviceDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.mjs} +0 -0
  459. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsV1Request.d.mts +0 -0
  460. /package/dist/esm/api/{types/TrackingCargoByDeviceDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.mjs} +0 -0
  461. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenPublicV1Request.d.mts +0 -0
  462. /package/dist/esm/api/{types/TrackingCargoByDriverDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.mjs} +0 -0
  463. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenV1Request.d.mts +0 -0
  464. /package/dist/esm/api/{types/TrackingCargoByDriverDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.mjs} +0 -0
  465. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +0 -0
  466. /package/dist/esm/api/{types/TrackingSessionByDeviceDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.mjs} +0 -0
  467. /package/dist/esm/api/{types/TrackingSessionByDeviceDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.mjs} +0 -0
  468. /package/dist/esm/api/{types/TrackingTaskGroupByDriverDataPoint1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.mjs} +0 -0
  469. /package/dist/esm/api/{types/TrackingTaskGroupByDriverDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.mjs} +0 -0
  470. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/taskGroupByDriver}/client/requests/TaskGroupByDriverLastSeenV1Request.d.mts +0 -0
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as environments from "../../../../../../environments.js";
5
- import * as core from "../../../../../../core/index.js";
6
- import * as Chrt from "../../../../../index.js";
7
- export declare namespace CargoByDevice {
4
+ import * as environments from "../../../../environments.js";
5
+ import * as core from "../../../../core/index.js";
6
+ import * as Chrt from "../../../index.js";
7
+ export declare namespace Flights {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
@@ -27,24 +27,21 @@ export declare namespace CargoByDevice {
27
27
  headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
28
  }
29
29
  }
30
- export declare class CargoByDevice {
31
- protected readonly _options: CargoByDevice.Options;
32
- constructor(_options?: CargoByDevice.Options);
30
+ export declare class Flights {
31
+ protected readonly _options: Flights.Options;
32
+ constructor(_options?: Flights.Options);
33
33
  /**
34
- * Returns the most recent device location data point for cargo within a task group. Access granted to courier or shipper organization. | () -> (TrackingCargoByDeviceDataPoint1 | None)
34
+ * Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[courier_driver, forwarder_org_operators, courier_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
35
35
  *
36
- * @param {Chrt.tracking.CargoByDeviceLastSeenV1Request} request
37
- * @param {CargoByDevice.RequestOptions} requestOptions - Request-specific configuration.
36
+ * @param {string} taskId
37
+ * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.tracking.cargoByDevice.lastSeenV1({
43
- * cargo_id: "cargo_id",
44
- * task_group_id: "task_group_id"
45
- * })
42
+ * await client.flights.getFlightInfoForTaskV1("task_id")
46
43
  */
47
- lastSeenV1(request: Chrt.tracking.CargoByDeviceLastSeenV1Request, requestOptions?: CargoByDevice.RequestOptions): core.HttpResponsePromise<(Chrt.TrackingCargoByDeviceDataPoint1 | null) | undefined>;
48
- private __lastSeenV1;
44
+ getFlightInfoForTaskV1(taskId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightInfoForTaskRes>;
45
+ private __getFlightInfoForTaskV1;
49
46
  protected _getAuthorizationHeader(): Promise<string | undefined>;
50
47
  }
@@ -45,53 +45,45 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
45
45
  });
46
46
  };
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.TaskGroupByDriver = void 0;
49
- const environments = __importStar(require("../../../../../../environments.js"));
50
- const core = __importStar(require("../../../../../../core/index.js"));
51
- const Chrt = __importStar(require("../../../../../index.js"));
52
- const headers_js_1 = require("../../../../../../core/headers.js");
53
- const errors = __importStar(require("../../../../../../errors/index.js"));
54
- class TaskGroupByDriver {
48
+ exports.Flights = void 0;
49
+ const environments = __importStar(require("../../../../environments.js"));
50
+ const core = __importStar(require("../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../index.js"));
52
+ const headers_js_1 = require("../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../errors/index.js"));
54
+ class Flights {
55
55
  constructor(_options = {}) {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * 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)
59
+ * Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[courier_driver, forwarder_org_operators, courier_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
60
60
  *
61
- * @param {Chrt.tracking.TaskGroupByDriverLastSeenV1Request} request
62
- * @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {string} taskId
62
+ * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
64
64
  * @throws {@link Chrt.UnprocessableEntityError}
65
65
  *
66
66
  * @example
67
- * await client.tracking.taskGroupByDriver.lastSeenV1({
68
- * task_group_id: "task_group_id"
69
- * })
67
+ * await client.flights.getFlightInfoForTaskV1("task_id")
70
68
  */
71
- lastSeenV1(request, requestOptions) {
72
- return core.HttpResponsePromise.fromPromise(this.__lastSeenV1(request, requestOptions));
69
+ getFlightInfoForTaskV1(taskId, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__getFlightInfoForTaskV1(taskId, requestOptions));
73
71
  }
74
- __lastSeenV1(request, requestOptions) {
72
+ __getFlightInfoForTaskV1(taskId, requestOptions) {
75
73
  return __awaiter(this, void 0, void 0, function* () {
76
74
  var _a, _b, _c, _d;
77
- const { task_group_id: taskGroupId } = request;
78
- const _queryParams = {};
79
- _queryParams["task_group_id"] = taskGroupId;
80
75
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
81
76
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
82
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking/task_group_by_driver/last_seen/v1"),
77
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `flights/flight_info/for_task/v1/${encodeURIComponent(taskId)}`),
83
78
  method: "GET",
84
79
  headers: _headers,
85
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
80
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
86
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
87
82
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
88
83
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
89
84
  });
90
85
  if (_response.ok) {
91
- return {
92
- data: _response.body,
93
- rawResponse: _response.rawResponse,
94
- };
86
+ return { data: _response.body, rawResponse: _response.rawResponse };
95
87
  }
96
88
  if (_response.error.reason === "status-code") {
97
89
  switch (_response.error.statusCode) {
@@ -113,7 +105,7 @@ class TaskGroupByDriver {
113
105
  rawResponse: _response.rawResponse,
114
106
  });
115
107
  case "timeout":
116
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/task_group_by_driver/last_seen/v1.");
108
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /flights/flight_info/for_task/v1/{task_id}.");
117
109
  case "unknown":
118
110
  throw new errors.ChrtError({
119
111
  message: _response.error.errorMessage,
@@ -132,4 +124,4 @@ class TaskGroupByDriver {
132
124
  });
133
125
  }
134
126
  }
135
- exports.TaskGroupByDriver = TaskGroupByDriver;
127
+ exports.Flights = Flights;
@@ -14,6 +14,7 @@ export * as shipperPayCourierRateSheets from "./shipperPayCourierRateSheets/inde
14
14
  export * as shipperPayCourierStatements from "./shipperPayCourierStatements/index.js";
15
15
  export * as orgProfiles from "./orgProfiles/index.js";
16
16
  export * as dev from "./dev/index.js";
17
+ export * as flights from "./flights/index.js";
17
18
  export * as taskArtifactNotifications from "./taskArtifactNotifications/index.js";
18
19
  export * as drivers from "./drivers/index.js";
19
20
  export * as cargos from "./cargos/index.js";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.tracking = exports.orgInfoForConnections = exports.notifications = exports.utils = exports.users = exports.root = exports.orgs = exports.shipperContactInfo = exports.tasks = exports.offChrtShipperOrg = exports.taskArtifacts = exports.cargos = exports.drivers = exports.taskArtifactNotifications = exports.dev = exports.orgProfiles = exports.shipperPayCourierStatements = exports.shipperPayCourierRateSheets = exports.shipperPayCourierPayments = exports.shipperPayCourierLineItemGroups = exports.courierPayDriverStatements = exports.courierPayDriverRateSheets = exports.courierPayDriverPayouts = exports.courierPayDriverLineItemGroups = exports.payments = exports.taskGroups = exports.orders = exports.orderDrafts = exports.connections = void 0;
39
+ exports.tracking = exports.orgInfoForConnections = exports.notifications = exports.utils = exports.users = exports.root = exports.orgs = exports.shipperContactInfo = exports.tasks = exports.offChrtShipperOrg = exports.taskArtifacts = exports.cargos = exports.drivers = exports.taskArtifactNotifications = exports.flights = exports.dev = exports.orgProfiles = exports.shipperPayCourierStatements = exports.shipperPayCourierRateSheets = exports.shipperPayCourierPayments = exports.shipperPayCourierLineItemGroups = exports.courierPayDriverStatements = exports.courierPayDriverRateSheets = exports.courierPayDriverPayouts = exports.courierPayDriverLineItemGroups = exports.payments = exports.taskGroups = exports.orders = exports.orderDrafts = exports.connections = void 0;
40
40
  exports.connections = __importStar(require("./connections/index.js"));
41
41
  __exportStar(require("./connections/types/index.js"), exports);
42
42
  exports.orderDrafts = __importStar(require("./orderDrafts/index.js"));
@@ -53,6 +53,7 @@ exports.shipperPayCourierRateSheets = __importStar(require("./shipperPayCourierR
53
53
  exports.shipperPayCourierStatements = __importStar(require("./shipperPayCourierStatements/index.js"));
54
54
  exports.orgProfiles = __importStar(require("./orgProfiles/index.js"));
55
55
  exports.dev = __importStar(require("./dev/index.js"));
56
+ exports.flights = __importStar(require("./flights/index.js"));
56
57
  exports.taskArtifactNotifications = __importStar(require("./taskArtifactNotifications/index.js"));
57
58
  exports.drivers = __importStar(require("./drivers/index.js"));
58
59
  exports.cargos = __importStar(require("./cargos/index.js"));
@@ -47,21 +47,19 @@ export declare class TaskGroup {
47
47
  addV1(request: Chrt.orderDrafts.OrderDraftAddTaskGroupReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<string>;
48
48
  private __addV1;
49
49
  /**
50
- * Sets the flight number on a draft task group. | (SetFlightNumberDraftReq) -> (bool)
50
+ * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
51
51
  *
52
52
  * @param {string} taskGroupId
53
- * @param {Chrt.orderDrafts.SetFlightNumberDraftReq} request
53
+ * @param {Chrt.SetFlightInfoReq} request
54
54
  * @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
55
55
  *
56
56
  * @throws {@link Chrt.UnprocessableEntityError}
57
57
  *
58
58
  * @example
59
- * await client.orderDrafts.taskGroup.setFlightNumberV1("task_group_id", {
60
- * flight_number: "flight_number"
61
- * })
59
+ * await client.orderDrafts.taskGroup.setFlightInfoV1("task_group_id", {})
62
60
  */
63
- setFlightNumberV1(taskGroupId: string, request: Chrt.orderDrafts.SetFlightNumberDraftReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
64
- private __setFlightNumberV1;
61
+ setFlightInfoV1(taskGroupId: string, request: Chrt.SetFlightInfoReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
62
+ private __setFlightInfoV1;
65
63
  /**
66
64
  * Updates the courier organization assigned to a draft task group. | (UpdateCourierOrgDraftReq) -> (bool)
67
65
  *
@@ -121,28 +121,26 @@ class TaskGroup {
121
121
  });
122
122
  }
123
123
  /**
124
- * Sets the flight number on a draft task group. | (SetFlightNumberDraftReq) -> (bool)
124
+ * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
125
125
  *
126
126
  * @param {string} taskGroupId
127
- * @param {Chrt.orderDrafts.SetFlightNumberDraftReq} request
127
+ * @param {Chrt.SetFlightInfoReq} request
128
128
  * @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
129
129
  *
130
130
  * @throws {@link Chrt.UnprocessableEntityError}
131
131
  *
132
132
  * @example
133
- * await client.orderDrafts.taskGroup.setFlightNumberV1("task_group_id", {
134
- * flight_number: "flight_number"
135
- * })
133
+ * await client.orderDrafts.taskGroup.setFlightInfoV1("task_group_id", {})
136
134
  */
137
- setFlightNumberV1(taskGroupId, request, requestOptions) {
138
- return core.HttpResponsePromise.fromPromise(this.__setFlightNumberV1(taskGroupId, request, requestOptions));
135
+ setFlightInfoV1(taskGroupId, request, requestOptions) {
136
+ return core.HttpResponsePromise.fromPromise(this.__setFlightInfoV1(taskGroupId, request, requestOptions));
139
137
  }
140
- __setFlightNumberV1(taskGroupId, request, requestOptions) {
138
+ __setFlightInfoV1(taskGroupId, request, requestOptions) {
141
139
  return __awaiter(this, void 0, void 0, function* () {
142
140
  var _a, _b, _c, _d;
143
141
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
144
142
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
145
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/order_drafts/task_group/set_flight_number/v1/${encodeURIComponent(taskGroupId)}`),
143
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/order_drafts/task_group/set_flight_info/v1/${encodeURIComponent(taskGroupId)}`),
146
144
  method: "PATCH",
147
145
  headers: _headers,
148
146
  contentType: "application/json",
@@ -176,7 +174,7 @@ class TaskGroup {
176
174
  rawResponse: _response.rawResponse,
177
175
  });
178
176
  case "timeout":
179
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/order_drafts/task_group/set_flight_number/v1/{task_group_id}.");
177
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/order_drafts/task_group/set_flight_info/v1/{task_group_id}.");
180
178
  case "unknown":
181
179
  throw new errors.ChrtError({
182
180
  message: _response.error.errorMessage,
@@ -1,4 +1,3 @@
1
1
  export { type OrderDraftAddTaskGroupReq } from "./OrderDraftAddTaskGroupReq.js";
2
- export { type SetFlightNumberDraftReq } from "./SetFlightNumberDraftReq.js";
3
2
  export { type UpdateCourierOrgDraftReq } from "./UpdateCourierOrgDraftReq.js";
4
3
  export { type SetTaskOrderingDraftReq } from "./SetTaskOrderingDraftReq.js";
@@ -59,7 +59,7 @@ export declare class Expanded {
59
59
  forForwarderOperatorsV1(orderIdOrShortId: string, request: Chrt.OrderAndTaskGroupExpandedReq, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderExpanded>;
60
60
  private __forForwarderOperatorsV1;
61
61
  /**
62
- * Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz_personas=[forwarder_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
62
+ * Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz: allowed_org_types=[forwarder], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
63
63
  *
64
64
  * @param {Chrt.orders.ExpandedListForForwarderOperatorsV1Request} request
65
65
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -90,7 +90,7 @@ export declare class Expanded {
90
90
  listForForwarderOperatorsV1(request: Chrt.orders.ExpandedListForForwarderOperatorsV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
91
91
  private __listForForwarderOperatorsV1;
92
92
  /**
93
- * Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
93
+ * Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
94
94
  *
95
95
  * @param {Chrt.orders.ExpandedListForShipperOperatorsV1Request} request
96
96
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -182,7 +182,7 @@ class Expanded {
182
182
  });
183
183
  }
184
184
  /**
185
- * Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz_personas=[forwarder_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
185
+ * Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz: allowed_org_types=[forwarder], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
186
186
  *
187
187
  * @param {Chrt.orders.ExpandedListForForwarderOperatorsV1Request} request
188
188
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -320,7 +320,7 @@ class Expanded {
320
320
  });
321
321
  }
322
322
  /**
323
- * Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
323
+ * Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
324
324
  *
325
325
  * @param {Chrt.orders.ExpandedListForShipperOperatorsV1Request} request
326
326
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Payments {
31
31
  protected readonly _options: Payments.Options;
32
32
  constructor(_options?: Payments.Options);
33
33
  /**
34
- * Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee.
34
+ * Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee. | (GenerateInvoiceReq) -> (GenerateInvoiceRes)
35
35
  *
36
36
  * @param {Chrt.GenerateInvoiceReq} request
37
37
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
@@ -46,7 +46,7 @@ export declare class Payments {
46
46
  generateInvoiceV1(request: Chrt.GenerateInvoiceReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.GenerateInvoiceRes>;
47
47
  private __generateInvoiceV1;
48
48
  /**
49
- * Creates a Stripe checkout session for a subscription with pricing based on the selected plan.
49
+ * Creates a Stripe checkout session for a subscription with pricing based on the selected plan. | (CreateCheckoutSessionReq) -> (CreateCheckoutSessionRes)
50
50
  *
51
51
  * @param {Chrt.CreateCheckoutSessionReq} request
52
52
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
@@ -61,7 +61,7 @@ export declare class Payments {
61
61
  createCheckoutSessionV1(request: Chrt.CreateCheckoutSessionReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.CreateCheckoutSessionRes>;
62
62
  private __createCheckoutSessionV1;
63
63
  /**
64
- * Synchronizes subscription data from Stripe to the authentication service for the current user.
64
+ * Synchronizes subscription data from Stripe to the authentication service for the current user. | () -> (bool)
65
65
  *
66
66
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
@@ -71,7 +71,7 @@ export declare class Payments {
71
71
  syncStripeToClerkV1(requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<boolean>;
72
72
  private __syncStripeToClerkV1;
73
73
  /**
74
- * Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created.
74
+ * Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created. | () -> (CreateConnectAccountRes)
75
75
  *
76
76
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
77
77
  *
@@ -81,7 +81,7 @@ export declare class Payments {
81
81
  createConnectAccountV1(requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.CreateConnectAccountRes>;
82
82
  private __createConnectAccountV1;
83
83
  /**
84
- * Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup.
84
+ * Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup. | () -> (CreateConnectAccountLinkRes)
85
85
  *
86
86
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
87
87
  *
@@ -56,7 +56,7 @@ class Payments {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee.
59
+ * Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee. | (GenerateInvoiceReq) -> (GenerateInvoiceRes)
60
60
  *
61
61
  * @param {Chrt.GenerateInvoiceReq} request
62
62
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
@@ -120,7 +120,7 @@ class Payments {
120
120
  });
121
121
  }
122
122
  /**
123
- * Creates a Stripe checkout session for a subscription with pricing based on the selected plan.
123
+ * Creates a Stripe checkout session for a subscription with pricing based on the selected plan. | (CreateCheckoutSessionReq) -> (CreateCheckoutSessionRes)
124
124
  *
125
125
  * @param {Chrt.CreateCheckoutSessionReq} request
126
126
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
@@ -184,7 +184,7 @@ class Payments {
184
184
  });
185
185
  }
186
186
  /**
187
- * Synchronizes subscription data from Stripe to the authentication service for the current user.
187
+ * Synchronizes subscription data from Stripe to the authentication service for the current user. | () -> (bool)
188
188
  *
189
189
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
190
190
  *
@@ -235,7 +235,7 @@ class Payments {
235
235
  });
236
236
  }
237
237
  /**
238
- * Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created.
238
+ * Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created. | () -> (CreateConnectAccountRes)
239
239
  *
240
240
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
241
241
  *
@@ -286,7 +286,7 @@ class Payments {
286
286
  });
287
287
  }
288
288
  /**
289
- * Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup.
289
+ * Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup. | () -> (CreateConnectAccountLinkRes)
290
290
  *
291
291
  * @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
292
292
  *
@@ -43,7 +43,7 @@ export declare class ShipperPayCourierLineItemGroups {
43
43
  get addLineItems(): AddLineItems;
44
44
  get removeLineItems(): RemoveLineItems;
45
45
  /**
46
- * Retrieves a shipper pay courier line item group by its ID for the caller's courier organization.
46
+ * Retrieves a shipper pay courier line item group by its ID for the caller's courier organization. | () -> (ShipperPayCourierLineItemGroup1)
47
47
  *
48
48
  * @param {string} id
49
49
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ export declare class ShipperPayCourierLineItemGroups {
56
56
  getByIdV1(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
57
57
  private __getByIdV1;
58
58
  /**
59
- * Deletes a shipper pay courier line item group by its ID if not referenced by any payment.
59
+ * Deletes a shipper pay courier line item group by its ID if not referenced by any payment. | () -> (bool)
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -69,7 +69,7 @@ export declare class ShipperPayCourierLineItemGroups {
69
69
  deleteByIdV1(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<boolean>;
70
70
  private __deleteByIdV1;
71
71
  /**
72
- * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's courier organization.
72
+ * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's courier organization. | () -> (ShipperPayCourierLineItemGroup1)
73
73
  *
74
74
  * @param {string} taskGroupId
75
75
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -82,7 +82,7 @@ export declare class ShipperPayCourierLineItemGroups {
82
82
  byTaskGroupIdV1(taskGroupId: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
83
83
  private __byTaskGroupIdV1;
84
84
  /**
85
- * Previews calculated line items for a shipper pay courier based on rate sheet and task group without creating the group.
85
+ * Previews calculated line items for a shipper pay courier based on rate sheet and task group without creating the group. | (ShipperPayCourierLineItemGroupCreateReq) -> (ShipperPayCourierLineItemGroupServerCreate1)
86
86
  *
87
87
  * @param {Chrt.ShipperPayCourierLineItemGroupCreateReq} request
88
88
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -98,7 +98,7 @@ export declare class ShipperPayCourierLineItemGroups {
98
98
  previewV1(request: Chrt.ShipperPayCourierLineItemGroupCreateReq, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroupServerCreate1>;
99
99
  private __previewV1;
100
100
  /**
101
- * Creates a shipper pay courier line item group by calculating items from rate sheet and task group.
101
+ * Creates a shipper pay courier line item group by calculating items from rate sheet and task group. | (ShipperPayCourierLineItemGroupCreateReq) -> (PydanticObjectId)
102
102
  *
103
103
  * @param {Chrt.ShipperPayCourierLineItemGroupCreateReq} request
104
104
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -76,7 +76,7 @@ class ShipperPayCourierLineItemGroups {
76
76
  return ((_a = this._removeLineItems) !== null && _a !== void 0 ? _a : (this._removeLineItems = new Client_js_4.RemoveLineItems(this._options)));
77
77
  }
78
78
  /**
79
- * Retrieves a shipper pay courier line item group by its ID for the caller's courier organization.
79
+ * Retrieves a shipper pay courier line item group by its ID for the caller's courier organization. | () -> (ShipperPayCourierLineItemGroup1)
80
80
  *
81
81
  * @param {string} id
82
82
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -135,7 +135,7 @@ class ShipperPayCourierLineItemGroups {
135
135
  });
136
136
  }
137
137
  /**
138
- * Deletes a shipper pay courier line item group by its ID if not referenced by any payment.
138
+ * Deletes a shipper pay courier line item group by its ID if not referenced by any payment. | () -> (bool)
139
139
  *
140
140
  * @param {string} id
141
141
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -194,7 +194,7 @@ class ShipperPayCourierLineItemGroups {
194
194
  });
195
195
  }
196
196
  /**
197
- * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's courier organization.
197
+ * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's courier organization. | () -> (ShipperPayCourierLineItemGroup1)
198
198
  *
199
199
  * @param {string} taskGroupId
200
200
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -253,7 +253,7 @@ class ShipperPayCourierLineItemGroups {
253
253
  });
254
254
  }
255
255
  /**
256
- * Previews calculated line items for a shipper pay courier based on rate sheet and task group without creating the group.
256
+ * Previews calculated line items for a shipper pay courier based on rate sheet and task group without creating the group. | (ShipperPayCourierLineItemGroupCreateReq) -> (ShipperPayCourierLineItemGroupServerCreate1)
257
257
  *
258
258
  * @param {Chrt.ShipperPayCourierLineItemGroupCreateReq} request
259
259
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -321,7 +321,7 @@ class ShipperPayCourierLineItemGroups {
321
321
  });
322
322
  }
323
323
  /**
324
- * Creates a shipper pay courier line item group by calculating items from rate sheet and task group.
324
+ * Creates a shipper pay courier line item group by calculating items from rate sheet and task group. | (ShipperPayCourierLineItemGroupCreateReq) -> (PydanticObjectId)
325
325
  *
326
326
  * @param {Chrt.ShipperPayCourierLineItemGroupCreateReq} request
327
327
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class AddLineItems {
31
31
  protected readonly _options: AddLineItems.Options;
32
32
  constructor(_options?: AddLineItems.Options);
33
33
  /**
34
- * Adds additional line items to an existing shipper pay courier line item group.
34
+ * Adds additional line items to an existing shipper pay courier line item group. | (ShipperPayCourierLineItemGroupAddLineItemsReq) -> (ShipperPayCourierLineItemGroup1)
35
35
  *
36
36
  * @param {string} id
37
37
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupAddLineItemsReq} request
@@ -56,7 +56,7 @@ class AddLineItems {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Adds additional line items to an existing shipper pay courier line item group.
59
+ * Adds additional line items to an existing shipper pay courier line item group. | (ShipperPayCourierLineItemGroupAddLineItemsReq) -> (ShipperPayCourierLineItemGroup1)
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupAddLineItemsReq} request
@@ -31,7 +31,7 @@ export declare class Courier {
31
31
  protected readonly _options: Courier.Options;
32
32
  constructor(_options?: Courier.Options);
33
33
  /**
34
- * Lists all shipper pay courier line item groups for the caller's courier organization.
34
+ * Lists all shipper pay courier line item groups for the caller's courier organization. | () -> (list[ShipperPayCourierLineItemGroup1])
35
35
  *
36
36
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -55,7 +55,7 @@ class Courier {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
58
- * Lists all shipper pay courier line item groups for the caller's courier organization.
58
+ * Lists all shipper pay courier line item groups for the caller's courier organization. | () -> (list[ShipperPayCourierLineItemGroup1])
59
59
  *
60
60
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
@@ -31,7 +31,7 @@ export declare class RemoveLineItems {
31
31
  protected readonly _options: RemoveLineItems.Options;
32
32
  constructor(_options?: RemoveLineItems.Options);
33
33
  /**
34
- * Removes specific line items from a shipper pay courier line item group by their UUID identifiers.
34
+ * Removes specific line items from a shipper pay courier line item group by their UUID identifiers. | (ShipperPayCourierLineItemGroupRemoveLineItemsReq) -> (ShipperPayCourierLineItemGroup1)
35
35
  *
36
36
  * @param {string} id
37
37
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq} request
@@ -56,7 +56,7 @@ class RemoveLineItems {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Removes specific line items from a shipper pay courier line item group by their UUID identifiers.
59
+ * Removes specific line items from a shipper pay courier line item group by their UUID identifiers. | (ShipperPayCourierLineItemGroupRemoveLineItemsReq) -> (ShipperPayCourierLineItemGroup1)
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq} request
@@ -31,7 +31,7 @@ export declare class Shipper {
31
31
  protected readonly _options: Shipper.Options;
32
32
  constructor(_options?: Shipper.Options);
33
33
  /**
34
- * Lists all shipper pay courier line item groups for the caller's shipper organization.
34
+ * Lists all shipper pay courier line item groups for the caller's shipper organization. | () -> (list[ShipperPayCourierLineItemGroup1])
35
35
  *
36
36
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -41,7 +41,7 @@ export declare class Shipper {
41
41
  listV1(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1[]>;
42
42
  private __listV1;
43
43
  /**
44
- * Retrieves a shipper pay courier line item group by its ID for the caller's shipper organization.
44
+ * Retrieves a shipper pay courier line item group by its ID for the caller's shipper organization. | () -> (ShipperPayCourierLineItemGroup1)
45
45
  *
46
46
  * @param {string} id
47
47
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
@@ -54,7 +54,7 @@ export declare class Shipper {
54
54
  getByIdV1(id: string, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
55
55
  private __getByIdV1;
56
56
  /**
57
- * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's shipper organization.
57
+ * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's shipper organization. | () -> (ShipperPayCourierLineItemGroup1)
58
58
  *
59
59
  * @param {string} taskGroupId
60
60
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class Shipper {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Lists all shipper pay courier line item groups for the caller's shipper organization.
59
+ * Lists all shipper pay courier line item groups for the caller's shipper organization. | () -> (list[ShipperPayCourierLineItemGroup1])
60
60
  *
61
61
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
@@ -110,7 +110,7 @@ class Shipper {
110
110
  });
111
111
  }
112
112
  /**
113
- * Retrieves a shipper pay courier line item group by its ID for the caller's shipper organization.
113
+ * Retrieves a shipper pay courier line item group by its ID for the caller's shipper organization. | () -> (ShipperPayCourierLineItemGroup1)
114
114
  *
115
115
  * @param {string} id
116
116
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
@@ -169,7 +169,7 @@ class Shipper {
169
169
  });
170
170
  }
171
171
  /**
172
- * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's shipper organization.
172
+ * Retrieves a shipper pay courier line item group by its associated task group ID for the caller's shipper organization. | () -> (ShipperPayCourierLineItemGroup1)
173
173
  *
174
174
  * @param {string} taskGroupId
175
175
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.