@chrt-inc/typescript-sdk 1.997.0 → 1.999.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 (230) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/billingNew/client/Client.js +5 -0
  4. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +2 -2
  5. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.js +1 -1
  6. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -3
  7. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +0 -6
  8. package/dist/cjs/api/resources/billingNew/resources/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/billingNew/resources/index.js +3 -1
  10. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +17 -73
  11. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +50 -193
  12. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.d.ts +1 -0
  13. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +1 -3
  14. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.d.ts +0 -1
  15. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.js +0 -1
  16. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +57 -32
  17. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +169 -89
  18. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +0 -1
  19. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +28 -3
  20. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +126 -5
  21. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +0 -1
  23. package/dist/cjs/api/resources/billingNew/resources/orders/index.js +0 -1
  24. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/Client.d.ts +128 -0
  25. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/Client.js +485 -0
  26. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientCreate1.d.ts +21 -0
  27. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientUpdate1.d.ts +12 -0
  28. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationResolveReq.d.ts +14 -0
  29. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationsListV1Request.d.ts +33 -0
  30. package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/index.d.ts +4 -0
  31. package/dist/cjs/api/resources/flights/client/Client.d.ts +1 -1
  32. package/dist/cjs/api/resources/flights/client/Client.js +1 -1
  33. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +1 -1
  34. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +1 -1
  35. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
  36. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
  37. package/dist/cjs/api/types/BillingCurrencyCodeEnum1.d.ts +1 -2
  38. package/dist/cjs/api/types/BillingCurrencyCodeEnum1.js +0 -1
  39. package/dist/cjs/api/types/BillingPeriodCloseRes.d.ts +8 -0
  40. package/dist/cjs/api/types/CalculatedInvoiceTax1.d.ts +12 -0
  41. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +0 -3
  42. package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.ts → CreateInvoiceLineItemsFromAwbCostsGroupRes1.d.ts} +2 -2
  43. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.ts +1 -1
  44. package/dist/cjs/api/types/FlightLeg1.d.ts +1 -0
  45. package/dist/cjs/api/types/FlightTrackPosition1.d.ts +8 -6
  46. package/dist/cjs/api/types/FlightTrackRes.d.ts +5 -15
  47. package/dist/cjs/api/{resources/billingNew/resources/invoices/client/requests → types}/InvoiceClientCreate1.d.ts +1 -9
  48. package/dist/cjs/api/types/InvoiceCreateFromOrdersReq.d.ts +22 -0
  49. package/dist/cjs/api/types/InvoiceCreateFromOrdersRes.d.ts +14 -0
  50. package/dist/cjs/api/types/InvoiceCreateReq.d.ts +20 -0
  51. package/dist/cjs/api/types/InvoiceCreateReq.js +5 -0
  52. package/dist/cjs/api/types/InvoiceLineItemExportListItem.d.ts +3 -2
  53. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +2 -4
  54. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +1 -3
  55. package/dist/cjs/api/types/InvoicePreviewFromOrdersRes.d.ts +15 -0
  56. package/dist/cjs/api/types/InvoicePreviewFromOrdersRes.js +5 -0
  57. package/dist/cjs/api/types/InvoicePreviewRes.d.ts +10 -0
  58. package/dist/cjs/api/types/InvoicePreviewRes.js +5 -0
  59. package/dist/cjs/api/types/InvoiceTaxCalculation1.d.ts +12 -0
  60. package/dist/cjs/api/types/InvoiceTaxCalculation1.js +5 -0
  61. package/dist/cjs/api/types/TaxConfiguration1.d.ts +24 -0
  62. package/dist/cjs/api/types/TaxConfiguration1.js +5 -0
  63. package/dist/cjs/api/types/TaxConfigurationListRes.d.ts +8 -0
  64. package/dist/cjs/api/types/TaxConfigurationListRes.js +5 -0
  65. package/dist/cjs/api/types/TaxConfigurationSortByEnum.d.ts +8 -0
  66. package/dist/cjs/api/types/TaxConfigurationSortByEnum.js +10 -0
  67. package/dist/cjs/api/types/{TaxRate1.d.ts → TaxRule1.d.ts} +2 -3
  68. package/dist/cjs/api/types/TaxRule1.js +5 -0
  69. package/dist/cjs/api/types/index.d.ts +14 -7
  70. package/dist/cjs/api/types/index.js +14 -7
  71. package/dist/cjs/version.d.ts +1 -1
  72. package/dist/cjs/version.js +1 -1
  73. package/dist/esm/Client.mjs +2 -2
  74. package/dist/esm/api/resources/billingNew/client/Client.d.mts +3 -0
  75. package/dist/esm/api/resources/billingNew/client/Client.mjs +5 -0
  76. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +2 -2
  77. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.mjs +1 -1
  78. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -3
  79. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +0 -6
  80. package/dist/esm/api/resources/billingNew/resources/index.d.mts +2 -0
  81. package/dist/esm/api/resources/billingNew/resources/index.mjs +2 -0
  82. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +17 -73
  83. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +50 -193
  84. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.d.mts +1 -0
  85. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +1 -3
  86. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.d.mts +0 -1
  87. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.mjs +0 -1
  88. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +57 -32
  89. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +169 -89
  90. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +0 -1
  91. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +28 -3
  92. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +126 -5
  93. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +1 -0
  94. package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +0 -1
  95. package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +0 -1
  96. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/Client.d.mts +128 -0
  97. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/Client.mjs +448 -0
  98. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientCreate1.d.mts +21 -0
  99. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientUpdate1.d.mts +12 -0
  100. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationResolveReq.d.mts +14 -0
  101. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationsListV1Request.d.mts +33 -0
  102. package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/index.d.mts +4 -0
  103. package/dist/esm/api/resources/flights/client/Client.d.mts +1 -1
  104. package/dist/esm/api/resources/flights/client/Client.mjs +1 -1
  105. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
  108. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
  109. package/dist/esm/api/types/BillingCurrencyCodeEnum1.d.mts +1 -2
  110. package/dist/esm/api/types/BillingCurrencyCodeEnum1.mjs +0 -1
  111. package/dist/esm/api/types/BillingPeriodCloseRes.d.mts +8 -0
  112. package/dist/esm/api/types/CalculatedInvoiceTax1.d.mts +12 -0
  113. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +0 -3
  114. package/dist/esm/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.mts → CreateInvoiceLineItemsFromAwbCostsGroupRes1.d.mts} +2 -2
  115. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.mts +1 -1
  116. package/dist/esm/api/types/FlightLeg1.d.mts +1 -0
  117. package/dist/esm/api/types/FlightTrackPosition1.d.mts +8 -6
  118. package/dist/esm/api/types/FlightTrackRes.d.mts +5 -15
  119. package/dist/esm/api/{resources/billingNew/resources/invoices/client/requests → types}/InvoiceClientCreate1.d.mts +1 -9
  120. package/dist/esm/api/types/InvoiceCreateFromOrdersReq.d.mts +22 -0
  121. package/dist/esm/api/types/InvoiceCreateFromOrdersRes.d.mts +14 -0
  122. package/dist/esm/api/types/InvoiceCreateReq.d.mts +20 -0
  123. package/dist/esm/api/types/InvoiceCreateReq.mjs +4 -0
  124. package/dist/esm/api/types/InvoiceLineItemExportListItem.d.mts +3 -2
  125. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +2 -4
  126. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +1 -3
  127. package/dist/esm/api/types/InvoicePreviewFromOrdersRes.d.mts +15 -0
  128. package/dist/esm/api/types/InvoicePreviewFromOrdersRes.mjs +4 -0
  129. package/dist/esm/api/types/InvoicePreviewRes.d.mts +10 -0
  130. package/dist/esm/api/types/InvoicePreviewRes.mjs +4 -0
  131. package/dist/esm/api/types/InvoiceTaxCalculation1.d.mts +12 -0
  132. package/dist/esm/api/types/InvoiceTaxCalculation1.mjs +4 -0
  133. package/dist/esm/api/types/TaxConfiguration1.d.mts +24 -0
  134. package/dist/esm/api/types/TaxConfiguration1.mjs +4 -0
  135. package/dist/esm/api/types/TaxConfigurationListRes.d.mts +8 -0
  136. package/dist/esm/api/types/TaxConfigurationListRes.mjs +4 -0
  137. package/dist/esm/api/types/TaxConfigurationSortByEnum.d.mts +8 -0
  138. package/dist/esm/api/types/TaxConfigurationSortByEnum.mjs +7 -0
  139. package/dist/esm/api/types/{TaxRate1.d.mts → TaxRule1.d.mts} +2 -3
  140. package/dist/esm/api/types/TaxRule1.mjs +4 -0
  141. package/dist/esm/api/types/index.d.mts +14 -7
  142. package/dist/esm/api/types/index.mjs +14 -7
  143. package/dist/esm/version.d.mts +1 -1
  144. package/dist/esm/version.mjs +1 -1
  145. package/package.json +1 -1
  146. package/reference.md +522 -221
  147. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +0 -32
  148. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +0 -46
  149. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.ts +0 -12
  150. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.d.ts +0 -51
  151. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.js +0 -153
  152. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/requests/index.d.ts +0 -1
  153. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/index.d.ts +0 -2
  154. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/index.js +0 -41
  155. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.d.ts +0 -2
  156. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.js +0 -41
  157. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.ts +0 -49
  158. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.js +0 -135
  159. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.ts +0 -2
  160. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.js +0 -17
  161. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.ts +0 -1
  162. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.js +0 -2
  163. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.ts +0 -1
  164. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.js +0 -17
  165. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.d.ts +0 -7
  166. package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.ts +0 -7
  167. package/dist/cjs/api/types/FlightTrackWaypoint1.d.ts +0 -7
  168. package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.d.ts +0 -8
  169. package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.ts +0 -9
  170. package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.js +0 -11
  171. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +0 -32
  172. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +0 -46
  173. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.mts +0 -12
  174. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.d.mts +0 -51
  175. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.mjs +0 -116
  176. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/requests/index.d.mts +0 -1
  177. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/index.d.mts +0 -2
  178. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/index.mjs +0 -2
  179. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.d.mts +0 -2
  180. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.mjs +0 -2
  181. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.mts +0 -49
  182. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.mjs +0 -98
  183. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.mts +0 -2
  184. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.mjs +0 -1
  185. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.mts +0 -1
  186. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.mjs +0 -1
  187. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts +0 -1
  188. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs +0 -1
  189. package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.d.mts +0 -7
  190. package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.mts +0 -7
  191. package/dist/esm/api/types/FlightTrackWaypoint1.d.mts +0 -7
  192. package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.d.mts +0 -8
  193. package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.mts +0 -9
  194. package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.mjs +0 -8
  195. /package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.js +0 -0
  196. /package/dist/cjs/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.d.ts +0 -0
  197. /package/dist/cjs/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.js +0 -0
  198. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.d.ts +0 -0
  199. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.js +0 -0
  200. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.js → taxConfigurations/client/requests/TaxConfigurationClientCreate1.js} +0 -0
  201. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.js → taxConfigurations/client/requests/TaxConfigurationClientUpdate1.js} +0 -0
  202. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.js → taxConfigurations/client/requests/TaxConfigurationResolveReq.js} +0 -0
  203. /package/dist/cjs/api/resources/billingNew/resources/{invoices/client/requests/InvoiceClientCreate1.js → taxConfigurations/client/requests/TaxConfigurationsListV1Request.js} +0 -0
  204. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/requests/index.js +0 -0
  205. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.d.ts +0 -0
  206. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.js +0 -0
  207. /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAmountRes.js → BillingPeriodCloseRes.js} +0 -0
  208. /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.js → CalculatedInvoiceTax1.js} +0 -0
  209. /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromLineItemsRes.js → CreateInvoiceLineItemsFromAwbCostsGroupRes1.js} +0 -0
  210. /package/dist/cjs/api/types/{FlightTrackWaypoint1.js → InvoiceClientCreate1.js} +0 -0
  211. /package/dist/cjs/api/types/{InvoiceLineItemAmountTransformation1.js → InvoiceCreateFromOrdersReq.js} +0 -0
  212. /package/dist/cjs/api/types/{TaxRate1.js → InvoiceCreateFromOrdersRes.js} +0 -0
  213. /package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.mjs +0 -0
  214. /package/dist/esm/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.d.mts +0 -0
  215. /package/dist/esm/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.mjs +0 -0
  216. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.d.mts +0 -0
  217. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.mjs +0 -0
  218. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.mjs → taxConfigurations/client/requests/TaxConfigurationClientCreate1.mjs} +0 -0
  219. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.mjs → taxConfigurations/client/requests/TaxConfigurationClientUpdate1.mjs} +0 -0
  220. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.mjs → taxConfigurations/client/requests/TaxConfigurationResolveReq.mjs} +0 -0
  221. /package/dist/esm/api/resources/billingNew/resources/{invoices/client/requests/InvoiceClientCreate1.mjs → taxConfigurations/client/requests/TaxConfigurationsListV1Request.mjs} +0 -0
  222. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/requests/index.mjs +0 -0
  223. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.d.mts +0 -0
  224. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.mjs +0 -0
  225. /package/dist/esm/api/types/{CreateInvoiceLineItemsFromAmountRes.mjs → BillingPeriodCloseRes.mjs} +0 -0
  226. /package/dist/esm/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.mjs → CalculatedInvoiceTax1.mjs} +0 -0
  227. /package/dist/esm/api/types/{CreateInvoiceLineItemsFromLineItemsRes.mjs → CreateInvoiceLineItemsFromAwbCostsGroupRes1.mjs} +0 -0
  228. /package/dist/esm/api/types/{FlightTrackWaypoint1.mjs → InvoiceClientCreate1.mjs} +0 -0
  229. /package/dist/esm/api/types/{InvoiceLineItemAmountTransformation1.mjs → InvoiceCreateFromOrdersReq.mjs} +0 -0
  230. /package/dist/esm/api/types/{TaxRate1.mjs → InvoiceCreateFromOrdersRes.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ export { type TaxConfigurationClientCreate1 } from "./TaxConfigurationClientCreate1.mjs";
2
+ export { type TaxConfigurationsListV1Request } from "./TaxConfigurationsListV1Request.mjs";
3
+ export { type TaxConfigurationResolveReq } from "./TaxConfigurationResolveReq.mjs";
4
+ export { type TaxConfigurationClientUpdate1 } from "./TaxConfigurationClientUpdate1.mjs";
@@ -31,7 +31,7 @@ export declare class Flights {
31
31
  protected readonly _options: Flights.Options;
32
32
  constructor(_options?: Flights.Options);
33
33
  /**
34
- * Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
34
+ * Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time, ordered by earliest final arrival with unknown arrivals last. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
35
35
  *
36
36
  * @param {Chrt.FlightConnectionsSearchReq} request
37
37
  * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class Flights {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
23
+ * Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time, ordered by earliest final arrival with unknown arrivals last. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
24
24
  *
25
25
  * @param {Chrt.FlightConnectionsSearchReq} request
26
26
  * @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
@@ -70,7 +70,7 @@ export declare class Flights {
70
70
  getFlightStatusForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1>;
71
71
  private __getFlightStatusForFlightLegV1;
72
72
  /**
73
- * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
73
+ * Returns the FlightAware actual path, planned path, and latest position for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
74
74
  *
75
75
  * @param {string} flightLegId
76
76
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -197,7 +197,7 @@ export class Flights {
197
197
  });
198
198
  }
199
199
  /**
200
- * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
200
+ * Returns the FlightAware actual path, planned path, and latest position for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
201
201
  *
202
202
  * @param {string} flightLegId
203
203
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -63,7 +63,7 @@ export declare class Sessions {
63
63
  flightLegsV1(request: Chrt.tracking.SessionsFlightLegsV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1[]>;
64
64
  private __flightLegsV1;
65
65
  /**
66
- * Returns the Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
66
+ * Returns the FlightAware actual path, planned path, and latest position for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
67
67
  *
68
68
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
69
69
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -167,7 +167,7 @@ export class Sessions {
167
167
  });
168
168
  }
169
169
  /**
170
- * Returns the Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
170
+ * Returns the FlightAware actual path, planned path, and latest position for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
171
171
  *
172
172
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
173
173
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR" | "XXX";
4
+ export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR";
5
5
  export declare const BillingCurrencyCodeEnum1: {
6
6
  readonly Usd: "USD";
7
7
  readonly Cad: "CAD";
@@ -13,5 +13,4 @@ export declare const BillingCurrencyCodeEnum1: {
13
13
  readonly Cny: "CNY";
14
14
  readonly Chf: "CHF";
15
15
  readonly Inr: "INR";
16
- readonly Xxx: "XXX";
17
16
  };
@@ -12,5 +12,4 @@ export const BillingCurrencyCodeEnum1 = {
12
12
  Cny: "CNY",
13
13
  Chf: "CHF",
14
14
  Inr: "INR",
15
- Xxx: "XXX",
16
15
  };
@@ -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 BillingPeriodCloseRes {
6
+ billing_period: Chrt.BillingPeriod1;
7
+ invoice_line_item: Chrt.InvoiceLineItem1;
8
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CalculatedInvoiceTax1 {
5
+ export_ref__sage__item_id?: string | null;
6
+ invoice_line_item_id: string;
7
+ name: string;
8
+ percentage: number;
9
+ tax_amount: number;
10
+ tax_configuration_id: string;
11
+ taxable_amount: number;
12
+ }
@@ -32,9 +32,6 @@ export interface ChrtGroundProviderRates1 {
32
32
  schema_version: number;
33
33
  service_line?: Chrt.ServiceLineEnum;
34
34
  shipper_account_id?: string | null;
35
- tax_1?: Chrt.TaxRate1 | null;
36
- tax_2?: Chrt.TaxRate1 | null;
37
- tax_3?: Chrt.TaxRate1 | null;
38
35
  updated_at_timestamp: string;
39
36
  vehicle_types?: Chrt.VehicleTypeEnum[];
40
37
  wait_time?: Chrt.WaitTimeRate1 | null;
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface CreateInvoiceLineItemsFromAwbCostsInvoiceRes1 {
5
+ export interface CreateInvoiceLineItemsFromAwbCostsGroupRes1 {
6
6
  counterparty_off_chrt_org_data_id: string;
7
7
  created_awb_count: number;
8
8
  created_invoice_line_item_count: number;
9
9
  currency_code: Chrt.BillingCurrencyCodeEnum1;
10
- invoice_id: string;
10
+ invoice_line_item_ids?: string[];
11
11
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface CreateInvoiceLineItemsFromAwbCostsRes {
6
+ charge_groups?: Chrt.CreateInvoiceLineItemsFromAwbCostsGroupRes1[];
6
7
  created_awbs?: Chrt.CreateInvoiceLineItemsFromAwbCostsCreatedAwb1[];
7
8
  created_invoice_line_item_count: number;
8
- invoices?: Chrt.CreateInvoiceLineItemsFromAwbCostsInvoiceRes1[];
9
9
  rejected_awbs?: Chrt.CreateInvoiceLineItemsFromAwbCostsRejectedAwb1[];
10
10
  }
@@ -16,6 +16,7 @@ export interface FlightLeg1 {
16
16
  destination_iata: string;
17
17
  estimated_arrival_utc?: string | null;
18
18
  estimated_departure_utc?: string | null;
19
+ fa_flight_id?: string | null;
19
20
  flight_number: string;
20
21
  flight_status?: Chrt.FlightLegStatusEnum1 | null;
21
22
  flight_status_fetched_at_utc?: string | null;
@@ -2,10 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface FlightTrackPosition1 {
5
- altitude_ft?: number | null;
6
- date_utc?: string | null;
7
- lat?: number | null;
8
- lon?: number | null;
9
- source?: string | null;
10
- speed_mph?: number | null;
5
+ altitude_feet?: number | null;
6
+ ground_speed_knots?: number | null;
7
+ heading_degrees?: number | null;
8
+ latitude?: number | null;
9
+ longitude?: number | null;
10
+ name?: string | null;
11
+ position_source?: string | null;
12
+ received_at_timestamp?: string | null;
11
13
  }
@@ -2,20 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- /**
6
- * Positional track for a flight leg: live trail + (optional) planned path.
7
- *
8
- * `positions` is the flown breadcrumb trail (present once airborne);
9
- * `waypoints` / `legacy_route` are the planned path (present once Cirium has
10
- * the filed flight plan, ~24h before departure). Everything is empty when the
11
- * leg has no resolvable Cirium `flightId` or Cirium has no track yet — the
12
- * endpoint never errors on a missing track (fail-soft, like the status route).
13
- */
14
5
  export interface FlightTrackRes {
15
- bearing?: number | null;
16
- cirium_flight_id?: number | null;
17
- heading?: number | null;
18
- legacy_route?: string | null;
19
- positions?: Chrt.FlightTrackPosition1[];
20
- waypoints?: Chrt.FlightTrackWaypoint1[];
6
+ actual_flight_path?: Chrt.FlightTrackPosition1[];
7
+ fa_flight_id?: string | null;
8
+ last_refresh_attempt_at_timestamp?: string | null;
9
+ latest_position?: Chrt.FlightTrackPosition1 | null;
10
+ planned_flight_path?: Chrt.FlightTrackPosition1[];
21
11
  }
@@ -1,15 +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.mjs";
5
- /**
6
- * @example
7
- * {
8
- * currency_code: "USD",
9
- * invoice_type: "accounts_receivable",
10
- * schema_version: 1
11
- * }
12
- */
4
+ import * as Chrt from "../index.mjs";
13
5
  export interface InvoiceClientCreate1 {
14
6
  counterparty_driver_id?: string | null;
15
7
  counterparty_off_chrt_org_data_id?: string | null;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceCreateFromOrdersReq {
6
+ counterparty_driver_id?: string | null;
7
+ counterparty_off_chrt_org_data_id?: string | null;
8
+ /** Must be a string starting with `org_` */
9
+ counterparty_org_id?: string | null;
10
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
11
+ description?: string | null;
12
+ export_ref__sage__customer_id?: string | null;
13
+ export_ref__sage__department_id?: string | null;
14
+ invoice_type: Chrt.InvoiceTypeEnum1;
15
+ name?: string | null;
16
+ order_ids: string[];
17
+ /** When derived, the exclusive UTC midnight after the last delivery day. Explicit bounds are preserved. */
18
+ period_end_at_timestamp?: string | null;
19
+ /** Supply both bounds or omit both to derive the period from delivery completion days in UTC. */
20
+ period_start_at_timestamp?: string | null;
21
+ schema_version: number;
22
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceCreateFromOrdersRes {
6
+ added_invoice_line_item_ids?: string[];
7
+ already_invoiced_line_item_ids?: string[];
8
+ finalized_line_item_ids?: string[];
9
+ /** Created draft, or null when no charges qualify. */
10
+ invoice?: Chrt.Invoice1 | null;
11
+ orders_without_added_charges?: string[];
12
+ /** Charges for another counterparty, invoice type, or currency, regardless of status. */
13
+ unmatched_line_item_ids?: string[];
14
+ }
@@ -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 InvoiceCreateReq {
6
+ counterparty_driver_id?: string | null;
7
+ counterparty_off_chrt_org_data_id?: string | null;
8
+ /** Must be a string starting with `org_` */
9
+ counterparty_org_id?: string | null;
10
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
11
+ description?: string | null;
12
+ export_ref__sage__customer_id?: string | null;
13
+ export_ref__sage__department_id?: string | null;
14
+ invoice_line_item_ids?: string[];
15
+ invoice_type: Chrt.InvoiceTypeEnum1;
16
+ name?: string | null;
17
+ period_end_at_timestamp?: string | null;
18
+ period_start_at_timestamp?: string | null;
19
+ schema_version: number;
20
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -23,11 +23,12 @@ export interface InvoiceLineItemExportListItem {
23
23
  destination_iata?: string | null;
24
24
  flight_numbers?: string[];
25
25
  invoice_approval_timestamp?: string | null;
26
- invoice_line_item_id: string;
27
- invoice_line_item_status: Chrt.InvoiceLineItemStatusEnum1;
26
+ invoice_line_item_id?: string | null;
27
+ invoice_line_item_status?: Chrt.InvoiceLineItemStatusEnum1 | null;
28
28
  invoice_number?: string | null;
29
29
  invoice_status?: Chrt.InvoiceStatusEnum1 | null;
30
30
  invoice_type: Chrt.InvoiceTypeEnum1;
31
+ is_estimate?: boolean;
31
32
  /** IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'. */
32
33
  line_item_awb_number?: string | null;
33
34
  line_item_description: string;
@@ -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" | "tax_1" | "tax_2" | "tax_3" | "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" | "other";
5
5
  export declare const InvoiceLineItemTypeEnum1: {
6
6
  readonly BaseRate: "base_rate";
7
7
  readonly AdditionalMileage: "additional_mileage";
@@ -29,8 +29,6 @@ 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
+ readonly Tax: "tax";
35
33
  readonly Other: "other";
36
34
  };
@@ -28,8 +28,6 @@ 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
+ Tax: "tax",
34
32
  Other: "other",
35
33
  };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoicePreviewFromOrdersRes {
6
+ already_invoiced_line_item_ids?: string[];
7
+ calculation: Chrt.InvoiceTaxCalculation1;
8
+ finalized_line_item_ids?: string[];
9
+ invoice: Chrt.InvoiceClientCreate1;
10
+ invoice_line_items?: Chrt.InvoiceLineItem1[];
11
+ orders_without_selected_charges?: string[];
12
+ tax_configurations_by_line_item_id?: Record<string, (Chrt.TaxConfiguration1 | null) | undefined>;
13
+ tax_line_item_ids?: string[];
14
+ unmatched_line_item_ids?: string[];
15
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoicePreviewRes {
6
+ calculation: Chrt.InvoiceTaxCalculation1;
7
+ invoice: Chrt.InvoiceClientCreate1;
8
+ invoice_line_items?: Chrt.InvoiceLineItem1[];
9
+ tax_configurations_by_line_item_id?: Record<string, (Chrt.TaxConfiguration1 | null) | undefined>;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceTaxCalculation1 {
6
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
7
+ net_amounts?: Record<string, number>;
8
+ subtotal: number;
9
+ tax_breakdown?: Chrt.CalculatedInvoiceTax1[];
10
+ tax_total: number;
11
+ total_amount: number;
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface TaxConfiguration1 {
6
+ _id: string;
7
+ archived?: boolean;
8
+ counterparty_driver_id?: string | null;
9
+ counterparty_off_chrt_org_data_id?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ counterparty_org_id?: string | null;
12
+ created_at_timestamp: string;
13
+ /** Must be a string starting with `user_` */
14
+ created_by_user_id: string;
15
+ last_edited_at_timestamp: string;
16
+ /** Must be a string starting with `user_` */
17
+ last_edited_by_user_id: string;
18
+ name: string;
19
+ /** Must be a string starting with `org_` */
20
+ owned_by_org_id: string;
21
+ schema_version: number;
22
+ shipper_account_id?: string | null;
23
+ tax_rules?: Chrt.TaxRule1[];
24
+ }
@@ -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 TaxConfigurationListRes {
6
+ items?: Chrt.TaxConfiguration1[];
7
+ total_count: number;
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
+ export type TaxConfigurationSortByEnum = "name" | "created_at_timestamp";
5
+ export declare const TaxConfigurationSortByEnum: {
6
+ readonly Name: "name";
7
+ readonly CreatedAtTimestamp: "created_at_timestamp";
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const TaxConfigurationSortByEnum = {
5
+ Name: "name",
6
+ CreatedAtTimestamp: "created_at_timestamp",
7
+ };
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface TaxRate1 {
4
+ export interface TaxRule1 {
5
+ export_ref__sage__item_id?: string | null;
5
6
  name: string;
6
- note?: string | null;
7
7
  percentage: number;
8
- sage_item_id?: string | null;
9
8
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -43,12 +43,14 @@ export * from "./BidThreadStatusEnum.mjs";
43
43
  export * from "./BillingCurrencyCodeEnum1.mjs";
44
44
  export * from "./BillingInvoiceApprovedWebhookPayload.mjs";
45
45
  export * from "./BillingPeriod1.mjs";
46
+ export * from "./BillingPeriodCloseRes.mjs";
46
47
  export * from "./BillingPeriodCycleEnum1.mjs";
47
48
  export * from "./BillingPeriodExpanded1.mjs";
48
49
  export * from "./BillingPeriodListRes.mjs";
49
50
  export * from "./BillingPeriodSortByEnum.mjs";
50
51
  export * from "./BillingPeriodStatusEnum1.mjs";
51
52
  export * from "./BillingPeriodTaskGroupsReq.mjs";
53
+ export * from "./CalculatedInvoiceTax1.mjs";
52
54
  export * from "./Caller.mjs";
53
55
  export * from "./CallerCredentialTypeEnum.mjs";
54
56
  export * from "./Cargo1.mjs";
@@ -152,14 +154,12 @@ export * from "./CoordinatorExecutorConnectionsForExecutorListRes.mjs";
152
154
  export * from "./CreateCheckoutSessionRes.mjs";
153
155
  export * from "./CreateConnectionReq.mjs";
154
156
  export * from "./CreateCustomerPortalSessionRes.mjs";
155
- export * from "./CreateInvoiceLineItemsFromAmountRes.mjs";
156
157
  export * from "./CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.mjs";
157
- export * from "./CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.mjs";
158
+ export * from "./CreateInvoiceLineItemsFromAwbCostsGroupRes1.mjs";
158
159
  export * from "./CreateInvoiceLineItemsFromAwbCostsItem1.mjs";
159
160
  export * from "./CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.mjs";
160
161
  export * from "./CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.mjs";
161
162
  export * from "./CreateInvoiceLineItemsFromAwbCostsRes.mjs";
162
- export * from "./CreateInvoiceLineItemsFromLineItemsRes.mjs";
163
163
  export * from "./CreateOffChrtOrgRes.mjs";
164
164
  export * from "./CreateStripeConnectAccountRes.mjs";
165
165
  export * from "./CredentialInfoRes.mjs";
@@ -246,7 +246,6 @@ export * from "./FlightLegStatusSourceEnum1.mjs";
246
246
  export * from "./FlightLegWebhookInfo.mjs";
247
247
  export * from "./FlightTrackPosition1.mjs";
248
248
  export * from "./FlightTrackRes.mjs";
249
- export * from "./FlightTrackWaypoint1.mjs";
250
249
  export * from "./FraytWebhookResponse.mjs";
251
250
  export * from "./FromPayables1.mjs";
252
251
  export * from "./FuelSurchargeRate1.mjs";
@@ -261,11 +260,13 @@ export * from "./HolidayRate1.mjs";
261
260
  export * from "./InternalDelegationJwtReq.mjs";
262
261
  export * from "./InternalDelegationJwtRes.mjs";
263
262
  export * from "./Invoice1.mjs";
263
+ export * from "./InvoiceClientCreate1.mjs";
264
+ export * from "./InvoiceCreateFromOrdersReq.mjs";
265
+ export * from "./InvoiceCreateFromOrdersRes.mjs";
266
+ export * from "./InvoiceCreateReq.mjs";
264
267
  export * from "./InvoiceExpandedListItem.mjs";
265
268
  export * from "./InvoiceExpandedRes.mjs";
266
269
  export * from "./InvoiceLineItem1.mjs";
267
- export * from "./InvoiceLineItemAmountTransformation1.mjs";
268
- export * from "./InvoiceLineItemAmountTransformationTypeEnum1.mjs";
269
270
  export * from "./InvoiceLineItemClientCreate1.mjs";
270
271
  export * from "./InvoiceLineItemCurrencyConversion1.mjs";
271
272
  export * from "./InvoiceLineItemExpandedListItem.mjs";
@@ -283,9 +284,12 @@ export * from "./InvoiceLineItemsDeleteManyRes.mjs";
283
284
  export * from "./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.mjs";
284
285
  export * from "./InvoiceListRes.mjs";
285
286
  export * from "./InvoiceMergeStatusEnum1.mjs";
287
+ export * from "./InvoicePreviewFromOrdersRes.mjs";
288
+ export * from "./InvoicePreviewRes.mjs";
286
289
  export * from "./InvoiceSortByEnum.mjs";
287
290
  export * from "./InvoiceStatusEnum1.mjs";
288
291
  export * from "./InvoiceStripeStatusEnum1.mjs";
292
+ export * from "./InvoiceTaxCalculation1.mjs";
289
293
  export * from "./InvoiceTypeEnum1.mjs";
290
294
  export * from "./LineString.mjs";
291
295
  export * from "./Listing1.mjs";
@@ -555,7 +559,10 @@ export * from "./TaskListToApplyToOrder1.mjs";
555
559
  export * from "./TaskListToApplyToOrderExpanded.mjs";
556
560
  export * from "./TaskStatusEnum1.mjs";
557
561
  export * from "./TaskWaitTimeGeofenceRes.mjs";
558
- export * from "./TaxRate1.mjs";
562
+ export * from "./TaxConfiguration1.mjs";
563
+ export * from "./TaxConfigurationListRes.mjs";
564
+ export * from "./TaxConfigurationSortByEnum.mjs";
565
+ export * from "./TaxRule1.mjs";
559
566
  export * from "./TemplateRes.mjs";
560
567
  export * from "./TimeBucket.mjs";
561
568
  export * from "./TimeGranularity.mjs";