@chrt-inc/typescript-sdk 1.924.0 → 1.929.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 (468) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +29 -24
  3. package/dist/cjs/api/resources/agent/client/Client.d.ts +23 -0
  4. package/dist/cjs/api/resources/agent/client/Client.js +17 -0
  5. package/dist/cjs/api/resources/agent/client/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/agent/client/index.js +2 -0
  7. package/dist/cjs/api/resources/agent/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/agent/index.js +18 -0
  9. package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/agent/resources/index.js +41 -0
  11. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +79 -0
  12. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +260 -0
  13. package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.js +17 -0
  15. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +11 -0
  16. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +12 -0
  17. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts +13 -0
  18. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +3 -0
  19. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/agent/resources/orderInformation/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/agent/resources/orderInformation/index.js +17 -0
  22. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +0 -1
  23. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +1 -5
  24. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -1
  25. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +0 -3
  26. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +1 -1
  27. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +1 -1
  28. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +20 -3
  29. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +69 -3
  30. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +2 -0
  31. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.ts +14 -0
  32. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +3 -0
  34. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +5 -0
  35. package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/billingNew/resources/orders/index.js +1 -0
  37. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.js +41 -0
  39. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.ts +49 -0
  40. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.js +135 -0
  41. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.js +17 -0
  43. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.ts +12 -0
  44. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.js +17 -0
  48. package/dist/cjs/api/resources/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/index.js +2 -1
  50. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +10 -8
  51. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +21 -13
  52. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  53. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  54. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.ts → OperationsTasksSetStatusReq1.d.ts} +3 -1
  55. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -1
  56. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +1 -1
  57. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +1 -1
  58. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +6 -1
  59. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +30 -2
  60. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +17 -0
  61. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.ts +14 -0
  62. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.js +60 -0
  63. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +1 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
  65. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
  66. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -105
  67. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +6 -518
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +0 -2
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -0
  71. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +1 -1
  72. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +1 -1
  73. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +18 -31
  74. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +34 -93
  75. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.ts → ExpandedListForDriverV1Request.d.ts} +1 -1
  76. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.ts → ExpandedListForProviderOperatorsV1Request.d.ts} +3 -1
  77. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
  78. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +1 -0
  79. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +1 -0
  80. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +11 -7
  81. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +23 -15
  82. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.ts +1 -0
  83. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.js +15 -0
  84. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.ts +13 -0
  85. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.ts +1 -0
  86. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.js +2 -0
  87. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +19 -2
  88. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +74 -5
  89. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.ts +10 -0
  90. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.ts +12 -0
  91. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +2 -0
  92. package/dist/cjs/api/resources/tracking/client/Client.d.ts +6 -0
  93. package/dist/cjs/api/resources/tracking/client/Client.js +16 -6
  94. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.d.ts +140 -0
  95. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.js +494 -0
  96. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.d.ts +2 -0
  97. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.js +17 -0
  98. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.ts +45 -0
  99. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.ts +28 -0
  100. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.ts +14 -0
  101. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.ts +3 -0
  102. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.js +2 -0
  103. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.d.ts +1 -0
  104. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.js +17 -0
  105. package/dist/cjs/api/resources/tracking/resources/index.d.ts +4 -0
  106. package/dist/cjs/api/resources/tracking/resources/index.js +5 -1
  107. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.d.ts +117 -0
  108. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.js +393 -0
  109. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.d.ts +2 -0
  110. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.js +17 -0
  111. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.ts +12 -0
  112. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.ts +13 -0
  113. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.js +5 -0
  114. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.ts +10 -0
  115. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.js +5 -0
  116. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.ts +3 -0
  117. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.js +2 -0
  118. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.d.ts +1 -0
  119. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.js +17 -0
  120. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +8 -8
  121. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +5 -5
  122. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.ts → SessionClientUpdate2.d.ts} +1 -5
  123. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.js +5 -0
  124. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.ts → SessionsCreateV1Req.d.ts} +3 -3
  125. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.js +5 -0
  126. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +2 -2
  127. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +4 -4
  128. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +2 -2
  129. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  130. package/dist/{esm/api/types/LlmModelEnum.d.mts → cjs/api/types/ArchivedModel.d.ts} +5 -2
  131. package/dist/cjs/api/types/{LlmModelEnum.js → ArchivedModel.js} +2 -2
  132. package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
  133. package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.js +5 -0
  134. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +0 -1
  135. package/dist/cjs/api/types/ContactExpandedListItem.d.ts +10 -0
  136. package/dist/cjs/api/types/ContactExpandedListItem.js +5 -0
  137. package/dist/cjs/api/types/ContactListRes.d.ts +1 -1
  138. package/dist/cjs/api/types/DeviceExpandedRes.d.ts +2 -2
  139. package/dist/cjs/api/types/GeofencePointLocationFeature1.d.ts +14 -0
  140. package/dist/cjs/api/types/GeofencePointLocationFeature1.js +5 -0
  141. package/dist/cjs/api/types/{OrdersExpandedListForExecutorRes.d.ts → GeofenceTemplateListRes.d.ts} +2 -2
  142. package/dist/cjs/api/types/GeofenceTemplateListRes.js +5 -0
  143. package/dist/cjs/api/types/GeofenceTemplateSortByEnum.d.ts +10 -0
  144. package/dist/cjs/api/types/GeofenceTemplateSortByEnum.js +12 -0
  145. package/dist/cjs/api/types/Invoice1.d.ts +2 -0
  146. package/dist/cjs/api/types/InvoiceExpandedListItem.d.ts +11 -0
  147. package/dist/cjs/api/types/InvoiceExpandedListItem.js +5 -0
  148. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -1
  149. package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.d.ts +8 -0
  150. package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.js +5 -0
  151. package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
  152. package/dist/cjs/api/types/InvoiceLineItemExpandedRes.js +5 -0
  153. package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +1 -1
  154. package/dist/cjs/api/types/InvoiceListRes.d.ts +1 -1
  155. package/dist/cjs/api/types/Model.d.ts +12 -0
  156. package/dist/cjs/api/types/Model.js +11 -0
  157. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +2 -2
  158. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -1
  159. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +3 -2
  160. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +2 -1
  161. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +3 -2
  162. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +2 -1
  163. package/dist/cjs/api/types/OperationsTaskExpandedListItem.d.ts +1 -0
  164. package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.d.ts +7 -0
  165. package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.js +5 -0
  166. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -0
  167. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +3 -0
  168. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +1 -0
  169. package/dist/cjs/api/types/OrderInformationConversationRes.d.ts +7 -0
  170. package/dist/cjs/api/types/OrderInformationConversationRes.js +5 -0
  171. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.d.ts +12 -0
  172. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.js +5 -0
  173. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.ts +11 -0
  174. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.js +5 -0
  175. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.ts +9 -0
  176. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.js +11 -0
  177. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +37 -0
  178. package/dist/cjs/api/types/OrderTemplateNewExpanded1.js +5 -0
  179. package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +1 -1
  180. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.d.ts +10 -0
  181. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.js +5 -0
  182. package/dist/cjs/api/types/Point.d.ts +1 -0
  183. package/dist/cjs/api/types/{Session1.d.ts → Session2.d.ts} +2 -4
  184. package/dist/cjs/api/types/Session2.js +5 -0
  185. package/dist/cjs/api/types/SessionGeofence1.d.ts +12 -0
  186. package/dist/cjs/api/types/SessionGeofence1.js +5 -0
  187. package/dist/cjs/api/types/SessionGeofenceBase1.d.ts +9 -0
  188. package/dist/cjs/api/types/SessionGeofenceBase1.js +5 -0
  189. package/dist/cjs/api/types/SessionGeofenceClientCreate1.d.ts +9 -0
  190. package/dist/cjs/api/types/SessionGeofenceClientCreate1.js +5 -0
  191. package/dist/cjs/api/types/SessionGeofenceTemplate1.d.ts +19 -0
  192. package/dist/cjs/api/types/SessionGeofenceTemplate1.js +5 -0
  193. package/dist/cjs/api/types/SessionListRes.d.ts +1 -1
  194. package/dist/cjs/api/types/StoredModel.d.ts +5 -0
  195. package/dist/cjs/api/types/StoredModel.js +5 -0
  196. package/dist/cjs/api/types/Task1.d.ts +1 -0
  197. package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.d.ts +8 -0
  198. package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.js +5 -0
  199. package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.d.ts +8 -0
  200. package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.js +5 -0
  201. package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.d.ts +9 -0
  202. package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.js +11 -0
  203. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.d.ts +8 -0
  204. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.js +5 -0
  205. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.ts +14 -0
  206. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.js +5 -0
  207. package/dist/cjs/api/types/index.d.ts +28 -9
  208. package/dist/cjs/api/types/index.js +28 -9
  209. package/dist/cjs/version.d.ts +1 -1
  210. package/dist/cjs/version.js +1 -1
  211. package/dist/esm/Client.d.mts +3 -0
  212. package/dist/esm/Client.mjs +7 -2
  213. package/dist/esm/api/resources/agent/client/Client.d.mts +23 -0
  214. package/dist/esm/api/resources/agent/client/Client.mjs +13 -0
  215. package/dist/esm/api/resources/agent/client/index.d.mts +1 -0
  216. package/dist/esm/api/resources/agent/client/index.mjs +1 -0
  217. package/dist/esm/api/resources/agent/index.d.mts +2 -0
  218. package/dist/esm/api/resources/agent/index.mjs +2 -0
  219. package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
  220. package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
  221. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +79 -0
  222. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +223 -0
  223. package/dist/esm/api/resources/agent/resources/orderInformation/client/index.d.mts +2 -0
  224. package/dist/esm/api/resources/agent/resources/orderInformation/client/index.mjs +1 -0
  225. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +11 -0
  226. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts +12 -0
  227. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +13 -0
  228. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +3 -0
  229. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.mjs +1 -0
  230. package/dist/esm/api/resources/agent/resources/orderInformation/index.d.mts +1 -0
  231. package/dist/esm/api/resources/agent/resources/orderInformation/index.mjs +1 -0
  232. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +0 -1
  233. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +1 -5
  234. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -1
  235. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +0 -3
  236. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +1 -1
  237. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +1 -1
  238. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +20 -3
  239. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +69 -3
  240. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +2 -0
  241. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.mts +14 -0
  242. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
  243. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +3 -0
  244. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +5 -0
  245. package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +1 -0
  246. package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +1 -0
  247. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.d.mts +2 -0
  248. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.mjs +2 -0
  249. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.mts +49 -0
  250. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.mjs +98 -0
  251. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.mts +2 -0
  252. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.mjs +1 -0
  253. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.mts +12 -0
  254. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.mts +1 -0
  255. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.mjs +1 -0
  256. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts +1 -0
  257. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs +1 -0
  258. package/dist/esm/api/resources/index.d.mts +1 -0
  259. package/dist/esm/api/resources/index.mjs +1 -0
  260. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +10 -8
  261. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +21 -13
  262. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  263. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  264. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.mts → OperationsTasksSetStatusReq1.d.mts} +3 -1
  265. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -1
  266. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +1 -1
  267. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +1 -1
  268. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +6 -1
  269. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +30 -2
  270. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +17 -0
  271. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.mts +14 -0
  272. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.mjs +60 -0
  273. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +1 -0
  274. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
  275. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
  276. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -105
  277. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +6 -518
  278. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  279. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +0 -2
  280. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +1 -0
  281. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +1 -1
  282. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +1 -1
  283. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +18 -31
  284. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +34 -93
  285. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.mts → ExpandedListForDriverV1Request.d.mts} +1 -1
  286. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.mts → ExpandedListForProviderOperatorsV1Request.d.mts} +3 -1
  287. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
  288. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +1 -0
  289. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +1 -0
  290. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +11 -7
  291. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +23 -15
  292. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.mts +1 -0
  293. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.mjs +1 -1
  294. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.mts +13 -0
  295. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.mts +1 -0
  296. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.mjs +1 -0
  297. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +19 -2
  298. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +74 -5
  299. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.mts +10 -0
  300. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.mts +12 -0
  301. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +2 -0
  302. package/dist/esm/api/resources/tracking/client/Client.d.mts +6 -0
  303. package/dist/esm/api/resources/tracking/client/Client.mjs +10 -0
  304. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.d.mts +140 -0
  305. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.mjs +457 -0
  306. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.d.mts +2 -0
  307. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.mjs +1 -0
  308. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.mts +45 -0
  309. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.mts +28 -0
  310. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.mts +14 -0
  311. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.mts +3 -0
  312. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.mjs +1 -0
  313. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.d.mts +1 -0
  314. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.mjs +1 -0
  315. package/dist/esm/api/resources/tracking/resources/index.d.mts +4 -0
  316. package/dist/esm/api/resources/tracking/resources/index.mjs +4 -0
  317. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.d.mts +117 -0
  318. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.mjs +356 -0
  319. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.d.mts +2 -0
  320. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.mjs +1 -0
  321. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.mts +12 -0
  322. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.mts +13 -0
  323. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.mjs +4 -0
  324. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.mts +10 -0
  325. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.mjs +4 -0
  326. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.mts +3 -0
  327. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.mjs +1 -0
  328. package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.d.mts +1 -0
  329. package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.mjs +1 -0
  330. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +8 -8
  331. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +5 -5
  332. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.mts → SessionClientUpdate2.d.mts} +1 -5
  333. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.mjs +4 -0
  334. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.mts → SessionsCreateV1Req.d.mts} +3 -3
  335. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.mjs +4 -0
  336. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +2 -2
  337. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +4 -4
  338. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +2 -2
  339. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  340. package/dist/{cjs/api/types/LlmModelEnum.d.ts → esm/api/types/ArchivedModel.d.mts} +5 -2
  341. package/dist/esm/api/types/{LlmModelEnum.mjs → ArchivedModel.mjs} +1 -1
  342. package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
  343. package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.mjs +4 -0
  344. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +0 -1
  345. package/dist/esm/api/types/ContactExpandedListItem.d.mts +10 -0
  346. package/dist/esm/api/types/ContactExpandedListItem.mjs +4 -0
  347. package/dist/esm/api/types/ContactListRes.d.mts +1 -1
  348. package/dist/esm/api/types/DeviceExpandedRes.d.mts +2 -2
  349. package/dist/esm/api/types/GeofencePointLocationFeature1.d.mts +14 -0
  350. package/dist/esm/api/types/GeofencePointLocationFeature1.mjs +4 -0
  351. package/dist/esm/api/types/{OrdersExpandedListForExecutorRes.d.mts → GeofenceTemplateListRes.d.mts} +2 -2
  352. package/dist/esm/api/types/GeofenceTemplateListRes.mjs +4 -0
  353. package/dist/esm/api/types/GeofenceTemplateSortByEnum.d.mts +10 -0
  354. package/dist/esm/api/types/GeofenceTemplateSortByEnum.mjs +9 -0
  355. package/dist/esm/api/types/Invoice1.d.mts +2 -0
  356. package/dist/esm/api/types/InvoiceExpandedListItem.d.mts +11 -0
  357. package/dist/esm/api/types/InvoiceExpandedListItem.mjs +4 -0
  358. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -1
  359. package/dist/esm/api/types/InvoiceLineItemExpandedListItem.d.mts +8 -0
  360. package/dist/esm/api/types/InvoiceLineItemExpandedListItem.mjs +4 -0
  361. package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
  362. package/dist/esm/api/types/InvoiceLineItemExpandedRes.mjs +4 -0
  363. package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +1 -1
  364. package/dist/esm/api/types/InvoiceListRes.d.mts +1 -1
  365. package/dist/esm/api/types/Model.d.mts +12 -0
  366. package/dist/esm/api/types/Model.mjs +8 -0
  367. package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +2 -2
  368. package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -1
  369. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +3 -2
  370. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +2 -1
  371. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +3 -2
  372. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +2 -1
  373. package/dist/esm/api/types/OperationsTaskExpandedListItem.d.mts +1 -0
  374. package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.d.mts +7 -0
  375. package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.mjs +4 -0
  376. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -0
  377. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +3 -0
  378. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +1 -0
  379. package/dist/esm/api/types/OrderInformationConversationRes.d.mts +7 -0
  380. package/dist/esm/api/types/OrderInformationConversationRes.mjs +4 -0
  381. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.d.mts +12 -0
  382. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.mjs +4 -0
  383. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.mts +11 -0
  384. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.mjs +4 -0
  385. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.mts +9 -0
  386. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.mjs +8 -0
  387. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +37 -0
  388. package/dist/esm/api/types/OrderTemplateNewExpanded1.mjs +4 -0
  389. package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +1 -1
  390. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.d.mts +10 -0
  391. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.mjs +4 -0
  392. package/dist/esm/api/types/Point.d.mts +1 -0
  393. package/dist/esm/api/types/{Session1.d.mts → Session2.d.mts} +2 -4
  394. package/dist/esm/api/types/Session2.mjs +4 -0
  395. package/dist/esm/api/types/SessionGeofence1.d.mts +12 -0
  396. package/dist/esm/api/types/SessionGeofence1.mjs +4 -0
  397. package/dist/esm/api/types/SessionGeofenceBase1.d.mts +9 -0
  398. package/dist/esm/api/types/SessionGeofenceBase1.mjs +4 -0
  399. package/dist/esm/api/types/SessionGeofenceClientCreate1.d.mts +9 -0
  400. package/dist/esm/api/types/SessionGeofenceClientCreate1.mjs +4 -0
  401. package/dist/esm/api/types/SessionGeofenceTemplate1.d.mts +19 -0
  402. package/dist/esm/api/types/SessionGeofenceTemplate1.mjs +4 -0
  403. package/dist/esm/api/types/SessionListRes.d.mts +1 -1
  404. package/dist/esm/api/types/StoredModel.d.mts +5 -0
  405. package/dist/esm/api/types/StoredModel.mjs +4 -0
  406. package/dist/esm/api/types/Task1.d.mts +1 -0
  407. package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.d.mts +8 -0
  408. package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.mjs +4 -0
  409. package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.d.mts +8 -0
  410. package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.mjs +4 -0
  411. package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.d.mts +9 -0
  412. package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.mjs +8 -0
  413. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.d.mts +8 -0
  414. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.mjs +4 -0
  415. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.mts +14 -0
  416. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.mjs +4 -0
  417. package/dist/esm/api/types/index.d.mts +28 -9
  418. package/dist/esm/api/types/index.mjs +28 -9
  419. package/dist/esm/version.d.mts +1 -1
  420. package/dist/esm/version.mjs +1 -1
  421. package/package.json +1 -1
  422. package/reference.md +1785 -802
  423. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +0 -73
  424. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +0 -66
  425. package/dist/cjs/api/types/OrderExpandedForCoordinator.d.ts +0 -15
  426. package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +0 -14
  427. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +0 -47
  428. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +0 -27
  429. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +0 -8
  430. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
  431. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +0 -73
  432. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +0 -66
  433. package/dist/esm/api/types/OrderExpandedForCoordinator.d.mts +0 -15
  434. package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +0 -14
  435. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +0 -47
  436. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +0 -27
  437. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +0 -8
  438. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
  439. /package/dist/cjs/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.js → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js} +0 -0
  440. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js} +0 -0
  441. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js} +0 -0
  442. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.js} +0 -0
  443. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.js} +0 -0
  444. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.js → operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.js} +0 -0
  445. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.js → shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.js} +0 -0
  446. /package/dist/cjs/api/{types/OrderExpandedForCoordinator.js → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
  447. /package/dist/cjs/api/{types/OrderExpandedForExecutor.js → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.js} +0 -0
  448. /package/dist/cjs/api/{types/OrderLimitedForCoordinator1.js → resources/shipping/resources/tasks/client/requests/TaskCompleteReq.js} +0 -0
  449. /package/dist/cjs/api/{types/OrderLimitedForExecutor1.js → resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
  450. /package/dist/cjs/api/{types/OrdersExpandedListForCoordinatorRes.js → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
  451. /package/dist/cjs/api/{types/OrdersExpandedListForExecutorRes.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
  452. /package/dist/cjs/api/{types/Session1.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.js} +0 -0
  453. /package/dist/cjs/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.js} +0 -0
  454. /package/dist/esm/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs} +0 -0
  455. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs} +0 -0
  456. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs} +0 -0
  457. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.mjs} +0 -0
  458. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.mjs} +0 -0
  459. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.mjs} +0 -0
  460. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.mjs → shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.mjs} +0 -0
  461. /package/dist/esm/api/{types/OrderExpandedForCoordinator.mjs → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
  462. /package/dist/esm/api/{types/OrderExpandedForExecutor.mjs → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.mjs} +0 -0
  463. /package/dist/esm/api/{types/OrderLimitedForCoordinator1.mjs → resources/shipping/resources/tasks/client/requests/TaskCompleteReq.mjs} +0 -0
  464. /package/dist/esm/api/{types/OrderLimitedForExecutor1.mjs → resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
  465. /package/dist/esm/api/{types/OrdersExpandedListForCoordinatorRes.mjs → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
  466. /package/dist/esm/api/{types/OrdersExpandedListForExecutorRes.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
  467. /package/dist/esm/api/{types/Session1.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.mjs} +0 -0
  468. /package/dist/esm/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.mjs} +0 -0
@@ -20,133 +20,7 @@ export class Expanded {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Retrieves an expanded order with optional related data for coordinator operators. Drafts are visible only to operators in the creating provider org; when expand_cargos is requested, the response includes unassigned_cargos. | authz_personas=[coordinator_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForCoordinator)
24
- *
25
- * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
26
- * @param {Chrt.OrderAndTaskGroupExpandedReq} request
27
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
28
- *
29
- * @throws {@link Chrt.UnprocessableEntityError}
30
- *
31
- * @example
32
- * await client.shipping.orders.expanded.forCoordinatorOperatorsV1("order_ref", {})
33
- */
34
- forCoordinatorOperatorsV1(orderRef, request, requestOptions) {
35
- return core.HttpResponsePromise.fromPromise(this.__forCoordinatorOperatorsV1(orderRef, request, requestOptions));
36
- }
37
- __forCoordinatorOperatorsV1(orderRef, request, requestOptions) {
38
- return __awaiter(this, void 0, void 0, function* () {
39
- var _a, _b, _c, _d;
40
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
41
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
42
- 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/orders/expanded/for_coordinator_operators/v1/${encodeURIComponent(orderRef)}`),
43
- method: "POST",
44
- headers: _headers,
45
- contentType: "application/json",
46
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
47
- requestType: "json",
48
- body: request,
49
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
50
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
51
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
52
- });
53
- if (_response.ok) {
54
- return { data: _response.body, rawResponse: _response.rawResponse };
55
- }
56
- if (_response.error.reason === "status-code") {
57
- switch (_response.error.statusCode) {
58
- case 422:
59
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
60
- default:
61
- throw new errors.ChrtError({
62
- statusCode: _response.error.statusCode,
63
- body: _response.error.body,
64
- rawResponse: _response.rawResponse,
65
- });
66
- }
67
- }
68
- switch (_response.error.reason) {
69
- case "non-json":
70
- throw new errors.ChrtError({
71
- statusCode: _response.error.statusCode,
72
- body: _response.error.rawBody,
73
- rawResponse: _response.rawResponse,
74
- });
75
- case "timeout":
76
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/for_coordinator_operators/v1/{order_ref}.");
77
- case "unknown":
78
- throw new errors.ChrtError({
79
- message: _response.error.errorMessage,
80
- rawResponse: _response.rawResponse,
81
- });
82
- }
83
- });
84
- }
85
- /**
86
- * Retrieves an expanded order containing only task groups executed by the caller's provider org. | authz_personas=[order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForExecutor)
87
- *
88
- * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
89
- * @param {Chrt.OrderAndTaskGroupExpandedReq} request
90
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
91
- *
92
- * @throws {@link Chrt.UnprocessableEntityError}
93
- *
94
- * @example
95
- * await client.shipping.orders.expanded.forExecutorOperatorsV1("order_ref", {})
96
- */
97
- forExecutorOperatorsV1(orderRef, request, requestOptions) {
98
- return core.HttpResponsePromise.fromPromise(this.__forExecutorOperatorsV1(orderRef, request, requestOptions));
99
- }
100
- __forExecutorOperatorsV1(orderRef, request, requestOptions) {
101
- return __awaiter(this, void 0, void 0, function* () {
102
- var _a, _b, _c, _d;
103
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
104
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
105
- 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/orders/expanded/for_executor_operators/v1/${encodeURIComponent(orderRef)}`),
106
- method: "POST",
107
- headers: _headers,
108
- contentType: "application/json",
109
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
110
- requestType: "json",
111
- body: request,
112
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
113
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
114
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
115
- });
116
- if (_response.ok) {
117
- return { data: _response.body, rawResponse: _response.rawResponse };
118
- }
119
- if (_response.error.reason === "status-code") {
120
- switch (_response.error.statusCode) {
121
- case 422:
122
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
123
- default:
124
- throw new errors.ChrtError({
125
- statusCode: _response.error.statusCode,
126
- body: _response.error.body,
127
- rawResponse: _response.rawResponse,
128
- });
129
- }
130
- }
131
- switch (_response.error.reason) {
132
- case "non-json":
133
- throw new errors.ChrtError({
134
- statusCode: _response.error.statusCode,
135
- body: _response.error.rawBody,
136
- rawResponse: _response.rawResponse,
137
- });
138
- case "timeout":
139
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/for_executor_operators/v1/{order_ref}.");
140
- case "unknown":
141
- throw new errors.ChrtError({
142
- message: _response.error.errorMessage,
143
- rawResponse: _response.rawResponse,
144
- });
145
- }
146
- });
147
- }
148
- /**
149
- * Retrieves an expanded order for a provider org that is the coordinator, an executor, or both, with role-filtered task-group details. Mirrors the per-item projection of the for_provider_operators list route. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForProvider)
23
+ * Retrieves an expanded order for a provider org that is the coordinator, an executor, or both. Executor-only callers receive only their task groups. Drafts are visible only to operators in the creating provider org; coordinator responses include unassigned_cargos when expand_cargos is requested. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForProvider)
150
24
  *
151
25
  * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
152
26
  * @param {Chrt.OrderAndTaskGroupExpandedReq} request
@@ -271,396 +145,6 @@ export class Expanded {
271
145
  }
272
146
  });
273
147
  }
274
- /**
275
- * Lists expanded orders where the caller's provider org is the coordinator. Filtering, sorting, pagination, optional search. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForCoordinatorRes)
276
- *
277
- * @param {Chrt.shipping.orders.ExpandedListForCoordinatorOperatorsV1Request} request
278
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
279
- *
280
- * @throws {@link Chrt.UnprocessableEntityError}
281
- *
282
- * @example
283
- * await client.shipping.orders.expanded.listForCoordinatorOperatorsV1({
284
- * sort_by: "draft_started_at_timestamp",
285
- * sort_order: "asc",
286
- * page: 1,
287
- * page_size: 1,
288
- * search: "search",
289
- * filter_awb_number: "filter_awb_number",
290
- * filter_has_invoice: true,
291
- * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
292
- * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
293
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
294
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
295
- * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
296
- * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
297
- * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
298
- * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
299
- * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
300
- * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
301
- * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
302
- * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
303
- * filter_executor_org_id: "filter_executor_org_id",
304
- * filter_shipper_org_id: "filter_shipper_org_id",
305
- * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
306
- * filter_coordinator_department_id: "filter_coordinator_department_id",
307
- * filter_coordinator_label: "filter_coordinator_label",
308
- * body: {}
309
- * })
310
- */
311
- listForCoordinatorOperatorsV1(request, requestOptions) {
312
- return core.HttpResponsePromise.fromPromise(this.__listForCoordinatorOperatorsV1(request, requestOptions));
313
- }
314
- __listForCoordinatorOperatorsV1(request, requestOptions) {
315
- return __awaiter(this, void 0, void 0, function* () {
316
- var _a, _b, _c, _d, _e, _f, _g;
317
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
318
- const _queryParams = {};
319
- if (sortBy !== undefined) {
320
- _queryParams["sort_by"] = sortBy;
321
- }
322
- if (sortOrder !== undefined) {
323
- _queryParams["sort_order"] = sortOrder;
324
- }
325
- if (page !== undefined) {
326
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
327
- }
328
- if (pageSize !== undefined) {
329
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
330
- }
331
- if (search !== undefined) {
332
- _queryParams["search"] = search;
333
- }
334
- if (filterStatus !== undefined) {
335
- if (Array.isArray(filterStatus)) {
336
- _queryParams["filter_status"] = filterStatus.map((item) => item);
337
- }
338
- else {
339
- _queryParams["filter_status"] = filterStatus;
340
- }
341
- }
342
- if (filterServiceLine !== undefined) {
343
- if (Array.isArray(filterServiceLine)) {
344
- _queryParams["filter_service_line"] = filterServiceLine.map((item) => item);
345
- }
346
- else {
347
- _queryParams["filter_service_line"] = filterServiceLine;
348
- }
349
- }
350
- if (filterOrderClassificationByTaskGroupType !== undefined) {
351
- if (Array.isArray(filterOrderClassificationByTaskGroupType)) {
352
- _queryParams["filter_order_classification_by_task_group_type"] =
353
- filterOrderClassificationByTaskGroupType.map((item) => item);
354
- }
355
- else {
356
- _queryParams["filter_order_classification_by_task_group_type"] =
357
- filterOrderClassificationByTaskGroupType;
358
- }
359
- }
360
- if (filterAwbNumber !== undefined) {
361
- _queryParams["filter_awb_number"] = filterAwbNumber;
362
- }
363
- if (filterHasInvoice !== undefined) {
364
- _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
365
- }
366
- if (filterDraftStartedAtTimestampLte !== undefined) {
367
- _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
368
- }
369
- if (filterDraftStartedAtTimestampGte !== undefined) {
370
- _queryParams["filter_draft_started_at_timestamp_gte"] = filterDraftStartedAtTimestampGte;
371
- }
372
- if (filterStagedAtTimestampLte !== undefined) {
373
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
374
- }
375
- if (filterStagedAtTimestampGte !== undefined) {
376
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
377
- }
378
- if (filterInProgressAtTimestampLte !== undefined) {
379
- _queryParams["filter_in_progress_at_timestamp_lte"] = filterInProgressAtTimestampLte;
380
- }
381
- if (filterInProgressAtTimestampGte !== undefined) {
382
- _queryParams["filter_in_progress_at_timestamp_gte"] = filterInProgressAtTimestampGte;
383
- }
384
- if (filterCompletedAtTimestampLte !== undefined) {
385
- _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
386
- }
387
- if (filterCompletedAtTimestampGte !== undefined) {
388
- _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
389
- }
390
- if (filterCancelledAtTimestampLte !== undefined) {
391
- _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
392
- }
393
- if (filterCancelledAtTimestampGte !== undefined) {
394
- _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
395
- }
396
- if (filterExceptionAtTimestampLte !== undefined) {
397
- _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
398
- }
399
- if (filterExceptionAtTimestampGte !== undefined) {
400
- _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
401
- }
402
- if (filterExecutorOrgId !== undefined) {
403
- _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
404
- }
405
- if (filterShipperOrgId !== undefined) {
406
- _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
407
- }
408
- if (filterOffChrtShipperOrgDataId !== undefined) {
409
- _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
410
- }
411
- if (filterCoordinatorShipperAccountIds !== undefined) {
412
- if (Array.isArray(filterCoordinatorShipperAccountIds)) {
413
- _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds.map((item) => item);
414
- }
415
- else {
416
- _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds;
417
- }
418
- }
419
- if (filterCoordinatorDepartmentId !== undefined) {
420
- _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
421
- }
422
- if (filterCoordinatorAssignedUserIds !== undefined) {
423
- if (Array.isArray(filterCoordinatorAssignedUserIds)) {
424
- _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
425
- }
426
- else {
427
- _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
428
- }
429
- }
430
- if (filterCoordinatorLabel !== undefined) {
431
- _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
432
- }
433
- let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
434
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
435
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
436
- method: "POST",
437
- headers: _headers,
438
- contentType: "application/json",
439
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
440
- requestType: "json",
441
- body: _body,
442
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
443
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
444
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
445
- });
446
- if (_response.ok) {
447
- return {
448
- data: _response.body,
449
- rawResponse: _response.rawResponse,
450
- };
451
- }
452
- if (_response.error.reason === "status-code") {
453
- switch (_response.error.statusCode) {
454
- case 422:
455
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
456
- default:
457
- throw new errors.ChrtError({
458
- statusCode: _response.error.statusCode,
459
- body: _response.error.body,
460
- rawResponse: _response.rawResponse,
461
- });
462
- }
463
- }
464
- switch (_response.error.reason) {
465
- case "non-json":
466
- throw new errors.ChrtError({
467
- statusCode: _response.error.statusCode,
468
- body: _response.error.rawBody,
469
- rawResponse: _response.rawResponse,
470
- });
471
- case "timeout":
472
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/list/for_coordinator_operators/v1.");
473
- case "unknown":
474
- throw new errors.ChrtError({
475
- message: _response.error.errorMessage,
476
- rawResponse: _response.rawResponse,
477
- });
478
- }
479
- });
480
- }
481
- /**
482
- * Lists expanded orders where the caller's provider org executes at least one task group. Each result contains only that org's task groups. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForExecutorRes)
483
- *
484
- * @param {Chrt.shipping.orders.ExpandedListForExecutorOperatorsV1Request} request
485
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
486
- *
487
- * @throws {@link Chrt.UnprocessableEntityError}
488
- *
489
- * @example
490
- * await client.shipping.orders.expanded.listForExecutorOperatorsV1({
491
- * sort_by: "draft_started_at_timestamp",
492
- * sort_order: "asc",
493
- * page: 1,
494
- * page_size: 1,
495
- * search: "search",
496
- * filter_awb_number: "filter_awb_number",
497
- * filter_has_invoice: true,
498
- * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
499
- * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
500
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
501
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
502
- * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
503
- * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
504
- * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
505
- * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
506
- * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
507
- * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
508
- * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
509
- * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
510
- * filter_coordinator_org_id: "filter_coordinator_org_id",
511
- * filter_shipper_org_id: "filter_shipper_org_id",
512
- * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
513
- * body: {}
514
- * })
515
- */
516
- listForExecutorOperatorsV1(request, requestOptions) {
517
- return core.HttpResponsePromise.fromPromise(this.__listForExecutorOperatorsV1(request, requestOptions));
518
- }
519
- __listForExecutorOperatorsV1(request, requestOptions) {
520
- return __awaiter(this, void 0, void 0, function* () {
521
- var _a, _b, _c, _d, _e, _f, _g;
522
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
523
- const _queryParams = {};
524
- if (sortBy !== undefined) {
525
- _queryParams["sort_by"] = sortBy;
526
- }
527
- if (sortOrder !== undefined) {
528
- _queryParams["sort_order"] = sortOrder;
529
- }
530
- if (page !== undefined) {
531
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
532
- }
533
- if (pageSize !== undefined) {
534
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
535
- }
536
- if (search !== undefined) {
537
- _queryParams["search"] = search;
538
- }
539
- if (filterStatus !== undefined) {
540
- if (Array.isArray(filterStatus)) {
541
- _queryParams["filter_status"] = filterStatus.map((item) => item);
542
- }
543
- else {
544
- _queryParams["filter_status"] = filterStatus;
545
- }
546
- }
547
- if (filterServiceLine !== undefined) {
548
- if (Array.isArray(filterServiceLine)) {
549
- _queryParams["filter_service_line"] = filterServiceLine.map((item) => item);
550
- }
551
- else {
552
- _queryParams["filter_service_line"] = filterServiceLine;
553
- }
554
- }
555
- if (filterOrderClassificationByTaskGroupType !== undefined) {
556
- if (Array.isArray(filterOrderClassificationByTaskGroupType)) {
557
- _queryParams["filter_order_classification_by_task_group_type"] =
558
- filterOrderClassificationByTaskGroupType.map((item) => item);
559
- }
560
- else {
561
- _queryParams["filter_order_classification_by_task_group_type"] =
562
- filterOrderClassificationByTaskGroupType;
563
- }
564
- }
565
- if (filterAwbNumber !== undefined) {
566
- _queryParams["filter_awb_number"] = filterAwbNumber;
567
- }
568
- if (filterHasInvoice !== undefined) {
569
- _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
570
- }
571
- if (filterDraftStartedAtTimestampLte !== undefined) {
572
- _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
573
- }
574
- if (filterDraftStartedAtTimestampGte !== undefined) {
575
- _queryParams["filter_draft_started_at_timestamp_gte"] = filterDraftStartedAtTimestampGte;
576
- }
577
- if (filterStagedAtTimestampLte !== undefined) {
578
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
579
- }
580
- if (filterStagedAtTimestampGte !== undefined) {
581
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
582
- }
583
- if (filterInProgressAtTimestampLte !== undefined) {
584
- _queryParams["filter_in_progress_at_timestamp_lte"] = filterInProgressAtTimestampLte;
585
- }
586
- if (filterInProgressAtTimestampGte !== undefined) {
587
- _queryParams["filter_in_progress_at_timestamp_gte"] = filterInProgressAtTimestampGte;
588
- }
589
- if (filterCompletedAtTimestampLte !== undefined) {
590
- _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
591
- }
592
- if (filterCompletedAtTimestampGte !== undefined) {
593
- _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
594
- }
595
- if (filterCancelledAtTimestampLte !== undefined) {
596
- _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
597
- }
598
- if (filterCancelledAtTimestampGte !== undefined) {
599
- _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
600
- }
601
- if (filterExceptionAtTimestampLte !== undefined) {
602
- _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
603
- }
604
- if (filterExceptionAtTimestampGte !== undefined) {
605
- _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
606
- }
607
- if (filterCoordinatorOrgId !== undefined) {
608
- _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
609
- }
610
- if (filterShipperOrgId !== undefined) {
611
- _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
612
- }
613
- if (filterOffChrtShipperOrgDataId !== undefined) {
614
- _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
615
- }
616
- let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
617
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
618
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_executor_operators/v1"),
619
- method: "POST",
620
- headers: _headers,
621
- contentType: "application/json",
622
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
623
- requestType: "json",
624
- body: _body,
625
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
626
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
627
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
628
- });
629
- if (_response.ok) {
630
- return {
631
- data: _response.body,
632
- rawResponse: _response.rawResponse,
633
- };
634
- }
635
- if (_response.error.reason === "status-code") {
636
- switch (_response.error.statusCode) {
637
- case 422:
638
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
639
- default:
640
- throw new errors.ChrtError({
641
- statusCode: _response.error.statusCode,
642
- body: _response.error.body,
643
- rawResponse: _response.rawResponse,
644
- });
645
- }
646
- }
647
- switch (_response.error.reason) {
648
- case "non-json":
649
- throw new errors.ChrtError({
650
- statusCode: _response.error.statusCode,
651
- body: _response.error.rawBody,
652
- rawResponse: _response.rawResponse,
653
- });
654
- case "timeout":
655
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/list/for_executor_operators/v1.");
656
- case "unknown":
657
- throw new errors.ChrtError({
658
- message: _response.error.errorMessage,
659
- rawResponse: _response.rawResponse,
660
- });
661
- }
662
- });
663
- }
664
148
  /**
665
149
  * Lists expanded orders where the caller's provider org is the coordinator, an executor, or both. Each order appears once with role-filtered task-group details. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForProviderRes)
666
150
  *
@@ -692,6 +176,7 @@ export class Expanded {
692
176
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
693
177
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
694
178
  * filter_executor_org_id: "filter_executor_org_id",
179
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
695
180
  * filter_coordinator_org_id: "filter_coordinator_org_id",
696
181
  * filter_shipper_org_id: "filter_shipper_org_id",
697
182
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
@@ -706,7 +191,7 @@ export class Expanded {
706
191
  __listForProviderOperatorsV1(request, requestOptions) {
707
192
  return __awaiter(this, void 0, void 0, function* () {
708
193
  var _a, _b, _c, _d, _e, _f, _g;
709
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
194
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
710
195
  const _queryParams = {};
711
196
  if (providerRole !== undefined) {
712
197
  _queryParams["provider_role"] = providerRole;
@@ -797,6 +282,9 @@ export class Expanded {
797
282
  if (filterExecutorOrgId !== undefined) {
798
283
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
799
284
  }
285
+ if (filterOffChrtExecutorOrgDataId !== undefined) {
286
+ _queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
287
+ }
800
288
  if (filterCoordinatorOrgId !== undefined) {
801
289
  _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
802
290
  }
@@ -26,6 +26,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
26
26
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
27
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
28
  * filter_executor_org_id: "filter_executor_org_id",
29
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
29
30
  * filter_coordinator_org_id: "filter_coordinator_org_id",
30
31
  * filter_shipper_org_id: "filter_shipper_org_id",
31
32
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
@@ -65,6 +66,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
65
66
  filter_exception_at_timestamp_lte?: string | null;
66
67
  filter_exception_at_timestamp_gte?: string | null;
67
68
  filter_executor_org_id?: string | null;
69
+ /** Filter by off-CHRT executor org data ID */
70
+ filter_off_chrt_executor_org_data_id?: string | null;
68
71
  filter_coordinator_org_id?: string | null;
69
72
  filter_shipper_org_id?: string | null;
70
73
  filter_off_chrt_shipper_org_data_id?: string | null;
@@ -1,4 +1,2 @@
1
- export { type ExpandedListForCoordinatorOperatorsV1Request } from "./ExpandedListForCoordinatorOperatorsV1Request.mjs";
2
- export { type ExpandedListForExecutorOperatorsV1Request } from "./ExpandedListForExecutorOperatorsV1Request.mjs";
3
1
  export { type ExpandedListForProviderOperatorsV1Request } from "./ExpandedListForProviderOperatorsV1Request.mjs";
4
2
  export { type ExpandedListForShipperOperatorsV1Request } from "./ExpandedListForShipperOperatorsV1Request.mjs";
@@ -12,6 +12,7 @@ export interface TaskClientUpdate1 {
12
12
  coordinator_shipper_account_ids?: string[];
13
13
  datetime_windows?: Chrt.DateTimeWindow1[];
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
  }
@@ -63,7 +63,7 @@ export declare class S3Object {
63
63
  * dispute_defensibility: "dispute_defensibility",
64
64
  * location_description: "location_description",
65
65
  * location_identifiers: ["location_identifiers"],
66
- * model: "gpt-5.5",
66
+ * model: "gpt-5.6-terra",
67
67
  * package_appearance: "package_appearance",
68
68
  * package_types: ["package_types"],
69
69
  * proof_notes: ["proof_notes"],
@@ -104,7 +104,7 @@ export class S3Object {
104
104
  * dispute_defensibility: "dispute_defensibility",
105
105
  * location_description: "location_description",
106
106
  * location_identifiers: ["location_identifiers"],
107
- * model: "gpt-5.5",
107
+ * model: "gpt-5.6-terra",
108
108
  * package_appearance: "package_appearance",
109
109
  * package_types: ["package_types"],
110
110
  * proof_notes: ["proof_notes"],