@chrt-inc/typescript-sdk 1.899.0 → 1.906.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 (262) 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/resources/orderSchedules/client/Client.js +9 -1
  32. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +2 -0
  33. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +9 -1
  34. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +1 -0
  35. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +1 -0
  36. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +2 -0
  37. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +0 -28
  38. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +0 -120
  39. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -0
  40. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -1
  41. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.ts +1 -1
  42. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.js +1 -1
  43. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -4
  44. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -0
  45. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -0
  46. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -0
  47. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +2 -0
  48. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +9 -1
  49. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +2 -0
  50. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +15 -1
  51. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +64 -1
  52. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.ts +11 -0
  53. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.js +5 -0
  54. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -0
  55. package/dist/cjs/api/types/AdHocInvoiceLineItem1.d.ts +8 -0
  56. package/dist/cjs/api/types/AdHocInvoiceLineItem1.js +5 -0
  57. package/dist/cjs/api/types/AdHocInvoiceLineItemsReq.d.ts +8 -0
  58. package/dist/cjs/api/types/AdHocInvoiceLineItemsReq.js +5 -0
  59. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +10 -3
  60. package/dist/cjs/api/types/FromPayables1.d.ts +9 -0
  61. package/dist/cjs/api/types/FromPayables1.js +5 -0
  62. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +4 -1
  63. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.d.ts +20 -0
  64. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.js +5 -0
  65. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.d.ts +33 -0
  66. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.js +5 -0
  67. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.d.ts +9 -0
  68. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.js +11 -0
  69. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +4 -1
  70. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +3 -0
  71. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +1 -1
  72. package/dist/cjs/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.ts +7 -0
  73. package/dist/cjs/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js +5 -0
  74. package/dist/cjs/api/types/Order1.d.ts +1 -0
  75. package/dist/cjs/api/types/OrderBillingAccount1.d.ts +7 -0
  76. package/dist/cjs/api/types/OrderBillingAccount1.js +5 -0
  77. package/dist/cjs/api/types/OrderBillingCurrencyTotals1.d.ts +9 -0
  78. package/dist/cjs/api/types/OrderBillingCurrencyTotals1.js +5 -0
  79. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +11 -0
  80. package/dist/cjs/api/types/OrderBillingExecutor1.js +5 -0
  81. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +19 -0
  82. package/dist/cjs/api/types/OrderBillingExpandedListItem1.js +5 -0
  83. package/dist/cjs/api/types/OrderBillingExpandedListRes.d.ts +8 -0
  84. package/dist/cjs/api/types/OrderBillingExpandedListRes.js +5 -0
  85. package/dist/cjs/api/types/OrderBillingShipper1.d.ts +9 -0
  86. package/dist/cjs/api/types/OrderBillingShipper1.js +5 -0
  87. package/dist/cjs/api/types/OrderBillingSortByEnum.d.ts +12 -0
  88. package/dist/cjs/api/types/OrderBillingSortByEnum.js +14 -0
  89. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  90. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
  91. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  92. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
  93. package/dist/cjs/api/types/OrderTemplate1.d.ts +1 -0
  94. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +1 -0
  95. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +2 -0
  96. package/dist/cjs/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.ts +9 -0
  97. package/dist/cjs/api/types/ResolvedTaskGroupChrtGroundProviderRates1.js +5 -0
  98. package/dist/cjs/api/types/ServiceLineEnum.d.ts +8 -0
  99. package/dist/cjs/api/types/ServiceLineEnum.js +10 -0
  100. package/dist/cjs/api/types/Task1.d.ts +1 -0
  101. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -0
  102. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -0
  103. package/dist/cjs/api/types/TaskGroup1.d.ts +0 -2
  104. package/dist/cjs/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.ts +7 -0
  105. package/dist/cjs/api/types/TaskGroupChrtGroundProviderRateSheetIds1.js +5 -0
  106. package/dist/cjs/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.ts +9 -0
  107. package/dist/cjs/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.js +5 -0
  108. package/dist/cjs/api/types/TaxRate1.d.ts +9 -0
  109. package/dist/cjs/api/types/TaxRate1.js +5 -0
  110. package/dist/cjs/api/types/index.d.ts +19 -1
  111. package/dist/cjs/api/types/index.js +19 -1
  112. package/dist/cjs/version.d.ts +1 -1
  113. package/dist/cjs/version.js +1 -1
  114. package/dist/esm/Client.mjs +2 -2
  115. package/dist/esm/api/resources/billingNew/client/Client.d.mts +6 -3
  116. package/dist/esm/api/resources/billingNew/client/Client.mjs +8 -3
  117. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.d.mts +43 -55
  118. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/Client.mjs +89 -131
  119. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +11 -3
  120. package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +10 -0
  121. package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.d.mts → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts} +8 -4
  122. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.d.mts +12 -0
  123. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +4 -0
  124. package/dist/esm/api/resources/billingNew/resources/index.d.mts +4 -2
  125. package/dist/esm/api/resources/billingNew/resources/index.mjs +4 -2
  126. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +109 -8
  127. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +363 -14
  128. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +1 -0
  129. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.d.mts +12 -0
  130. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +3 -3
  131. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.mts +12 -0
  132. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +2 -1
  133. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -1
  134. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +1 -1
  135. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +70 -0
  136. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +211 -0
  137. package/dist/esm/api/resources/billingNew/resources/orders/client/index.d.mts +2 -0
  138. package/dist/esm/api/resources/billingNew/resources/orders/client/index.mjs +1 -0
  139. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +70 -0
  140. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +1 -0
  141. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.mjs +1 -0
  142. package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +1 -0
  143. package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +1 -0
  144. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +9 -1
  145. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +2 -0
  146. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +9 -1
  147. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +1 -0
  148. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +1 -0
  149. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +2 -0
  150. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +0 -28
  151. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +0 -120
  152. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -0
  153. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -1
  154. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.mts +1 -1
  155. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.mjs +1 -1
  156. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -4
  157. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -0
  158. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -0
  159. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -0
  160. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +2 -0
  161. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +9 -1
  162. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +2 -0
  163. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +15 -1
  164. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +64 -1
  165. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.mts +11 -0
  166. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.mjs +4 -0
  167. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -0
  168. package/dist/esm/api/types/AdHocInvoiceLineItem1.d.mts +8 -0
  169. package/dist/esm/api/types/AdHocInvoiceLineItem1.mjs +4 -0
  170. package/dist/esm/api/types/AdHocInvoiceLineItemsReq.d.mts +8 -0
  171. package/dist/esm/api/types/AdHocInvoiceLineItemsReq.mjs +4 -0
  172. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +10 -3
  173. package/dist/esm/api/types/FromPayables1.d.mts +9 -0
  174. package/dist/esm/api/types/FromPayables1.mjs +4 -0
  175. package/dist/esm/api/types/InvoiceLineItem1.d.mts +4 -1
  176. package/dist/esm/api/types/InvoiceLineItemClientCreate1.d.mts +20 -0
  177. package/dist/esm/api/types/InvoiceLineItemClientCreate1.mjs +4 -0
  178. package/dist/esm/api/types/InvoiceLineItemServerCreate1.d.mts +33 -0
  179. package/dist/esm/api/types/InvoiceLineItemServerCreate1.mjs +4 -0
  180. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.d.mts +9 -0
  181. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.mjs +8 -0
  182. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +4 -1
  183. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +3 -0
  184. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +1 -1
  185. package/dist/esm/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.mts +7 -0
  186. package/dist/esm/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.mjs +4 -0
  187. package/dist/esm/api/types/Order1.d.mts +1 -0
  188. package/dist/esm/api/types/OrderBillingAccount1.d.mts +7 -0
  189. package/dist/esm/api/types/OrderBillingAccount1.mjs +4 -0
  190. package/dist/esm/api/types/OrderBillingCurrencyTotals1.d.mts +9 -0
  191. package/dist/esm/api/types/OrderBillingCurrencyTotals1.mjs +4 -0
  192. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +11 -0
  193. package/dist/esm/api/types/OrderBillingExecutor1.mjs +4 -0
  194. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +19 -0
  195. package/dist/esm/api/types/OrderBillingExpandedListItem1.mjs +4 -0
  196. package/dist/esm/api/types/OrderBillingExpandedListRes.d.mts +8 -0
  197. package/dist/esm/api/types/OrderBillingExpandedListRes.mjs +4 -0
  198. package/dist/esm/api/types/OrderBillingShipper1.d.mts +9 -0
  199. package/dist/esm/api/types/OrderBillingShipper1.mjs +4 -0
  200. package/dist/esm/api/types/OrderBillingSortByEnum.d.mts +12 -0
  201. package/dist/esm/api/types/OrderBillingSortByEnum.mjs +11 -0
  202. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  203. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
  204. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  205. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
  206. package/dist/esm/api/types/OrderTemplate1.d.mts +1 -0
  207. package/dist/esm/api/types/OrderTemplateCore1.d.mts +1 -0
  208. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +2 -0
  209. package/dist/esm/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.mts +9 -0
  210. package/dist/esm/api/types/ResolvedTaskGroupChrtGroundProviderRates1.mjs +4 -0
  211. package/dist/esm/api/types/ServiceLineEnum.d.mts +8 -0
  212. package/dist/esm/api/types/ServiceLineEnum.mjs +7 -0
  213. package/dist/esm/api/types/Task1.d.mts +1 -0
  214. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -0
  215. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -0
  216. package/dist/esm/api/types/TaskGroup1.d.mts +0 -2
  217. package/dist/esm/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.mts +7 -0
  218. package/dist/esm/api/types/TaskGroupChrtGroundProviderRateSheetIds1.mjs +4 -0
  219. package/dist/esm/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.mts +9 -0
  220. package/dist/esm/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.mjs +4 -0
  221. package/dist/esm/api/types/TaxRate1.d.mts +9 -0
  222. package/dist/esm/api/types/TaxRate1.mjs +4 -0
  223. package/dist/esm/api/types/index.d.mts +19 -1
  224. package/dist/esm/api/types/index.mjs +19 -1
  225. package/dist/esm/version.d.mts +1 -1
  226. package/dist/esm/version.mjs +1 -1
  227. package/package.json +1 -1
  228. package/reference.md +687 -387
  229. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +0 -22
  230. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +0 -13
  231. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +0 -13
  232. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +0 -5
  233. package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +0 -7
  234. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +0 -22
  235. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +0 -13
  236. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +0 -13
  237. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +0 -5
  238. package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +0 -7
  239. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.d.ts +0 -0
  240. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.js +0 -0
  241. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.js +0 -0
  242. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.js +0 -0
  243. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.js} +0 -0
  244. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js → chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.js} +0 -0
  245. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/index.js +0 -0
  246. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.d.ts +0 -0
  247. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.js +0 -0
  248. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js → invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.js} +0 -0
  249. /package/dist/cjs/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.js → invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.js} +0 -0
  250. /package/dist/cjs/api/{types/ApplyChrtGroundProviderRatesRes.js → resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.js} +0 -0
  251. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.d.mts +0 -0
  252. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/index.mjs +0 -0
  253. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +0 -0
  254. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +0 -0
  255. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.mjs} +0 -0
  256. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs → chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.mjs} +0 -0
  257. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/index.mjs +0 -0
  258. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.d.mts +0 -0
  259. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/index.mjs +0 -0
  260. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs → invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.mjs} +0 -0
  261. /package/dist/esm/api/resources/billingNew/resources/{rates/client/requests/RatesListV1Request.mjs → invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.mjs} +0 -0
  262. /package/dist/esm/api/{types/ApplyChrtGroundProviderRatesRes.mjs → resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.mjs} +0 -0
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InvoiceLineItemStatusEnum1 = void 0;
7
+ exports.InvoiceLineItemStatusEnum1 = {
8
+ Draft: "draft",
9
+ Approved: "approved",
10
+ Finalized: "finalized",
11
+ };
@@ -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
  };
@@ -31,5 +31,8 @@ exports.InvoiceLineItemTypeEnum1 = {
31
31
  TrackingDeviceLabel: "tracking_device_label",
32
32
  TrackingDeviceTag: "tracking_device_tag",
33
33
  TrackingDeviceOther: "tracking_device_other",
34
+ Tax1: "tax_1",
35
+ Tax2: "tax_2",
36
+ Tax3: "tax_3",
34
37
  Other: "other",
35
38
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
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.js";
5
+ export interface InvoiceLineItemsFromChrtGroundProviderRateSheetsReq {
6
+ task_group_chrt_ground_provider_rate_sheet_ids: Chrt.TaskGroupChrtGroundProviderRateSheetIds1[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OrderBillingExpandedListItem1 {
6
+ accounts?: Chrt.OrderBillingAccount1[];
7
+ awb_numbers?: string[];
8
+ coordinator_label?: string | null;
9
+ executors?: Chrt.OrderBillingExecutor1[];
10
+ includes_air_waybill_invoice_line_item: boolean;
11
+ invoice_count: number;
12
+ invoice_line_item_count: number;
13
+ invoice_statuses?: Chrt.InvoiceStatusEnum1[];
14
+ order_id: string;
15
+ order_short_id: string;
16
+ order_status: Chrt.OrderStatusEnum1;
17
+ shipper?: Chrt.OrderBillingShipper1 | null;
18
+ totals_by_currency?: Chrt.OrderBillingCurrencyTotals1[];
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OrderBillingExpandedListRes {
6
+ items: Chrt.OrderBillingExpandedListItem1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderBillingShipper1 {
5
+ name?: string | null;
6
+ off_chrt_shipper_org_data_id?: string | null;
7
+ /** Must be a string starting with `org_` */
8
+ shipper_org_id?: string | null;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderBillingSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
+ export declare const OrderBillingSortByEnum: {
6
+ readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
+ readonly StagedAtTimestamp: "staged_at_timestamp";
8
+ readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
+ readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
+ readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderBillingSortByEnum = void 0;
7
+ exports.OrderBillingSortByEnum = {
8
+ DraftStartedAtTimestamp: "draft_started_at_timestamp",
9
+ StagedAtTimestamp: "staged_at_timestamp",
10
+ InProgressAtTimestamp: "in_progress_at_timestamp",
11
+ CompletedAtTimestamp: "completed_at_timestamp",
12
+ CancelledAtTimestamp: "cancelled_at_timestamp",
13
+ ExceptionAtTimestamp: "exception_at_timestamp",
14
+ };
@@ -36,6 +36,7 @@ export interface OrderLimitedForCoordinator1 {
36
36
  order_schedule_run_idempotency_key?: string | null;
37
37
  order_template_id?: string | null;
38
38
  schema_version: number;
39
+ service_line?: Chrt.ServiceLineEnum;
39
40
  /** Must be a string starting with `org_` */
40
41
  shipper_org_id?: string | null;
41
42
  short_id: string;
@@ -20,6 +20,7 @@ export interface OrderLimitedForExecutor1 {
20
20
  off_chrt_reference_id?: string | null;
21
21
  order_classification_by_task_group_type?: Chrt.TaskGroupTypeEnum1 | null;
22
22
  schema_version: number;
23
+ service_line?: Chrt.ServiceLineEnum;
23
24
  short_id: string;
24
25
  staged_at_timestamp?: string | null;
25
26
  status?: Chrt.OrderStatusEnum1;
@@ -36,6 +36,7 @@ export interface OrderLimitedForProvider1 {
36
36
  order_schedule_run_idempotency_key?: string | null;
37
37
  order_template_id?: string | null;
38
38
  schema_version: number;
39
+ service_line?: Chrt.ServiceLineEnum;
39
40
  /** Must be a string starting with `org_` */
40
41
  shipper_org_id?: string | null;
41
42
  short_id: string;
@@ -31,6 +31,7 @@ export interface OrderLimitedForShipper1 {
31
31
  order_schedule_run_idempotency_key?: string | null;
32
32
  order_template_id?: string | null;
33
33
  schema_version: number;
34
+ service_line?: Chrt.ServiceLineEnum;
34
35
  /** Must be a string starting with `org_` */
35
36
  shipper_org_id?: string | null;
36
37
  short_id: string;
@@ -26,6 +26,7 @@ export interface OrderTemplate1 {
26
26
  /** Must be a string starting with `user_` */
27
27
  owned_by_user_id: string;
28
28
  schema_version: number;
29
+ service_line?: Chrt.ServiceLineEnum;
29
30
  /** Must be a string starting with `org_` */
30
31
  shipper_org_id?: string | null;
31
32
  task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
@@ -19,6 +19,7 @@ export interface OrderTemplateCore1 {
19
19
  off_chrt_executor_org_data_ids?: string[];
20
20
  off_chrt_shipper_org_data_id?: string | null;
21
21
  schema_version: number;
22
+ service_line?: Chrt.ServiceLineEnum;
22
23
  /** Must be a string starting with `org_` */
23
24
  shipper_org_id?: string | null;
24
25
  task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.js";
4
5
  export interface OrdersDraftUpdateRes {
5
6
  /** Must be a string starting with `org_` */
6
7
  coordinator_org_id?: string | null;
@@ -9,6 +10,7 @@ export interface OrdersDraftUpdateRes {
9
10
  off_chrt_shipper_org_data_id?: string | null;
10
11
  order_id: string;
11
12
  order_short_id: string;
13
+ service_line: Chrt.ServiceLineEnum;
12
14
  /** Must be a string starting with `org_` */
13
15
  shipper_org_id?: string | null;
14
16
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ResolvedTaskGroupChrtGroundProviderRates1 {
6
+ accounts_payable_rate_sheets?: Chrt.ChrtGroundProviderRates1[];
7
+ accounts_receivable_rate_sheets?: Chrt.ChrtGroundProviderRates1[];
8
+ task_group: Chrt.TaskGroup1;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ServiceLineEnum = "on_demand" | "routed";
5
+ export declare const ServiceLineEnum: {
6
+ readonly OnDemand: "on_demand";
7
+ readonly Routed: "routed";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ServiceLineEnum = void 0;
7
+ exports.ServiceLineEnum = {
8
+ OnDemand: "on_demand",
9
+ Routed: "routed",
10
+ };
@@ -14,6 +14,7 @@ export interface Task1 {
14
14
  /** Must be a string starting with `user_` */
15
15
  completed_by_user_id?: string | null;
16
16
  contact_ids?: string[];
17
+ coordinator_shipper_account_ids?: string[];
17
18
  /** Must be a string starting with `org_` */
18
19
  created_by_org_id: string;
19
20
  /** Must be a string starting with `user_` */
@@ -5,6 +5,7 @@ import * as Chrt from "../index.js";
5
5
  export interface TaskClientCreate1 {
6
6
  action?: TaskClientCreate1.Action | null;
7
7
  contact_ids?: string[];
8
+ coordinator_shipper_account_ids?: string[];
8
9
  datetime_windows?: Chrt.DateTimeWindow1[];
9
10
  geofence_distance_miles?: number;
10
11
  location?: Chrt.LocationFeature | null;
@@ -5,6 +5,7 @@ import * as Chrt from "../index.js";
5
5
  export interface TaskClientUpdate1 {
6
6
  action?: TaskClientUpdate1.Action | null;
7
7
  contact_ids?: string[];
8
+ coordinator_shipper_account_ids?: string[];
8
9
  datetime_windows?: Chrt.DateTimeWindow1[];
9
10
  location?: Chrt.LocationFeature | null;
10
11
  order_placer_comments?: string | null;
@@ -21,9 +21,7 @@ export interface TaskGroup1 {
21
21
  flight_setup_notes?: string | null;
22
22
  in_progress_at_timestamp?: string | null;
23
23
  messages?: Chrt.TaskGroupMessage1[];
24
- mileage_asserted?: boolean;
25
24
  mileage_estimated?: number | null;
26
- mileage_observed?: number | null;
27
25
  off_chrt_executor_org_data_id?: string | null;
28
26
  off_chrt_shipper_org_data_id?: string | null;
29
27
  order_id: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TaskGroupChrtGroundProviderRateSheetIds1 {
5
+ rate_sheet_ids: string[];
6
+ task_group_id: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1 {
6
+ accounts_payable_invoice_line_items?: Chrt.InvoiceLineItemServerCreate1[];
7
+ accounts_receivable_invoice_line_items?: Chrt.InvoiceLineItemServerCreate1[];
8
+ task_group_id: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TaxRate1 {
5
+ name: string;
6
+ note?: string | null;
7
+ percentage: number;
8
+ sage_item_id?: string | null;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,8 @@ export * from "./AccountSortByEnum.js";
5
5
  export * from "./AccountTypeaheadFieldEnum.js";
6
6
  export * from "./AccountTypeaheadResult.js";
7
7
  export * from "./AccountTypeaheadValue.js";
8
+ export * from "./AdHocInvoiceLineItem1.js";
9
+ export * from "./AdHocInvoiceLineItemsReq.js";
8
10
  export * from "./AdditionalMileageRate1.js";
9
11
  export * from "./AfterHoursRate1.js";
10
12
  export * from "./AlertCallback.js";
@@ -14,7 +16,6 @@ export * from "./AlertNameValue.js";
14
16
  export * from "./AlertNameValues.js";
15
17
  export * from "./AlertRuleEnvelope.js";
16
18
  export * from "./AnalyticsTimeBucketRes.js";
17
- export * from "./ApplyChrtGroundProviderRatesRes.js";
18
19
  export * from "./AttachBillingLedgerPeriodReq.js";
19
20
  export * from "./AttachLigToVectorClientReq.js";
20
21
  export * from "./AttemptRate1.js";
@@ -200,6 +201,7 @@ export * from "./FlightLegWebhookInfo.js";
200
201
  export * from "./FlightTrackPosition1.js";
201
202
  export * from "./FlightTrackRes.js";
202
203
  export * from "./FlightTrackWaypoint1.js";
204
+ export * from "./FromPayables1.js";
203
205
  export * from "./FuelSurchargeRate1.js";
204
206
  export * from "./GeographyRes.js";
205
207
  export * from "./GeometryCollectionGeometriesItem.js";
@@ -213,12 +215,16 @@ export * from "./InvoiceExpandedRes.js";
213
215
  export * from "./InvoiceLineItem1.js";
214
216
  export * from "./InvoiceLineItemAmountTransformation1.js";
215
217
  export * from "./InvoiceLineItemAmountTransformationTypeEnum1.js";
218
+ export * from "./InvoiceLineItemClientCreate1.js";
216
219
  export * from "./InvoiceLineItemListRes.js";
220
+ export * from "./InvoiceLineItemServerCreate1.js";
217
221
  export * from "./InvoiceLineItemSortByEnum.js";
222
+ export * from "./InvoiceLineItemStatusEnum1.js";
218
223
  export * from "./InvoiceLineItemTypeEnum1.js";
219
224
  export * from "./InvoiceLineItemUnitEnum1.js";
220
225
  export * from "./InvoiceLineItemsByOrderExpandedRes.js";
221
226
  export * from "./InvoiceLineItemsDeleteManyRes.js";
227
+ export * from "./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js";
222
228
  export * from "./InvoiceListRes.js";
223
229
  export * from "./InvoiceMergeStatusEnum1.js";
224
230
  export * from "./InvoiceSortByEnum.js";
@@ -301,6 +307,13 @@ export * from "./OperationsTaskTypeEnum.js";
301
307
  export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.js";
302
308
  export * from "./Order1.js";
303
309
  export * from "./OrderAndTaskGroupExpandedReq.js";
310
+ export * from "./OrderBillingAccount1.js";
311
+ export * from "./OrderBillingCurrencyTotals1.js";
312
+ export * from "./OrderBillingExecutor1.js";
313
+ export * from "./OrderBillingExpandedListItem1.js";
314
+ export * from "./OrderBillingExpandedListRes.js";
315
+ export * from "./OrderBillingShipper1.js";
316
+ export * from "./OrderBillingSortByEnum.js";
304
317
  export * from "./OrderBuilderReq.js";
305
318
  export * from "./OrderBuilderRes.js";
306
319
  export * from "./OrderDraftExpandedForCoordinator.js";
@@ -399,10 +412,12 @@ export * from "./ReelablesWorkspace1.js";
399
412
  export * from "./ReelablesWorkspaceListRes.js";
400
413
  export * from "./ReelablesWorkspaceSortByEnum.js";
401
414
  export * from "./ReelablesWorkspaceSyncRes.js";
415
+ export * from "./ResolvedTaskGroupChrtGroundProviderRates1.js";
402
416
  export * from "./ScanPayloadKindEnum.js";
403
417
  export * from "./ScheduleCalendarSpec.js";
404
418
  export * from "./ScheduleIntervalSpec.js";
405
419
  export * from "./ScheduleRange.js";
420
+ export * from "./ServiceLineEnum.js";
406
421
  export * from "./Session1.js";
407
422
  export * from "./SessionByDeviceDataPoint1.js";
408
423
  export * from "./SessionByDeviceDataPointMetadata1.js";
@@ -460,8 +475,10 @@ export * from "./TaskGroup1.js";
460
475
  export * from "./TaskGroupByDriverDataPoint1.js";
461
476
  export * from "./TaskGroupByDriverDataPointMetadata1.js";
462
477
  export * from "./TaskGroupByDriverSharingSettings1.js";
478
+ export * from "./TaskGroupChrtGroundProviderRateSheetIds1.js";
463
479
  export * from "./TaskGroupExpanded.js";
464
480
  export * from "./TaskGroupExpandedListRes.js";
481
+ export * from "./TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.js";
465
482
  export * from "./TaskGroupMessage1.js";
466
483
  export * from "./TaskGroupQuoteResp.js";
467
484
  export * from "./TaskGroupS3ObjectMetadata1.js";
@@ -473,6 +490,7 @@ export * from "./TaskGroupTypeaheadResult.js";
473
490
  export * from "./TaskListToApplyToOrder1.js";
474
491
  export * from "./TaskStatusEnum1.js";
475
492
  export * from "./TaskWaitTimeGeofenceRes.js";
493
+ export * from "./TaxRate1.js";
476
494
  export * from "./TemplateRes.js";
477
495
  export * from "./TimeBucket.js";
478
496
  export * from "./TimeGranularity.js";