@chrt-inc/typescript-sdk 1.925.0 → 1.930.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 (333) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +1 -1
  4. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +3 -1
  5. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +11 -3
  6. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  7. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  8. package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
  9. package/dist/cjs/api/resources/shipping/client/Client.js +10 -15
  10. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +6 -3
  11. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +19 -11
  12. package/dist/cjs/api/resources/shipping/resources/flights/client/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/shipping/resources/flights/client/index.js +15 -0
  14. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.ts +13 -0
  15. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/index.d.ts +1 -0
  16. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -2
  17. package/dist/cjs/api/resources/shipping/resources/index.js +2 -3
  18. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +6 -1
  19. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +30 -2
  20. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +17 -0
  21. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +1 -0
  22. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +103 -0
  23. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +442 -0
  24. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts} +1 -1
  25. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.ts} +1 -1
  26. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.ts} +2 -2
  27. package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts → client/requests/OrdersUpdateDraftReq.d.ts} +2 -2
  28. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
  29. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
  30. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
  31. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +0 -109
  32. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +0 -452
  33. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -2
  34. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -4
  35. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
  36. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -0
  38. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +13 -0
  39. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +59 -0
  40. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +19 -2
  41. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +74 -5
  42. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.ts +10 -0
  43. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.ts +12 -0
  44. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +2 -0
  45. package/dist/cjs/api/resources/tracking/client/Client.d.ts +6 -0
  46. package/dist/cjs/api/resources/tracking/client/Client.js +16 -6
  47. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.d.ts +140 -0
  48. package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/Client.js +65 -291
  49. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.ts +45 -0
  50. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.ts +28 -0
  51. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.ts +14 -0
  52. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.ts +3 -0
  53. package/dist/cjs/api/resources/tracking/resources/index.d.ts +4 -0
  54. package/dist/cjs/api/resources/tracking/resources/index.js +5 -1
  55. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.d.ts +117 -0
  56. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.js +393 -0
  57. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.d.ts +2 -0
  58. package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → tracking/resources/sessionGeofences/client}/index.js +1 -1
  59. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.ts +12 -0
  60. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.ts +13 -0
  61. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.ts +10 -0
  62. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.ts +3 -0
  63. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +11 -10
  64. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +16 -12
  65. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.ts → SessionClientUpdate2.d.ts} +1 -5
  66. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.ts → SessionsCreateV1Req.d.ts} +3 -3
  67. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +4 -1
  68. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +2 -2
  69. package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
  70. package/dist/cjs/api/types/DeviceExpandedRes.d.ts +2 -2
  71. package/dist/cjs/api/types/GeofencePointLocationFeature1.d.ts +14 -0
  72. package/dist/cjs/api/types/{OrderTemplateListRes.d.ts → GeofenceTemplateListRes.d.ts} +2 -2
  73. package/dist/cjs/api/types/{OrderTemplateSortByEnum.d.ts → GeofenceTemplateSortByEnum.d.ts} +2 -3
  74. package/dist/cjs/api/types/{OrderTemplateSortByEnum.js → GeofenceTemplateSortByEnum.js} +2 -3
  75. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -1
  76. package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
  77. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +2 -2
  78. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -1
  79. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +3 -2
  80. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +2 -1
  81. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +3 -2
  82. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +2 -1
  83. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -0
  84. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -0
  85. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +0 -1
  86. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +0 -1
  87. package/dist/cjs/api/types/{OrderTemplate1.d.ts → OrderTemplateNewExpanded1.d.ts} +11 -9
  88. package/dist/cjs/api/types/OrderTemplateNewExpanded1.js +5 -0
  89. package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +1 -1
  90. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.d.ts +10 -0
  91. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.js +5 -0
  92. package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.d.ts → OrdersDeleteManyDraftsRes.d.ts} +1 -1
  93. package/dist/cjs/api/types/OrdersDeleteManyDraftsRes.js +5 -0
  94. package/dist/cjs/api/types/{OrdersDraftUpdateRes.d.ts → OrdersUpdateDraftRes.d.ts} +1 -1
  95. package/dist/cjs/api/types/OrdersUpdateDraftRes.js +5 -0
  96. package/dist/cjs/api/types/Point.d.ts +1 -0
  97. package/dist/cjs/api/types/{Session1.d.ts → Session2.d.ts} +2 -4
  98. package/dist/cjs/api/types/Session2.js +5 -0
  99. package/dist/cjs/api/types/SessionGeofence1.d.ts +12 -0
  100. package/dist/cjs/api/types/SessionGeofence1.js +5 -0
  101. package/dist/cjs/api/types/SessionGeofenceBase1.d.ts +9 -0
  102. package/dist/cjs/api/types/SessionGeofenceBase1.js +5 -0
  103. package/dist/cjs/api/types/SessionGeofenceClientCreate1.d.ts +9 -0
  104. package/dist/cjs/api/types/SessionGeofenceClientCreate1.js +5 -0
  105. package/dist/cjs/api/types/SessionGeofenceTemplate1.d.ts +19 -0
  106. package/dist/cjs/api/types/SessionGeofenceTemplate1.js +5 -0
  107. package/dist/cjs/api/types/SessionListRes.d.ts +1 -1
  108. package/dist/cjs/api/types/Task1.d.ts +1 -0
  109. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.d.ts +8 -0
  110. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.js +5 -0
  111. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.ts +14 -0
  112. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.js +5 -0
  113. package/dist/cjs/api/types/index.d.ts +16 -11
  114. package/dist/cjs/api/types/index.js +16 -11
  115. package/dist/cjs/version.d.ts +1 -1
  116. package/dist/cjs/version.js +1 -1
  117. package/dist/esm/Client.mjs +2 -2
  118. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -1
  119. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +1 -1
  120. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +3 -1
  121. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +11 -3
  122. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  123. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
  125. package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
  126. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +6 -3
  127. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +19 -11
  128. package/dist/esm/api/resources/shipping/resources/flights/client/index.d.mts +1 -0
  129. package/dist/esm/api/resources/shipping/resources/flights/client/index.mjs +1 -1
  130. package/dist/esm/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.mts +13 -0
  131. package/dist/esm/api/resources/shipping/resources/flights/client/requests/index.d.mts +1 -0
  132. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -2
  133. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -2
  134. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +6 -1
  135. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +30 -2
  136. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +17 -0
  137. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +1 -0
  138. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +103 -0
  139. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +442 -0
  140. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts} +1 -1
  141. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.mts} +1 -1
  142. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.mts} +2 -2
  143. package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts → client/requests/OrdersUpdateDraftReq.d.mts} +2 -2
  144. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
  145. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
  146. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
  147. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +0 -109
  148. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +0 -452
  149. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -2
  150. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -4
  151. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
  152. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
  153. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +1 -0
  154. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +13 -0
  155. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +59 -0
  156. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +19 -2
  157. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +74 -5
  158. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.mts +10 -0
  159. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.mts +12 -0
  160. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +2 -0
  161. package/dist/esm/api/resources/tracking/client/Client.d.mts +6 -0
  162. package/dist/esm/api/resources/tracking/client/Client.mjs +10 -0
  163. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.d.mts +140 -0
  164. package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/Client.mjs +63 -289
  165. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.mts +45 -0
  166. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.mts +28 -0
  167. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.mts +14 -0
  168. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.mts +3 -0
  169. package/dist/esm/api/resources/tracking/resources/index.d.mts +4 -0
  170. package/dist/esm/api/resources/tracking/resources/index.mjs +4 -0
  171. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.d.mts +117 -0
  172. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.mjs +356 -0
  173. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.d.mts +2 -0
  174. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.mjs +1 -0
  175. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.mts +12 -0
  176. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.mts +13 -0
  177. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.mts +10 -0
  178. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.mts +3 -0
  179. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +11 -10
  180. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +16 -12
  181. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.mts → SessionClientUpdate2.d.mts} +1 -5
  182. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.mts → SessionsCreateV1Req.d.mts} +3 -3
  183. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +4 -1
  184. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +2 -2
  185. package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
  186. package/dist/esm/api/types/DeviceExpandedRes.d.mts +2 -2
  187. package/dist/esm/api/types/GeofencePointLocationFeature1.d.mts +14 -0
  188. package/dist/esm/api/types/{OrderTemplateListRes.d.mts → GeofenceTemplateListRes.d.mts} +2 -2
  189. package/dist/esm/api/types/{OrderTemplateSortByEnum.d.mts → GeofenceTemplateSortByEnum.d.mts} +2 -3
  190. package/dist/esm/api/types/{OrderTemplateSortByEnum.mjs → GeofenceTemplateSortByEnum.mjs} +1 -2
  191. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -1
  192. package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
  193. package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +2 -2
  194. package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -1
  195. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +3 -2
  196. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +2 -1
  197. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +3 -2
  198. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +2 -1
  199. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -0
  200. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -0
  201. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +0 -1
  202. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +0 -1
  203. package/dist/esm/api/types/{OrderTemplate1.d.mts → OrderTemplateNewExpanded1.d.mts} +11 -9
  204. package/dist/esm/api/types/OrderTemplateNewExpanded1.mjs +4 -0
  205. package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +1 -1
  206. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.d.mts +10 -0
  207. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.mjs +4 -0
  208. package/dist/esm/api/types/{OrdersDraftDeleteManyRes.d.mts → OrdersDeleteManyDraftsRes.d.mts} +1 -1
  209. package/dist/esm/api/types/OrdersDeleteManyDraftsRes.mjs +4 -0
  210. package/dist/esm/api/types/{OrdersDraftUpdateRes.d.mts → OrdersUpdateDraftRes.d.mts} +1 -1
  211. package/dist/esm/api/types/OrdersUpdateDraftRes.mjs +4 -0
  212. package/dist/esm/api/types/Point.d.mts +1 -0
  213. package/dist/esm/api/types/{Session1.d.mts → Session2.d.mts} +2 -4
  214. package/dist/esm/api/types/Session2.mjs +4 -0
  215. package/dist/esm/api/types/SessionGeofence1.d.mts +12 -0
  216. package/dist/esm/api/types/SessionGeofence1.mjs +4 -0
  217. package/dist/esm/api/types/SessionGeofenceBase1.d.mts +9 -0
  218. package/dist/esm/api/types/SessionGeofenceBase1.mjs +4 -0
  219. package/dist/esm/api/types/SessionGeofenceClientCreate1.d.mts +9 -0
  220. package/dist/esm/api/types/SessionGeofenceClientCreate1.mjs +4 -0
  221. package/dist/esm/api/types/SessionGeofenceTemplate1.d.mts +19 -0
  222. package/dist/esm/api/types/SessionGeofenceTemplate1.mjs +4 -0
  223. package/dist/esm/api/types/SessionListRes.d.mts +1 -1
  224. package/dist/esm/api/types/Task1.d.mts +1 -0
  225. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.d.mts +8 -0
  226. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.mjs +4 -0
  227. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.mts +14 -0
  228. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.mjs +4 -0
  229. package/dist/esm/api/types/index.d.mts +16 -11
  230. package/dist/esm/api/types/index.mjs +16 -11
  231. package/dist/esm/version.d.mts +1 -1
  232. package/dist/esm/version.mjs +1 -1
  233. package/package.json +1 -1
  234. package/reference.md +1350 -1077
  235. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +0 -182
  236. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +0 -33
  237. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +0 -37
  238. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +0 -14
  239. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +0 -80
  240. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +0 -4
  241. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.ts +0 -46
  242. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.js +0 -127
  243. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.ts +0 -1
  244. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -2
  245. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.js +0 -38
  246. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -46
  247. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -127
  248. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.ts +0 -1
  249. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.ts +0 -1
  250. package/dist/cjs/api/types/Order1.d.ts +0 -43
  251. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +0 -16
  252. package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +0 -10
  253. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +0 -13
  254. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +0 -15
  255. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
  256. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +0 -182
  257. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +0 -33
  258. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +0 -37
  259. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +0 -14
  260. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +0 -80
  261. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +0 -4
  262. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.mts +0 -46
  263. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.mjs +0 -90
  264. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.mts +0 -1
  265. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -2
  266. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -2
  267. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -46
  268. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -90
  269. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.mts +0 -1
  270. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.mts +0 -1
  271. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.mjs +0 -1
  272. package/dist/esm/api/types/Order1.d.mts +0 -43
  273. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +0 -16
  274. package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +0 -10
  275. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +0 -13
  276. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +0 -12
  277. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
  278. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.js → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.js} +0 -0
  279. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.js +0 -0
  280. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.js → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
  281. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js → orders/client/requests/OrdersDeleteManyDraftsReq.js} +0 -0
  282. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.js → orders/client/requests/OrdersTaskGroupOrderingReq.js} +0 -0
  283. /package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js → client/requests/OrdersUpdateDraftReq.js} +0 -0
  284. /package/dist/cjs/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.js → tasks/client/requests/TaskCompleteReq.js} +0 -0
  285. /package/dist/cjs/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftUpdateReq.js → tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
  286. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.d.ts +0 -0
  287. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.js +0 -0
  288. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.js → tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
  289. /package/dist/cjs/api/resources/tracking/resources/{sessions/client/requests/SessionClientCreate1.js → geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
  290. /package/dist/cjs/api/resources/tracking/resources/{sessions/client/requests/SessionClientUpdate1.js → geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.js} +0 -0
  291. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client → tracking/resources/geofenceTemplates/client/requests}/index.js +0 -0
  292. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.d.ts +0 -0
  293. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.js +0 -0
  294. /package/dist/cjs/api/{types/Order1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.js} +0 -0
  295. /package/dist/cjs/api/{types/OrderTemplate1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.js} +0 -0
  296. /package/dist/cjs/api/{types/OrderTemplateExpanded1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.js} +0 -0
  297. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup/client → tracking/resources/sessionGeofences/client/requests}/index.js +0 -0
  298. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.d.ts +0 -0
  299. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.js +0 -0
  300. /package/dist/cjs/api/{types/OrderTemplateListRes.js → resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.js} +0 -0
  301. /package/dist/cjs/api/{types/OrderTemplateOrgInfo1.js → resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.js} +0 -0
  302. /package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.js → BillingInvoiceApprovedWebhookPayload.js} +0 -0
  303. /package/dist/cjs/api/types/{OrdersDraftUpdateRes.js → GeofencePointLocationFeature1.js} +0 -0
  304. /package/dist/cjs/api/types/{Session1.js → GeofenceTemplateListRes.js} +0 -0
  305. /package/dist/cjs/api/types/{TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → InvoiceLineItemExpandedRes.js} +0 -0
  306. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.mjs → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.mjs} +0 -0
  307. /package/dist/esm/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.mjs +0 -0
  308. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
  309. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs → orders/client/requests/OrdersDeleteManyDraftsReq.mjs} +0 -0
  310. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.mjs → orders/client/requests/OrdersTaskGroupOrderingReq.mjs} +0 -0
  311. /package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs → client/requests/OrdersUpdateDraftReq.mjs} +0 -0
  312. /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.mjs → tasks/client/requests/TaskCompleteReq.mjs} +0 -0
  313. /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftUpdateReq.mjs → tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
  314. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.d.mts +0 -0
  315. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.mjs +0 -0
  316. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.mjs → tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
  317. /package/dist/esm/api/resources/tracking/resources/{sessions/client/requests/SessionClientCreate1.mjs → geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
  318. /package/dist/esm/api/resources/tracking/resources/{sessions/client/requests/SessionClientUpdate1.mjs → geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.mjs} +0 -0
  319. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client → tracking/resources/geofenceTemplates/client/requests}/index.mjs +0 -0
  320. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.d.mts +0 -0
  321. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.mjs +0 -0
  322. /package/dist/esm/api/{types/Order1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.mjs} +0 -0
  323. /package/dist/esm/api/{types/OrderTemplate1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.mjs} +0 -0
  324. /package/dist/esm/api/{types/OrderTemplateExpanded1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.mjs} +0 -0
  325. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup/client → tracking/resources/sessionGeofences/client/requests}/index.mjs +0 -0
  326. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.d.mts +0 -0
  327. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.mjs +0 -0
  328. /package/dist/esm/api/{types/OrderTemplateListRes.mjs → resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.mjs} +0 -0
  329. /package/dist/esm/api/{types/OrderTemplateOrgInfo1.mjs → resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.mjs} +0 -0
  330. /package/dist/esm/api/types/{OrdersDraftDeleteManyRes.mjs → BillingInvoiceApprovedWebhookPayload.mjs} +0 -0
  331. /package/dist/esm/api/types/{OrdersDraftUpdateRes.mjs → GeofencePointLocationFeature1.mjs} +0 -0
  332. /package/dist/esm/api/types/{Session1.mjs → GeofenceTemplateListRes.mjs} +0 -0
  333. /package/dist/esm/api/types/{TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → InvoiceLineItemExpandedRes.mjs} +0 -0
@@ -59,8 +59,8 @@ class ChrtClient {
59
59
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
62
- "X-Fern-SDK-Version": "1.925.0",
63
- "User-Agent": "@chrt-inc/typescript-sdk/1.925.0",
62
+ "X-Fern-SDK-Version": "1.930.0",
63
+ "User-Agent": "@chrt-inc/typescript-sdk/1.930.0",
64
64
  "X-Fern-Runtime": core.RUNTIME.type,
65
65
  "X-Fern-Runtime-Version": core.RUNTIME.version,
66
66
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -74,7 +74,7 @@ export declare class Invoices {
74
74
  deleteV1(invoiceId: string, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<boolean>;
75
75
  private __deleteV1;
76
76
  /**
77
- * Retrieves an owner-scoped invoice with its line items, counterparty organization data, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
77
+ * Retrieves an owner-scoped invoice with line-item orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
78
78
  *
79
79
  * @param {string} invoiceId
80
80
  * @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -240,7 +240,7 @@ class Invoices {
240
240
  });
241
241
  }
242
242
  /**
243
- * Retrieves an owner-scoped invoice with its line items, counterparty organization data, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
243
+ * Retrieves an owner-scoped invoice with line-item orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
244
244
  *
245
245
  * @param {string} invoiceId
246
246
  * @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
@@ -95,6 +95,7 @@ export declare class OperationsTasks {
95
95
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
96
96
  * filter_department_id: "filter_department_id",
97
97
  * filter_assigned_user_id: "filter_assigned_user_id",
98
+ * filter_source_task_list_id: "filter_source_task_list_id",
98
99
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
99
100
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
100
101
  * })
@@ -102,7 +103,7 @@ export declare class OperationsTasks {
102
103
  expandedListV1(request?: Chrt.operations.OperationsTasksExpandedListV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskExpandedListRes>;
103
104
  private __expandedListV1;
104
105
  /**
105
- * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
106
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
106
107
  *
107
108
  * @param {Chrt.operations.OperationsTasksListV1Request} request
108
109
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -120,6 +121,7 @@ export declare class OperationsTasks {
120
121
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
121
122
  * filter_department_id: "filter_department_id",
122
123
  * filter_assigned_user_id: "filter_assigned_user_id",
124
+ * filter_source_task_list_id: "filter_source_task_list_id",
123
125
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
124
126
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
125
127
  * })
@@ -267,6 +267,7 @@ class OperationsTasks {
267
267
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
268
268
  * filter_department_id: "filter_department_id",
269
269
  * filter_assigned_user_id: "filter_assigned_user_id",
270
+ * filter_source_task_list_id: "filter_source_task_list_id",
270
271
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
271
272
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
272
273
  * })
@@ -277,7 +278,7 @@ class OperationsTasks {
277
278
  __expandedListV1() {
278
279
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
279
280
  var _a, _b, _c, _d, _e, _f;
280
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
281
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_source_task_list_id: filterSourceTaskListId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
281
282
  const _queryParams = {};
282
283
  if (sortBy !== undefined) {
283
284
  _queryParams["sort_by"] = sortBy;
@@ -330,6 +331,9 @@ class OperationsTasks {
330
331
  if (filterAssignedUserId !== undefined) {
331
332
  _queryParams["filter_assigned_user_id"] = filterAssignedUserId;
332
333
  }
334
+ if (filterSourceTaskListId !== undefined) {
335
+ _queryParams["filter_source_task_list_id"] = filterSourceTaskListId;
336
+ }
333
337
  if (filterDeadlineGte !== undefined) {
334
338
  _queryParams["filter_deadline_gte"] = filterDeadlineGte;
335
339
  }
@@ -379,7 +383,7 @@ class OperationsTasks {
379
383
  });
380
384
  }
381
385
  /**
382
- * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
386
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
383
387
  *
384
388
  * @param {Chrt.operations.OperationsTasksListV1Request} request
385
389
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -397,6 +401,7 @@ class OperationsTasks {
397
401
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
398
402
  * filter_department_id: "filter_department_id",
399
403
  * filter_assigned_user_id: "filter_assigned_user_id",
404
+ * filter_source_task_list_id: "filter_source_task_list_id",
400
405
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
401
406
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
402
407
  * })
@@ -407,7 +412,7 @@ class OperationsTasks {
407
412
  __listV1() {
408
413
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
409
414
  var _a, _b, _c, _d, _e, _f;
410
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
415
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_source_task_list_id: filterSourceTaskListId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
411
416
  const _queryParams = {};
412
417
  if (sortBy !== undefined) {
413
418
  _queryParams["sort_by"] = sortBy;
@@ -460,6 +465,9 @@ class OperationsTasks {
460
465
  if (filterAssignedUserId !== undefined) {
461
466
  _queryParams["filter_assigned_user_id"] = filterAssignedUserId;
462
467
  }
468
+ if (filterSourceTaskListId !== undefined) {
469
+ _queryParams["filter_source_task_list_id"] = filterSourceTaskListId;
470
+ }
463
471
  if (filterDeadlineGte !== undefined) {
464
472
  _queryParams["filter_deadline_gte"] = filterDeadlineGte;
465
473
  }
@@ -14,6 +14,7 @@ import * as Chrt from "../../../../../../index.js";
14
14
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
15
15
  * filter_department_id: "filter_department_id",
16
16
  * filter_assigned_user_id: "filter_assigned_user_id",
17
+ * filter_source_task_list_id: "filter_source_task_list_id",
17
18
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
18
19
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
19
20
  * }
@@ -41,6 +42,8 @@ export interface OperationsTasksExpandedListV1Request {
41
42
  filter_status?: (Chrt.OperationsTaskStatusEnum | null) | (Chrt.OperationsTaskStatusEnum | null)[];
42
43
  /** Filter to tasks this user is directly assigned to */
43
44
  filter_assigned_user_id?: string | null;
45
+ /** Filter to tasks created from this OperationsTaskList */
46
+ filter_source_task_list_id?: string | null;
44
47
  /** Filter to tasks with deadline >= this timestamp */
45
48
  filter_deadline_gte?: string | null;
46
49
  /** Filter to tasks with deadline <= this timestamp */
@@ -14,6 +14,7 @@ import * as Chrt from "../../../../../../index.js";
14
14
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
15
15
  * filter_department_id: "filter_department_id",
16
16
  * filter_assigned_user_id: "filter_assigned_user_id",
17
+ * filter_source_task_list_id: "filter_source_task_list_id",
17
18
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
18
19
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
19
20
  * }
@@ -41,6 +42,8 @@ export interface OperationsTasksListV1Request {
41
42
  filter_status?: (Chrt.OperationsTaskStatusEnum | null) | (Chrt.OperationsTaskStatusEnum | null)[];
42
43
  /** Filter to tasks this user is directly assigned to */
43
44
  filter_assigned_user_id?: string | null;
45
+ /** Filter to tasks created from this OperationsTaskList */
46
+ filter_source_task_list_id?: string | null;
44
47
  /** Filter to tasks with deadline >= this timestamp */
45
48
  filter_deadline_gte?: string | null;
46
49
  /** Filter to tasks with deadline <= this timestamp */
@@ -5,7 +5,6 @@ import * as environments from "../../../../environments.js";
5
5
  import * as core from "../../../../core/index.js";
6
6
  import { Drivers } from "../resources/drivers/client/Client.js";
7
7
  import { Flights } from "../resources/flights/client/Client.js";
8
- import { OrderTemplates } from "../resources/orderTemplates/client/Client.js";
9
8
  import { OrderTemplatesNew } from "../resources/orderTemplatesNew/client/Client.js";
10
9
  import { Orders } from "../resources/orders/client/Client.js";
11
10
  import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.js";
@@ -26,7 +25,6 @@ export declare class Shipping {
26
25
  protected readonly _options: Shipping.Options;
27
26
  protected _drivers: Drivers | undefined;
28
27
  protected _flights: Flights | undefined;
29
- protected _orderTemplates: OrderTemplates | undefined;
30
28
  protected _orderTemplatesNew: OrderTemplatesNew | undefined;
31
29
  protected _orders: Orders | undefined;
32
30
  protected _taskArtifacts: TaskArtifacts | undefined;
@@ -35,7 +33,6 @@ export declare class Shipping {
35
33
  constructor(_options?: Shipping.Options);
36
34
  get drivers(): Drivers;
37
35
  get flights(): Flights;
38
- get orderTemplates(): OrderTemplates;
39
36
  get orderTemplatesNew(): OrderTemplatesNew;
40
37
  get orders(): Orders;
41
38
  get taskArtifacts(): TaskArtifacts;
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Shipping = void 0;
7
7
  const Client_js_1 = require("../resources/drivers/client/Client.js");
8
8
  const Client_js_2 = require("../resources/flights/client/Client.js");
9
- const Client_js_3 = require("../resources/orderTemplates/client/Client.js");
10
- const Client_js_4 = require("../resources/orderTemplatesNew/client/Client.js");
11
- const Client_js_5 = require("../resources/orders/client/Client.js");
12
- const Client_js_6 = require("../resources/taskArtifacts/client/Client.js");
13
- const Client_js_7 = require("../resources/taskGroups/client/Client.js");
14
- const Client_js_8 = require("../resources/tasks/client/Client.js");
9
+ const Client_js_3 = require("../resources/orderTemplatesNew/client/Client.js");
10
+ const Client_js_4 = require("../resources/orders/client/Client.js");
11
+ const Client_js_5 = require("../resources/taskArtifacts/client/Client.js");
12
+ const Client_js_6 = require("../resources/taskGroups/client/Client.js");
13
+ const Client_js_7 = require("../resources/tasks/client/Client.js");
15
14
  class Shipping {
16
15
  constructor(_options = {}) {
17
16
  this._options = _options;
@@ -24,29 +23,25 @@ class Shipping {
24
23
  var _a;
25
24
  return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Client_js_2.Flights(this._options)));
26
25
  }
27
- get orderTemplates() {
28
- var _a;
29
- return ((_a = this._orderTemplates) !== null && _a !== void 0 ? _a : (this._orderTemplates = new Client_js_3.OrderTemplates(this._options)));
30
- }
31
26
  get orderTemplatesNew() {
32
27
  var _a;
33
- return ((_a = this._orderTemplatesNew) !== null && _a !== void 0 ? _a : (this._orderTemplatesNew = new Client_js_4.OrderTemplatesNew(this._options)));
28
+ return ((_a = this._orderTemplatesNew) !== null && _a !== void 0 ? _a : (this._orderTemplatesNew = new Client_js_3.OrderTemplatesNew(this._options)));
34
29
  }
35
30
  get orders() {
36
31
  var _a;
37
- return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_5.Orders(this._options)));
32
+ return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_4.Orders(this._options)));
38
33
  }
39
34
  get taskArtifacts() {
40
35
  var _a;
41
- return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_6.TaskArtifacts(this._options)));
36
+ return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_5.TaskArtifacts(this._options)));
42
37
  }
43
38
  get taskGroups() {
44
39
  var _a;
45
- return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_7.TaskGroups(this._options)));
40
+ return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_6.TaskGroups(this._options)));
46
41
  }
47
42
  get tasks() {
48
43
  var _a;
49
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_8.Tasks(this._options)));
44
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_7.Tasks(this._options)));
50
45
  }
51
46
  }
52
47
  exports.Shipping = Shipping;
@@ -70,17 +70,20 @@ export declare class Flights {
70
70
  getFlightStatusForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1>;
71
71
  private __getFlightStatusForFlightLegV1;
72
72
  /**
73
- * Returns the Cirium-sourced positional track for a flight leg the live breadcrumb trail plus the planned path (waypoints + legacy route) in one read-through call, cached on read. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
73
+ * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
74
74
  *
75
75
  * @param {string} flightLegId
76
+ * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
76
77
  * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
77
78
  *
78
79
  * @throws {@link Chrt.UnprocessableEntityError}
79
80
  *
80
81
  * @example
81
- * await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id")
82
+ * await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id", {
83
+ * force_refresh: true
84
+ * })
82
85
  */
83
- getFlightTrackForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
86
+ getFlightTrackForFlightLegV1(flightLegId: string, request?: Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
84
87
  private __getFlightTrackForFlightLegV1;
85
88
  protected _getAuthorizationHeader(): Promise<string | undefined>;
86
89
  }
@@ -233,28 +233,36 @@ class Flights {
233
233
  });
234
234
  }
235
235
  /**
236
- * Returns the Cirium-sourced positional track for a flight leg the live breadcrumb trail plus the planned path (waypoints + legacy route) in one read-through call, cached on read. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
236
+ * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
237
237
  *
238
238
  * @param {string} flightLegId
239
+ * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
239
240
  * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
240
241
  *
241
242
  * @throws {@link Chrt.UnprocessableEntityError}
242
243
  *
243
244
  * @example
244
- * await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id")
245
+ * await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id", {
246
+ * force_refresh: true
247
+ * })
245
248
  */
246
- getFlightTrackForFlightLegV1(flightLegId, requestOptions) {
247
- return core.HttpResponsePromise.fromPromise(this.__getFlightTrackForFlightLegV1(flightLegId, requestOptions));
249
+ getFlightTrackForFlightLegV1(flightLegId, request = {}, requestOptions) {
250
+ return core.HttpResponsePromise.fromPromise(this.__getFlightTrackForFlightLegV1(flightLegId, request, requestOptions));
248
251
  }
249
- __getFlightTrackForFlightLegV1(flightLegId, requestOptions) {
250
- return __awaiter(this, void 0, void 0, function* () {
251
- var _a, _b, _c, _d;
252
- 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);
253
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
254
- 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, `shipping/flights/track/for_flight_leg/v1/${encodeURIComponent(flightLegId)}`),
252
+ __getFlightTrackForFlightLegV1(flightLegId_1) {
253
+ return __awaiter(this, arguments, void 0, function* (flightLegId, request = {}, requestOptions) {
254
+ var _a, _b, _c, _d, _e;
255
+ const { force_refresh: forceRefresh } = request;
256
+ const _queryParams = {};
257
+ if (forceRefresh !== undefined) {
258
+ _queryParams["force_refresh"] = (_a = forceRefresh === null || forceRefresh === void 0 ? void 0 : forceRefresh.toString()) !== null && _a !== void 0 ? _a : null;
259
+ }
260
+ let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
261
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
262
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, `shipping/flights/track/for_flight_leg/v1/${encodeURIComponent(flightLegId)}`),
255
263
  method: "GET",
256
264
  headers: _headers,
257
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
265
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
258
266
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
259
267
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
260
268
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1 +1,2 @@
1
1
  export {};
2
+ export * from "./requests/index.js";
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * force_refresh: true
8
+ * }
9
+ */
10
+ export interface FlightsGetFlightTrackForFlightLegV1Request {
11
+ /** Bypass the cache and fetch the latest flight track. */
12
+ force_refresh?: boolean | null;
13
+ }
@@ -0,0 +1 @@
1
+ export { type FlightsGetFlightTrackForFlightLegV1Request } from "./FlightsGetFlightTrackForFlightLegV1Request.js";
@@ -1,14 +1,13 @@
1
1
  export * as drivers from "./drivers/index.js";
2
2
  export * from "./drivers/types/index.js";
3
3
  export * as flights from "./flights/index.js";
4
- export * as orderTemplates from "./orderTemplates/index.js";
5
4
  export * as orderTemplatesNew from "./orderTemplatesNew/index.js";
6
5
  export * as orders from "./orders/index.js";
7
6
  export * as taskArtifacts from "./taskArtifacts/index.js";
8
7
  export * as taskGroups from "./taskGroups/index.js";
9
8
  export * as tasks from "./tasks/index.js";
10
9
  export * from "./drivers/client/requests/index.js";
11
- export * from "./orderTemplates/client/requests/index.js";
10
+ export * from "./flights/client/requests/index.js";
12
11
  export * from "./orderTemplatesNew/client/requests/index.js";
13
12
  export * from "./orders/client/requests/index.js";
14
13
  export * from "./taskGroups/client/requests/index.js";
@@ -36,18 +36,17 @@ 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.tasks = exports.taskGroups = exports.taskArtifacts = exports.orders = exports.orderTemplatesNew = exports.orderTemplates = exports.flights = exports.drivers = void 0;
39
+ exports.tasks = exports.taskGroups = exports.taskArtifacts = exports.orders = exports.orderTemplatesNew = exports.flights = exports.drivers = void 0;
40
40
  exports.drivers = __importStar(require("./drivers/index.js"));
41
41
  __exportStar(require("./drivers/types/index.js"), exports);
42
42
  exports.flights = __importStar(require("./flights/index.js"));
43
- exports.orderTemplates = __importStar(require("./orderTemplates/index.js"));
44
43
  exports.orderTemplatesNew = __importStar(require("./orderTemplatesNew/index.js"));
45
44
  exports.orders = __importStar(require("./orders/index.js"));
46
45
  exports.taskArtifacts = __importStar(require("./taskArtifacts/index.js"));
47
46
  exports.taskGroups = __importStar(require("./taskGroups/index.js"));
48
47
  exports.tasks = __importStar(require("./tasks/index.js"));
49
48
  __exportStar(require("./drivers/client/requests/index.js"), exports);
50
- __exportStar(require("./orderTemplates/client/requests/index.js"), exports);
49
+ __exportStar(require("./flights/client/requests/index.js"), exports);
51
50
  __exportStar(require("./orderTemplatesNew/client/requests/index.js"), exports);
52
51
  __exportStar(require("./orders/client/requests/index.js"), exports);
53
52
  __exportStar(require("./taskGroups/client/requests/index.js"), exports);
@@ -88,7 +88,7 @@ export declare class OrderTemplatesNew {
88
88
  resolveDateparserV1(request: Chrt.shipping.OrderTemplateNewDateparserResolveReq, requestOptions?: OrderTemplatesNew.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateNewDateparserResolveRes>;
89
89
  private __resolveDateparserV1;
90
90
  /**
91
- * Lists order templates for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OrderTemplateNewListRes)
91
+ * Lists order templates with filtering, sorting, pagination, full-text search, and party/account expansion. | authz: min_org_role=operator | () -> (OrderTemplateNewListRes)
92
92
  *
93
93
  * @param {Chrt.shipping.OrderTemplatesNewListV1Request} request
94
94
  * @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
@@ -101,8 +101,13 @@ export declare class OrderTemplatesNew {
101
101
  * sort_order: "asc",
102
102
  * page: 1,
103
103
  * page_size: 1,
104
+ * search: "search",
104
105
  * filter_archived: true,
105
106
  * filter_owned_by_user_id: "filter_owned_by_user_id",
107
+ * filter_executor_org_id: "filter_executor_org_id",
108
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
109
+ * filter_shipper_org_id: "filter_shipper_org_id",
110
+ * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
106
111
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
107
112
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
108
113
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -268,7 +268,7 @@ class OrderTemplatesNew {
268
268
  });
269
269
  }
270
270
  /**
271
- * Lists order templates for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OrderTemplateNewListRes)
271
+ * Lists order templates with filtering, sorting, pagination, full-text search, and party/account expansion. | authz: min_org_role=operator | () -> (OrderTemplateNewListRes)
272
272
  *
273
273
  * @param {Chrt.shipping.OrderTemplatesNewListV1Request} request
274
274
  * @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
@@ -281,8 +281,13 @@ class OrderTemplatesNew {
281
281
  * sort_order: "asc",
282
282
  * page: 1,
283
283
  * page_size: 1,
284
+ * search: "search",
284
285
  * filter_archived: true,
285
286
  * filter_owned_by_user_id: "filter_owned_by_user_id",
287
+ * filter_executor_org_id: "filter_executor_org_id",
288
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
289
+ * filter_shipper_org_id: "filter_shipper_org_id",
290
+ * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
286
291
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
287
292
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
288
293
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -297,7 +302,7 @@ class OrderTemplatesNew {
297
302
  __listV1() {
298
303
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
299
304
  var _a, _b, _c, _d, _e, _f, _g;
300
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
305
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
301
306
  const _queryParams = {};
302
307
  if (sortBy !== undefined) {
303
308
  _queryParams["sort_by"] = sortBy;
@@ -311,12 +316,35 @@ class OrderTemplatesNew {
311
316
  if (pageSize !== undefined) {
312
317
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
313
318
  }
319
+ if (search !== undefined) {
320
+ _queryParams["search"] = search;
321
+ }
314
322
  if (filterArchived !== undefined) {
315
323
  _queryParams["filter_archived"] = (_c = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _c !== void 0 ? _c : null;
316
324
  }
317
325
  if (filterOwnedByUserId !== undefined) {
318
326
  _queryParams["filter_owned_by_user_id"] = filterOwnedByUserId;
319
327
  }
328
+ if (filterExecutorOrgId !== undefined) {
329
+ _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
330
+ }
331
+ if (filterOffChrtExecutorOrgDataId !== undefined) {
332
+ _queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
333
+ }
334
+ if (filterShipperOrgId !== undefined) {
335
+ _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
336
+ }
337
+ if (filterOffChrtShipperOrgDataId !== undefined) {
338
+ _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
339
+ }
340
+ if (filterCoordinatorShipperAccountIds !== undefined) {
341
+ if (Array.isArray(filterCoordinatorShipperAccountIds)) {
342
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds.map((item) => item);
343
+ }
344
+ else {
345
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds;
346
+ }
347
+ }
320
348
  if (filterCreatedAtTimestampGte !== undefined) {
321
349
  _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
322
350
  }
@@ -9,8 +9,13 @@ import * as Chrt from "../../../../../../index.js";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * search: "search",
12
13
  * filter_archived: true,
13
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
+ * filter_executor_org_id: "filter_executor_org_id",
16
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
17
+ * filter_shipper_org_id: "filter_shipper_org_id",
18
+ * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
14
19
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
20
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
16
21
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -26,10 +31,22 @@ export interface OrderTemplatesNewListV1Request {
26
31
  sort_order?: Chrt.SortOrderEnum | null;
27
32
  page?: number | null;
28
33
  page_size?: number | null;
34
+ /** Full-text search query for template name or description. */
35
+ search?: string | null;
29
36
  /** Include archived templates instead of active templates. */
30
37
  filter_archived?: boolean | null;
31
38
  /** Filter by the user that created the template. */
32
39
  filter_owned_by_user_id?: string | null;
40
+ /** Filter by an on-CHRT executor organization ID. */
41
+ filter_executor_org_id?: string | null;
42
+ /** Filter by an off-CHRT executor organization data ID. */
43
+ filter_off_chrt_executor_org_data_id?: string | null;
44
+ /** Filter by an on-CHRT shipper organization ID. */
45
+ filter_shipper_org_id?: string | null;
46
+ /** Filter by an off-CHRT shipper organization data ID. */
47
+ filter_off_chrt_shipper_org_data_id?: string | null;
48
+ /** Filter by coordinator shipper account ID(s) assigned to template tasks. */
49
+ filter_coordinator_shipper_account_ids?: (string | null) | (string | null)[];
33
50
  /** Filter created_at_timestamp >= value (inclusive). */
34
51
  filter_created_at_timestamp_gte?: string | null;
35
52
  /** Filter created_at_timestamp <= value (inclusive). */
@@ -12,6 +12,7 @@ export interface OrderTemplateNewTaskClientUpdate1 {
12
12
  coordinator_shipper_account_ids?: string[];
13
13
  datetime_windows_dateparser_str?: Chrt.OrderTemplateNewDateTimeWindow1[];
14
14
  location?: Chrt.LocationFeature | null;
15
+ location__set_to_None?: boolean;
15
16
  order_placer_comments?: string | null;
16
17
  order_placer_comments__set_to_None?: boolean;
17
18
  }