@chrt-inc/typescript-sdk 1.772.0 → 1.787.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 (231) hide show
  1. package/README.md +13 -10
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +31 -26
  4. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +35 -0
  5. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +133 -0
  6. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +23 -0
  7. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +24 -0
  8. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/flights/client/Client.d.ts +52 -0
  10. package/dist/cjs/api/resources/flights/client/Client.js +135 -0
  11. package/dist/cjs/api/resources/flights/client/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/flights/client/index.js +17 -0
  13. package/dist/cjs/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.ts +45 -0
  14. package/dist/cjs/api/resources/flights/client/requests/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/flights/client/requests/index.js +2 -0
  16. package/dist/cjs/api/resources/flights/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/flights/index.js +17 -0
  18. package/dist/cjs/api/resources/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/index.js +3 -1
  20. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +47 -10
  21. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +149 -17
  22. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +1 -1
  23. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListReorderEntries1.d.ts +1 -1
  24. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +0 -1
  25. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +19 -1
  26. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +71 -1
  27. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.ts +16 -0
  28. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +4 -4
  30. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +11 -3
  31. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +2 -0
  32. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +4 -0
  33. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +1 -0
  34. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +1 -0
  35. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +29 -24
  36. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +54 -51
  37. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +0 -2
  38. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.ts +24 -0
  39. package/dist/{esm/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.ts} +1 -1
  40. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +14 -0
  41. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +0 -3
  42. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +3 -3
  43. package/dist/cjs/api/types/AlertCallback.d.ts +7 -0
  44. package/dist/cjs/api/types/AlertCallback.js +5 -0
  45. package/dist/cjs/api/types/AlertEvent.d.ts +6 -0
  46. package/dist/cjs/api/types/AlertEvent.js +5 -0
  47. package/dist/cjs/api/types/AlertMessage.d.ts +10 -0
  48. package/dist/cjs/api/types/AlertMessage.js +5 -0
  49. package/dist/cjs/api/types/AlertNameValue.d.ts +7 -0
  50. package/dist/cjs/api/types/AlertNameValue.js +5 -0
  51. package/dist/cjs/api/types/AlertNameValues.d.ts +7 -0
  52. package/dist/cjs/api/types/AlertNameValues.js +5 -0
  53. package/dist/cjs/api/types/AlertRuleEnvelope.d.ts +7 -0
  54. package/dist/cjs/api/types/AlertRuleEnvelope.js +5 -0
  55. package/dist/cjs/api/types/CiriumAirportResources.d.ts +9 -0
  56. package/dist/cjs/api/types/CiriumAirportResources.js +5 -0
  57. package/dist/cjs/api/types/CiriumDate.d.ts +6 -0
  58. package/dist/cjs/api/types/CiriumDate.js +5 -0
  59. package/dist/cjs/api/types/{FlightAwareWebhookResponse.d.ts → CiriumFlightAlertsWebhookResponse.d.ts} +1 -1
  60. package/dist/cjs/api/types/CiriumFlightAlertsWebhookResponse.js +5 -0
  61. package/dist/cjs/api/types/CiriumFlightStatus.d.ts +15 -0
  62. package/dist/cjs/api/types/CiriumFlightStatus.js +5 -0
  63. package/dist/cjs/api/types/CiriumOperationalTimes.d.ts +17 -0
  64. package/dist/cjs/api/types/CiriumOperationalTimes.js +5 -0
  65. package/dist/cjs/api/types/ConnectionSearchByEnum.d.ts +8 -0
  66. package/dist/cjs/api/types/ConnectionSearchByEnum.js +10 -0
  67. package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.d.ts +8 -0
  68. package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.js +10 -0
  69. package/dist/cjs/api/types/Driver1.d.ts +0 -1
  70. package/dist/cjs/api/types/DriverListRes.d.ts +1 -1
  71. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +35 -0
  72. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.js +5 -0
  73. package/dist/cjs/api/types/FlightConnection.d.ts +10 -0
  74. package/dist/cjs/api/types/FlightConnection.js +5 -0
  75. package/dist/cjs/api/types/FlightConnectionLeg.d.ts +22 -0
  76. package/dist/cjs/api/types/FlightConnectionLeg.js +5 -0
  77. package/dist/cjs/api/types/FlightConnectionsSearchRes.d.ts +7 -0
  78. package/dist/cjs/api/types/FlightConnectionsSearchRes.js +5 -0
  79. package/dist/cjs/api/types/FlightLeg1.d.ts +3 -2
  80. package/dist/cjs/api/types/LineItem1.d.ts +1 -0
  81. package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.d.ts +7 -0
  82. package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.js +5 -0
  83. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +4 -12
  84. package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.d.ts +15 -0
  85. package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.js +5 -0
  86. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +1 -1
  87. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
  88. package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
  89. package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +7 -0
  90. package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.js +5 -0
  91. package/dist/cjs/api/types/OrderBuilderReq.d.ts +2 -0
  92. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  93. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
  94. package/dist/cjs/api/types/OrderTemplate1.d.ts +1 -0
  95. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +1 -0
  96. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
  97. package/dist/cjs/api/types/Session1.d.ts +3 -6
  98. package/dist/cjs/api/types/index.d.ts +20 -4
  99. package/dist/cjs/api/types/index.js +20 -4
  100. package/dist/cjs/version.d.ts +1 -1
  101. package/dist/cjs/version.js +1 -1
  102. package/dist/esm/Client.d.mts +3 -0
  103. package/dist/esm/Client.mjs +7 -2
  104. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +35 -0
  105. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +133 -0
  106. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +23 -0
  107. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +24 -0
  108. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -0
  109. package/dist/esm/api/resources/flights/client/Client.d.mts +52 -0
  110. package/dist/esm/api/resources/flights/client/Client.mjs +98 -0
  111. package/dist/esm/api/resources/flights/client/index.d.mts +2 -0
  112. package/dist/esm/api/resources/flights/client/index.mjs +1 -0
  113. package/dist/esm/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.mts +45 -0
  114. package/dist/esm/api/resources/flights/client/requests/index.d.mts +1 -0
  115. package/dist/esm/api/resources/flights/client/requests/index.mjs +1 -0
  116. package/dist/esm/api/resources/flights/index.d.mts +1 -0
  117. package/dist/esm/api/resources/flights/index.mjs +1 -0
  118. package/dist/esm/api/resources/index.d.mts +2 -0
  119. package/dist/esm/api/resources/index.mjs +2 -0
  120. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +47 -10
  121. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +149 -17
  122. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +1 -1
  123. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListReorderEntries1.d.mts +1 -1
  124. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +0 -1
  125. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +19 -1
  126. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +71 -1
  127. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.mts +16 -0
  128. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  129. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +4 -4
  130. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +11 -3
  131. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +2 -0
  132. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +4 -0
  133. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +1 -0
  134. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +1 -0
  135. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +29 -24
  136. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +54 -51
  137. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +0 -2
  138. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.mts +24 -0
  139. package/dist/{cjs/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.ts → esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.mts} +1 -1
  140. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +14 -0
  141. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +0 -3
  142. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +3 -3
  143. package/dist/esm/api/types/AlertCallback.d.mts +7 -0
  144. package/dist/esm/api/types/AlertCallback.mjs +4 -0
  145. package/dist/esm/api/types/AlertEvent.d.mts +6 -0
  146. package/dist/esm/api/types/AlertEvent.mjs +4 -0
  147. package/dist/esm/api/types/AlertMessage.d.mts +10 -0
  148. package/dist/esm/api/types/AlertMessage.mjs +4 -0
  149. package/dist/esm/api/types/AlertNameValue.d.mts +7 -0
  150. package/dist/esm/api/types/AlertNameValue.mjs +4 -0
  151. package/dist/esm/api/types/AlertNameValues.d.mts +7 -0
  152. package/dist/esm/api/types/AlertNameValues.mjs +4 -0
  153. package/dist/esm/api/types/AlertRuleEnvelope.d.mts +7 -0
  154. package/dist/esm/api/types/AlertRuleEnvelope.mjs +4 -0
  155. package/dist/esm/api/types/CiriumAirportResources.d.mts +9 -0
  156. package/dist/esm/api/types/CiriumAirportResources.mjs +4 -0
  157. package/dist/esm/api/types/CiriumDate.d.mts +6 -0
  158. package/dist/esm/api/types/CiriumDate.mjs +4 -0
  159. package/dist/esm/api/types/{FlightAwareWebhookResponse.d.mts → CiriumFlightAlertsWebhookResponse.d.mts} +1 -1
  160. package/dist/esm/api/types/CiriumFlightAlertsWebhookResponse.mjs +4 -0
  161. package/dist/esm/api/types/CiriumFlightStatus.d.mts +15 -0
  162. package/dist/esm/api/types/CiriumFlightStatus.mjs +4 -0
  163. package/dist/esm/api/types/CiriumOperationalTimes.d.mts +17 -0
  164. package/dist/esm/api/types/CiriumOperationalTimes.mjs +4 -0
  165. package/dist/esm/api/types/ConnectionSearchByEnum.d.mts +8 -0
  166. package/dist/esm/api/types/ConnectionSearchByEnum.mjs +7 -0
  167. package/dist/esm/api/types/ConnectionSearchPreferenceEnum.d.mts +8 -0
  168. package/dist/esm/api/types/ConnectionSearchPreferenceEnum.mjs +7 -0
  169. package/dist/esm/api/types/Driver1.d.mts +0 -1
  170. package/dist/esm/api/types/DriverListRes.d.mts +1 -1
  171. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +35 -0
  172. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.mjs +4 -0
  173. package/dist/esm/api/types/FlightConnection.d.mts +10 -0
  174. package/dist/esm/api/types/FlightConnection.mjs +4 -0
  175. package/dist/esm/api/types/FlightConnectionLeg.d.mts +22 -0
  176. package/dist/esm/api/types/FlightConnectionLeg.mjs +4 -0
  177. package/dist/esm/api/types/FlightConnectionsSearchRes.d.mts +7 -0
  178. package/dist/esm/api/types/FlightConnectionsSearchRes.mjs +4 -0
  179. package/dist/esm/api/types/FlightLeg1.d.mts +3 -2
  180. package/dist/esm/api/types/LineItem1.d.mts +1 -0
  181. package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.d.mts +7 -0
  182. package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.mjs +4 -0
  183. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +4 -12
  184. package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.d.mts +15 -0
  185. package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.mjs +4 -0
  186. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +1 -1
  187. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
  188. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
  189. package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +7 -0
  190. package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.mjs +4 -0
  191. package/dist/esm/api/types/OrderBuilderReq.d.mts +2 -0
  192. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  193. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
  194. package/dist/esm/api/types/OrderTemplate1.d.mts +1 -0
  195. package/dist/esm/api/types/OrderTemplateCore1.d.mts +1 -0
  196. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
  197. package/dist/esm/api/types/Session1.d.mts +3 -6
  198. package/dist/esm/api/types/index.d.mts +20 -4
  199. package/dist/esm/api/types/index.mjs +20 -4
  200. package/dist/esm/version.d.mts +1 -1
  201. package/dist/esm/version.mjs +1 -1
  202. package/package.json +1 -1
  203. package/reference.md +472 -32
  204. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.d.ts +0 -11
  205. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts +0 -16
  206. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.ts +0 -16
  207. package/dist/cjs/api/types/FlightAwareAlertFlight.d.ts +0 -16
  208. package/dist/cjs/api/types/FlightAwareAlertPayload.d.ts +0 -17
  209. package/dist/cjs/api/types/FlightStatusEnum.d.ts +0 -14
  210. package/dist/cjs/api/types/FlightStatusEnum.js +0 -16
  211. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.d.mts +0 -11
  212. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.mts +0 -16
  213. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.mts +0 -16
  214. package/dist/esm/api/types/FlightAwareAlertFlight.d.mts +0 -16
  215. package/dist/esm/api/types/FlightAwareAlertPayload.d.mts +0 -17
  216. package/dist/esm/api/types/FlightStatusEnum.d.mts +0 -14
  217. package/dist/esm/api/types/FlightStatusEnum.mjs +0 -13
  218. /package/dist/cjs/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.js → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.js} +0 -0
  219. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.js → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.js} +0 -0
  220. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.js → flights/client/requests/FlightConnectionsSearchReq.js} +0 -0
  221. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.js} +0 -0
  222. /package/dist/cjs/api/{types/FlightAwareAlertFlight.js → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.js} +0 -0
  223. /package/dist/cjs/api/{types/FlightAwareAlertPayload.js → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.js} +0 -0
  224. /package/dist/cjs/api/{types/FlightAwareWebhookResponse.js → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.js} +0 -0
  225. /package/dist/esm/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.mjs → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs} +0 -0
  226. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.mjs → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs} +0 -0
  227. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.mjs → flights/client/requests/FlightConnectionsSearchReq.mjs} +0 -0
  228. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.mjs} +0 -0
  229. /package/dist/esm/api/{types/FlightAwareAlertFlight.mjs → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.mjs} +0 -0
  230. /package/dist/esm/api/{types/FlightAwareAlertPayload.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.mjs} +0 -0
  231. /package/dist/esm/api/{types/FlightAwareWebhookResponse.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.mjs} +0 -0
package/reference.md CHANGED
@@ -1,5 +1,75 @@
1
1
  # Reference
2
2
 
3
+ ## Flights
4
+
5
+ <details><summary><code>client.flights.<a href="/src/api/resources/flights/client/Client.ts">searchConnectionsV1</a>({ ...params }) -> Chrt.FlightConnectionsSearchRes</code></summary>
6
+ <dl>
7
+ <dd>
8
+
9
+ #### 📝 Description
10
+
11
+ <dl>
12
+ <dd>
13
+
14
+ <dl>
15
+ <dd>
16
+
17
+ Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
18
+
19
+ </dd>
20
+ </dl>
21
+ </dd>
22
+ </dl>
23
+
24
+ #### 🔌 Usage
25
+
26
+ <dl>
27
+ <dd>
28
+
29
+ <dl>
30
+ <dd>
31
+
32
+ ```typescript
33
+ await client.flights.searchConnectionsV1({
34
+ origin: "origin",
35
+ destination: "destination",
36
+ search_by: "departure_time",
37
+ local_date_time: "2024-01-15T09:30:00Z",
38
+ });
39
+ ```
40
+
41
+ </dd>
42
+ </dl>
43
+ </dd>
44
+ </dl>
45
+
46
+ #### ⚙️ Parameters
47
+
48
+ <dl>
49
+ <dd>
50
+
51
+ <dl>
52
+ <dd>
53
+
54
+ **request:** `Chrt.FlightConnectionsSearchReq`
55
+
56
+ </dd>
57
+ </dl>
58
+
59
+ <dl>
60
+ <dd>
61
+
62
+ **requestOptions:** `Flights.RequestOptions`
63
+
64
+ </dd>
65
+ </dl>
66
+ </dd>
67
+ </dl>
68
+
69
+ </dd>
70
+ </dl>
71
+ </details>
72
+
3
73
  ## Orgs
4
74
 
5
75
  <details><summary><code>client.orgs.<a href="/src/api/resources/orgs/client/Client.ts">getInfoV1</a>() -> Chrt.OrgInfoResponse</code></summary>
@@ -2090,6 +2160,141 @@ await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayDriverV1({
2090
2160
  </dl>
2091
2161
  </details>
2092
2162
 
2163
+ <details><summary><code>client.billing.lineItemGroups.<a href="/src/api/resources/billing/resources/lineItemGroups/client/Client.ts">sharedTaskGroupMileageCreateV1</a>({ ...params }) -> Chrt.LineItemGroup1</code></summary>
2164
+ <dl>
2165
+ <dd>
2166
+
2167
+ #### 📝 Description
2168
+
2169
+ <dl>
2170
+ <dd>
2171
+
2172
+ <dl>
2173
+ <dd>
2174
+
2175
+ Prices a single driver's combined trip across several task groups once. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayDriverClientReq) -> (LineItemGroup1)
2176
+
2177
+ </dd>
2178
+ </dl>
2179
+ </dd>
2180
+ </dl>
2181
+
2182
+ #### 🔌 Usage
2183
+
2184
+ <dl>
2185
+ <dd>
2186
+
2187
+ <dl>
2188
+ <dd>
2189
+
2190
+ ```typescript
2191
+ await client.billing.lineItemGroups.sharedTaskGroupMileageCreateV1({
2192
+ order_group_id: "order_group_id",
2193
+ rate_sheet_id: "rate_sheet_id",
2194
+ payment_destination_driver_id: "payment_destination_driver_id",
2195
+ task_ids: ["task_ids"],
2196
+ });
2197
+ ```
2198
+
2199
+ </dd>
2200
+ </dl>
2201
+ </dd>
2202
+ </dl>
2203
+
2204
+ #### ⚙️ Parameters
2205
+
2206
+ <dl>
2207
+ <dd>
2208
+
2209
+ <dl>
2210
+ <dd>
2211
+
2212
+ **request:** `Chrt.billing.SharedTaskGroupMileageCreateForProviderPayDriverClientReq`
2213
+
2214
+ </dd>
2215
+ </dl>
2216
+
2217
+ <dl>
2218
+ <dd>
2219
+
2220
+ **requestOptions:** `LineItemGroups.RequestOptions`
2221
+
2222
+ </dd>
2223
+ </dl>
2224
+ </dd>
2225
+ </dl>
2226
+
2227
+ </dd>
2228
+ </dl>
2229
+ </details>
2230
+
2231
+ <details><summary><code>client.billing.lineItemGroups.<a href="/src/api/resources/billing/resources/lineItemGroups/client/Client.ts">sharedTaskGroupMileageCreateForProviderPayProviderV1</a>({ ...params }) -> Chrt.LineItemGroup1</code></summary>
2232
+ <dl>
2233
+ <dd>
2234
+
2235
+ #### 📝 Description
2236
+
2237
+ <dl>
2238
+ <dd>
2239
+
2240
+ <dl>
2241
+ <dd>
2242
+
2243
+ Prices a single agent's combined trip across several task groups once, on the provider_pay_provider vector — a coordinator paying the executor (commonly an off-chrt agent) that ran the route. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayProviderClientReq) -> (LineItemGroup1)
2244
+
2245
+ </dd>
2246
+ </dl>
2247
+ </dd>
2248
+ </dl>
2249
+
2250
+ #### 🔌 Usage
2251
+
2252
+ <dl>
2253
+ <dd>
2254
+
2255
+ <dl>
2256
+ <dd>
2257
+
2258
+ ```typescript
2259
+ await client.billing.lineItemGroups.sharedTaskGroupMileageCreateForProviderPayProviderV1({
2260
+ order_group_id: "order_group_id",
2261
+ rate_sheet_id: "rate_sheet_id",
2262
+ task_ids: ["task_ids"],
2263
+ });
2264
+ ```
2265
+
2266
+ </dd>
2267
+ </dl>
2268
+ </dd>
2269
+ </dl>
2270
+
2271
+ #### ⚙️ Parameters
2272
+
2273
+ <dl>
2274
+ <dd>
2275
+
2276
+ <dl>
2277
+ <dd>
2278
+
2279
+ **request:** `Chrt.billing.SharedTaskGroupMileageCreateForProviderPayProviderClientReq`
2280
+
2281
+ </dd>
2282
+ </dl>
2283
+
2284
+ <dl>
2285
+ <dd>
2286
+
2287
+ **requestOptions:** `LineItemGroups.RequestOptions`
2288
+
2289
+ </dd>
2290
+ </dl>
2291
+ </dd>
2292
+ </dl>
2293
+
2294
+ </dd>
2295
+ </dl>
2296
+ </details>
2297
+
2093
2298
  ## Billing ChrtGroundProviderRateSheets
2094
2299
 
2095
2300
  <details><summary><code>client.billing.chrtGroundProviderRateSheets.<a href="/src/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.ts">getByIdV1</a>(id) -> Chrt.ChrtGroundProviderRateSheet1</code></summary>
@@ -12921,7 +13126,165 @@ await client.operations.operationsTaskLists.createV1({
12921
13126
  </dl>
12922
13127
  </details>
12923
13128
 
12924
- <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">setEntriesV1</a>(taskListId, { ...params }) -> boolean</code></summary>
13129
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">addEntryV1</a>(taskListId, { ...params }) -> string</code></summary>
13130
+ <dl>
13131
+ <dd>
13132
+
13133
+ #### 📝 Description
13134
+
13135
+ <dl>
13136
+ <dd>
13137
+
13138
+ <dl>
13139
+ <dd>
13140
+
13141
+ Appends a new entry to an OperationsTaskList's `entries` array. The server assigns a fresh UUID and returns it. Order is load-bearing for from_previous_task-anchored deadlines. | authz: min_org_role=operator | (OperationsTaskListEntryClientCreate1) -> (str)
13142
+
13143
+ </dd>
13144
+ </dl>
13145
+ </dd>
13146
+ </dl>
13147
+
13148
+ #### 🔌 Usage
13149
+
13150
+ <dl>
13151
+ <dd>
13152
+
13153
+ <dl>
13154
+ <dd>
13155
+
13156
+ ```typescript
13157
+ await client.operations.operationsTaskLists.addEntryV1("task_list_id", {
13158
+ task_type: "review_order_details",
13159
+ title: "title",
13160
+ description: "description",
13161
+ });
13162
+ ```
13163
+
13164
+ </dd>
13165
+ </dl>
13166
+ </dd>
13167
+ </dl>
13168
+
13169
+ #### ⚙️ Parameters
13170
+
13171
+ <dl>
13172
+ <dd>
13173
+
13174
+ <dl>
13175
+ <dd>
13176
+
13177
+ **taskListId:** `string`
13178
+
13179
+ </dd>
13180
+ </dl>
13181
+
13182
+ <dl>
13183
+ <dd>
13184
+
13185
+ **request:** `Chrt.OperationsTaskListEntryClientCreate1`
13186
+
13187
+ </dd>
13188
+ </dl>
13189
+
13190
+ <dl>
13191
+ <dd>
13192
+
13193
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
13194
+
13195
+ </dd>
13196
+ </dl>
13197
+ </dd>
13198
+ </dl>
13199
+
13200
+ </dd>
13201
+ </dl>
13202
+ </details>
13203
+
13204
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">editEntryV1</a>(taskListId, entryUuid, { ...params }) -> boolean</code></summary>
13205
+ <dl>
13206
+ <dd>
13207
+
13208
+ #### 📝 Description
13209
+
13210
+ <dl>
13211
+ <dd>
13212
+
13213
+ <dl>
13214
+ <dd>
13215
+
13216
+ Replaces the entry with the given uuid in an OperationsTaskList's `entries` array. The stored uuid is preserved regardless of the request body. 404 if no entry matches. | authz: min_org_role=operator | (OperationsTaskListEntryClientCreate1) -> (bool)
13217
+
13218
+ </dd>
13219
+ </dl>
13220
+ </dd>
13221
+ </dl>
13222
+
13223
+ #### 🔌 Usage
13224
+
13225
+ <dl>
13226
+ <dd>
13227
+
13228
+ <dl>
13229
+ <dd>
13230
+
13231
+ ```typescript
13232
+ await client.operations.operationsTaskLists.editEntryV1("task_list_id", "entry_uuid", {
13233
+ task_type: "review_order_details",
13234
+ title: "title",
13235
+ description: "description",
13236
+ });
13237
+ ```
13238
+
13239
+ </dd>
13240
+ </dl>
13241
+ </dd>
13242
+ </dl>
13243
+
13244
+ #### ⚙️ Parameters
13245
+
13246
+ <dl>
13247
+ <dd>
13248
+
13249
+ <dl>
13250
+ <dd>
13251
+
13252
+ **taskListId:** `string`
13253
+
13254
+ </dd>
13255
+ </dl>
13256
+
13257
+ <dl>
13258
+ <dd>
13259
+
13260
+ **entryUuid:** `string`
13261
+
13262
+ </dd>
13263
+ </dl>
13264
+
13265
+ <dl>
13266
+ <dd>
13267
+
13268
+ **request:** `Chrt.OperationsTaskListEntryClientCreate1`
13269
+
13270
+ </dd>
13271
+ </dl>
13272
+
13273
+ <dl>
13274
+ <dd>
13275
+
13276
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
13277
+
13278
+ </dd>
13279
+ </dl>
13280
+ </dd>
13281
+ </dl>
13282
+
13283
+ </dd>
13284
+ </dl>
13285
+ </details>
13286
+
13287
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">removeEntryV1</a>(taskListId, entryUuid) -> boolean</code></summary>
12925
13288
  <dl>
12926
13289
  <dd>
12927
13290
 
@@ -12933,7 +13296,7 @@ await client.operations.operationsTaskLists.createV1({
12933
13296
  <dl>
12934
13297
  <dd>
12935
13298
 
12936
- Replaces an OperationsTaskList's `entries` array wholesale — covering add, remove, reorder, and edit in one operation. Order is load-bearing for from_previous_task-anchored deadlines. | authz: min_org_role=operator | (OperationsTaskListSetEntries1) -> (bool)
13299
+ Removes the entry with the given uuid from an OperationsTaskList's `entries` array, closing the gap in order. 404 if no entry matches. | authz: min_org_role=operator | () -> (bool)
12937
13300
 
12938
13301
  </dd>
12939
13302
  </dl>
@@ -12949,7 +13312,7 @@ Replaces an OperationsTaskList's `entries` array wholesale — covering add, rem
12949
13312
  <dd>
12950
13313
 
12951
13314
  ```typescript
12952
- await client.operations.operationsTaskLists.setEntriesV1("task_list_id");
13315
+ await client.operations.operationsTaskLists.removeEntryV1("task_list_id", "entry_uuid");
12953
13316
  ```
12954
13317
 
12955
13318
  </dd>
@@ -12973,7 +13336,7 @@ await client.operations.operationsTaskLists.setEntriesV1("task_list_id");
12973
13336
  <dl>
12974
13337
  <dd>
12975
13338
 
12976
- **request:** `Chrt.operations.OperationsTaskListSetEntries1`
13339
+ **entryUuid:** `string`
12977
13340
 
12978
13341
  </dd>
12979
13342
  </dl>
@@ -13004,7 +13367,7 @@ await client.operations.operationsTaskLists.setEntriesV1("task_list_id");
13004
13367
  <dl>
13005
13368
  <dd>
13006
13369
 
13007
- Reorders an OperationsTaskList's existing entries. `entry_ids` must be an exact permutation of the list's current entry ids (every id present, no extras, no duplicates), so a reorder can never drop, add, or mutate an entry. | authz: min_org_role=operator | (OperationsTaskListReorderEntries1) -> (bool)
13370
+ Reorders an OperationsTaskList's existing entries. `entry_uuids` must be an exact permutation of the list's current entry uuids (every uuid present, no extras, no duplicates), so a reorder can never drop, add, or mutate an entry. | authz: min_org_role=operator | (OperationsTaskListReorderEntries1) -> (bool)
13008
13371
 
13009
13372
  </dd>
13010
13373
  </dl>
@@ -13270,7 +13633,7 @@ await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_
13270
13633
  </dl>
13271
13634
  </details>
13272
13635
 
13273
- <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">removeFromCaseV1</a>(taskListId, caseId) -> Chrt.OperationsTaskListRemoveFromCaseRes1</code></summary>
13636
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">removeNotStartedTasksFromCaseV1</a>(taskListId, caseId) -> Chrt.OperationsTaskListRemoveFromCaseRes1</code></summary>
13274
13637
  <dl>
13275
13638
  <dd>
13276
13639
 
@@ -13282,7 +13645,7 @@ await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_
13282
13645
  <dl>
13283
13646
  <dd>
13284
13647
 
13285
- Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
13648
+ Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
13286
13649
 
13287
13650
  </dd>
13288
13651
  </dl>
@@ -13298,7 +13661,7 @@ Removes the OperationsTasks this OperationsTaskList added to the Case (matched b
13298
13661
  <dd>
13299
13662
 
13300
13663
  ```typescript
13301
- await client.operations.operationsTaskLists.removeFromCaseV1("task_list_id", "case_id");
13664
+ await client.operations.operationsTaskLists.removeNotStartedTasksFromCaseV1("task_list_id", "case_id");
13302
13665
  ```
13303
13666
 
13304
13667
  </dd>
@@ -13681,6 +14044,76 @@ await client.operations.operationsTasks.createV1({
13681
14044
  </dl>
13682
14045
  </details>
13683
14046
 
14047
+ <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">bulkUpdateDeadlinesV1</a>({ ...params }) -> Chrt.OperationsTasksBulkUpdateDeadlinesRes1</code></summary>
14048
+ <dl>
14049
+ <dd>
14050
+
14051
+ #### 📝 Description
14052
+
14053
+ <dl>
14054
+ <dd>
14055
+
14056
+ <dl>
14057
+ <dd>
14058
+
14059
+ Sets deadline_timestamp on multiple OperationsTasks in one call, each scoped to the caller's organization. Task ids that don't exist or belong to another org are silently skipped; the response reports how many were updated. | authz: min_org_role=operator | (OperationsTasksBulkUpdateDeadlinesReq1) -> (OperationsTasksBulkUpdateDeadlinesRes1)
14060
+
14061
+ </dd>
14062
+ </dl>
14063
+ </dd>
14064
+ </dl>
14065
+
14066
+ #### 🔌 Usage
14067
+
14068
+ <dl>
14069
+ <dd>
14070
+
14071
+ <dl>
14072
+ <dd>
14073
+
14074
+ ```typescript
14075
+ await client.operations.operationsTasks.bulkUpdateDeadlinesV1({
14076
+ operations_task_deadline_updates: [
14077
+ {
14078
+ task_id: "task_id",
14079
+ deadline_timestamp: "2024-01-15T09:30:00Z",
14080
+ },
14081
+ ],
14082
+ });
14083
+ ```
14084
+
14085
+ </dd>
14086
+ </dl>
14087
+ </dd>
14088
+ </dl>
14089
+
14090
+ #### ⚙️ Parameters
14091
+
14092
+ <dl>
14093
+ <dd>
14094
+
14095
+ <dl>
14096
+ <dd>
14097
+
14098
+ **request:** `Chrt.operations.OperationsTasksBulkUpdateDeadlinesReq1`
14099
+
14100
+ </dd>
14101
+ </dl>
14102
+
14103
+ <dl>
14104
+ <dd>
14105
+
14106
+ **requestOptions:** `OperationsTasks.RequestOptions`
14107
+
14108
+ </dd>
14109
+ </dl>
14110
+ </dd>
14111
+ </dl>
14112
+
14113
+ </dd>
14114
+ </dl>
14115
+ </details>
14116
+
13684
14117
  <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">updateStatusV1</a>(taskId, { ...params }) -> boolean</code></summary>
13685
14118
  <dl>
13686
14119
  <dd>
@@ -13693,7 +14126,7 @@ await client.operations.operationsTasks.createV1({
13693
14126
  <dl>
13694
14127
  <dd>
13695
14128
 
13696
- Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
14129
+ Sets an OperationsTask's status (not_started / in_progress / completed / skipped / cancelled). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
13697
14130
 
13698
14131
  </dd>
13699
14132
  </dl>
@@ -17635,7 +18068,7 @@ await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "
17635
18068
  </dl>
17636
18069
  </details>
17637
18070
 
17638
- <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">getForCallerV1</a>() -> Chrt.Driver1</code></summary>
18071
+ <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">getForCallerV1</a>() -> Chrt.DriverWithActiveTaskGroupIds1</code></summary>
17639
18072
  <dl>
17640
18073
  <dd>
17641
18074
 
@@ -17647,7 +18080,7 @@ await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "
17647
18080
  <dl>
17648
18081
  <dd>
17649
18082
 
17650
- Retrieves driver information for the caller within their organization. | () -> (Driver1)
18083
+ Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
17651
18084
 
17652
18085
  </dd>
17653
18086
  </dl>
@@ -17690,7 +18123,7 @@ await client.shipping.drivers.getForCallerV1();
17690
18123
  </dl>
17691
18124
  </details>
17692
18125
 
17693
- <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">getByDriverIdV1</a>(driverId) -> Chrt.Driver1</code></summary>
18126
+ <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">getByDriverIdV1</a>(driverId) -> Chrt.DriverWithActiveTaskGroupIds1</code></summary>
17694
18127
  <dl>
17695
18128
  <dd>
17696
18129
 
@@ -17702,7 +18135,7 @@ await client.shipping.drivers.getForCallerV1();
17702
18135
  <dl>
17703
18136
  <dd>
17704
18137
 
17705
- Retrieves detailed driver information by driver ID within the organization. | () -> (Driver1)
18138
+ Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
17706
18139
 
17707
18140
  </dd>
17708
18141
  </dl>
@@ -29011,7 +29444,6 @@ await client.tracking.sessions.listV1({
29011
29444
  filter_device_id: "filter_device_id",
29012
29445
  filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
29013
29446
  filter_flight_number: "filter_flight_number",
29014
- filter_fa_flight_id: "filter_fa_flight_id",
29015
29447
  filter_flight_loaded_status: "filter_flight_loaded_status",
29016
29448
  filter_has_last_seen: true,
29017
29449
  filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -29201,7 +29633,7 @@ await client.tracking.sessions.typeaheadV1({
29201
29633
  <dl>
29202
29634
  <dd>
29203
29635
 
29204
- Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
29636
+ Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification; attach flights afterwards via set_flight_info. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
29205
29637
 
29206
29638
  </dd>
29207
29639
  </dl>
@@ -29398,7 +29830,7 @@ await client.tracking.sessions.updateSharedOrgsV1({
29398
29830
  <dl>
29399
29831
  <dd>
29400
29832
 
29401
- Terminates a session. Moves device.active_session_id to device.past_session_ids. | auth: api_key | () -> (bool)
29833
+ Terminates a session. Moves device.active_session_id to device.past_session_ids and deactivates the device. | auth: api_key | () -> (bool)
29402
29834
 
29403
29835
  </dd>
29404
29836
  </dl>
@@ -29451,7 +29883,7 @@ await client.tracking.sessions.terminateV1({
29451
29883
  </dl>
29452
29884
  </details>
29453
29885
 
29454
- <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">addFlightV1</a>({ ...params }) -> boolean</code></summary>
29886
+ <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">flightLegsV1</a>({ ...params }) -> Chrt.FlightLeg1[]</code></summary>
29455
29887
  <dl>
29456
29888
  <dd>
29457
29889
 
@@ -29463,7 +29895,7 @@ await client.tracking.sessions.terminateV1({
29463
29895
  <dl>
29464
29896
  <dd>
29465
29897
 
29466
- Adds a flight number and FA flight IDs to an existing session. Creates or reuses a FlightAware alert. | auth: api_key | authz: min_org_role=operator | (SessionAddFlightReq1) -> (bool)
29898
+ Returns the session's flight legs in order, with Cirium-sourced status lazily resolved and refreshed on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (list[FlightLeg1])
29467
29899
 
29468
29900
  </dd>
29469
29901
  </dl>
@@ -29479,10 +29911,8 @@ Adds a flight number and FA flight IDs to an existing session. Creates or reuses
29479
29911
  <dd>
29480
29912
 
29481
29913
  ```typescript
29482
- await client.tracking.sessions.addFlightV1({
29914
+ await client.tracking.sessions.flightLegsV1({
29483
29915
  session_id: "session_id",
29484
- flight_number: "flight_number",
29485
- fa_flight_ids: ["fa_flight_ids"],
29486
29916
  });
29487
29917
  ```
29488
29918
 
@@ -29499,7 +29929,7 @@ await client.tracking.sessions.addFlightV1({
29499
29929
  <dl>
29500
29930
  <dd>
29501
29931
 
29502
- **request:** `Chrt.tracking.SessionAddFlightReq1`
29932
+ **request:** `Chrt.tracking.SessionsFlightLegsV1Request`
29503
29933
 
29504
29934
  </dd>
29505
29935
  </dl>
@@ -29518,7 +29948,7 @@ await client.tracking.sessions.addFlightV1({
29518
29948
  </dl>
29519
29949
  </details>
29520
29950
 
29521
- <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">removeFlightV1</a>({ ...params }) -> boolean</code></summary>
29951
+ <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">flightTrackV1</a>({ ...params }) -> Chrt.FlightTrackRes</code></summary>
29522
29952
  <dl>
29523
29953
  <dd>
29524
29954
 
@@ -29530,7 +29960,7 @@ await client.tracking.sessions.addFlightV1({
29530
29960
  <dl>
29531
29961
  <dd>
29532
29962
 
29533
- Removes a flight number and FA flight IDs from a session. Runs the shared-aware FlightAware unsubscribe cycle before removing. | auth: api_key | authz: min_org_role=operator | (SessionRemoveFlightReq1) -> (bool)
29963
+ Returns the Cirium-sourced positional track for one of the session's flight legs the live breadcrumb trail plus the planned path (waypoints + legacy route) — cached on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
29534
29964
 
29535
29965
  </dd>
29536
29966
  </dl>
@@ -29546,10 +29976,9 @@ Removes a flight number and FA flight IDs from a session. Runs the shared-aware
29546
29976
  <dd>
29547
29977
 
29548
29978
  ```typescript
29549
- await client.tracking.sessions.removeFlightV1({
29979
+ await client.tracking.sessions.flightTrackV1({
29550
29980
  session_id: "session_id",
29551
- flight_number: "flight_number",
29552
- fa_flight_ids: ["fa_flight_ids"],
29981
+ flight_leg_id: "flight_leg_id",
29553
29982
  });
29554
29983
  ```
29555
29984
 
@@ -29566,7 +29995,7 @@ await client.tracking.sessions.removeFlightV1({
29566
29995
  <dl>
29567
29996
  <dd>
29568
29997
 
29569
- **request:** `Chrt.tracking.SessionRemoveFlightReq1`
29998
+ **request:** `Chrt.tracking.SessionsFlightTrackV1Request`
29570
29999
 
29571
30000
  </dd>
29572
30001
  </dl>
@@ -29585,7 +30014,7 @@ await client.tracking.sessions.removeFlightV1({
29585
30014
  </dl>
29586
30015
  </details>
29587
30016
 
29588
- <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">syncFlightStatusV1</a>({ ...params }) -> boolean</code></summary>
30017
+ <details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">setFlightInfoV1</a>({ ...params }) -> boolean</code></summary>
29589
30018
  <dl>
29590
30019
  <dd>
29591
30020
 
@@ -29597,7 +30026,7 @@ await client.tracking.sessions.removeFlightV1({
29597
30026
  <dl>
29598
30027
  <dd>
29599
30028
 
29600
- Fetches current OOOI timestamps from FlightAware for each fa_flight_id on the session and updates flight_status_by_fa_flight_id. Use when the webhook may have left state out of sync. | auth: api_key | authz: min_org_role=operator | () -> (bool)
30029
+ Replaces the session's followed flights: deletes the existing session-owned FlightLeg documents and creates new ones from the supplied flight details. Each leg's Cirium flightId and status resolve lazily on read. Pass an empty list to clear all flights. | auth: api_key | authz: min_org_role=operator | (SessionSetFlightInfoReq1) -> (bool)
29601
30030
 
29602
30031
  </dd>
29603
30032
  </dl>
@@ -29613,8 +30042,19 @@ Fetches current OOOI timestamps from FlightAware for each fa_flight_id on the se
29613
30042
  <dd>
29614
30043
 
29615
30044
  ```typescript
29616
- await client.tracking.sessions.syncFlightStatusV1({
30045
+ await client.tracking.sessions.setFlightInfoV1({
29617
30046
  session_id: "session_id",
30047
+ flight_legs: [
30048
+ {
30049
+ schema_version: 1,
30050
+ flight_number: "flight_number",
30051
+ provenance: "manual",
30052
+ origin_iata: "origin_iata",
30053
+ destination_iata: "destination_iata",
30054
+ scheduled_departure_utc: "2024-01-15T09:30:00Z",
30055
+ carrier_iata: "carrier_iata",
30056
+ },
30057
+ ],
29618
30058
  });
29619
30059
  ```
29620
30060
 
@@ -29631,7 +30071,7 @@ await client.tracking.sessions.syncFlightStatusV1({
29631
30071
  <dl>
29632
30072
  <dd>
29633
30073
 
29634
- **request:** `Chrt.tracking.SessionsSyncFlightStatusV1Request`
30074
+ **request:** `Chrt.tracking.SessionSetFlightInfoReq1`
29635
30075
 
29636
30076
  </dd>
29637
30077
  </dl>