@chrt-inc/typescript-sdk 1.891.0 → 1.894.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 (328) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +23 -18
  3. package/dist/cjs/api/resources/billingNew/client/Client.d.ts +29 -0
  4. package/dist/cjs/api/resources/billingNew/client/Client.js +27 -0
  5. package/dist/cjs/api/resources/billingNew/client/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/billingNew/client/index.js +2 -0
  7. package/dist/cjs/api/resources/billingNew/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/billingNew/index.js +18 -0
  9. package/dist/cjs/api/resources/billingNew/resources/index.d.ts +6 -0
  10. package/dist/cjs/api/resources/billingNew/resources/index.js +45 -0
  11. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +178 -0
  12. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +637 -0
  13. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.js +17 -0
  15. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +22 -0
  16. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js +5 -0
  17. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +28 -0
  18. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.js +5 -0
  19. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +45 -0
  20. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.js +5 -0
  21. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.ts +19 -0
  22. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.js +5 -0
  23. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.ts +12 -0
  24. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.js +5 -0
  25. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +62 -0
  26. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.js +5 -0
  27. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +6 -0
  28. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.js +2 -0
  29. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.js +17 -0
  31. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +217 -0
  32. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +880 -0
  33. package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.js +17 -0
  35. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +24 -0
  36. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.js +5 -0
  37. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.ts +13 -0
  38. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.js +5 -0
  39. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.ts +12 -0
  40. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.js +5 -0
  41. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.ts +12 -0
  42. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.js +5 -0
  43. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.ts +10 -0
  44. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.js +5 -0
  45. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +51 -0
  46. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.js +5 -0
  47. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +6 -0
  48. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.js +2 -0
  49. package/dist/cjs/api/resources/billingNew/resources/invoices/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/billingNew/resources/invoices/index.js +17 -0
  51. package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.d.ts +145 -0
  52. package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.js +578 -0
  53. package/dist/cjs/api/resources/billingNew/resources/rates/client/index.d.ts +2 -0
  54. package/dist/cjs/api/resources/billingNew/resources/rates/client/index.js +17 -0
  55. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +13 -0
  56. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js +5 -0
  57. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +37 -0
  58. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.js +5 -0
  59. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +43 -0
  60. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.js +5 -0
  61. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +13 -0
  62. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js +5 -0
  63. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.ts +54 -0
  64. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.js +5 -0
  65. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +5 -0
  66. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.js +2 -0
  67. package/dist/cjs/api/resources/billingNew/resources/rates/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/billingNew/resources/rates/index.js +17 -0
  69. package/dist/cjs/api/resources/index.d.ts +1 -0
  70. package/dist/cjs/api/resources/index.js +2 -1
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
  72. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -20
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
  75. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  76. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  77. package/dist/cjs/api/types/AdditionalMileageRate1.d.ts +9 -0
  78. package/dist/cjs/api/types/AdditionalMileageRate1.js +5 -0
  79. package/dist/cjs/api/types/AfterHoursRate1.d.ts +7 -0
  80. package/dist/cjs/api/types/AfterHoursRate1.js +5 -0
  81. package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +7 -0
  82. package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.js +5 -0
  83. package/dist/cjs/api/types/AttemptRate1.d.ts +7 -0
  84. package/dist/cjs/api/types/AttemptRate1.js +5 -0
  85. package/dist/cjs/api/types/BaseMileageRate1.d.ts +8 -0
  86. package/dist/cjs/api/types/BaseMileageRate1.js +5 -0
  87. package/dist/cjs/api/types/BillingCurrencyCodeEnum1.d.ts +17 -0
  88. package/dist/cjs/api/types/BillingCurrencyCodeEnum1.js +19 -0
  89. package/dist/cjs/api/types/CargoTypeEnum1.d.ts +8 -1
  90. package/dist/cjs/api/types/CargoTypeEnum1.js +7 -0
  91. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +35 -0
  92. package/dist/cjs/api/types/ChrtGroundProviderRates1.js +5 -0
  93. package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.d.ts +8 -0
  94. package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.js +5 -0
  95. package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.d.ts +10 -0
  96. package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.js +12 -0
  97. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.d.ts +7 -0
  98. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.js +5 -0
  99. package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.ts +7 -0
  100. package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.js +5 -0
  101. package/dist/cjs/api/types/DangerousGoodsRate1.d.ts +7 -0
  102. package/dist/cjs/api/types/DangerousGoodsRate1.js +5 -0
  103. package/dist/cjs/api/types/ExtraStopRate1.d.ts +7 -0
  104. package/dist/cjs/api/types/ExtraStopRate1.js +5 -0
  105. package/dist/cjs/api/types/FlatFeeRate1.d.ts +7 -0
  106. package/dist/cjs/api/types/FlatFeeRate1.js +5 -0
  107. package/dist/cjs/api/types/FuelSurchargeRate1.d.ts +7 -0
  108. package/dist/cjs/api/types/FuelSurchargeRate1.js +5 -0
  109. package/dist/cjs/api/types/HolidayRate1.d.ts +7 -0
  110. package/dist/cjs/api/types/HolidayRate1.js +5 -0
  111. package/dist/cjs/api/types/Invoice1.d.ts +57 -0
  112. package/dist/cjs/api/types/Invoice1.js +5 -0
  113. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +11 -0
  114. package/dist/cjs/api/types/InvoiceExpandedRes.js +5 -0
  115. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +31 -0
  116. package/dist/cjs/api/types/InvoiceLineItem1.js +5 -0
  117. package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.d.ts +8 -0
  118. package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.js +5 -0
  119. package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.ts +9 -0
  120. package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.js +11 -0
  121. package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +8 -0
  122. package/dist/cjs/api/types/InvoiceLineItemListRes.js +5 -0
  123. package/dist/cjs/api/types/InvoiceLineItemSortByEnum.d.ts +14 -0
  124. package/dist/cjs/api/types/InvoiceLineItemSortByEnum.js +16 -0
  125. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +33 -0
  126. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +35 -0
  127. package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.d.ts +14 -0
  128. package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.js +16 -0
  129. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +10 -0
  130. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.js +5 -0
  131. package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.d.ts +6 -0
  132. package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.js +5 -0
  133. package/dist/cjs/api/types/InvoiceListRes.d.ts +8 -0
  134. package/dist/cjs/api/types/InvoiceListRes.js +5 -0
  135. package/dist/cjs/api/types/InvoiceMergeStatusEnum1.d.ts +12 -0
  136. package/dist/cjs/api/types/InvoiceMergeStatusEnum1.js +14 -0
  137. package/dist/cjs/api/types/InvoiceSortByEnum.d.ts +11 -0
  138. package/dist/cjs/api/types/InvoiceSortByEnum.js +13 -0
  139. package/dist/cjs/api/types/InvoiceStatusEnum1.d.ts +9 -0
  140. package/dist/cjs/api/types/InvoiceStatusEnum1.js +11 -0
  141. package/dist/cjs/api/types/InvoiceStripeStatusEnum1.d.ts +11 -0
  142. package/dist/cjs/api/types/InvoiceStripeStatusEnum1.js +13 -0
  143. package/dist/cjs/api/types/InvoiceTypeEnum1.d.ts +8 -0
  144. package/dist/cjs/api/types/InvoiceTypeEnum1.js +10 -0
  145. package/dist/cjs/api/types/LongDistanceSurchargeRate1.d.ts +8 -0
  146. package/dist/cjs/api/types/LongDistanceSurchargeRate1.js +5 -0
  147. package/dist/cjs/api/types/Order1.d.ts +1 -0
  148. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  149. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
  150. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  151. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
  152. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -0
  153. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -0
  154. package/dist/cjs/api/types/PickAndHoldRate1.d.ts +7 -0
  155. package/dist/cjs/api/types/PickAndHoldRate1.js +5 -0
  156. package/dist/cjs/api/types/WaitTimeRate1.d.ts +8 -0
  157. package/dist/cjs/api/types/WaitTimeRate1.js +5 -0
  158. package/dist/cjs/api/types/WeekendRate1.d.ts +7 -0
  159. package/dist/cjs/api/types/WeekendRate1.js +5 -0
  160. package/dist/cjs/api/types/index.d.ts +37 -0
  161. package/dist/cjs/api/types/index.js +37 -0
  162. package/dist/cjs/version.d.ts +1 -1
  163. package/dist/cjs/version.js +1 -1
  164. package/dist/esm/Client.d.mts +3 -0
  165. package/dist/esm/Client.mjs +7 -2
  166. package/dist/esm/api/resources/billingNew/client/Client.d.mts +29 -0
  167. package/dist/esm/api/resources/billingNew/client/Client.mjs +23 -0
  168. package/dist/esm/api/resources/billingNew/client/index.d.mts +1 -0
  169. package/dist/esm/api/resources/billingNew/client/index.mjs +1 -0
  170. package/dist/esm/api/resources/billingNew/index.d.mts +2 -0
  171. package/dist/esm/api/resources/billingNew/index.mjs +2 -0
  172. package/dist/esm/api/resources/billingNew/resources/index.d.mts +6 -0
  173. package/dist/esm/api/resources/billingNew/resources/index.mjs +6 -0
  174. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +178 -0
  175. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +600 -0
  176. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.d.mts +2 -0
  177. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.mjs +1 -0
  178. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +22 -0
  179. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs +4 -0
  180. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +28 -0
  181. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.mjs +4 -0
  182. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +45 -0
  183. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.mjs +4 -0
  184. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.mts +19 -0
  185. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.mjs +4 -0
  186. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.mts +12 -0
  187. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.mjs +4 -0
  188. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +62 -0
  189. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.mjs +4 -0
  190. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +6 -0
  191. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.mjs +1 -0
  192. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.d.mts +1 -0
  193. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.mjs +1 -0
  194. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +217 -0
  195. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +843 -0
  196. package/dist/esm/api/resources/billingNew/resources/invoices/client/index.d.mts +2 -0
  197. package/dist/esm/api/resources/billingNew/resources/invoices/client/index.mjs +1 -0
  198. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +24 -0
  199. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.mjs +4 -0
  200. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.mts +13 -0
  201. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.mjs +4 -0
  202. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.mts +12 -0
  203. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.mjs +4 -0
  204. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.mts +12 -0
  205. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.mjs +4 -0
  206. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.mts +10 -0
  207. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.mjs +4 -0
  208. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +51 -0
  209. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.mjs +4 -0
  210. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +6 -0
  211. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.mjs +1 -0
  212. package/dist/esm/api/resources/billingNew/resources/invoices/index.d.mts +1 -0
  213. package/dist/esm/api/resources/billingNew/resources/invoices/index.mjs +1 -0
  214. package/dist/esm/api/resources/billingNew/resources/rates/client/Client.d.mts +145 -0
  215. package/dist/esm/api/resources/billingNew/resources/rates/client/Client.mjs +541 -0
  216. package/dist/esm/api/resources/billingNew/resources/rates/client/index.d.mts +2 -0
  217. package/dist/esm/api/resources/billingNew/resources/rates/client/index.mjs +1 -0
  218. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +13 -0
  219. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs +4 -0
  220. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +37 -0
  221. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +4 -0
  222. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +43 -0
  223. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +4 -0
  224. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +13 -0
  225. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs +4 -0
  226. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.mts +54 -0
  227. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.mjs +4 -0
  228. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +5 -0
  229. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.mjs +1 -0
  230. package/dist/esm/api/resources/billingNew/resources/rates/index.d.mts +1 -0
  231. package/dist/esm/api/resources/billingNew/resources/rates/index.mjs +1 -0
  232. package/dist/esm/api/resources/index.d.mts +1 -0
  233. package/dist/esm/api/resources/index.mjs +1 -0
  234. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
  235. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -20
  236. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
  237. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
  238. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  239. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  240. package/dist/esm/api/types/AdditionalMileageRate1.d.mts +9 -0
  241. package/dist/esm/api/types/AdditionalMileageRate1.mjs +4 -0
  242. package/dist/esm/api/types/AfterHoursRate1.d.mts +7 -0
  243. package/dist/esm/api/types/AfterHoursRate1.mjs +4 -0
  244. package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +7 -0
  245. package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.mjs +4 -0
  246. package/dist/esm/api/types/AttemptRate1.d.mts +7 -0
  247. package/dist/esm/api/types/AttemptRate1.mjs +4 -0
  248. package/dist/esm/api/types/BaseMileageRate1.d.mts +8 -0
  249. package/dist/esm/api/types/BaseMileageRate1.mjs +4 -0
  250. package/dist/esm/api/types/BillingCurrencyCodeEnum1.d.mts +17 -0
  251. package/dist/esm/api/types/BillingCurrencyCodeEnum1.mjs +16 -0
  252. package/dist/esm/api/types/CargoTypeEnum1.d.mts +8 -1
  253. package/dist/esm/api/types/CargoTypeEnum1.mjs +7 -0
  254. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +35 -0
  255. package/dist/esm/api/types/ChrtGroundProviderRates1.mjs +4 -0
  256. package/dist/esm/api/types/ChrtGroundProviderRatesListRes.d.mts +8 -0
  257. package/dist/esm/api/types/ChrtGroundProviderRatesListRes.mjs +4 -0
  258. package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.d.mts +10 -0
  259. package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.mjs +9 -0
  260. package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.d.mts +7 -0
  261. package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.mjs +4 -0
  262. package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.mts +7 -0
  263. package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.mjs +4 -0
  264. package/dist/esm/api/types/DangerousGoodsRate1.d.mts +7 -0
  265. package/dist/esm/api/types/DangerousGoodsRate1.mjs +4 -0
  266. package/dist/esm/api/types/ExtraStopRate1.d.mts +7 -0
  267. package/dist/esm/api/types/ExtraStopRate1.mjs +4 -0
  268. package/dist/esm/api/types/FlatFeeRate1.d.mts +7 -0
  269. package/dist/esm/api/types/FlatFeeRate1.mjs +4 -0
  270. package/dist/esm/api/types/FuelSurchargeRate1.d.mts +7 -0
  271. package/dist/esm/api/types/FuelSurchargeRate1.mjs +4 -0
  272. package/dist/esm/api/types/HolidayRate1.d.mts +7 -0
  273. package/dist/esm/api/types/HolidayRate1.mjs +4 -0
  274. package/dist/esm/api/types/Invoice1.d.mts +57 -0
  275. package/dist/esm/api/types/Invoice1.mjs +4 -0
  276. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +11 -0
  277. package/dist/esm/api/types/InvoiceExpandedRes.mjs +4 -0
  278. package/dist/esm/api/types/InvoiceLineItem1.d.mts +31 -0
  279. package/dist/esm/api/types/InvoiceLineItem1.mjs +4 -0
  280. package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.d.mts +8 -0
  281. package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.mjs +4 -0
  282. package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.mts +9 -0
  283. package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.mjs +8 -0
  284. package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +8 -0
  285. package/dist/esm/api/types/InvoiceLineItemListRes.mjs +4 -0
  286. package/dist/esm/api/types/InvoiceLineItemSortByEnum.d.mts +14 -0
  287. package/dist/esm/api/types/InvoiceLineItemSortByEnum.mjs +13 -0
  288. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +33 -0
  289. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +32 -0
  290. package/dist/esm/api/types/InvoiceLineItemUnitEnum1.d.mts +14 -0
  291. package/dist/esm/api/types/InvoiceLineItemUnitEnum1.mjs +13 -0
  292. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +10 -0
  293. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.mjs +4 -0
  294. package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.d.mts +6 -0
  295. package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.mjs +4 -0
  296. package/dist/esm/api/types/InvoiceListRes.d.mts +8 -0
  297. package/dist/esm/api/types/InvoiceListRes.mjs +4 -0
  298. package/dist/esm/api/types/InvoiceMergeStatusEnum1.d.mts +12 -0
  299. package/dist/esm/api/types/InvoiceMergeStatusEnum1.mjs +11 -0
  300. package/dist/esm/api/types/InvoiceSortByEnum.d.mts +11 -0
  301. package/dist/esm/api/types/InvoiceSortByEnum.mjs +10 -0
  302. package/dist/esm/api/types/InvoiceStatusEnum1.d.mts +9 -0
  303. package/dist/esm/api/types/InvoiceStatusEnum1.mjs +8 -0
  304. package/dist/esm/api/types/InvoiceStripeStatusEnum1.d.mts +11 -0
  305. package/dist/esm/api/types/InvoiceStripeStatusEnum1.mjs +10 -0
  306. package/dist/esm/api/types/InvoiceTypeEnum1.d.mts +8 -0
  307. package/dist/esm/api/types/InvoiceTypeEnum1.mjs +7 -0
  308. package/dist/esm/api/types/LongDistanceSurchargeRate1.d.mts +8 -0
  309. package/dist/esm/api/types/LongDistanceSurchargeRate1.mjs +4 -0
  310. package/dist/esm/api/types/Order1.d.mts +1 -0
  311. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  312. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
  313. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  314. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
  315. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -0
  316. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -0
  317. package/dist/esm/api/types/PickAndHoldRate1.d.mts +7 -0
  318. package/dist/esm/api/types/PickAndHoldRate1.mjs +4 -0
  319. package/dist/esm/api/types/WaitTimeRate1.d.mts +8 -0
  320. package/dist/esm/api/types/WaitTimeRate1.mjs +4 -0
  321. package/dist/esm/api/types/WeekendRate1.d.mts +7 -0
  322. package/dist/esm/api/types/WeekendRate1.mjs +4 -0
  323. package/dist/esm/api/types/index.d.mts +37 -0
  324. package/dist/esm/api/types/index.mjs +37 -0
  325. package/dist/esm/version.d.mts +1 -1
  326. package/dist/esm/version.mjs +1 -1
  327. package/package.json +1 -1
  328. package/reference.md +1820 -0
package/reference.md CHANGED
@@ -6301,6 +6301,1822 @@ await client.billing.lineItems.s3Objects.getV1("line_item_s3_object_metadata_id"
6301
6301
  </dl>
6302
6302
  </details>
6303
6303
 
6304
+ ## BillingNew InvoiceLineItems
6305
+
6306
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">applyChrtGroundProviderRatesV1</a>({ ...params }) -> Chrt.ApplyChrtGroundProviderRatesRes</code></summary>
6307
+ <dl>
6308
+ <dd>
6309
+
6310
+ #### 📝 Description
6311
+
6312
+ <dl>
6313
+ <dd>
6314
+
6315
+ <dl>
6316
+ <dd>
6317
+
6318
+ Applies a caller-owned CHRT-ground rate sheet to a TaskGroup and atomically creates line items on a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | (ApplyChrtGroundProviderRatesReq) -> (ApplyChrtGroundProviderRatesRes)
6319
+
6320
+ </dd>
6321
+ </dl>
6322
+ </dd>
6323
+ </dl>
6324
+
6325
+ #### 🔌 Usage
6326
+
6327
+ <dl>
6328
+ <dd>
6329
+
6330
+ <dl>
6331
+ <dd>
6332
+
6333
+ ```typescript
6334
+ await client.billingNew.invoiceLineItems.applyChrtGroundProviderRatesV1({
6335
+ invoice_type: "accounts_receivable",
6336
+ org_id: "org_id",
6337
+ rate_sheet_id: "rate_sheet_id",
6338
+ task_group_id: "task_group_id",
6339
+ });
6340
+ ```
6341
+
6342
+ </dd>
6343
+ </dl>
6344
+ </dd>
6345
+ </dl>
6346
+
6347
+ #### ⚙️ Parameters
6348
+
6349
+ <dl>
6350
+ <dd>
6351
+
6352
+ <dl>
6353
+ <dd>
6354
+
6355
+ **request:** `Chrt.billingNew.ApplyChrtGroundProviderRatesReq`
6356
+
6357
+ </dd>
6358
+ </dl>
6359
+
6360
+ <dl>
6361
+ <dd>
6362
+
6363
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6364
+
6365
+ </dd>
6366
+ </dl>
6367
+ </dd>
6368
+ </dl>
6369
+
6370
+ </dd>
6371
+ </dl>
6372
+ </details>
6373
+
6374
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">listByOrderV1</a>(orderId) -> Chrt.InvoiceLineItemsByOrderExpandedRes</code></summary>
6375
+ <dl>
6376
+ <dd>
6377
+
6378
+ #### 📝 Description
6379
+
6380
+ <dl>
6381
+ <dd>
6382
+
6383
+ <dl>
6384
+ <dd>
6385
+
6386
+ Lists owner-scoped line items for an order with counterparties and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemsByOrderExpandedRes)
6387
+
6388
+ </dd>
6389
+ </dl>
6390
+ </dd>
6391
+ </dl>
6392
+
6393
+ #### 🔌 Usage
6394
+
6395
+ <dl>
6396
+ <dd>
6397
+
6398
+ <dl>
6399
+ <dd>
6400
+
6401
+ ```typescript
6402
+ await client.billingNew.invoiceLineItems.listByOrderV1("order_id");
6403
+ ```
6404
+
6405
+ </dd>
6406
+ </dl>
6407
+ </dd>
6408
+ </dl>
6409
+
6410
+ #### ⚙️ Parameters
6411
+
6412
+ <dl>
6413
+ <dd>
6414
+
6415
+ <dl>
6416
+ <dd>
6417
+
6418
+ **orderId:** `string`
6419
+
6420
+ </dd>
6421
+ </dl>
6422
+
6423
+ <dl>
6424
+ <dd>
6425
+
6426
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6427
+
6428
+ </dd>
6429
+ </dl>
6430
+ </dd>
6431
+ </dl>
6432
+
6433
+ </dd>
6434
+ </dl>
6435
+ </details>
6436
+
6437
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">createFromAmountV1</a>({ ...params }) -> Chrt.CreateInvoiceLineItemsFromAmountRes</code></summary>
6438
+ <dl>
6439
+ <dd>
6440
+
6441
+ #### 📝 Description
6442
+
6443
+ <dl>
6444
+ <dd>
6445
+
6446
+ <dl>
6447
+ <dd>
6448
+
6449
+ Creates optionally order-attributed line items from an amount and attaches them to a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators, task_group_coordinator_operators, executor_org_operators] when order-attributed | (CreateInvoiceLineItemsFromAmountReq) -> (CreateInvoiceLineItemsFromAmountRes)
6450
+
6451
+ </dd>
6452
+ </dl>
6453
+ </dd>
6454
+ </dl>
6455
+
6456
+ #### 🔌 Usage
6457
+
6458
+ <dl>
6459
+ <dd>
6460
+
6461
+ <dl>
6462
+ <dd>
6463
+
6464
+ ```typescript
6465
+ await client.billingNew.invoiceLineItems.createFromAmountV1({
6466
+ amount: 1.1,
6467
+ currency_code: "USD",
6468
+ description: "description",
6469
+ invoice_type: "accounts_receivable",
6470
+ line_item_type: "base_rate",
6471
+ });
6472
+ ```
6473
+
6474
+ </dd>
6475
+ </dl>
6476
+ </dd>
6477
+ </dl>
6478
+
6479
+ #### ⚙️ Parameters
6480
+
6481
+ <dl>
6482
+ <dd>
6483
+
6484
+ <dl>
6485
+ <dd>
6486
+
6487
+ **request:** `Chrt.billingNew.CreateInvoiceLineItemsFromAmountReq`
6488
+
6489
+ </dd>
6490
+ </dl>
6491
+
6492
+ <dl>
6493
+ <dd>
6494
+
6495
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6496
+
6497
+ </dd>
6498
+ </dl>
6499
+ </dd>
6500
+ </dl>
6501
+
6502
+ </dd>
6503
+ </dl>
6504
+ </details>
6505
+
6506
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">createFromLineItemsV1</a>({ ...params }) -> Chrt.CreateInvoiceLineItemsFromLineItemsRes</code></summary>
6507
+ <dl>
6508
+ <dd>
6509
+
6510
+ #### 📝 Description
6511
+
6512
+ <dl>
6513
+ <dd>
6514
+
6515
+ <dl>
6516
+ <dd>
6517
+
6518
+ Creates optionally order-attributed line items by transforming submitted line items and attaches them to a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators, task_group_coordinator_operators, executor_org_operators] when order-attributed | (CreateInvoiceLineItemsFromLineItemsReq) -> (CreateInvoiceLineItemsFromLineItemsRes)
6519
+
6520
+ </dd>
6521
+ </dl>
6522
+ </dd>
6523
+ </dl>
6524
+
6525
+ #### 🔌 Usage
6526
+
6527
+ <dl>
6528
+ <dd>
6529
+
6530
+ <dl>
6531
+ <dd>
6532
+
6533
+ ```typescript
6534
+ await client.billingNew.invoiceLineItems.createFromLineItemsV1({
6535
+ description: "description",
6536
+ invoice_line_item_amount_transformation: {
6537
+ transformation_type: "percent",
6538
+ value: 1.1,
6539
+ },
6540
+ invoice_type: "accounts_receivable",
6541
+ line_item_type: "base_rate",
6542
+ source_invoice_line_items: [
6543
+ {
6544
+ _id: "_id",
6545
+ created_at_timestamp: "2024-01-15T09:30:00Z",
6546
+ created_by_user_id: "created_by_user_id",
6547
+ currency_code: "USD",
6548
+ description: "description",
6549
+ invoice_type: "accounts_receivable",
6550
+ last_edited_at_timestamp: "2024-01-15T09:30:00Z",
6551
+ last_edited_by_user_id: "last_edited_by_user_id",
6552
+ line_item_type: "base_rate",
6553
+ owned_by_org_id: "owned_by_org_id",
6554
+ quantity: 1.1,
6555
+ schema_version: 1,
6556
+ unit_price: 1.1,
6557
+ },
6558
+ ],
6559
+ });
6560
+ ```
6561
+
6562
+ </dd>
6563
+ </dl>
6564
+ </dd>
6565
+ </dl>
6566
+
6567
+ #### ⚙️ Parameters
6568
+
6569
+ <dl>
6570
+ <dd>
6571
+
6572
+ <dl>
6573
+ <dd>
6574
+
6575
+ **request:** `Chrt.billingNew.CreateInvoiceLineItemsFromLineItemsReq`
6576
+
6577
+ </dd>
6578
+ </dl>
6579
+
6580
+ <dl>
6581
+ <dd>
6582
+
6583
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6584
+
6585
+ </dd>
6586
+ </dl>
6587
+ </dd>
6588
+ </dl>
6589
+
6590
+ </dd>
6591
+ </dl>
6592
+ </details>
6593
+
6594
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">deleteManyV1</a>({ ...params }) -> Chrt.InvoiceLineItemsDeleteManyRes</code></summary>
6595
+ <dl>
6596
+ <dd>
6597
+
6598
+ #### 📝 Description
6599
+
6600
+ <dl>
6601
+ <dd>
6602
+
6603
+ <dl>
6604
+ <dd>
6605
+
6606
+ Deletes owner-scoped line items and rebuilds every affected draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsDeleteManyReq) -> (InvoiceLineItemsDeleteManyRes)
6607
+
6608
+ </dd>
6609
+ </dl>
6610
+ </dd>
6611
+ </dl>
6612
+
6613
+ #### 🔌 Usage
6614
+
6615
+ <dl>
6616
+ <dd>
6617
+
6618
+ <dl>
6619
+ <dd>
6620
+
6621
+ ```typescript
6622
+ await client.billingNew.invoiceLineItems.deleteManyV1({
6623
+ invoice_line_item_ids: ["invoice_line_item_ids"],
6624
+ });
6625
+ ```
6626
+
6627
+ </dd>
6628
+ </dl>
6629
+ </dd>
6630
+ </dl>
6631
+
6632
+ #### ⚙️ Parameters
6633
+
6634
+ <dl>
6635
+ <dd>
6636
+
6637
+ <dl>
6638
+ <dd>
6639
+
6640
+ **request:** `Chrt.billingNew.InvoiceLineItemsDeleteManyReq`
6641
+
6642
+ </dd>
6643
+ </dl>
6644
+
6645
+ <dl>
6646
+ <dd>
6647
+
6648
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6649
+
6650
+ </dd>
6651
+ </dl>
6652
+ </dd>
6653
+ </dl>
6654
+
6655
+ </dd>
6656
+ </dl>
6657
+ </details>
6658
+
6659
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">listV1</a>({ ...params }) -> Chrt.InvoiceLineItemListRes</code></summary>
6660
+ <dl>
6661
+ <dd>
6662
+
6663
+ #### 📝 Description
6664
+
6665
+ <dl>
6666
+ <dd>
6667
+
6668
+ <dl>
6669
+ <dd>
6670
+
6671
+ Lists owner-scoped invoice line items with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemListRes)
6672
+
6673
+ </dd>
6674
+ </dl>
6675
+ </dd>
6676
+ </dl>
6677
+
6678
+ #### 🔌 Usage
6679
+
6680
+ <dl>
6681
+ <dd>
6682
+
6683
+ <dl>
6684
+ <dd>
6685
+
6686
+ ```typescript
6687
+ await client.billingNew.invoiceLineItems.listV1({
6688
+ sort_by: "created_at_timestamp",
6689
+ sort_order: "asc",
6690
+ page: 1,
6691
+ page_size: 1,
6692
+ filter_counterparty_org_id: "filter_counterparty_org_id",
6693
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
6694
+ filter_counterparty_account_id: "filter_counterparty_account_id",
6695
+ filter_invoice_id: "filter_invoice_id",
6696
+ filter_is_invoiced: true,
6697
+ filter_order_id: "filter_order_id",
6698
+ filter_task_group_id: "filter_task_group_id",
6699
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
6700
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
6701
+ filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
6702
+ filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
6703
+ });
6704
+ ```
6705
+
6706
+ </dd>
6707
+ </dl>
6708
+ </dd>
6709
+ </dl>
6710
+
6711
+ #### ⚙️ Parameters
6712
+
6713
+ <dl>
6714
+ <dd>
6715
+
6716
+ <dl>
6717
+ <dd>
6718
+
6719
+ **request:** `Chrt.billingNew.InvoiceLineItemsListV1Request`
6720
+
6721
+ </dd>
6722
+ </dl>
6723
+
6724
+ <dl>
6725
+ <dd>
6726
+
6727
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6728
+
6729
+ </dd>
6730
+ </dl>
6731
+ </dd>
6732
+ </dl>
6733
+
6734
+ </dd>
6735
+ </dl>
6736
+ </details>
6737
+
6738
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">updateV1</a>(invoiceLineItemId, { ...params }) -> boolean</code></summary>
6739
+ <dl>
6740
+ <dd>
6741
+
6742
+ #### 📝 Description
6743
+
6744
+ <dl>
6745
+ <dd>
6746
+
6747
+ <dl>
6748
+ <dd>
6749
+
6750
+ Updates an owner-scoped line item and rebuilds its draft invoice when attached. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemClientUpdate1) -> (bool)
6751
+
6752
+ </dd>
6753
+ </dl>
6754
+ </dd>
6755
+ </dl>
6756
+
6757
+ #### 🔌 Usage
6758
+
6759
+ <dl>
6760
+ <dd>
6761
+
6762
+ <dl>
6763
+ <dd>
6764
+
6765
+ ```typescript
6766
+ await client.billingNew.invoiceLineItems.updateV1("invoice_line_item_id");
6767
+ ```
6768
+
6769
+ </dd>
6770
+ </dl>
6771
+ </dd>
6772
+ </dl>
6773
+
6774
+ #### ⚙️ Parameters
6775
+
6776
+ <dl>
6777
+ <dd>
6778
+
6779
+ <dl>
6780
+ <dd>
6781
+
6782
+ **invoiceLineItemId:** `string`
6783
+
6784
+ </dd>
6785
+ </dl>
6786
+
6787
+ <dl>
6788
+ <dd>
6789
+
6790
+ **request:** `Chrt.billingNew.InvoiceLineItemClientUpdate1`
6791
+
6792
+ </dd>
6793
+ </dl>
6794
+
6795
+ <dl>
6796
+ <dd>
6797
+
6798
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6799
+
6800
+ </dd>
6801
+ </dl>
6802
+ </dd>
6803
+ </dl>
6804
+
6805
+ </dd>
6806
+ </dl>
6807
+ </details>
6808
+
6809
+ ## BillingNew Invoices
6810
+
6811
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">approveV1</a>(invoiceId) -> Chrt.Invoice1</code></summary>
6812
+ <dl>
6813
+ <dd>
6814
+
6815
+ #### 📝 Description
6816
+
6817
+ <dl>
6818
+ <dd>
6819
+
6820
+ <dl>
6821
+ <dd>
6822
+
6823
+ Approves a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
6824
+
6825
+ </dd>
6826
+ </dl>
6827
+ </dd>
6828
+ </dl>
6829
+
6830
+ #### 🔌 Usage
6831
+
6832
+ <dl>
6833
+ <dd>
6834
+
6835
+ <dl>
6836
+ <dd>
6837
+
6838
+ ```typescript
6839
+ await client.billingNew.invoices.approveV1("invoice_id");
6840
+ ```
6841
+
6842
+ </dd>
6843
+ </dl>
6844
+ </dd>
6845
+ </dl>
6846
+
6847
+ #### ⚙️ Parameters
6848
+
6849
+ <dl>
6850
+ <dd>
6851
+
6852
+ <dl>
6853
+ <dd>
6854
+
6855
+ **invoiceId:** `string`
6856
+
6857
+ </dd>
6858
+ </dl>
6859
+
6860
+ <dl>
6861
+ <dd>
6862
+
6863
+ **requestOptions:** `Invoices.RequestOptions`
6864
+
6865
+ </dd>
6866
+ </dl>
6867
+ </dd>
6868
+ </dl>
6869
+
6870
+ </dd>
6871
+ </dl>
6872
+ </details>
6873
+
6874
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
6875
+ <dl>
6876
+ <dd>
6877
+
6878
+ #### 📝 Description
6879
+
6880
+ <dl>
6881
+ <dd>
6882
+
6883
+ <dl>
6884
+ <dd>
6885
+
6886
+ Creates a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientCreate1) -> (PydanticObjectId)
6887
+
6888
+ </dd>
6889
+ </dl>
6890
+ </dd>
6891
+ </dl>
6892
+
6893
+ #### 🔌 Usage
6894
+
6895
+ <dl>
6896
+ <dd>
6897
+
6898
+ <dl>
6899
+ <dd>
6900
+
6901
+ ```typescript
6902
+ await client.billingNew.invoices.createV1({
6903
+ currency_code: "USD",
6904
+ invoice_type: "accounts_receivable",
6905
+ schema_version: 1,
6906
+ });
6907
+ ```
6908
+
6909
+ </dd>
6910
+ </dl>
6911
+ </dd>
6912
+ </dl>
6913
+
6914
+ #### ⚙️ Parameters
6915
+
6916
+ <dl>
6917
+ <dd>
6918
+
6919
+ <dl>
6920
+ <dd>
6921
+
6922
+ **request:** `Chrt.billingNew.InvoiceClientCreate1`
6923
+
6924
+ </dd>
6925
+ </dl>
6926
+
6927
+ <dl>
6928
+ <dd>
6929
+
6930
+ **requestOptions:** `Invoices.RequestOptions`
6931
+
6932
+ </dd>
6933
+ </dl>
6934
+ </dd>
6935
+ </dl>
6936
+
6937
+ </dd>
6938
+ </dl>
6939
+ </details>
6940
+
6941
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">deleteV1</a>(invoiceId) -> boolean</code></summary>
6942
+ <dl>
6943
+ <dd>
6944
+
6945
+ #### 📝 Description
6946
+
6947
+ <dl>
6948
+ <dd>
6949
+
6950
+ <dl>
6951
+ <dd>
6952
+
6953
+ Hard-deletes a draft invoice and detaches its line items. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
6954
+
6955
+ </dd>
6956
+ </dl>
6957
+ </dd>
6958
+ </dl>
6959
+
6960
+ #### 🔌 Usage
6961
+
6962
+ <dl>
6963
+ <dd>
6964
+
6965
+ <dl>
6966
+ <dd>
6967
+
6968
+ ```typescript
6969
+ await client.billingNew.invoices.deleteV1("invoice_id");
6970
+ ```
6971
+
6972
+ </dd>
6973
+ </dl>
6974
+ </dd>
6975
+ </dl>
6976
+
6977
+ #### ⚙️ Parameters
6978
+
6979
+ <dl>
6980
+ <dd>
6981
+
6982
+ <dl>
6983
+ <dd>
6984
+
6985
+ **invoiceId:** `string`
6986
+
6987
+ </dd>
6988
+ </dl>
6989
+
6990
+ <dl>
6991
+ <dd>
6992
+
6993
+ **requestOptions:** `Invoices.RequestOptions`
6994
+
6995
+ </dd>
6996
+ </dl>
6997
+ </dd>
6998
+ </dl>
6999
+
7000
+ </dd>
7001
+ </dl>
7002
+ </details>
7003
+
7004
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">getExpandedV1</a>(invoiceId) -> Chrt.InvoiceExpandedRes</code></summary>
7005
+ <dl>
7006
+ <dd>
7007
+
7008
+ #### 📝 Description
7009
+
7010
+ <dl>
7011
+ <dd>
7012
+
7013
+ <dl>
7014
+ <dd>
7015
+
7016
+ Retrieves an owner-scoped invoice with its line items, counterparty organization data, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
7017
+
7018
+ </dd>
7019
+ </dl>
7020
+ </dd>
7021
+ </dl>
7022
+
7023
+ #### 🔌 Usage
7024
+
7025
+ <dl>
7026
+ <dd>
7027
+
7028
+ <dl>
7029
+ <dd>
7030
+
7031
+ ```typescript
7032
+ await client.billingNew.invoices.getExpandedV1("invoice_id");
7033
+ ```
7034
+
7035
+ </dd>
7036
+ </dl>
7037
+ </dd>
7038
+ </dl>
7039
+
7040
+ #### ⚙️ Parameters
7041
+
7042
+ <dl>
7043
+ <dd>
7044
+
7045
+ <dl>
7046
+ <dd>
7047
+
7048
+ **invoiceId:** `string`
7049
+
7050
+ </dd>
7051
+ </dl>
7052
+
7053
+ <dl>
7054
+ <dd>
7055
+
7056
+ **requestOptions:** `Invoices.RequestOptions`
7057
+
7058
+ </dd>
7059
+ </dl>
7060
+ </dd>
7061
+ </dl>
7062
+
7063
+ </dd>
7064
+ </dl>
7065
+ </details>
7066
+
7067
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">addLineItemV1</a>(invoiceId, invoiceLineItemId) -> Chrt.Invoice1</code></summary>
7068
+ <dl>
7069
+ <dd>
7070
+
7071
+ #### 📝 Description
7072
+
7073
+ <dl>
7074
+ <dd>
7075
+
7076
+ <dl>
7077
+ <dd>
7078
+
7079
+ Attaches one line item to a draft invoice, moving it from another draft invoice when needed, and synchronizes both invoices. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
7080
+
7081
+ </dd>
7082
+ </dl>
7083
+ </dd>
7084
+ </dl>
7085
+
7086
+ #### 🔌 Usage
7087
+
7088
+ <dl>
7089
+ <dd>
7090
+
7091
+ <dl>
7092
+ <dd>
7093
+
7094
+ ```typescript
7095
+ await client.billingNew.invoices.addLineItemV1("invoice_id", "invoice_line_item_id");
7096
+ ```
7097
+
7098
+ </dd>
7099
+ </dl>
7100
+ </dd>
7101
+ </dl>
7102
+
7103
+ #### ⚙️ Parameters
7104
+
7105
+ <dl>
7106
+ <dd>
7107
+
7108
+ <dl>
7109
+ <dd>
7110
+
7111
+ **invoiceId:** `string`
7112
+
7113
+ </dd>
7114
+ </dl>
7115
+
7116
+ <dl>
7117
+ <dd>
7118
+
7119
+ **invoiceLineItemId:** `string`
7120
+
7121
+ </dd>
7122
+ </dl>
7123
+
7124
+ <dl>
7125
+ <dd>
7126
+
7127
+ **requestOptions:** `Invoices.RequestOptions`
7128
+
7129
+ </dd>
7130
+ </dl>
7131
+ </dd>
7132
+ </dl>
7133
+
7134
+ </dd>
7135
+ </dl>
7136
+ </details>
7137
+
7138
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">removeLineItemV1</a>(invoiceId, invoiceLineItemId) -> Chrt.Invoice1</code></summary>
7139
+ <dl>
7140
+ <dd>
7141
+
7142
+ #### 📝 Description
7143
+
7144
+ <dl>
7145
+ <dd>
7146
+
7147
+ <dl>
7148
+ <dd>
7149
+
7150
+ Detaches one line item from a draft invoice and synchronizes the invoice total and accounts. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
7151
+
7152
+ </dd>
7153
+ </dl>
7154
+ </dd>
7155
+ </dl>
7156
+
7157
+ #### 🔌 Usage
7158
+
7159
+ <dl>
7160
+ <dd>
7161
+
7162
+ <dl>
7163
+ <dd>
7164
+
7165
+ ```typescript
7166
+ await client.billingNew.invoices.removeLineItemV1("invoice_id", "invoice_line_item_id");
7167
+ ```
7168
+
7169
+ </dd>
7170
+ </dl>
7171
+ </dd>
7172
+ </dl>
7173
+
7174
+ #### ⚙️ Parameters
7175
+
7176
+ <dl>
7177
+ <dd>
7178
+
7179
+ <dl>
7180
+ <dd>
7181
+
7182
+ **invoiceId:** `string`
7183
+
7184
+ </dd>
7185
+ </dl>
7186
+
7187
+ <dl>
7188
+ <dd>
7189
+
7190
+ **invoiceLineItemId:** `string`
7191
+
7192
+ </dd>
7193
+ </dl>
7194
+
7195
+ <dl>
7196
+ <dd>
7197
+
7198
+ **requestOptions:** `Invoices.RequestOptions`
7199
+
7200
+ </dd>
7201
+ </dl>
7202
+ </dd>
7203
+ </dl>
7204
+
7205
+ </dd>
7206
+ </dl>
7207
+ </details>
7208
+
7209
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">addLineItemsV1</a>(invoiceId, { ...params }) -> Chrt.Invoice1</code></summary>
7210
+ <dl>
7211
+ <dd>
7212
+
7213
+ #### 📝 Description
7214
+
7215
+ <dl>
7216
+ <dd>
7217
+
7218
+ <dl>
7219
+ <dd>
7220
+
7221
+ Attaches existing line items to a draft invoice, moving them from any other draft invoices, and synchronizes all affected invoice totals and accounts. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsAddReq) -> (Invoice1)
7222
+
7223
+ </dd>
7224
+ </dl>
7225
+ </dd>
7226
+ </dl>
7227
+
7228
+ #### 🔌 Usage
7229
+
7230
+ <dl>
7231
+ <dd>
7232
+
7233
+ <dl>
7234
+ <dd>
7235
+
7236
+ ```typescript
7237
+ await client.billingNew.invoices.addLineItemsV1("invoice_id", {
7238
+ invoice_line_item_ids: ["invoice_line_item_ids"],
7239
+ });
7240
+ ```
7241
+
7242
+ </dd>
7243
+ </dl>
7244
+ </dd>
7245
+ </dl>
7246
+
7247
+ #### ⚙️ Parameters
7248
+
7249
+ <dl>
7250
+ <dd>
7251
+
7252
+ <dl>
7253
+ <dd>
7254
+
7255
+ **invoiceId:** `string`
7256
+
7257
+ </dd>
7258
+ </dl>
7259
+
7260
+ <dl>
7261
+ <dd>
7262
+
7263
+ **request:** `Chrt.billingNew.InvoiceLineItemsAddReq`
7264
+
7265
+ </dd>
7266
+ </dl>
7267
+
7268
+ <dl>
7269
+ <dd>
7270
+
7271
+ **requestOptions:** `Invoices.RequestOptions`
7272
+
7273
+ </dd>
7274
+ </dl>
7275
+ </dd>
7276
+ </dl>
7277
+
7278
+ </dd>
7279
+ </dl>
7280
+ </details>
7281
+
7282
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">removeLineItemsV1</a>(invoiceId, { ...params }) -> Chrt.Invoice1</code></summary>
7283
+ <dl>
7284
+ <dd>
7285
+
7286
+ #### 📝 Description
7287
+
7288
+ <dl>
7289
+ <dd>
7290
+
7291
+ <dl>
7292
+ <dd>
7293
+
7294
+ Detaches existing line items from a draft invoice and synchronizes derived invoice fields. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsRemoveReq) -> (Invoice1)
7295
+
7296
+ </dd>
7297
+ </dl>
7298
+ </dd>
7299
+ </dl>
7300
+
7301
+ #### 🔌 Usage
7302
+
7303
+ <dl>
7304
+ <dd>
7305
+
7306
+ <dl>
7307
+ <dd>
7308
+
7309
+ ```typescript
7310
+ await client.billingNew.invoices.removeLineItemsV1("invoice_id", {
7311
+ invoice_line_item_ids: ["invoice_line_item_ids"],
7312
+ });
7313
+ ```
7314
+
7315
+ </dd>
7316
+ </dl>
7317
+ </dd>
7318
+ </dl>
7319
+
7320
+ #### ⚙️ Parameters
7321
+
7322
+ <dl>
7323
+ <dd>
7324
+
7325
+ <dl>
7326
+ <dd>
7327
+
7328
+ **invoiceId:** `string`
7329
+
7330
+ </dd>
7331
+ </dl>
7332
+
7333
+ <dl>
7334
+ <dd>
7335
+
7336
+ **request:** `Chrt.billingNew.InvoiceLineItemsRemoveReq`
7337
+
7338
+ </dd>
7339
+ </dl>
7340
+
7341
+ <dl>
7342
+ <dd>
7343
+
7344
+ **requestOptions:** `Invoices.RequestOptions`
7345
+
7346
+ </dd>
7347
+ </dl>
7348
+ </dd>
7349
+ </dl>
7350
+
7351
+ </dd>
7352
+ </dl>
7353
+ </details>
7354
+
7355
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">listV1</a>({ ...params }) -> Chrt.InvoiceListRes</code></summary>
7356
+ <dl>
7357
+ <dd>
7358
+
7359
+ #### 📝 Description
7360
+
7361
+ <dl>
7362
+ <dd>
7363
+
7364
+ <dl>
7365
+ <dd>
7366
+
7367
+ Lists owner-scoped invoices with search, filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceListRes)
7368
+
7369
+ </dd>
7370
+ </dl>
7371
+ </dd>
7372
+ </dl>
7373
+
7374
+ #### 🔌 Usage
7375
+
7376
+ <dl>
7377
+ <dd>
7378
+
7379
+ <dl>
7380
+ <dd>
7381
+
7382
+ ```typescript
7383
+ await client.billingNew.invoices.listV1({
7384
+ search: "search",
7385
+ sort_by: "created_at_timestamp",
7386
+ sort_order: "asc",
7387
+ page: 1,
7388
+ page_size: 1,
7389
+ filter_counterparty_org_id: "filter_counterparty_org_id",
7390
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
7391
+ filter_counterparty_account_id: "filter_counterparty_account_id",
7392
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
7393
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
7394
+ filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
7395
+ filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
7396
+ });
7397
+ ```
7398
+
7399
+ </dd>
7400
+ </dl>
7401
+ </dd>
7402
+ </dl>
7403
+
7404
+ #### ⚙️ Parameters
7405
+
7406
+ <dl>
7407
+ <dd>
7408
+
7409
+ <dl>
7410
+ <dd>
7411
+
7412
+ **request:** `Chrt.billingNew.InvoicesListV1Request`
7413
+
7414
+ </dd>
7415
+ </dl>
7416
+
7417
+ <dl>
7418
+ <dd>
7419
+
7420
+ **requestOptions:** `Invoices.RequestOptions`
7421
+
7422
+ </dd>
7423
+ </dl>
7424
+ </dd>
7425
+ </dl>
7426
+
7427
+ </dd>
7428
+ </dl>
7429
+ </details>
7430
+
7431
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">updateV1</a>(invoiceId, { ...params }) -> boolean</code></summary>
7432
+ <dl>
7433
+ <dd>
7434
+
7435
+ #### 📝 Description
7436
+
7437
+ <dl>
7438
+ <dd>
7439
+
7440
+ <dl>
7441
+ <dd>
7442
+
7443
+ Updates the name or description of a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientUpdate1) -> (bool)
7444
+
7445
+ </dd>
7446
+ </dl>
7447
+ </dd>
7448
+ </dl>
7449
+
7450
+ #### 🔌 Usage
7451
+
7452
+ <dl>
7453
+ <dd>
7454
+
7455
+ <dl>
7456
+ <dd>
7457
+
7458
+ ```typescript
7459
+ await client.billingNew.invoices.updateV1("invoice_id");
7460
+ ```
7461
+
7462
+ </dd>
7463
+ </dl>
7464
+ </dd>
7465
+ </dl>
7466
+
7467
+ #### ⚙️ Parameters
7468
+
7469
+ <dl>
7470
+ <dd>
7471
+
7472
+ <dl>
7473
+ <dd>
7474
+
7475
+ **invoiceId:** `string`
7476
+
7477
+ </dd>
7478
+ </dl>
7479
+
7480
+ <dl>
7481
+ <dd>
7482
+
7483
+ **request:** `Chrt.billingNew.InvoiceClientUpdate1`
7484
+
7485
+ </dd>
7486
+ </dl>
7487
+
7488
+ <dl>
7489
+ <dd>
7490
+
7491
+ **requestOptions:** `Invoices.RequestOptions`
7492
+
7493
+ </dd>
7494
+ </dl>
7495
+ </dd>
7496
+ </dl>
7497
+
7498
+ </dd>
7499
+ </dl>
7500
+ </details>
7501
+
7502
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">getV1</a>(invoiceId) -> Chrt.Invoice1</code></summary>
7503
+ <dl>
7504
+ <dd>
7505
+
7506
+ #### 📝 Description
7507
+
7508
+ <dl>
7509
+ <dd>
7510
+
7511
+ <dl>
7512
+ <dd>
7513
+
7514
+ Retrieves an invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
7515
+
7516
+ </dd>
7517
+ </dl>
7518
+ </dd>
7519
+ </dl>
7520
+
7521
+ #### 🔌 Usage
7522
+
7523
+ <dl>
7524
+ <dd>
7525
+
7526
+ <dl>
7527
+ <dd>
7528
+
7529
+ ```typescript
7530
+ await client.billingNew.invoices.getV1("invoice_id");
7531
+ ```
7532
+
7533
+ </dd>
7534
+ </dl>
7535
+ </dd>
7536
+ </dl>
7537
+
7538
+ #### ⚙️ Parameters
7539
+
7540
+ <dl>
7541
+ <dd>
7542
+
7543
+ <dl>
7544
+ <dd>
7545
+
7546
+ **invoiceId:** `string`
7547
+
7548
+ </dd>
7549
+ </dl>
7550
+
7551
+ <dl>
7552
+ <dd>
7553
+
7554
+ **requestOptions:** `Invoices.RequestOptions`
7555
+
7556
+ </dd>
7557
+ </dl>
7558
+ </dd>
7559
+ </dl>
7560
+
7561
+ </dd>
7562
+ </dl>
7563
+ </details>
7564
+
7565
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">voidV1</a>(invoiceId, { ...params }) -> Chrt.Invoice1</code></summary>
7566
+ <dl>
7567
+ <dd>
7568
+
7569
+ #### 📝 Description
7570
+
7571
+ <dl>
7572
+ <dd>
7573
+
7574
+ <dl>
7575
+ <dd>
7576
+
7577
+ Voids a draft or approved invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceVoidReq) -> (Invoice1)
7578
+
7579
+ </dd>
7580
+ </dl>
7581
+ </dd>
7582
+ </dl>
7583
+
7584
+ #### 🔌 Usage
7585
+
7586
+ <dl>
7587
+ <dd>
7588
+
7589
+ <dl>
7590
+ <dd>
7591
+
7592
+ ```typescript
7593
+ await client.billingNew.invoices.voidV1("invoice_id");
7594
+ ```
7595
+
7596
+ </dd>
7597
+ </dl>
7598
+ </dd>
7599
+ </dl>
7600
+
7601
+ #### ⚙️ Parameters
7602
+
7603
+ <dl>
7604
+ <dd>
7605
+
7606
+ <dl>
7607
+ <dd>
7608
+
7609
+ **invoiceId:** `string`
7610
+
7611
+ </dd>
7612
+ </dl>
7613
+
7614
+ <dl>
7615
+ <dd>
7616
+
7617
+ **request:** `Chrt.billingNew.InvoiceVoidReq`
7618
+
7619
+ </dd>
7620
+ </dl>
7621
+
7622
+ <dl>
7623
+ <dd>
7624
+
7625
+ **requestOptions:** `Invoices.RequestOptions`
7626
+
7627
+ </dd>
7628
+ </dl>
7629
+ </dd>
7630
+ </dl>
7631
+
7632
+ </dd>
7633
+ </dl>
7634
+ </details>
7635
+
7636
+ ## BillingNew Rates
7637
+
7638
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">addCounterpartiesV1</a>(rateId, { ...params }) -> boolean</code></summary>
7639
+ <dl>
7640
+ <dd>
7641
+
7642
+ #### 📝 Description
7643
+
7644
+ <dl>
7645
+ <dd>
7646
+
7647
+ <dl>
7648
+ <dd>
7649
+
7650
+ Atomically adds counterparties to owner-scoped ground-provider rates without creating duplicates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesAddCounterpartiesReq) -> (bool)
7651
+
7652
+ </dd>
7653
+ </dl>
7654
+ </dd>
7655
+ </dl>
7656
+
7657
+ #### 🔌 Usage
7658
+
7659
+ <dl>
7660
+ <dd>
7661
+
7662
+ <dl>
7663
+ <dd>
7664
+
7665
+ ```typescript
7666
+ await client.billingNew.rates.addCounterpartiesV1("rate_id");
7667
+ ```
7668
+
7669
+ </dd>
7670
+ </dl>
7671
+ </dd>
7672
+ </dl>
7673
+
7674
+ #### ⚙️ Parameters
7675
+
7676
+ <dl>
7677
+ <dd>
7678
+
7679
+ <dl>
7680
+ <dd>
7681
+
7682
+ **rateId:** `string`
7683
+
7684
+ </dd>
7685
+ </dl>
7686
+
7687
+ <dl>
7688
+ <dd>
7689
+
7690
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesAddCounterpartiesReq`
7691
+
7692
+ </dd>
7693
+ </dl>
7694
+
7695
+ <dl>
7696
+ <dd>
7697
+
7698
+ **requestOptions:** `Rates.RequestOptions`
7699
+
7700
+ </dd>
7701
+ </dl>
7702
+ </dd>
7703
+ </dl>
7704
+
7705
+ </dd>
7706
+ </dl>
7707
+ </details>
7708
+
7709
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">removeCounterpartiesV1</a>(rateId, { ...params }) -> boolean</code></summary>
7710
+ <dl>
7711
+ <dd>
7712
+
7713
+ #### 📝 Description
7714
+
7715
+ <dl>
7716
+ <dd>
7717
+
7718
+ <dl>
7719
+ <dd>
7720
+
7721
+ Atomically removes counterparties from owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesRemoveCounterpartiesReq) -> (bool)
7722
+
7723
+ </dd>
7724
+ </dl>
7725
+ </dd>
7726
+ </dl>
7727
+
7728
+ #### 🔌 Usage
7729
+
7730
+ <dl>
7731
+ <dd>
7732
+
7733
+ <dl>
7734
+ <dd>
7735
+
7736
+ ```typescript
7737
+ await client.billingNew.rates.removeCounterpartiesV1("rate_id");
7738
+ ```
7739
+
7740
+ </dd>
7741
+ </dl>
7742
+ </dd>
7743
+ </dl>
7744
+
7745
+ #### ⚙️ Parameters
7746
+
7747
+ <dl>
7748
+ <dd>
7749
+
7750
+ <dl>
7751
+ <dd>
7752
+
7753
+ **rateId:** `string`
7754
+
7755
+ </dd>
7756
+ </dl>
7757
+
7758
+ <dl>
7759
+ <dd>
7760
+
7761
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesRemoveCounterpartiesReq`
7762
+
7763
+ </dd>
7764
+ </dl>
7765
+
7766
+ <dl>
7767
+ <dd>
7768
+
7769
+ **requestOptions:** `Rates.RequestOptions`
7770
+
7771
+ </dd>
7772
+ </dl>
7773
+ </dd>
7774
+ </dl>
7775
+
7776
+ </dd>
7777
+ </dl>
7778
+ </details>
7779
+
7780
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
7781
+ <dl>
7782
+ <dd>
7783
+
7784
+ #### 📝 Description
7785
+
7786
+ <dl>
7787
+ <dd>
7788
+
7789
+ <dl>
7790
+ <dd>
7791
+
7792
+ Creates ground-provider rates owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientCreate1) -> (PydanticObjectId)
7793
+
7794
+ </dd>
7795
+ </dl>
7796
+ </dd>
7797
+ </dl>
7798
+
7799
+ #### 🔌 Usage
7800
+
7801
+ <dl>
7802
+ <dd>
7803
+
7804
+ <dl>
7805
+ <dd>
7806
+
7807
+ ```typescript
7808
+ await client.billingNew.rates.createV1({
7809
+ currency_code: "USD",
7810
+ schema_version: 1,
7811
+ });
7812
+ ```
7813
+
7814
+ </dd>
7815
+ </dl>
7816
+ </dd>
7817
+ </dl>
7818
+
7819
+ #### ⚙️ Parameters
7820
+
7821
+ <dl>
7822
+ <dd>
7823
+
7824
+ <dl>
7825
+ <dd>
7826
+
7827
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesClientCreate1`
7828
+
7829
+ </dd>
7830
+ </dl>
7831
+
7832
+ <dl>
7833
+ <dd>
7834
+
7835
+ **requestOptions:** `Rates.RequestOptions`
7836
+
7837
+ </dd>
7838
+ </dl>
7839
+ </dd>
7840
+ </dl>
7841
+
7842
+ </dd>
7843
+ </dl>
7844
+ </details>
7845
+
7846
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">deleteV1</a>(rateId) -> boolean</code></summary>
7847
+ <dl>
7848
+ <dd>
7849
+
7850
+ #### 📝 Description
7851
+
7852
+ <dl>
7853
+ <dd>
7854
+
7855
+ <dl>
7856
+ <dd>
7857
+
7858
+ Hard-deletes owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
7859
+
7860
+ </dd>
7861
+ </dl>
7862
+ </dd>
7863
+ </dl>
7864
+
7865
+ #### 🔌 Usage
7866
+
7867
+ <dl>
7868
+ <dd>
7869
+
7870
+ <dl>
7871
+ <dd>
7872
+
7873
+ ```typescript
7874
+ await client.billingNew.rates.deleteV1("rate_id");
7875
+ ```
7876
+
7877
+ </dd>
7878
+ </dl>
7879
+ </dd>
7880
+ </dl>
7881
+
7882
+ #### ⚙️ Parameters
7883
+
7884
+ <dl>
7885
+ <dd>
7886
+
7887
+ <dl>
7888
+ <dd>
7889
+
7890
+ **rateId:** `string`
7891
+
7892
+ </dd>
7893
+ </dl>
7894
+
7895
+ <dl>
7896
+ <dd>
7897
+
7898
+ **requestOptions:** `Rates.RequestOptions`
7899
+
7900
+ </dd>
7901
+ </dl>
7902
+ </dd>
7903
+ </dl>
7904
+
7905
+ </dd>
7906
+ </dl>
7907
+ </details>
7908
+
7909
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">listV1</a>({ ...params }) -> Chrt.ChrtGroundProviderRatesListRes</code></summary>
7910
+ <dl>
7911
+ <dd>
7912
+
7913
+ #### 📝 Description
7914
+
7915
+ <dl>
7916
+ <dd>
7917
+
7918
+ <dl>
7919
+ <dd>
7920
+
7921
+ Lists owner-scoped ground-provider rates with counterparty, cargo, vehicle, currency, search, sort, and pagination controls. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ChrtGroundProviderRatesListRes)
7922
+
7923
+ </dd>
7924
+ </dl>
7925
+ </dd>
7926
+ </dl>
7927
+
7928
+ #### 🔌 Usage
7929
+
7930
+ <dl>
7931
+ <dd>
7932
+
7933
+ <dl>
7934
+ <dd>
7935
+
7936
+ ```typescript
7937
+ await client.billingNew.rates.listV1({
7938
+ search: "search",
7939
+ sort_by: "name",
7940
+ sort_order: "asc",
7941
+ page: 1,
7942
+ page_size: 1,
7943
+ filter_counterparty_org_id: "filter_counterparty_org_id",
7944
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
7945
+ filter_counterparty_account_id: "filter_counterparty_account_id",
7946
+ filter_counterparty_driver_id: "filter_counterparty_driver_id",
7947
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
7948
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
7949
+ filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
7950
+ filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z",
7951
+ });
7952
+ ```
7953
+
7954
+ </dd>
7955
+ </dl>
7956
+ </dd>
7957
+ </dl>
7958
+
7959
+ #### ⚙️ Parameters
7960
+
7961
+ <dl>
7962
+ <dd>
7963
+
7964
+ <dl>
7965
+ <dd>
7966
+
7967
+ **request:** `Chrt.billingNew.RatesListV1Request`
7968
+
7969
+ </dd>
7970
+ </dl>
7971
+
7972
+ <dl>
7973
+ <dd>
7974
+
7975
+ **requestOptions:** `Rates.RequestOptions`
7976
+
7977
+ </dd>
7978
+ </dl>
7979
+ </dd>
7980
+ </dl>
7981
+
7982
+ </dd>
7983
+ </dl>
7984
+ </details>
7985
+
7986
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">updateV1</a>(rateId, { ...params }) -> boolean</code></summary>
7987
+ <dl>
7988
+ <dd>
7989
+
7990
+ #### 📝 Description
7991
+
7992
+ <dl>
7993
+ <dd>
7994
+
7995
+ <dl>
7996
+ <dd>
7997
+
7998
+ Updates owner-scoped ground-provider rates and advances the server-managed update timestamp. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientUpdate1) -> (bool)
7999
+
8000
+ </dd>
8001
+ </dl>
8002
+ </dd>
8003
+ </dl>
8004
+
8005
+ #### 🔌 Usage
8006
+
8007
+ <dl>
8008
+ <dd>
8009
+
8010
+ <dl>
8011
+ <dd>
8012
+
8013
+ ```typescript
8014
+ await client.billingNew.rates.updateV1("rate_id");
8015
+ ```
8016
+
8017
+ </dd>
8018
+ </dl>
8019
+ </dd>
8020
+ </dl>
8021
+
8022
+ #### ⚙️ Parameters
8023
+
8024
+ <dl>
8025
+ <dd>
8026
+
8027
+ <dl>
8028
+ <dd>
8029
+
8030
+ **rateId:** `string`
8031
+
8032
+ </dd>
8033
+ </dl>
8034
+
8035
+ <dl>
8036
+ <dd>
8037
+
8038
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesClientUpdate1`
8039
+
8040
+ </dd>
8041
+ </dl>
8042
+
8043
+ <dl>
8044
+ <dd>
8045
+
8046
+ **requestOptions:** `Rates.RequestOptions`
8047
+
8048
+ </dd>
8049
+ </dl>
8050
+ </dd>
8051
+ </dl>
8052
+
8053
+ </dd>
8054
+ </dl>
8055
+ </details>
8056
+
8057
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">getV1</a>(rateId) -> Chrt.ChrtGroundProviderRates1</code></summary>
8058
+ <dl>
8059
+ <dd>
8060
+
8061
+ #### 📝 Description
8062
+
8063
+ <dl>
8064
+ <dd>
8065
+
8066
+ <dl>
8067
+ <dd>
8068
+
8069
+ Retrieves owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ChrtGroundProviderRates1)
8070
+
8071
+ </dd>
8072
+ </dl>
8073
+ </dd>
8074
+ </dl>
8075
+
8076
+ #### 🔌 Usage
8077
+
8078
+ <dl>
8079
+ <dd>
8080
+
8081
+ <dl>
8082
+ <dd>
8083
+
8084
+ ```typescript
8085
+ await client.billingNew.rates.getV1("rate_id");
8086
+ ```
8087
+
8088
+ </dd>
8089
+ </dl>
8090
+ </dd>
8091
+ </dl>
8092
+
8093
+ #### ⚙️ Parameters
8094
+
8095
+ <dl>
8096
+ <dd>
8097
+
8098
+ <dl>
8099
+ <dd>
8100
+
8101
+ **rateId:** `string`
8102
+
8103
+ </dd>
8104
+ </dl>
8105
+
8106
+ <dl>
8107
+ <dd>
8108
+
8109
+ **requestOptions:** `Rates.RequestOptions`
8110
+
8111
+ </dd>
8112
+ </dl>
8113
+ </dd>
8114
+ </dl>
8115
+
8116
+ </dd>
8117
+ </dl>
8118
+ </details>
8119
+
6304
8120
  ## Integrations AirWaybills
6305
8121
 
6306
8122
  <details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">confirmationsV1</a>(taskGroupId) -> Chrt.ChampConfirmationReceipt1[]</code></summary>
@@ -25755,6 +27571,7 @@ await client.shipping.orders.expanded.listForCoordinatorOperatorsV1({
25755
27571
  page_size: 1,
25756
27572
  search: "search",
25757
27573
  filter_awb_number: "filter_awb_number",
27574
+ filter_has_invoice: true,
25758
27575
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25759
27576
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25760
27577
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -25843,6 +27660,7 @@ await client.shipping.orders.expanded.listForExecutorOperatorsV1({
25843
27660
  page_size: 1,
25844
27661
  search: "search",
25845
27662
  filter_awb_number: "filter_awb_number",
27663
+ filter_has_invoice: true,
25846
27664
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25847
27665
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25848
27666
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -25930,6 +27748,7 @@ await client.shipping.orders.expanded.listForProviderOperatorsV1({
25930
27748
  page_size: 1,
25931
27749
  search: "search",
25932
27750
  filter_awb_number: "filter_awb_number",
27751
+ filter_has_invoice: true,
25933
27752
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25934
27753
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25935
27754
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -26019,6 +27838,7 @@ await client.shipping.orders.expanded.listForShipperOperatorsV1({
26019
27838
  page_size: 1,
26020
27839
  search: "search",
26021
27840
  filter_awb_number: "filter_awb_number",
27841
+ filter_has_invoice: true,
26022
27842
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
26023
27843
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
26024
27844
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",