@chrt-inc/typescript-sdk 1.891.0 → 1.892.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 +180 -0
  12. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +639 -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 +180 -0
  175. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +602 -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 +1822 -0
package/reference.md CHANGED
@@ -6301,6 +6301,1824 @@ 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
+ org_id: "org_id",
6472
+ });
6473
+ ```
6474
+
6475
+ </dd>
6476
+ </dl>
6477
+ </dd>
6478
+ </dl>
6479
+
6480
+ #### ⚙️ Parameters
6481
+
6482
+ <dl>
6483
+ <dd>
6484
+
6485
+ <dl>
6486
+ <dd>
6487
+
6488
+ **request:** `Chrt.billingNew.CreateInvoiceLineItemsFromAmountReq`
6489
+
6490
+ </dd>
6491
+ </dl>
6492
+
6493
+ <dl>
6494
+ <dd>
6495
+
6496
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6497
+
6498
+ </dd>
6499
+ </dl>
6500
+ </dd>
6501
+ </dl>
6502
+
6503
+ </dd>
6504
+ </dl>
6505
+ </details>
6506
+
6507
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">createFromLineItemsV1</a>({ ...params }) -> Chrt.CreateInvoiceLineItemsFromLineItemsRes</code></summary>
6508
+ <dl>
6509
+ <dd>
6510
+
6511
+ #### 📝 Description
6512
+
6513
+ <dl>
6514
+ <dd>
6515
+
6516
+ <dl>
6517
+ <dd>
6518
+
6519
+ 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)
6520
+
6521
+ </dd>
6522
+ </dl>
6523
+ </dd>
6524
+ </dl>
6525
+
6526
+ #### 🔌 Usage
6527
+
6528
+ <dl>
6529
+ <dd>
6530
+
6531
+ <dl>
6532
+ <dd>
6533
+
6534
+ ```typescript
6535
+ await client.billingNew.invoiceLineItems.createFromLineItemsV1({
6536
+ description: "description",
6537
+ invoice_line_item_amount_transformation: {
6538
+ transformation_type: "percent",
6539
+ value: 1.1,
6540
+ },
6541
+ invoice_type: "accounts_receivable",
6542
+ line_item_type: "base_rate",
6543
+ org_id: "org_id",
6544
+ source_invoice_line_items: [
6545
+ {
6546
+ _id: "_id",
6547
+ created_at_timestamp: "2024-01-15T09:30:00Z",
6548
+ created_by_user_id: "created_by_user_id",
6549
+ currency_code: "USD",
6550
+ description: "description",
6551
+ invoice_type: "accounts_receivable",
6552
+ last_edited_at_timestamp: "2024-01-15T09:30:00Z",
6553
+ last_edited_by_user_id: "last_edited_by_user_id",
6554
+ line_item_type: "base_rate",
6555
+ owned_by_org_id: "owned_by_org_id",
6556
+ quantity: 1.1,
6557
+ schema_version: 1,
6558
+ unit_price: 1.1,
6559
+ },
6560
+ ],
6561
+ });
6562
+ ```
6563
+
6564
+ </dd>
6565
+ </dl>
6566
+ </dd>
6567
+ </dl>
6568
+
6569
+ #### ⚙️ Parameters
6570
+
6571
+ <dl>
6572
+ <dd>
6573
+
6574
+ <dl>
6575
+ <dd>
6576
+
6577
+ **request:** `Chrt.billingNew.CreateInvoiceLineItemsFromLineItemsReq`
6578
+
6579
+ </dd>
6580
+ </dl>
6581
+
6582
+ <dl>
6583
+ <dd>
6584
+
6585
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6586
+
6587
+ </dd>
6588
+ </dl>
6589
+ </dd>
6590
+ </dl>
6591
+
6592
+ </dd>
6593
+ </dl>
6594
+ </details>
6595
+
6596
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">deleteManyV1</a>({ ...params }) -> Chrt.InvoiceLineItemsDeleteManyRes</code></summary>
6597
+ <dl>
6598
+ <dd>
6599
+
6600
+ #### 📝 Description
6601
+
6602
+ <dl>
6603
+ <dd>
6604
+
6605
+ <dl>
6606
+ <dd>
6607
+
6608
+ Deletes owner-scoped line items and rebuilds every affected draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsDeleteManyReq) -> (InvoiceLineItemsDeleteManyRes)
6609
+
6610
+ </dd>
6611
+ </dl>
6612
+ </dd>
6613
+ </dl>
6614
+
6615
+ #### 🔌 Usage
6616
+
6617
+ <dl>
6618
+ <dd>
6619
+
6620
+ <dl>
6621
+ <dd>
6622
+
6623
+ ```typescript
6624
+ await client.billingNew.invoiceLineItems.deleteManyV1({
6625
+ invoice_line_item_ids: ["invoice_line_item_ids"],
6626
+ });
6627
+ ```
6628
+
6629
+ </dd>
6630
+ </dl>
6631
+ </dd>
6632
+ </dl>
6633
+
6634
+ #### ⚙️ Parameters
6635
+
6636
+ <dl>
6637
+ <dd>
6638
+
6639
+ <dl>
6640
+ <dd>
6641
+
6642
+ **request:** `Chrt.billingNew.InvoiceLineItemsDeleteManyReq`
6643
+
6644
+ </dd>
6645
+ </dl>
6646
+
6647
+ <dl>
6648
+ <dd>
6649
+
6650
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6651
+
6652
+ </dd>
6653
+ </dl>
6654
+ </dd>
6655
+ </dl>
6656
+
6657
+ </dd>
6658
+ </dl>
6659
+ </details>
6660
+
6661
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">listV1</a>({ ...params }) -> Chrt.InvoiceLineItemListRes</code></summary>
6662
+ <dl>
6663
+ <dd>
6664
+
6665
+ #### 📝 Description
6666
+
6667
+ <dl>
6668
+ <dd>
6669
+
6670
+ <dl>
6671
+ <dd>
6672
+
6673
+ Lists owner-scoped invoice line items with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemListRes)
6674
+
6675
+ </dd>
6676
+ </dl>
6677
+ </dd>
6678
+ </dl>
6679
+
6680
+ #### 🔌 Usage
6681
+
6682
+ <dl>
6683
+ <dd>
6684
+
6685
+ <dl>
6686
+ <dd>
6687
+
6688
+ ```typescript
6689
+ await client.billingNew.invoiceLineItems.listV1({
6690
+ sort_by: "created_at_timestamp",
6691
+ sort_order: "asc",
6692
+ page: 1,
6693
+ page_size: 1,
6694
+ filter_counterparty_org_id: "filter_counterparty_org_id",
6695
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
6696
+ filter_counterparty_account_id: "filter_counterparty_account_id",
6697
+ filter_invoice_id: "filter_invoice_id",
6698
+ filter_is_invoiced: true,
6699
+ filter_order_id: "filter_order_id",
6700
+ filter_task_group_id: "filter_task_group_id",
6701
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
6702
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
6703
+ filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
6704
+ filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
6705
+ });
6706
+ ```
6707
+
6708
+ </dd>
6709
+ </dl>
6710
+ </dd>
6711
+ </dl>
6712
+
6713
+ #### ⚙️ Parameters
6714
+
6715
+ <dl>
6716
+ <dd>
6717
+
6718
+ <dl>
6719
+ <dd>
6720
+
6721
+ **request:** `Chrt.billingNew.InvoiceLineItemsListV1Request`
6722
+
6723
+ </dd>
6724
+ </dl>
6725
+
6726
+ <dl>
6727
+ <dd>
6728
+
6729
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6730
+
6731
+ </dd>
6732
+ </dl>
6733
+ </dd>
6734
+ </dl>
6735
+
6736
+ </dd>
6737
+ </dl>
6738
+ </details>
6739
+
6740
+ <details><summary><code>client.billingNew.invoiceLineItems.<a href="/src/api/resources/billingNew/resources/invoiceLineItems/client/Client.ts">updateV1</a>(invoiceLineItemId, { ...params }) -> boolean</code></summary>
6741
+ <dl>
6742
+ <dd>
6743
+
6744
+ #### 📝 Description
6745
+
6746
+ <dl>
6747
+ <dd>
6748
+
6749
+ <dl>
6750
+ <dd>
6751
+
6752
+ Updates an owner-scoped line item and rebuilds its draft invoice when attached. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemClientUpdate1) -> (bool)
6753
+
6754
+ </dd>
6755
+ </dl>
6756
+ </dd>
6757
+ </dl>
6758
+
6759
+ #### 🔌 Usage
6760
+
6761
+ <dl>
6762
+ <dd>
6763
+
6764
+ <dl>
6765
+ <dd>
6766
+
6767
+ ```typescript
6768
+ await client.billingNew.invoiceLineItems.updateV1("invoice_line_item_id");
6769
+ ```
6770
+
6771
+ </dd>
6772
+ </dl>
6773
+ </dd>
6774
+ </dl>
6775
+
6776
+ #### ⚙️ Parameters
6777
+
6778
+ <dl>
6779
+ <dd>
6780
+
6781
+ <dl>
6782
+ <dd>
6783
+
6784
+ **invoiceLineItemId:** `string`
6785
+
6786
+ </dd>
6787
+ </dl>
6788
+
6789
+ <dl>
6790
+ <dd>
6791
+
6792
+ **request:** `Chrt.billingNew.InvoiceLineItemClientUpdate1`
6793
+
6794
+ </dd>
6795
+ </dl>
6796
+
6797
+ <dl>
6798
+ <dd>
6799
+
6800
+ **requestOptions:** `InvoiceLineItems.RequestOptions`
6801
+
6802
+ </dd>
6803
+ </dl>
6804
+ </dd>
6805
+ </dl>
6806
+
6807
+ </dd>
6808
+ </dl>
6809
+ </details>
6810
+
6811
+ ## BillingNew Invoices
6812
+
6813
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">approveV1</a>(invoiceId) -> Chrt.Invoice1</code></summary>
6814
+ <dl>
6815
+ <dd>
6816
+
6817
+ #### 📝 Description
6818
+
6819
+ <dl>
6820
+ <dd>
6821
+
6822
+ <dl>
6823
+ <dd>
6824
+
6825
+ Approves a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
6826
+
6827
+ </dd>
6828
+ </dl>
6829
+ </dd>
6830
+ </dl>
6831
+
6832
+ #### 🔌 Usage
6833
+
6834
+ <dl>
6835
+ <dd>
6836
+
6837
+ <dl>
6838
+ <dd>
6839
+
6840
+ ```typescript
6841
+ await client.billingNew.invoices.approveV1("invoice_id");
6842
+ ```
6843
+
6844
+ </dd>
6845
+ </dl>
6846
+ </dd>
6847
+ </dl>
6848
+
6849
+ #### ⚙️ Parameters
6850
+
6851
+ <dl>
6852
+ <dd>
6853
+
6854
+ <dl>
6855
+ <dd>
6856
+
6857
+ **invoiceId:** `string`
6858
+
6859
+ </dd>
6860
+ </dl>
6861
+
6862
+ <dl>
6863
+ <dd>
6864
+
6865
+ **requestOptions:** `Invoices.RequestOptions`
6866
+
6867
+ </dd>
6868
+ </dl>
6869
+ </dd>
6870
+ </dl>
6871
+
6872
+ </dd>
6873
+ </dl>
6874
+ </details>
6875
+
6876
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
6877
+ <dl>
6878
+ <dd>
6879
+
6880
+ #### 📝 Description
6881
+
6882
+ <dl>
6883
+ <dd>
6884
+
6885
+ <dl>
6886
+ <dd>
6887
+
6888
+ Creates a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientCreate1) -> (PydanticObjectId)
6889
+
6890
+ </dd>
6891
+ </dl>
6892
+ </dd>
6893
+ </dl>
6894
+
6895
+ #### 🔌 Usage
6896
+
6897
+ <dl>
6898
+ <dd>
6899
+
6900
+ <dl>
6901
+ <dd>
6902
+
6903
+ ```typescript
6904
+ await client.billingNew.invoices.createV1({
6905
+ currency_code: "USD",
6906
+ invoice_type: "accounts_receivable",
6907
+ schema_version: 1,
6908
+ });
6909
+ ```
6910
+
6911
+ </dd>
6912
+ </dl>
6913
+ </dd>
6914
+ </dl>
6915
+
6916
+ #### ⚙️ Parameters
6917
+
6918
+ <dl>
6919
+ <dd>
6920
+
6921
+ <dl>
6922
+ <dd>
6923
+
6924
+ **request:** `Chrt.billingNew.InvoiceClientCreate1`
6925
+
6926
+ </dd>
6927
+ </dl>
6928
+
6929
+ <dl>
6930
+ <dd>
6931
+
6932
+ **requestOptions:** `Invoices.RequestOptions`
6933
+
6934
+ </dd>
6935
+ </dl>
6936
+ </dd>
6937
+ </dl>
6938
+
6939
+ </dd>
6940
+ </dl>
6941
+ </details>
6942
+
6943
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">deleteV1</a>(invoiceId) -> boolean</code></summary>
6944
+ <dl>
6945
+ <dd>
6946
+
6947
+ #### 📝 Description
6948
+
6949
+ <dl>
6950
+ <dd>
6951
+
6952
+ <dl>
6953
+ <dd>
6954
+
6955
+ Hard-deletes a draft invoice and detaches its line items. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
6956
+
6957
+ </dd>
6958
+ </dl>
6959
+ </dd>
6960
+ </dl>
6961
+
6962
+ #### 🔌 Usage
6963
+
6964
+ <dl>
6965
+ <dd>
6966
+
6967
+ <dl>
6968
+ <dd>
6969
+
6970
+ ```typescript
6971
+ await client.billingNew.invoices.deleteV1("invoice_id");
6972
+ ```
6973
+
6974
+ </dd>
6975
+ </dl>
6976
+ </dd>
6977
+ </dl>
6978
+
6979
+ #### ⚙️ Parameters
6980
+
6981
+ <dl>
6982
+ <dd>
6983
+
6984
+ <dl>
6985
+ <dd>
6986
+
6987
+ **invoiceId:** `string`
6988
+
6989
+ </dd>
6990
+ </dl>
6991
+
6992
+ <dl>
6993
+ <dd>
6994
+
6995
+ **requestOptions:** `Invoices.RequestOptions`
6996
+
6997
+ </dd>
6998
+ </dl>
6999
+ </dd>
7000
+ </dl>
7001
+
7002
+ </dd>
7003
+ </dl>
7004
+ </details>
7005
+
7006
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">getExpandedV1</a>(invoiceId) -> Chrt.InvoiceExpandedRes</code></summary>
7007
+ <dl>
7008
+ <dd>
7009
+
7010
+ #### 📝 Description
7011
+
7012
+ <dl>
7013
+ <dd>
7014
+
7015
+ <dl>
7016
+ <dd>
7017
+
7018
+ 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)
7019
+
7020
+ </dd>
7021
+ </dl>
7022
+ </dd>
7023
+ </dl>
7024
+
7025
+ #### 🔌 Usage
7026
+
7027
+ <dl>
7028
+ <dd>
7029
+
7030
+ <dl>
7031
+ <dd>
7032
+
7033
+ ```typescript
7034
+ await client.billingNew.invoices.getExpandedV1("invoice_id");
7035
+ ```
7036
+
7037
+ </dd>
7038
+ </dl>
7039
+ </dd>
7040
+ </dl>
7041
+
7042
+ #### ⚙️ Parameters
7043
+
7044
+ <dl>
7045
+ <dd>
7046
+
7047
+ <dl>
7048
+ <dd>
7049
+
7050
+ **invoiceId:** `string`
7051
+
7052
+ </dd>
7053
+ </dl>
7054
+
7055
+ <dl>
7056
+ <dd>
7057
+
7058
+ **requestOptions:** `Invoices.RequestOptions`
7059
+
7060
+ </dd>
7061
+ </dl>
7062
+ </dd>
7063
+ </dl>
7064
+
7065
+ </dd>
7066
+ </dl>
7067
+ </details>
7068
+
7069
+ <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>
7070
+ <dl>
7071
+ <dd>
7072
+
7073
+ #### 📝 Description
7074
+
7075
+ <dl>
7076
+ <dd>
7077
+
7078
+ <dl>
7079
+ <dd>
7080
+
7081
+ 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)
7082
+
7083
+ </dd>
7084
+ </dl>
7085
+ </dd>
7086
+ </dl>
7087
+
7088
+ #### 🔌 Usage
7089
+
7090
+ <dl>
7091
+ <dd>
7092
+
7093
+ <dl>
7094
+ <dd>
7095
+
7096
+ ```typescript
7097
+ await client.billingNew.invoices.addLineItemV1("invoice_id", "invoice_line_item_id");
7098
+ ```
7099
+
7100
+ </dd>
7101
+ </dl>
7102
+ </dd>
7103
+ </dl>
7104
+
7105
+ #### ⚙️ Parameters
7106
+
7107
+ <dl>
7108
+ <dd>
7109
+
7110
+ <dl>
7111
+ <dd>
7112
+
7113
+ **invoiceId:** `string`
7114
+
7115
+ </dd>
7116
+ </dl>
7117
+
7118
+ <dl>
7119
+ <dd>
7120
+
7121
+ **invoiceLineItemId:** `string`
7122
+
7123
+ </dd>
7124
+ </dl>
7125
+
7126
+ <dl>
7127
+ <dd>
7128
+
7129
+ **requestOptions:** `Invoices.RequestOptions`
7130
+
7131
+ </dd>
7132
+ </dl>
7133
+ </dd>
7134
+ </dl>
7135
+
7136
+ </dd>
7137
+ </dl>
7138
+ </details>
7139
+
7140
+ <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>
7141
+ <dl>
7142
+ <dd>
7143
+
7144
+ #### 📝 Description
7145
+
7146
+ <dl>
7147
+ <dd>
7148
+
7149
+ <dl>
7150
+ <dd>
7151
+
7152
+ 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)
7153
+
7154
+ </dd>
7155
+ </dl>
7156
+ </dd>
7157
+ </dl>
7158
+
7159
+ #### 🔌 Usage
7160
+
7161
+ <dl>
7162
+ <dd>
7163
+
7164
+ <dl>
7165
+ <dd>
7166
+
7167
+ ```typescript
7168
+ await client.billingNew.invoices.removeLineItemV1("invoice_id", "invoice_line_item_id");
7169
+ ```
7170
+
7171
+ </dd>
7172
+ </dl>
7173
+ </dd>
7174
+ </dl>
7175
+
7176
+ #### ⚙️ Parameters
7177
+
7178
+ <dl>
7179
+ <dd>
7180
+
7181
+ <dl>
7182
+ <dd>
7183
+
7184
+ **invoiceId:** `string`
7185
+
7186
+ </dd>
7187
+ </dl>
7188
+
7189
+ <dl>
7190
+ <dd>
7191
+
7192
+ **invoiceLineItemId:** `string`
7193
+
7194
+ </dd>
7195
+ </dl>
7196
+
7197
+ <dl>
7198
+ <dd>
7199
+
7200
+ **requestOptions:** `Invoices.RequestOptions`
7201
+
7202
+ </dd>
7203
+ </dl>
7204
+ </dd>
7205
+ </dl>
7206
+
7207
+ </dd>
7208
+ </dl>
7209
+ </details>
7210
+
7211
+ <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>
7212
+ <dl>
7213
+ <dd>
7214
+
7215
+ #### 📝 Description
7216
+
7217
+ <dl>
7218
+ <dd>
7219
+
7220
+ <dl>
7221
+ <dd>
7222
+
7223
+ 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)
7224
+
7225
+ </dd>
7226
+ </dl>
7227
+ </dd>
7228
+ </dl>
7229
+
7230
+ #### 🔌 Usage
7231
+
7232
+ <dl>
7233
+ <dd>
7234
+
7235
+ <dl>
7236
+ <dd>
7237
+
7238
+ ```typescript
7239
+ await client.billingNew.invoices.addLineItemsV1("invoice_id", {
7240
+ invoice_line_item_ids: ["invoice_line_item_ids"],
7241
+ });
7242
+ ```
7243
+
7244
+ </dd>
7245
+ </dl>
7246
+ </dd>
7247
+ </dl>
7248
+
7249
+ #### ⚙️ Parameters
7250
+
7251
+ <dl>
7252
+ <dd>
7253
+
7254
+ <dl>
7255
+ <dd>
7256
+
7257
+ **invoiceId:** `string`
7258
+
7259
+ </dd>
7260
+ </dl>
7261
+
7262
+ <dl>
7263
+ <dd>
7264
+
7265
+ **request:** `Chrt.billingNew.InvoiceLineItemsAddReq`
7266
+
7267
+ </dd>
7268
+ </dl>
7269
+
7270
+ <dl>
7271
+ <dd>
7272
+
7273
+ **requestOptions:** `Invoices.RequestOptions`
7274
+
7275
+ </dd>
7276
+ </dl>
7277
+ </dd>
7278
+ </dl>
7279
+
7280
+ </dd>
7281
+ </dl>
7282
+ </details>
7283
+
7284
+ <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>
7285
+ <dl>
7286
+ <dd>
7287
+
7288
+ #### 📝 Description
7289
+
7290
+ <dl>
7291
+ <dd>
7292
+
7293
+ <dl>
7294
+ <dd>
7295
+
7296
+ Detaches existing line items from a draft invoice and synchronizes derived invoice fields. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsRemoveReq) -> (Invoice1)
7297
+
7298
+ </dd>
7299
+ </dl>
7300
+ </dd>
7301
+ </dl>
7302
+
7303
+ #### 🔌 Usage
7304
+
7305
+ <dl>
7306
+ <dd>
7307
+
7308
+ <dl>
7309
+ <dd>
7310
+
7311
+ ```typescript
7312
+ await client.billingNew.invoices.removeLineItemsV1("invoice_id", {
7313
+ invoice_line_item_ids: ["invoice_line_item_ids"],
7314
+ });
7315
+ ```
7316
+
7317
+ </dd>
7318
+ </dl>
7319
+ </dd>
7320
+ </dl>
7321
+
7322
+ #### ⚙️ Parameters
7323
+
7324
+ <dl>
7325
+ <dd>
7326
+
7327
+ <dl>
7328
+ <dd>
7329
+
7330
+ **invoiceId:** `string`
7331
+
7332
+ </dd>
7333
+ </dl>
7334
+
7335
+ <dl>
7336
+ <dd>
7337
+
7338
+ **request:** `Chrt.billingNew.InvoiceLineItemsRemoveReq`
7339
+
7340
+ </dd>
7341
+ </dl>
7342
+
7343
+ <dl>
7344
+ <dd>
7345
+
7346
+ **requestOptions:** `Invoices.RequestOptions`
7347
+
7348
+ </dd>
7349
+ </dl>
7350
+ </dd>
7351
+ </dl>
7352
+
7353
+ </dd>
7354
+ </dl>
7355
+ </details>
7356
+
7357
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">listV1</a>({ ...params }) -> Chrt.InvoiceListRes</code></summary>
7358
+ <dl>
7359
+ <dd>
7360
+
7361
+ #### 📝 Description
7362
+
7363
+ <dl>
7364
+ <dd>
7365
+
7366
+ <dl>
7367
+ <dd>
7368
+
7369
+ Lists owner-scoped invoices with search, filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceListRes)
7370
+
7371
+ </dd>
7372
+ </dl>
7373
+ </dd>
7374
+ </dl>
7375
+
7376
+ #### 🔌 Usage
7377
+
7378
+ <dl>
7379
+ <dd>
7380
+
7381
+ <dl>
7382
+ <dd>
7383
+
7384
+ ```typescript
7385
+ await client.billingNew.invoices.listV1({
7386
+ search: "search",
7387
+ sort_by: "created_at_timestamp",
7388
+ sort_order: "asc",
7389
+ page: 1,
7390
+ page_size: 1,
7391
+ filter_counterparty_org_id: "filter_counterparty_org_id",
7392
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
7393
+ filter_counterparty_account_id: "filter_counterparty_account_id",
7394
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
7395
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
7396
+ filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
7397
+ filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
7398
+ });
7399
+ ```
7400
+
7401
+ </dd>
7402
+ </dl>
7403
+ </dd>
7404
+ </dl>
7405
+
7406
+ #### ⚙️ Parameters
7407
+
7408
+ <dl>
7409
+ <dd>
7410
+
7411
+ <dl>
7412
+ <dd>
7413
+
7414
+ **request:** `Chrt.billingNew.InvoicesListV1Request`
7415
+
7416
+ </dd>
7417
+ </dl>
7418
+
7419
+ <dl>
7420
+ <dd>
7421
+
7422
+ **requestOptions:** `Invoices.RequestOptions`
7423
+
7424
+ </dd>
7425
+ </dl>
7426
+ </dd>
7427
+ </dl>
7428
+
7429
+ </dd>
7430
+ </dl>
7431
+ </details>
7432
+
7433
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">updateV1</a>(invoiceId, { ...params }) -> boolean</code></summary>
7434
+ <dl>
7435
+ <dd>
7436
+
7437
+ #### 📝 Description
7438
+
7439
+ <dl>
7440
+ <dd>
7441
+
7442
+ <dl>
7443
+ <dd>
7444
+
7445
+ 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)
7446
+
7447
+ </dd>
7448
+ </dl>
7449
+ </dd>
7450
+ </dl>
7451
+
7452
+ #### 🔌 Usage
7453
+
7454
+ <dl>
7455
+ <dd>
7456
+
7457
+ <dl>
7458
+ <dd>
7459
+
7460
+ ```typescript
7461
+ await client.billingNew.invoices.updateV1("invoice_id");
7462
+ ```
7463
+
7464
+ </dd>
7465
+ </dl>
7466
+ </dd>
7467
+ </dl>
7468
+
7469
+ #### ⚙️ Parameters
7470
+
7471
+ <dl>
7472
+ <dd>
7473
+
7474
+ <dl>
7475
+ <dd>
7476
+
7477
+ **invoiceId:** `string`
7478
+
7479
+ </dd>
7480
+ </dl>
7481
+
7482
+ <dl>
7483
+ <dd>
7484
+
7485
+ **request:** `Chrt.billingNew.InvoiceClientUpdate1`
7486
+
7487
+ </dd>
7488
+ </dl>
7489
+
7490
+ <dl>
7491
+ <dd>
7492
+
7493
+ **requestOptions:** `Invoices.RequestOptions`
7494
+
7495
+ </dd>
7496
+ </dl>
7497
+ </dd>
7498
+ </dl>
7499
+
7500
+ </dd>
7501
+ </dl>
7502
+ </details>
7503
+
7504
+ <details><summary><code>client.billingNew.invoices.<a href="/src/api/resources/billingNew/resources/invoices/client/Client.ts">getV1</a>(invoiceId) -> Chrt.Invoice1</code></summary>
7505
+ <dl>
7506
+ <dd>
7507
+
7508
+ #### 📝 Description
7509
+
7510
+ <dl>
7511
+ <dd>
7512
+
7513
+ <dl>
7514
+ <dd>
7515
+
7516
+ Retrieves an invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
7517
+
7518
+ </dd>
7519
+ </dl>
7520
+ </dd>
7521
+ </dl>
7522
+
7523
+ #### 🔌 Usage
7524
+
7525
+ <dl>
7526
+ <dd>
7527
+
7528
+ <dl>
7529
+ <dd>
7530
+
7531
+ ```typescript
7532
+ await client.billingNew.invoices.getV1("invoice_id");
7533
+ ```
7534
+
7535
+ </dd>
7536
+ </dl>
7537
+ </dd>
7538
+ </dl>
7539
+
7540
+ #### ⚙️ Parameters
7541
+
7542
+ <dl>
7543
+ <dd>
7544
+
7545
+ <dl>
7546
+ <dd>
7547
+
7548
+ **invoiceId:** `string`
7549
+
7550
+ </dd>
7551
+ </dl>
7552
+
7553
+ <dl>
7554
+ <dd>
7555
+
7556
+ **requestOptions:** `Invoices.RequestOptions`
7557
+
7558
+ </dd>
7559
+ </dl>
7560
+ </dd>
7561
+ </dl>
7562
+
7563
+ </dd>
7564
+ </dl>
7565
+ </details>
7566
+
7567
+ <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>
7568
+ <dl>
7569
+ <dd>
7570
+
7571
+ #### 📝 Description
7572
+
7573
+ <dl>
7574
+ <dd>
7575
+
7576
+ <dl>
7577
+ <dd>
7578
+
7579
+ Voids a draft or approved invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceVoidReq) -> (Invoice1)
7580
+
7581
+ </dd>
7582
+ </dl>
7583
+ </dd>
7584
+ </dl>
7585
+
7586
+ #### 🔌 Usage
7587
+
7588
+ <dl>
7589
+ <dd>
7590
+
7591
+ <dl>
7592
+ <dd>
7593
+
7594
+ ```typescript
7595
+ await client.billingNew.invoices.voidV1("invoice_id");
7596
+ ```
7597
+
7598
+ </dd>
7599
+ </dl>
7600
+ </dd>
7601
+ </dl>
7602
+
7603
+ #### ⚙️ Parameters
7604
+
7605
+ <dl>
7606
+ <dd>
7607
+
7608
+ <dl>
7609
+ <dd>
7610
+
7611
+ **invoiceId:** `string`
7612
+
7613
+ </dd>
7614
+ </dl>
7615
+
7616
+ <dl>
7617
+ <dd>
7618
+
7619
+ **request:** `Chrt.billingNew.InvoiceVoidReq`
7620
+
7621
+ </dd>
7622
+ </dl>
7623
+
7624
+ <dl>
7625
+ <dd>
7626
+
7627
+ **requestOptions:** `Invoices.RequestOptions`
7628
+
7629
+ </dd>
7630
+ </dl>
7631
+ </dd>
7632
+ </dl>
7633
+
7634
+ </dd>
7635
+ </dl>
7636
+ </details>
7637
+
7638
+ ## BillingNew Rates
7639
+
7640
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">addCounterpartiesV1</a>(rateId, { ...params }) -> boolean</code></summary>
7641
+ <dl>
7642
+ <dd>
7643
+
7644
+ #### 📝 Description
7645
+
7646
+ <dl>
7647
+ <dd>
7648
+
7649
+ <dl>
7650
+ <dd>
7651
+
7652
+ Atomically adds counterparties to owner-scoped ground-provider rates without creating duplicates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesAddCounterpartiesReq) -> (bool)
7653
+
7654
+ </dd>
7655
+ </dl>
7656
+ </dd>
7657
+ </dl>
7658
+
7659
+ #### 🔌 Usage
7660
+
7661
+ <dl>
7662
+ <dd>
7663
+
7664
+ <dl>
7665
+ <dd>
7666
+
7667
+ ```typescript
7668
+ await client.billingNew.rates.addCounterpartiesV1("rate_id");
7669
+ ```
7670
+
7671
+ </dd>
7672
+ </dl>
7673
+ </dd>
7674
+ </dl>
7675
+
7676
+ #### ⚙️ Parameters
7677
+
7678
+ <dl>
7679
+ <dd>
7680
+
7681
+ <dl>
7682
+ <dd>
7683
+
7684
+ **rateId:** `string`
7685
+
7686
+ </dd>
7687
+ </dl>
7688
+
7689
+ <dl>
7690
+ <dd>
7691
+
7692
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesAddCounterpartiesReq`
7693
+
7694
+ </dd>
7695
+ </dl>
7696
+
7697
+ <dl>
7698
+ <dd>
7699
+
7700
+ **requestOptions:** `Rates.RequestOptions`
7701
+
7702
+ </dd>
7703
+ </dl>
7704
+ </dd>
7705
+ </dl>
7706
+
7707
+ </dd>
7708
+ </dl>
7709
+ </details>
7710
+
7711
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">removeCounterpartiesV1</a>(rateId, { ...params }) -> boolean</code></summary>
7712
+ <dl>
7713
+ <dd>
7714
+
7715
+ #### 📝 Description
7716
+
7717
+ <dl>
7718
+ <dd>
7719
+
7720
+ <dl>
7721
+ <dd>
7722
+
7723
+ Atomically removes counterparties from owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesRemoveCounterpartiesReq) -> (bool)
7724
+
7725
+ </dd>
7726
+ </dl>
7727
+ </dd>
7728
+ </dl>
7729
+
7730
+ #### 🔌 Usage
7731
+
7732
+ <dl>
7733
+ <dd>
7734
+
7735
+ <dl>
7736
+ <dd>
7737
+
7738
+ ```typescript
7739
+ await client.billingNew.rates.removeCounterpartiesV1("rate_id");
7740
+ ```
7741
+
7742
+ </dd>
7743
+ </dl>
7744
+ </dd>
7745
+ </dl>
7746
+
7747
+ #### ⚙️ Parameters
7748
+
7749
+ <dl>
7750
+ <dd>
7751
+
7752
+ <dl>
7753
+ <dd>
7754
+
7755
+ **rateId:** `string`
7756
+
7757
+ </dd>
7758
+ </dl>
7759
+
7760
+ <dl>
7761
+ <dd>
7762
+
7763
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesRemoveCounterpartiesReq`
7764
+
7765
+ </dd>
7766
+ </dl>
7767
+
7768
+ <dl>
7769
+ <dd>
7770
+
7771
+ **requestOptions:** `Rates.RequestOptions`
7772
+
7773
+ </dd>
7774
+ </dl>
7775
+ </dd>
7776
+ </dl>
7777
+
7778
+ </dd>
7779
+ </dl>
7780
+ </details>
7781
+
7782
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
7783
+ <dl>
7784
+ <dd>
7785
+
7786
+ #### 📝 Description
7787
+
7788
+ <dl>
7789
+ <dd>
7790
+
7791
+ <dl>
7792
+ <dd>
7793
+
7794
+ Creates ground-provider rates owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientCreate1) -> (PydanticObjectId)
7795
+
7796
+ </dd>
7797
+ </dl>
7798
+ </dd>
7799
+ </dl>
7800
+
7801
+ #### 🔌 Usage
7802
+
7803
+ <dl>
7804
+ <dd>
7805
+
7806
+ <dl>
7807
+ <dd>
7808
+
7809
+ ```typescript
7810
+ await client.billingNew.rates.createV1({
7811
+ currency_code: "USD",
7812
+ schema_version: 1,
7813
+ });
7814
+ ```
7815
+
7816
+ </dd>
7817
+ </dl>
7818
+ </dd>
7819
+ </dl>
7820
+
7821
+ #### ⚙️ Parameters
7822
+
7823
+ <dl>
7824
+ <dd>
7825
+
7826
+ <dl>
7827
+ <dd>
7828
+
7829
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesClientCreate1`
7830
+
7831
+ </dd>
7832
+ </dl>
7833
+
7834
+ <dl>
7835
+ <dd>
7836
+
7837
+ **requestOptions:** `Rates.RequestOptions`
7838
+
7839
+ </dd>
7840
+ </dl>
7841
+ </dd>
7842
+ </dl>
7843
+
7844
+ </dd>
7845
+ </dl>
7846
+ </details>
7847
+
7848
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">deleteV1</a>(rateId) -> boolean</code></summary>
7849
+ <dl>
7850
+ <dd>
7851
+
7852
+ #### 📝 Description
7853
+
7854
+ <dl>
7855
+ <dd>
7856
+
7857
+ <dl>
7858
+ <dd>
7859
+
7860
+ Hard-deletes owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
7861
+
7862
+ </dd>
7863
+ </dl>
7864
+ </dd>
7865
+ </dl>
7866
+
7867
+ #### 🔌 Usage
7868
+
7869
+ <dl>
7870
+ <dd>
7871
+
7872
+ <dl>
7873
+ <dd>
7874
+
7875
+ ```typescript
7876
+ await client.billingNew.rates.deleteV1("rate_id");
7877
+ ```
7878
+
7879
+ </dd>
7880
+ </dl>
7881
+ </dd>
7882
+ </dl>
7883
+
7884
+ #### ⚙️ Parameters
7885
+
7886
+ <dl>
7887
+ <dd>
7888
+
7889
+ <dl>
7890
+ <dd>
7891
+
7892
+ **rateId:** `string`
7893
+
7894
+ </dd>
7895
+ </dl>
7896
+
7897
+ <dl>
7898
+ <dd>
7899
+
7900
+ **requestOptions:** `Rates.RequestOptions`
7901
+
7902
+ </dd>
7903
+ </dl>
7904
+ </dd>
7905
+ </dl>
7906
+
7907
+ </dd>
7908
+ </dl>
7909
+ </details>
7910
+
7911
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">listV1</a>({ ...params }) -> Chrt.ChrtGroundProviderRatesListRes</code></summary>
7912
+ <dl>
7913
+ <dd>
7914
+
7915
+ #### 📝 Description
7916
+
7917
+ <dl>
7918
+ <dd>
7919
+
7920
+ <dl>
7921
+ <dd>
7922
+
7923
+ 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)
7924
+
7925
+ </dd>
7926
+ </dl>
7927
+ </dd>
7928
+ </dl>
7929
+
7930
+ #### 🔌 Usage
7931
+
7932
+ <dl>
7933
+ <dd>
7934
+
7935
+ <dl>
7936
+ <dd>
7937
+
7938
+ ```typescript
7939
+ await client.billingNew.rates.listV1({
7940
+ search: "search",
7941
+ sort_by: "name",
7942
+ sort_order: "asc",
7943
+ page: 1,
7944
+ page_size: 1,
7945
+ filter_counterparty_org_id: "filter_counterparty_org_id",
7946
+ filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
7947
+ filter_counterparty_account_id: "filter_counterparty_account_id",
7948
+ filter_counterparty_driver_id: "filter_counterparty_driver_id",
7949
+ filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
7950
+ filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
7951
+ filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
7952
+ filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z",
7953
+ });
7954
+ ```
7955
+
7956
+ </dd>
7957
+ </dl>
7958
+ </dd>
7959
+ </dl>
7960
+
7961
+ #### ⚙️ Parameters
7962
+
7963
+ <dl>
7964
+ <dd>
7965
+
7966
+ <dl>
7967
+ <dd>
7968
+
7969
+ **request:** `Chrt.billingNew.RatesListV1Request`
7970
+
7971
+ </dd>
7972
+ </dl>
7973
+
7974
+ <dl>
7975
+ <dd>
7976
+
7977
+ **requestOptions:** `Rates.RequestOptions`
7978
+
7979
+ </dd>
7980
+ </dl>
7981
+ </dd>
7982
+ </dl>
7983
+
7984
+ </dd>
7985
+ </dl>
7986
+ </details>
7987
+
7988
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">updateV1</a>(rateId, { ...params }) -> boolean</code></summary>
7989
+ <dl>
7990
+ <dd>
7991
+
7992
+ #### 📝 Description
7993
+
7994
+ <dl>
7995
+ <dd>
7996
+
7997
+ <dl>
7998
+ <dd>
7999
+
8000
+ Updates owner-scoped ground-provider rates and advances the server-managed update timestamp. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientUpdate1) -> (bool)
8001
+
8002
+ </dd>
8003
+ </dl>
8004
+ </dd>
8005
+ </dl>
8006
+
8007
+ #### 🔌 Usage
8008
+
8009
+ <dl>
8010
+ <dd>
8011
+
8012
+ <dl>
8013
+ <dd>
8014
+
8015
+ ```typescript
8016
+ await client.billingNew.rates.updateV1("rate_id");
8017
+ ```
8018
+
8019
+ </dd>
8020
+ </dl>
8021
+ </dd>
8022
+ </dl>
8023
+
8024
+ #### ⚙️ Parameters
8025
+
8026
+ <dl>
8027
+ <dd>
8028
+
8029
+ <dl>
8030
+ <dd>
8031
+
8032
+ **rateId:** `string`
8033
+
8034
+ </dd>
8035
+ </dl>
8036
+
8037
+ <dl>
8038
+ <dd>
8039
+
8040
+ **request:** `Chrt.billingNew.ChrtGroundProviderRatesClientUpdate1`
8041
+
8042
+ </dd>
8043
+ </dl>
8044
+
8045
+ <dl>
8046
+ <dd>
8047
+
8048
+ **requestOptions:** `Rates.RequestOptions`
8049
+
8050
+ </dd>
8051
+ </dl>
8052
+ </dd>
8053
+ </dl>
8054
+
8055
+ </dd>
8056
+ </dl>
8057
+ </details>
8058
+
8059
+ <details><summary><code>client.billingNew.rates.<a href="/src/api/resources/billingNew/resources/rates/client/Client.ts">getV1</a>(rateId) -> Chrt.ChrtGroundProviderRates1</code></summary>
8060
+ <dl>
8061
+ <dd>
8062
+
8063
+ #### 📝 Description
8064
+
8065
+ <dl>
8066
+ <dd>
8067
+
8068
+ <dl>
8069
+ <dd>
8070
+
8071
+ Retrieves owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ChrtGroundProviderRates1)
8072
+
8073
+ </dd>
8074
+ </dl>
8075
+ </dd>
8076
+ </dl>
8077
+
8078
+ #### 🔌 Usage
8079
+
8080
+ <dl>
8081
+ <dd>
8082
+
8083
+ <dl>
8084
+ <dd>
8085
+
8086
+ ```typescript
8087
+ await client.billingNew.rates.getV1("rate_id");
8088
+ ```
8089
+
8090
+ </dd>
8091
+ </dl>
8092
+ </dd>
8093
+ </dl>
8094
+
8095
+ #### ⚙️ Parameters
8096
+
8097
+ <dl>
8098
+ <dd>
8099
+
8100
+ <dl>
8101
+ <dd>
8102
+
8103
+ **rateId:** `string`
8104
+
8105
+ </dd>
8106
+ </dl>
8107
+
8108
+ <dl>
8109
+ <dd>
8110
+
8111
+ **requestOptions:** `Rates.RequestOptions`
8112
+
8113
+ </dd>
8114
+ </dl>
8115
+ </dd>
8116
+ </dl>
8117
+
8118
+ </dd>
8119
+ </dl>
8120
+ </details>
8121
+
6304
8122
  ## Integrations AirWaybills
6305
8123
 
6306
8124
  <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 +27573,7 @@ await client.shipping.orders.expanded.listForCoordinatorOperatorsV1({
25755
27573
  page_size: 1,
25756
27574
  search: "search",
25757
27575
  filter_awb_number: "filter_awb_number",
27576
+ filter_has_invoice: true,
25758
27577
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25759
27578
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25760
27579
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -25843,6 +27662,7 @@ await client.shipping.orders.expanded.listForExecutorOperatorsV1({
25843
27662
  page_size: 1,
25844
27663
  search: "search",
25845
27664
  filter_awb_number: "filter_awb_number",
27665
+ filter_has_invoice: true,
25846
27666
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25847
27667
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25848
27668
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -25930,6 +27750,7 @@ await client.shipping.orders.expanded.listForProviderOperatorsV1({
25930
27750
  page_size: 1,
25931
27751
  search: "search",
25932
27752
  filter_awb_number: "filter_awb_number",
27753
+ filter_has_invoice: true,
25933
27754
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
25934
27755
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
25935
27756
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -26019,6 +27840,7 @@ await client.shipping.orders.expanded.listForShipperOperatorsV1({
26019
27840
  page_size: 1,
26020
27841
  search: "search",
26021
27842
  filter_awb_number: "filter_awb_number",
27843
+ filter_has_invoice: true,
26022
27844
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
26023
27845
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
26024
27846
  filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",