@chrt-inc/typescript-sdk 1.899.0 → 1.904.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 (382) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/client/Client.d.ts +6 -3
  3. package/dist/cjs/api/resources/billingNew/client/Client.js +12 -7
  4. package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.d.ts +43 -55
  5. package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.js +91 -133
  6. package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +11 -3
  7. package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +10 -0
  8. package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.d.ts → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts} +8 -4
  9. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.d.ts +12 -0
  10. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.ts +4 -0
  11. package/dist/cjs/api/resources/billingNew/resources/index.d.ts +4 -2
  12. package/dist/cjs/api/resources/billingNew/resources/index.js +5 -3
  13. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +109 -8
  14. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +363 -14
  15. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +1 -0
  16. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.d.ts +12 -0
  17. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +3 -3
  18. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.ts +12 -0
  19. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +2 -1
  20. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +1 -1
  21. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +1 -1
  22. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +70 -0
  23. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +248 -0
  24. package/dist/cjs/api/resources/billingNew/resources/orders/client/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/billingNew/resources/orders/client/index.js +17 -0
  26. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +70 -0
  27. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.js +2 -0
  29. package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/billingNew/resources/orders/index.js +17 -0
  31. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
  32. package/dist/cjs/api/resources/shipping/client/Client.js +15 -10
  33. package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/shipping/resources/index.js +3 -1
  35. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +9 -1
  36. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +2 -0
  37. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +9 -1
  38. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +1 -0
  39. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +1 -0
  40. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +2 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +129 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +480 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/index.d.ts +2 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/index.js +17 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +30 -0
  46. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.js +5 -0
  47. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +31 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.js +5 -0
  49. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.ts +15 -0
  50. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.js +5 -0
  51. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +36 -0
  52. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.js +5 -0
  53. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +4 -0
  54. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.js +2 -0
  55. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/index.js +17 -0
  57. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +0 -28
  58. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +0 -120
  59. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -0
  60. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -1
  61. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.ts +1 -1
  62. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.js +1 -1
  63. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +4 -2
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +6 -4
  65. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -1
  66. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts +4 -3
  67. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -4
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -0
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -0
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -0
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +2 -0
  72. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +9 -1
  73. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +2 -0
  74. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +15 -1
  75. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +64 -1
  76. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.ts +11 -0
  77. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.js +5 -0
  78. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -0
  79. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +2 -2
  80. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +2 -2
  81. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +1 -1
  82. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +1 -1
  83. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +1 -1
  84. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +1 -1
  85. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +2 -2
  86. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +2 -2
  87. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +2 -2
  88. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +2 -2
  89. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +2 -2
  90. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +2 -2
  91. package/dist/cjs/api/types/AdHocInvoiceLineItem1.d.ts +8 -0
  92. package/dist/cjs/api/types/AdHocInvoiceLineItem1.js +5 -0
  93. package/dist/cjs/api/types/AdHocInvoiceLineItemsReq.d.ts +8 -0
  94. package/dist/cjs/api/types/AdHocInvoiceLineItemsReq.js +5 -0
  95. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  96. package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -0
  97. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +2 -0
  98. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +10 -3
  99. package/dist/cjs/api/types/FromPayables1.d.ts +9 -0
  100. package/dist/cjs/api/types/FromPayables1.js +5 -0
  101. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +4 -1
  102. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.d.ts +20 -0
  103. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.js +5 -0
  104. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.d.ts +33 -0
  105. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.js +5 -0
  106. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.d.ts +9 -0
  107. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.js +11 -0
  108. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +4 -1
  109. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +3 -0
  110. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +1 -1
  111. package/dist/cjs/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.ts +7 -0
  112. package/dist/cjs/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js +5 -0
  113. package/dist/cjs/api/types/Order1.d.ts +1 -0
  114. package/dist/cjs/api/types/OrderBillingAccount1.d.ts +7 -0
  115. package/dist/cjs/api/types/OrderBillingAccount1.js +5 -0
  116. package/dist/cjs/api/types/OrderBillingCurrencyTotals1.d.ts +9 -0
  117. package/dist/cjs/api/types/OrderBillingCurrencyTotals1.js +5 -0
  118. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +11 -0
  119. package/dist/cjs/api/types/OrderBillingExecutor1.js +5 -0
  120. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +19 -0
  121. package/dist/cjs/api/types/OrderBillingExpandedListItem1.js +5 -0
  122. package/dist/cjs/api/types/OrderBillingExpandedListRes.d.ts +8 -0
  123. package/dist/cjs/api/types/OrderBillingExpandedListRes.js +5 -0
  124. package/dist/cjs/api/types/OrderBillingShipper1.d.ts +9 -0
  125. package/dist/cjs/api/types/OrderBillingShipper1.js +5 -0
  126. package/dist/cjs/api/types/OrderBillingSortByEnum.d.ts +12 -0
  127. package/dist/cjs/api/types/OrderBillingSortByEnum.js +14 -0
  128. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  129. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
  130. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  131. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
  132. package/dist/cjs/api/types/OrderTemplate1.d.ts +1 -0
  133. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
  134. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +32 -0
  135. package/dist/cjs/api/types/OrderTemplateNew1.js +5 -0
  136. package/dist/cjs/api/types/OrderTemplateNewCargo1.d.ts +20 -0
  137. package/dist/cjs/api/types/OrderTemplateNewCargo1.js +5 -0
  138. package/dist/cjs/api/types/OrderTemplateNewDateTimeWindow1.d.ts +9 -0
  139. package/dist/cjs/api/types/OrderTemplateNewDateTimeWindow1.js +5 -0
  140. package/dist/cjs/api/types/OrderTemplateNewDateparserResolveRes.d.ts +9 -0
  141. package/dist/cjs/api/types/OrderTemplateNewDateparserResolveRes.js +5 -0
  142. package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +8 -0
  143. package/dist/cjs/api/types/OrderTemplateNewListRes.js +5 -0
  144. package/dist/cjs/api/types/OrderTemplateNewSortByEnum.d.ts +9 -0
  145. package/dist/cjs/api/types/OrderTemplateNewSortByEnum.js +11 -0
  146. package/dist/cjs/api/types/OrderTemplateNewTask1.d.ts +21 -0
  147. package/dist/cjs/api/types/OrderTemplateNewTask1.js +5 -0
  148. package/dist/cjs/api/types/OrderTemplateNewTaskArtifact1.d.ts +9 -0
  149. package/dist/cjs/api/types/OrderTemplateNewTaskArtifact1.js +5 -0
  150. package/dist/cjs/api/types/OrderTemplateNewTaskGroup1.d.ts +15 -0
  151. package/dist/cjs/api/types/OrderTemplateNewTaskGroup1.js +5 -0
  152. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +2 -0
  153. package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +2 -0
  154. package/dist/cjs/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.ts +9 -0
  155. package/dist/cjs/api/types/ResolvedTaskGroupChrtGroundProviderRates1.js +5 -0
  156. package/dist/cjs/api/types/ServiceLineEnum.d.ts +8 -0
  157. package/dist/cjs/api/types/ServiceLineEnum.js +10 -0
  158. package/dist/cjs/api/types/Task1.d.ts +1 -0
  159. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -0
  160. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -0
  161. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -3
  162. package/dist/cjs/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.ts +7 -0
  163. package/dist/cjs/api/types/TaskGroupChrtGroundProviderRateSheetIds1.js +5 -0
  164. package/dist/cjs/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.ts +9 -0
  165. package/dist/cjs/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.js +5 -0
  166. package/dist/cjs/api/types/TaxRate1.d.ts +9 -0
  167. package/dist/cjs/api/types/TaxRate1.js +5 -0
  168. package/dist/cjs/api/types/VehicleTypeEnum.d.ts +2 -1
  169. package/dist/cjs/api/types/VehicleTypeEnum.js +1 -0
  170. package/dist/cjs/api/types/index.d.ts +28 -1
  171. package/dist/cjs/api/types/index.js +28 -1
  172. package/dist/cjs/version.d.ts +1 -1
  173. package/dist/cjs/version.js +1 -1
  174. package/dist/esm/Client.mjs +2 -2
  175. package/dist/esm/api/resources/billingNew/client/Client.d.mts +6 -3
  176. package/dist/esm/api/resources/billingNew/client/Client.mjs +8 -3
  177. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.d.mts +43 -55
  178. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.mjs +89 -131
  179. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +11 -3
  180. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +10 -0
  181. package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.d.mts → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts} +8 -4
  182. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.d.mts +12 -0
  183. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +4 -0
  184. package/dist/esm/api/resources/billingNew/resources/index.d.mts +4 -2
  185. package/dist/esm/api/resources/billingNew/resources/index.mjs +4 -2
  186. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +109 -8
  187. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +363 -14
  188. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +1 -0
  189. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.d.mts +12 -0
  190. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +3 -3
  191. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.mts +12 -0
  192. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +2 -1
  193. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -1
  194. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +1 -1
  195. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +70 -0
  196. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +211 -0
  197. package/dist/esm/api/resources/billingNew/resources/orders/client/index.d.mts +2 -0
  198. package/dist/esm/api/resources/billingNew/resources/orders/client/index.mjs +1 -0
  199. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +70 -0
  200. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +1 -0
  201. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.mjs +1 -0
  202. package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +1 -0
  203. package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +1 -0
  204. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
  205. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
  206. package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -0
  207. package/dist/esm/api/resources/shipping/resources/index.mjs +2 -0
  208. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +9 -1
  209. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +2 -0
  210. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +9 -1
  211. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +1 -0
  212. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +1 -0
  213. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +2 -0
  214. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +129 -0
  215. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +443 -0
  216. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/index.d.mts +2 -0
  217. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/index.mjs +1 -0
  218. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +30 -0
  219. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.mjs +4 -0
  220. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +31 -0
  221. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.mjs +4 -0
  222. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.mts +15 -0
  223. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.mjs +4 -0
  224. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +36 -0
  225. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.mjs +4 -0
  226. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +4 -0
  227. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.mjs +1 -0
  228. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/index.d.mts +1 -0
  229. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/index.mjs +1 -0
  230. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +0 -28
  231. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +0 -120
  232. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -0
  233. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -1
  234. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.mts +1 -1
  235. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.mjs +1 -1
  236. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +4 -2
  237. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +6 -4
  238. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -1
  239. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts +4 -3
  240. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -4
  241. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -0
  242. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -0
  243. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -0
  244. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +2 -0
  245. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +9 -1
  246. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +2 -0
  247. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +15 -1
  248. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +64 -1
  249. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.mts +11 -0
  250. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.mjs +4 -0
  251. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -0
  252. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +2 -2
  253. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +2 -2
  254. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +1 -1
  255. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +1 -1
  256. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +1 -1
  257. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +1 -1
  258. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +2 -2
  259. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +2 -2
  260. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +2 -2
  261. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +2 -2
  262. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +2 -2
  263. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +2 -2
  264. package/dist/esm/api/types/AdHocInvoiceLineItem1.d.mts +8 -0
  265. package/dist/esm/api/types/AdHocInvoiceLineItem1.mjs +4 -0
  266. package/dist/esm/api/types/AdHocInvoiceLineItemsReq.d.mts +8 -0
  267. package/dist/esm/api/types/AdHocInvoiceLineItemsReq.mjs +4 -0
  268. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  269. package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -0
  270. package/dist/esm/api/types/CargoClientUpdate1.d.mts +2 -0
  271. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +10 -3
  272. package/dist/esm/api/types/FromPayables1.d.mts +9 -0
  273. package/dist/esm/api/types/FromPayables1.mjs +4 -0
  274. package/dist/esm/api/types/InvoiceLineItem1.d.mts +4 -1
  275. package/dist/esm/api/types/InvoiceLineItemClientCreate1.d.mts +20 -0
  276. package/dist/esm/api/types/InvoiceLineItemClientCreate1.mjs +4 -0
  277. package/dist/esm/api/types/InvoiceLineItemServerCreate1.d.mts +33 -0
  278. package/dist/esm/api/types/InvoiceLineItemServerCreate1.mjs +4 -0
  279. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.d.mts +9 -0
  280. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.mjs +8 -0
  281. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +4 -1
  282. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +3 -0
  283. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +1 -1
  284. package/dist/esm/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.mts +7 -0
  285. package/dist/esm/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.mjs +4 -0
  286. package/dist/esm/api/types/Order1.d.mts +1 -0
  287. package/dist/esm/api/types/OrderBillingAccount1.d.mts +7 -0
  288. package/dist/esm/api/types/OrderBillingAccount1.mjs +4 -0
  289. package/dist/esm/api/types/OrderBillingCurrencyTotals1.d.mts +9 -0
  290. package/dist/esm/api/types/OrderBillingCurrencyTotals1.mjs +4 -0
  291. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +11 -0
  292. package/dist/esm/api/types/OrderBillingExecutor1.mjs +4 -0
  293. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +19 -0
  294. package/dist/esm/api/types/OrderBillingExpandedListItem1.mjs +4 -0
  295. package/dist/esm/api/types/OrderBillingExpandedListRes.d.mts +8 -0
  296. package/dist/esm/api/types/OrderBillingExpandedListRes.mjs +4 -0
  297. package/dist/esm/api/types/OrderBillingShipper1.d.mts +9 -0
  298. package/dist/esm/api/types/OrderBillingShipper1.mjs +4 -0
  299. package/dist/esm/api/types/OrderBillingSortByEnum.d.mts +12 -0
  300. package/dist/esm/api/types/OrderBillingSortByEnum.mjs +11 -0
  301. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  302. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
  303. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  304. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
  305. package/dist/esm/api/types/OrderTemplate1.d.mts +1 -0
  306. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
  307. package/dist/esm/api/types/OrderTemplateNew1.d.mts +32 -0
  308. package/dist/esm/api/types/OrderTemplateNew1.mjs +4 -0
  309. package/dist/esm/api/types/OrderTemplateNewCargo1.d.mts +20 -0
  310. package/dist/esm/api/types/OrderTemplateNewCargo1.mjs +4 -0
  311. package/dist/esm/api/types/OrderTemplateNewDateTimeWindow1.d.mts +9 -0
  312. package/dist/esm/api/types/OrderTemplateNewDateTimeWindow1.mjs +4 -0
  313. package/dist/esm/api/types/OrderTemplateNewDateparserResolveRes.d.mts +9 -0
  314. package/dist/esm/api/types/OrderTemplateNewDateparserResolveRes.mjs +4 -0
  315. package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +8 -0
  316. package/dist/esm/api/types/OrderTemplateNewListRes.mjs +4 -0
  317. package/dist/esm/api/types/OrderTemplateNewSortByEnum.d.mts +9 -0
  318. package/dist/esm/api/types/OrderTemplateNewSortByEnum.mjs +8 -0
  319. package/dist/esm/api/types/OrderTemplateNewTask1.d.mts +21 -0
  320. package/dist/esm/api/types/OrderTemplateNewTask1.mjs +4 -0
  321. package/dist/esm/api/types/OrderTemplateNewTaskArtifact1.d.mts +9 -0
  322. package/dist/esm/api/types/OrderTemplateNewTaskArtifact1.mjs +4 -0
  323. package/dist/esm/api/types/OrderTemplateNewTaskGroup1.d.mts +15 -0
  324. package/dist/esm/api/types/OrderTemplateNewTaskGroup1.mjs +4 -0
  325. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +2 -0
  326. package/dist/esm/api/types/ReelablesDataPoint1.d.mts +2 -0
  327. package/dist/esm/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.mts +9 -0
  328. package/dist/esm/api/types/ResolvedTaskGroupChrtGroundProviderRates1.mjs +4 -0
  329. package/dist/esm/api/types/ServiceLineEnum.d.mts +8 -0
  330. package/dist/esm/api/types/ServiceLineEnum.mjs +7 -0
  331. package/dist/esm/api/types/Task1.d.mts +1 -0
  332. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -0
  333. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -0
  334. package/dist/esm/api/types/TaskGroup1.d.mts +1 -3
  335. package/dist/esm/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.mts +7 -0
  336. package/dist/esm/api/types/TaskGroupChrtGroundProviderRateSheetIds1.mjs +4 -0
  337. package/dist/esm/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.mts +9 -0
  338. package/dist/esm/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.mjs +4 -0
  339. package/dist/esm/api/types/TaxRate1.d.mts +9 -0
  340. package/dist/esm/api/types/TaxRate1.mjs +4 -0
  341. package/dist/esm/api/types/VehicleTypeEnum.d.mts +2 -1
  342. package/dist/esm/api/types/VehicleTypeEnum.mjs +1 -0
  343. package/dist/esm/api/types/index.d.mts +28 -1
  344. package/dist/esm/api/types/index.mjs +28 -1
  345. package/dist/esm/version.d.mts +1 -1
  346. package/dist/esm/version.mjs +1 -1
  347. package/package.json +1 -1
  348. package/reference.md +2851 -2145
  349. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +0 -22
  350. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +0 -13
  351. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +0 -13
  352. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +0 -5
  353. package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +0 -7
  354. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +0 -22
  355. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +0 -13
  356. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +0 -13
  357. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +0 -5
  358. package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +0 -7
  359. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.d.ts +0 -0
  360. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.js +0 -0
  361. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.js +0 -0
  362. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.js +0 -0
  363. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.js} +0 -0
  364. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js → chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.js} +0 -0
  365. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/index.js +0 -0
  366. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.d.ts +0 -0
  367. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.js +0 -0
  368. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js → invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.js} +0 -0
  369. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.js → invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.js} +0 -0
  370. /package/dist/cjs/api/{types/ApplyChrtGroundProviderRatesRes.js → resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.js} +0 -0
  371. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.d.mts +0 -0
  372. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.mjs +0 -0
  373. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +0 -0
  374. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +0 -0
  375. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.mjs} +0 -0
  376. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs → chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.mjs} +0 -0
  377. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/index.mjs +0 -0
  378. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.d.mts +0 -0
  379. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.mjs +0 -0
  380. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs → invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.mjs} +0 -0
  381. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.mjs → invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.mjs} +0 -0
  382. /package/dist/esm/api/{types/ApplyChrtGroundProviderRatesRes.mjs → resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.mjs} +0 -0
@@ -274,6 +274,69 @@ export class Tasks {
274
274
  }
275
275
  });
276
276
  }
277
+ /**
278
+ * Overrides a draft or staged task location from a contact or coordinator shipper account and associates the reference. | authz_personas=[draft_creator_org_operator, order_creator_org_operators, lig_owner_operators, coordinator_org_operators] | (TaskLocationFromReferenceReq) -> (PydanticObjectId)
279
+ *
280
+ * @param {string} taskId
281
+ * @param {Chrt.shipping.TaskLocationFromReferenceReq} request
282
+ * @param {Tasks.RequestOptions} requestOptions - Request-specific configuration.
283
+ *
284
+ * @throws {@link Chrt.UnprocessableEntityError}
285
+ *
286
+ * @example
287
+ * await client.shipping.tasks.locationFromReferenceV1("task_id")
288
+ */
289
+ locationFromReferenceV1(taskId, request = {}, requestOptions) {
290
+ return core.HttpResponsePromise.fromPromise(this.__locationFromReferenceV1(taskId, request, requestOptions));
291
+ }
292
+ __locationFromReferenceV1(taskId_1) {
293
+ return __awaiter(this, arguments, void 0, function* (taskId, request = {}, requestOptions) {
294
+ var _a, _b, _c, _d;
295
+ 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);
296
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
297
+ 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/tasks/location/from_reference/v1/${encodeURIComponent(taskId)}`),
298
+ method: "PUT",
299
+ headers: _headers,
300
+ contentType: "application/json",
301
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
302
+ requestType: "json",
303
+ body: request,
304
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
305
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
306
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
307
+ });
308
+ if (_response.ok) {
309
+ return { data: _response.body, rawResponse: _response.rawResponse };
310
+ }
311
+ if (_response.error.reason === "status-code") {
312
+ switch (_response.error.statusCode) {
313
+ case 422:
314
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
315
+ default:
316
+ throw new errors.ChrtError({
317
+ statusCode: _response.error.statusCode,
318
+ body: _response.error.body,
319
+ rawResponse: _response.rawResponse,
320
+ });
321
+ }
322
+ }
323
+ switch (_response.error.reason) {
324
+ case "non-json":
325
+ throw new errors.ChrtError({
326
+ statusCode: _response.error.statusCode,
327
+ body: _response.error.rawBody,
328
+ rawResponse: _response.rawResponse,
329
+ });
330
+ case "timeout":
331
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/tasks/location/from_reference/v1/{task_id}.");
332
+ case "unknown":
333
+ throw new errors.ChrtError({
334
+ message: _response.error.errorMessage,
335
+ rawResponse: _response.rawResponse,
336
+ });
337
+ }
338
+ });
339
+ }
277
340
  /**
278
341
  * Marks a task as SKIPPED. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators] (depending on type) | () -> (bool)
279
342
  *
@@ -334,7 +397,7 @@ export class Tasks {
334
397
  });
335
398
  }
336
399
  /**
337
- * Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). contact_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
400
+ * Updates a task. Operational fields require lig_owner_operators, comments require order_creator_org_operators, contacts allow either, and coordinator_shipper_account_ids require coordinator_org_operators. | authz_personas=[lig_owner_operators, order_creator_org_operators, coordinator_org_operators] | (TaskClientUpdate1) -> (PydanticObjectId)
338
401
  *
339
402
  * @param {string} taskId
340
403
  * @param {Chrt.TaskClientUpdate1} request
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface TaskLocationFromReferenceReq {
9
+ contact_id?: string | null;
10
+ coordinator_shipper_account_id?: string | null;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,3 +1,4 @@
1
1
  export { type AddTaskToGroupReq } from "./AddTaskToGroupReq.mjs";
2
2
  export { type AttemptTaskReq } from "./AttemptTaskReq.mjs";
3
+ export { type TaskLocationFromReferenceReq } from "./TaskLocationFromReferenceReq.mjs";
3
4
  export { type WaitTimeOverrideReq } from "./WaitTimeOverrideReq.mjs";
@@ -31,7 +31,7 @@ export declare class Assets {
31
31
  protected readonly _options: Assets.Options;
32
32
  constructor(_options?: Assets.Options);
33
33
  /**
34
- * Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
34
+ * Refreshes and retrieves a Reelables asset by its external ID. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAsset1)
35
35
  *
36
36
  * @param {string} assetId
37
37
  * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
@@ -44,7 +44,7 @@ export declare class Assets {
44
44
  getV1(assetId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
45
45
  private __getV1;
46
46
  /**
47
- * Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
47
+ * Lists cached Reelables assets for a workspace. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
48
48
  *
49
49
  * @param {string} workspaceId
50
50
  * @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
@@ -20,7 +20,7 @@ export class Assets {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
23
+ * Refreshes and retrieves a Reelables asset by its external ID. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAsset1)
24
24
  *
25
25
  * @param {string} assetId
26
26
  * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
@@ -79,7 +79,7 @@ export class Assets {
79
79
  });
80
80
  }
81
81
  /**
82
- * Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
82
+ * Lists cached Reelables assets for a workspace. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
83
83
  *
84
84
  * @param {string} workspaceId
85
85
  * @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
@@ -31,7 +31,7 @@ export declare class Timeseries {
31
31
  protected readonly _options: Timeseries.Options;
32
32
  constructor(_options?: Timeseries.Options);
33
33
  /**
34
- * Refreshes and returns Reelables location data points within the requested time range. | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
34
+ * Refreshes and returns Reelables location data points within the requested time range. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
35
35
  *
36
36
  * @param {string} assetId
37
37
  * @param {Chrt.trackingIntegrations.reelables.TimeseriesDataPointsV1Request} request
@@ -20,7 +20,7 @@ export class Timeseries {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Refreshes and returns Reelables location data points within the requested time range. | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
23
+ * Refreshes and returns Reelables location data points within the requested time range. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
24
24
  *
25
25
  * @param {string} assetId
26
26
  * @param {Chrt.trackingIntegrations.reelables.TimeseriesDataPointsV1Request} request
@@ -31,7 +31,7 @@ export declare class Workspaces {
31
31
  protected readonly _options: Workspaces.Options;
32
32
  constructor(_options?: Workspaces.Options);
33
33
  /**
34
- * Lists cached Reelables workspaces for the caller's organization. | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
34
+ * Lists cached Reelables workspaces for the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
35
35
  *
36
36
  * @param {Chrt.trackingIntegrations.reelables.WorkspacesListV1Request} request
37
37
  * @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Workspaces {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Lists cached Reelables workspaces for the caller's organization. | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
23
+ * Lists cached Reelables workspaces for the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
24
24
  *
25
25
  * @param {Chrt.trackingIntegrations.reelables.WorkspacesListV1Request} request
26
26
  * @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Devices {
31
31
  protected readonly _options: Devices.Options;
32
32
  constructor(_options?: Devices.Options);
33
33
  /**
34
- * Retrieves a single Tive device by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDevice1)
34
+ * Retrieves a single Tive device by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDevice1)
35
35
  *
36
36
  * @param {Chrt.trackingIntegrations.tive.DevicesGetV1Request} request
37
37
  * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
@@ -46,7 +46,7 @@ export declare class Devices {
46
46
  getV1(request: Chrt.trackingIntegrations.tive.DevicesGetV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.TiveDevice1>;
47
47
  private __getV1;
48
48
  /**
49
- * Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDeviceListRes)
49
+ * Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDeviceListRes)
50
50
  *
51
51
  * @param {Chrt.trackingIntegrations.tive.DevicesListV1Request} request
52
52
  * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Devices {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Retrieves a single Tive device by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDevice1)
23
+ * Retrieves a single Tive device by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDevice1)
24
24
  *
25
25
  * @param {Chrt.trackingIntegrations.tive.DevicesGetV1Request} request
26
26
  * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
@@ -84,7 +84,7 @@ export class Devices {
84
84
  });
85
85
  }
86
86
  /**
87
- * Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDeviceListRes)
87
+ * Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDeviceListRes)
88
88
  *
89
89
  * @param {Chrt.trackingIntegrations.tive.DevicesListV1Request} request
90
90
  * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Shipments {
31
31
  protected readonly _options: Shipments.Options;
32
32
  constructor(_options?: Shipments.Options);
33
33
  /**
34
- * Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipment1)
34
+ * Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipment1)
35
35
  *
36
36
  * @param {Chrt.trackingIntegrations.tive.ShipmentsGetV1Request} request
37
37
  * @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
@@ -46,7 +46,7 @@ export declare class Shipments {
46
46
  getV1(request: Chrt.trackingIntegrations.tive.ShipmentsGetV1Request, requestOptions?: Shipments.RequestOptions): core.HttpResponsePromise<Chrt.TiveShipment1>;
47
47
  private __getV1;
48
48
  /**
49
- * Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipmentListRes)
49
+ * Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipmentListRes)
50
50
  *
51
51
  * @param {Chrt.trackingIntegrations.tive.ShipmentsListV1Request} request
52
52
  * @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Shipments {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipment1)
23
+ * Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipment1)
24
24
  *
25
25
  * @param {Chrt.trackingIntegrations.tive.ShipmentsGetV1Request} request
26
26
  * @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
@@ -84,7 +84,7 @@ export class Shipments {
84
84
  });
85
85
  }
86
86
  /**
87
- * Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipmentListRes)
87
+ * Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipmentListRes)
88
88
  *
89
89
  * @param {Chrt.trackingIntegrations.tive.ShipmentsListV1Request} request
90
90
  * @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Timeseries {
31
31
  protected readonly _options: Timeseries.Options;
32
32
  constructor(_options?: Timeseries.Options);
33
33
  /**
34
- * Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
34
+ * Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
35
35
  *
36
36
  * @param {Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request} request
37
37
  * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
@@ -48,7 +48,7 @@ export declare class Timeseries {
48
48
  dataPointsV1(request: Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request, requestOptions?: Timeseries.RequestOptions): core.HttpResponsePromise<Chrt.TiveTimeseriesRes>;
49
49
  private __dataPointsV1;
50
50
  /**
51
- * Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
51
+ * Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
52
52
  *
53
53
  * @param {Chrt.trackingIntegrations.tive.TimeseriesLastSeenV1Request} request
54
54
  * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Timeseries {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
23
+ * Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
24
24
  *
25
25
  * @param {Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request} request
26
26
  * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
@@ -88,7 +88,7 @@ export class Timeseries {
88
88
  });
89
89
  }
90
90
  /**
91
- * Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
91
+ * Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
92
92
  *
93
93
  * @param {Chrt.trackingIntegrations.tive.TimeseriesLastSeenV1Request} request
94
94
  * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface AdHocInvoiceLineItem1 {
6
+ invoice_line_item: Chrt.InvoiceLineItemClientCreate1;
7
+ split_evenly_across_account_ids?: string[];
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface AdHocInvoiceLineItemsReq {
6
+ ad_hoc_line_items: Chrt.AdHocInvoiceLineItem1[];
7
+ task_group_id: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -17,6 +17,7 @@ export interface Cargo1 {
17
17
  device_ids?: string[];
18
18
  draft_started_at_timestamp: string;
19
19
  exception_at_timestamp?: string | null;
20
+ girth_inches?: number | null;
20
21
  height_inches?: number | null;
21
22
  in_transit_at_timestamp?: string | null;
22
23
  length_inches?: number | null;
@@ -7,6 +7,7 @@ export interface CargoClientCreate1 {
7
7
  awb_number?: string | null;
8
8
  cargo_type: Chrt.CargoTypeEnum1;
9
9
  description?: string | null;
10
+ girth_inches?: number | null;
10
11
  height_inches?: number | null;
11
12
  length_inches?: number | null;
12
13
  quantity?: number | null;
@@ -9,6 +9,8 @@ export interface CargoClientUpdate1 {
9
9
  cargo_type?: Chrt.CargoTypeEnum1 | null;
10
10
  description?: string | null;
11
11
  description__set_to_None?: boolean;
12
+ girth_inches?: number | null;
13
+ girth_inches__set_to_None?: boolean;
12
14
  height_inches?: number | null;
13
15
  height_inches__set_to_None?: boolean;
14
16
  length_inches?: number | null;
@@ -11,23 +11,30 @@ export interface ChrtGroundProviderRates1 {
11
11
  base_mileage?: Chrt.BaseMileageRate1 | null;
12
12
  cargo_types?: Chrt.CargoTypeEnum1[];
13
13
  comments?: string | null;
14
- counterparty_account_ids?: string[];
15
14
  counterparty_driver_ids?: string[];
16
- counterparty_off_chrt_org_data_ids?: string[];
17
- counterparty_org_ids?: string[];
15
+ counterparty_off_chrt_org_data_id?: string | null;
16
+ /** Must be a string starting with `org_` */
17
+ counterparty_org_id?: string | null;
18
18
  created_at_timestamp: string;
19
19
  currency_code: Chrt.BillingCurrencyCodeEnum1;
20
20
  dangerous_goods?: Chrt.DangerousGoodsRate1 | null;
21
21
  extra_stop?: Chrt.ExtraStopRate1 | null;
22
22
  flat_fee?: Chrt.FlatFeeRate1 | null;
23
+ from_payables?: Chrt.FromPayables1 | null;
23
24
  fuel_surcharge?: Chrt.FuelSurchargeRate1 | null;
24
25
  holiday?: Chrt.HolidayRate1 | null;
26
+ invoice_type: Chrt.InvoiceTypeEnum1;
25
27
  long_distance_surcharge?: Chrt.LongDistanceSurchargeRate1 | null;
26
28
  name?: string | null;
27
29
  /** Must be a string starting with `org_` */
28
30
  owned_by_org_id: string;
29
31
  pick_and_hold?: Chrt.PickAndHoldRate1 | null;
30
32
  schema_version: number;
33
+ service_line?: Chrt.ServiceLineEnum;
34
+ shipper_account_id?: string | null;
35
+ tax_1?: Chrt.TaxRate1 | null;
36
+ tax_2?: Chrt.TaxRate1 | null;
37
+ tax_3?: Chrt.TaxRate1 | null;
31
38
  updated_at_timestamp: string;
32
39
  vehicle_types?: Chrt.VehicleTypeEnum[];
33
40
  wait_time?: Chrt.WaitTimeRate1 | null;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FromPayables1 {
5
+ combine?: boolean;
6
+ margin?: number | null;
7
+ markup?: number | null;
8
+ sage_item_id?: string | null;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -4,7 +4,6 @@
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface InvoiceLineItem1 {
6
6
  _id: string;
7
- counterparty_account_id?: string | null;
8
7
  counterparty_off_chrt_org_data_id?: string | null;
9
8
  /** Must be a string starting with `org_` */
10
9
  counterparty_org_id?: string | null;
@@ -24,8 +23,12 @@ export interface InvoiceLineItem1 {
24
23
  /** Must be a string starting with `org_` */
25
24
  owned_by_org_id: string;
26
25
  quantity: number;
26
+ rate_sheet_id?: string | null;
27
27
  schema_version: number;
28
+ shipper_account_id?: string | null;
29
+ status?: Chrt.InvoiceLineItemStatusEnum1;
28
30
  task_group_id?: string | null;
31
+ tax_percentage?: number | null;
29
32
  unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
30
33
  unit_price: number;
31
34
  }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceLineItemClientCreate1 {
6
+ counterparty_off_chrt_org_data_id?: string | null;
7
+ /** Must be a string starting with `org_` */
8
+ counterparty_org_id?: string | null;
9
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
10
+ description: string;
11
+ export_ref__sage__item_id?: string | null;
12
+ invoice_type: Chrt.InvoiceTypeEnum1;
13
+ line_item_type: Chrt.InvoiceLineItemTypeEnum1;
14
+ quantity: number;
15
+ schema_version: number;
16
+ shipper_account_id?: string | null;
17
+ tax_percentage?: number | null;
18
+ unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
19
+ unit_price: number;
20
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceLineItemServerCreate1 {
6
+ counterparty_off_chrt_org_data_id?: string | null;
7
+ /** Must be a string starting with `org_` */
8
+ counterparty_org_id?: string | null;
9
+ created_at_timestamp: string;
10
+ /** Must be a string starting with `user_` */
11
+ created_by_user_id: string;
12
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
13
+ description: string;
14
+ export_ref__sage__item_id?: string | null;
15
+ invoice_id?: string | null;
16
+ invoice_type: Chrt.InvoiceTypeEnum1;
17
+ last_edited_at_timestamp: string;
18
+ /** Must be a string starting with `user_` */
19
+ last_edited_by_user_id: string;
20
+ line_item_type: Chrt.InvoiceLineItemTypeEnum1;
21
+ order_id?: string | null;
22
+ /** Must be a string starting with `org_` */
23
+ owned_by_org_id: string;
24
+ quantity: number;
25
+ rate_sheet_id?: string | null;
26
+ schema_version: number;
27
+ shipper_account_id?: string | null;
28
+ status?: Chrt.InvoiceLineItemStatusEnum1;
29
+ task_group_id?: string | null;
30
+ tax_percentage?: number | null;
31
+ unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
32
+ unit_price: number;
33
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type InvoiceLineItemStatusEnum1 = "draft" | "approved" | "finalized";
5
+ export declare const InvoiceLineItemStatusEnum1: {
6
+ readonly Draft: "draft";
7
+ readonly Approved: "approved";
8
+ readonly Finalized: "finalized";
9
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const InvoiceLineItemStatusEnum1 = {
5
+ Draft: "draft",
6
+ Approved: "approved",
7
+ Finalized: "finalized",
8
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type InvoiceLineItemTypeEnum1 = "base_rate" | "additional_mileage" | "long_distance_mileage" | "fuel" | "extra_stop" | "wait_time" | "attempt" | "pick_and_hold" | "parking" | "tolls" | "additional_fee" | "dispute" | "equipment" | "dangerous_goods" | "special_vehicle" | "after_hours" | "weekend" | "holiday" | "air_waybill" | "insurance" | "off_network_carrier" | "obc_day_rate" | "flight_ticket" | "tracking_device_label" | "tracking_device_tag" | "tracking_device_other" | "other";
4
+ export type InvoiceLineItemTypeEnum1 = "base_rate" | "additional_mileage" | "long_distance_mileage" | "fuel" | "extra_stop" | "wait_time" | "attempt" | "pick_and_hold" | "parking" | "tolls" | "additional_fee" | "dispute" | "equipment" | "dangerous_goods" | "special_vehicle" | "after_hours" | "weekend" | "holiday" | "air_waybill" | "insurance" | "off_network_carrier" | "obc_day_rate" | "flight_ticket" | "tracking_device_label" | "tracking_device_tag" | "tracking_device_other" | "tax_1" | "tax_2" | "tax_3" | "other";
5
5
  export declare const InvoiceLineItemTypeEnum1: {
6
6
  readonly BaseRate: "base_rate";
7
7
  readonly AdditionalMileage: "additional_mileage";
@@ -29,5 +29,8 @@ export declare const InvoiceLineItemTypeEnum1: {
29
29
  readonly TrackingDeviceLabel: "tracking_device_label";
30
30
  readonly TrackingDeviceTag: "tracking_device_tag";
31
31
  readonly TrackingDeviceOther: "tracking_device_other";
32
+ readonly Tax1: "tax_1";
33
+ readonly Tax2: "tax_2";
34
+ readonly Tax3: "tax_3";
32
35
  readonly Other: "other";
33
36
  };
@@ -28,5 +28,8 @@ export const InvoiceLineItemTypeEnum1 = {
28
28
  TrackingDeviceLabel: "tracking_device_label",
29
29
  TrackingDeviceTag: "tracking_device_tag",
30
30
  TrackingDeviceOther: "tracking_device_other",
31
+ Tax1: "tax_1",
32
+ Tax2: "tax_2",
33
+ Tax3: "tax_3",
31
34
  Other: "other",
32
35
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface InvoiceLineItemsByOrderExpandedRes {
6
- counterparty_accounts: Chrt.Account1[];
7
6
  counterparty_off_chrt_org_data: Chrt.OffChrtOrgData1[];
8
7
  counterparty_orgs: Chrt.OrgPublicData1[];
9
8
  invoice_line_items: Chrt.InvoiceLineItem1[];
9
+ shipper_accounts: Chrt.Account1[];
10
10
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceLineItemsFromChrtGroundProviderRateSheetsReq {
6
+ task_group_chrt_ground_provider_rate_sheet_ids: Chrt.TaskGroupChrtGroundProviderRateSheetIds1[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -32,6 +32,7 @@ export interface Order1 {
32
32
  order_schedule_run_idempotency_key?: string | null;
33
33
  order_template_id?: string | null;
34
34
  schema_version: number;
35
+ service_line?: Chrt.ServiceLineEnum;
35
36
  /** Must be a string starting with `org_` */
36
37
  shipper_org_id?: string | null;
37
38
  short_id: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderBillingAccount1 {
5
+ account_id: string;
6
+ name?: string | null;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderBillingCurrencyTotals1 {
6
+ accounts_payable_total_amount: number;
7
+ accounts_receivable_total_amount: number;
8
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderBillingExecutor1 {
5
+ executor_label?: string | null;
6
+ /** Must be a string starting with `org_` */
7
+ executor_org_id?: string | null;
8
+ name?: string | null;
9
+ off_chrt_executor_org_data_id?: string | null;
10
+ task_group_id: string;
11
+ }