@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
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ChrtGroundProviderRatesRemoveCounterpartiesReq {
9
+ counterparty_account_ids?: string[];
10
+ counterparty_driver_ids?: string[];
11
+ counterparty_off_chrt_org_data_ids?: string[];
12
+ counterparty_org_ids?: string[];
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,54 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * search: "search",
9
+ * sort_by: "name",
10
+ * sort_order: "asc",
11
+ * page: 1,
12
+ * page_size: 1,
13
+ * filter_counterparty_org_id: "filter_counterparty_org_id",
14
+ * filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
15
+ * filter_counterparty_account_id: "filter_counterparty_account_id",
16
+ * filter_counterparty_driver_id: "filter_counterparty_driver_id",
17
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
18
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
19
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
20
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
21
+ * }
22
+ */
23
+ export interface RatesListV1Request {
24
+ /** Search rate names and comments. */
25
+ search?: string | null;
26
+ /** Field to sort by. */
27
+ sort_by?: Chrt.ChrtGroundProviderRatesSortByEnum | null;
28
+ /** Sort order. */
29
+ sort_order?: Chrt.SortOrderEnum | null;
30
+ page?: number | null;
31
+ page_size?: number | null;
32
+ /** Filter by one or more currency codes. */
33
+ filter_currency_codes?: (Chrt.BillingCurrencyCodeEnum1 | null) | (Chrt.BillingCurrencyCodeEnum1 | null)[];
34
+ /** Filter by an associated on-CHRT organization. */
35
+ filter_counterparty_org_id?: string | null;
36
+ /** Filter by associated off-CHRT organization data. */
37
+ filter_counterparty_off_chrt_org_data_id?: string | null;
38
+ /** Filter by an associated account. */
39
+ filter_counterparty_account_id?: string | null;
40
+ /** Filter by an associated driver. */
41
+ filter_counterparty_driver_id?: string | null;
42
+ /** Filter by one or more cargo types. */
43
+ filter_cargo_types?: (Chrt.CargoTypeEnum1 | null) | (Chrt.CargoTypeEnum1 | null)[];
44
+ /** Filter by one or more vehicle types. */
45
+ filter_vehicle_types?: (Chrt.VehicleTypeEnum | null) | (Chrt.VehicleTypeEnum | null)[];
46
+ /** Filter by created_at_timestamp greater than or equal. */
47
+ filter_created_at_timestamp_gte?: string | null;
48
+ /** Filter by created_at_timestamp less than or equal. */
49
+ filter_created_at_timestamp_lte?: string | null;
50
+ /** Filter by updated_at_timestamp greater than or equal. */
51
+ filter_updated_at_timestamp_gte?: string | null;
52
+ /** Filter by updated_at_timestamp less than or equal. */
53
+ filter_updated_at_timestamp_lte?: string | null;
54
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export { type ChrtGroundProviderRatesAddCounterpartiesReq } from "./ChrtGroundProviderRatesAddCounterpartiesReq.mjs";
2
+ export { type ChrtGroundProviderRatesRemoveCounterpartiesReq } from "./ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs";
3
+ export { type ChrtGroundProviderRatesClientCreate1 } from "./ChrtGroundProviderRatesClientCreate1.mjs";
4
+ export { type RatesListV1Request } from "./RatesListV1Request.mjs";
5
+ export { type ChrtGroundProviderRatesClientUpdate1 } from "./ChrtGroundProviderRatesClientUpdate1.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -4,6 +4,7 @@ export * as flights from "./flights/index.mjs";
4
4
  export * as utils from "./utils/index.mjs";
5
5
  export * as analytics from "./analytics/index.mjs";
6
6
  export * as billing from "./billing/index.mjs";
7
+ export * as billingNew from "./billingNew/index.mjs";
7
8
  export * as integrations from "./integrations/index.mjs";
8
9
  export * as listing from "./listing/index.mjs";
9
10
  export * as notifications from "./notifications/index.mjs";
@@ -4,6 +4,7 @@ export * as flights from "./flights/index.mjs";
4
4
  export * as utils from "./utils/index.mjs";
5
5
  export * as analytics from "./analytics/index.mjs";
6
6
  export * as billing from "./billing/index.mjs";
7
+ export * as billingNew from "./billingNew/index.mjs";
7
8
  export * as integrations from "./integrations/index.mjs";
8
9
  export * as listing from "./listing/index.mjs";
9
10
  export * as notifications from "./notifications/index.mjs";
@@ -102,6 +102,7 @@ export declare class Expanded {
102
102
  * page_size: 1,
103
103
  * search: "search",
104
104
  * filter_awb_number: "filter_awb_number",
105
+ * filter_has_invoice: true,
105
106
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
106
107
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
107
108
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -140,6 +141,7 @@ export declare class Expanded {
140
141
  * page_size: 1,
141
142
  * search: "search",
142
143
  * filter_awb_number: "filter_awb_number",
144
+ * filter_has_invoice: true,
143
145
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
144
146
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
145
147
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -177,6 +179,7 @@ export declare class Expanded {
177
179
  * page_size: 1,
178
180
  * search: "search",
179
181
  * filter_awb_number: "filter_awb_number",
182
+ * filter_has_invoice: true,
180
183
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
181
184
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
182
185
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -216,6 +219,7 @@ export declare class Expanded {
216
219
  * page_size: 1,
217
220
  * search: "search",
218
221
  * filter_awb_number: "filter_awb_number",
222
+ * filter_has_invoice: true,
219
223
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
220
224
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
221
225
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -287,6 +287,7 @@ export class Expanded {
287
287
  * page_size: 1,
288
288
  * search: "search",
289
289
  * filter_awb_number: "filter_awb_number",
290
+ * filter_has_invoice: true,
290
291
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
291
292
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
292
293
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -312,8 +313,8 @@ export class Expanded {
312
313
  }
313
314
  __listForCoordinatorOperatorsV1(request, requestOptions) {
314
315
  return __awaiter(this, void 0, void 0, function* () {
315
- var _a, _b, _c, _d, _e, _f;
316
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
316
+ var _a, _b, _c, _d, _e, _f, _g;
317
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
317
318
  const _queryParams = {};
318
319
  if (sortBy !== undefined) {
319
320
  _queryParams["sort_by"] = sortBy;
@@ -351,6 +352,9 @@ export class Expanded {
351
352
  if (filterAwbNumber !== undefined) {
352
353
  _queryParams["filter_awb_number"] = filterAwbNumber;
353
354
  }
355
+ if (filterHasInvoice !== undefined) {
356
+ _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
357
+ }
354
358
  if (filterDraftStartedAtTimestampLte !== undefined) {
355
359
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
356
360
  }
@@ -418,9 +422,9 @@ export class Expanded {
418
422
  if (filterCoordinatorLabel !== undefined) {
419
423
  _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
420
424
  }
421
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
422
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
423
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
425
+ let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
426
+ const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
427
+ url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
424
428
  method: "POST",
425
429
  headers: _headers,
426
430
  contentType: "application/json",
@@ -482,6 +486,7 @@ export class Expanded {
482
486
  * page_size: 1,
483
487
  * search: "search",
484
488
  * filter_awb_number: "filter_awb_number",
489
+ * filter_has_invoice: true,
485
490
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
486
491
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
487
492
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -505,8 +510,8 @@ export class Expanded {
505
510
  }
506
511
  __listForExecutorOperatorsV1(request, requestOptions) {
507
512
  return __awaiter(this, void 0, void 0, function* () {
508
- var _a, _b, _c, _d, _e, _f;
509
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
513
+ var _a, _b, _c, _d, _e, _f, _g;
514
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
510
515
  const _queryParams = {};
511
516
  if (sortBy !== undefined) {
512
517
  _queryParams["sort_by"] = sortBy;
@@ -544,6 +549,9 @@ export class Expanded {
544
549
  if (filterAwbNumber !== undefined) {
545
550
  _queryParams["filter_awb_number"] = filterAwbNumber;
546
551
  }
552
+ if (filterHasInvoice !== undefined) {
553
+ _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
554
+ }
547
555
  if (filterDraftStartedAtTimestampLte !== undefined) {
548
556
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
549
557
  }
@@ -589,9 +597,9 @@ export class Expanded {
589
597
  if (filterOffChrtShipperOrgDataId !== undefined) {
590
598
  _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
591
599
  }
592
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
593
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
594
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_executor_operators/v1"),
600
+ let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
601
+ const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
602
+ url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_executor_operators/v1"),
595
603
  method: "POST",
596
604
  headers: _headers,
597
605
  contentType: "application/json",
@@ -654,6 +662,7 @@ export class Expanded {
654
662
  * page_size: 1,
655
663
  * search: "search",
656
664
  * filter_awb_number: "filter_awb_number",
665
+ * filter_has_invoice: true,
657
666
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
658
667
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
659
668
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -680,8 +689,8 @@ export class Expanded {
680
689
  }
681
690
  __listForProviderOperatorsV1(request, requestOptions) {
682
691
  return __awaiter(this, void 0, void 0, function* () {
683
- var _a, _b, _c, _d, _e, _f;
684
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
692
+ var _a, _b, _c, _d, _e, _f, _g;
693
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
685
694
  const _queryParams = {};
686
695
  if (providerRole !== undefined) {
687
696
  _queryParams["provider_role"] = providerRole;
@@ -722,6 +731,9 @@ export class Expanded {
722
731
  if (filterAwbNumber !== undefined) {
723
732
  _queryParams["filter_awb_number"] = filterAwbNumber;
724
733
  }
734
+ if (filterHasInvoice !== undefined) {
735
+ _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
736
+ }
725
737
  if (filterDraftStartedAtTimestampLte !== undefined) {
726
738
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
727
739
  }
@@ -792,9 +804,9 @@ export class Expanded {
792
804
  if (filterCoordinatorLabel !== undefined) {
793
805
  _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
794
806
  }
795
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
796
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
797
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_provider_operators/v1"),
807
+ let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
808
+ const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
809
+ url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_provider_operators/v1"),
798
810
  method: "POST",
799
811
  headers: _headers,
800
812
  contentType: "application/json",
@@ -856,6 +868,7 @@ export class Expanded {
856
868
  * page_size: 1,
857
869
  * search: "search",
858
870
  * filter_awb_number: "filter_awb_number",
871
+ * filter_has_invoice: true,
859
872
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
860
873
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
861
874
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -878,8 +891,8 @@ export class Expanded {
878
891
  }
879
892
  __listForShipperOperatorsV1(request, requestOptions) {
880
893
  return __awaiter(this, void 0, void 0, function* () {
881
- var _a, _b, _c, _d, _e, _f;
882
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
894
+ var _a, _b, _c, _d, _e, _f, _g;
895
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
883
896
  const _queryParams = {};
884
897
  if (sortBy !== undefined) {
885
898
  _queryParams["sort_by"] = sortBy;
@@ -917,6 +930,9 @@ export class Expanded {
917
930
  if (filterAwbNumber !== undefined) {
918
931
  _queryParams["filter_awb_number"] = filterAwbNumber;
919
932
  }
933
+ if (filterHasInvoice !== undefined) {
934
+ _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
935
+ }
920
936
  if (filterDraftStartedAtTimestampLte !== undefined) {
921
937
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
922
938
  }
@@ -959,9 +975,9 @@ export class Expanded {
959
975
  if (filterCoordinatorOrgId !== undefined) {
960
976
  _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
961
977
  }
962
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
963
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
964
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_shipper_operators/v1"),
978
+ let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
979
+ const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
980
+ url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_shipper_operators/v1"),
965
981
  method: "POST",
966
982
  headers: _headers,
967
983
  contentType: "application/json",
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
11
11
  * page_size: 1,
12
12
  * search: "search",
13
13
  * filter_awb_number: "filter_awb_number",
14
+ * filter_has_invoice: true,
14
15
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
16
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
17
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -44,6 +45,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
44
45
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
45
46
  /** Filter by exact AWB number */
46
47
  filter_awb_number?: string | null;
48
+ /** Filter by whether the order has any invoice */
49
+ filter_has_invoice?: boolean | null;
47
50
  filter_draft_started_at_timestamp_lte?: string | null;
48
51
  filter_draft_started_at_timestamp_gte?: string | null;
49
52
  filter_staged_at_timestamp_lte?: string | null;
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
11
11
  * page_size: 1,
12
12
  * search: "search",
13
13
  * filter_awb_number: "filter_awb_number",
14
+ * filter_has_invoice: true,
14
15
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
16
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
17
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -42,6 +43,8 @@ export interface ExpandedListForExecutorOperatorsV1Request {
42
43
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
43
44
  /** Filter by exact AWB number */
44
45
  filter_awb_number?: string | null;
46
+ /** Filter by whether the order has any invoice */
47
+ filter_has_invoice?: boolean | null;
45
48
  filter_draft_started_at_timestamp_lte?: string | null;
46
49
  filter_draft_started_at_timestamp_gte?: string | null;
47
50
  filter_staged_at_timestamp_lte?: string | null;
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
12
12
  * page_size: 1,
13
13
  * search: "search",
14
14
  * filter_awb_number: "filter_awb_number",
15
+ * filter_has_invoice: true,
15
16
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
16
17
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
17
18
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -47,6 +48,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
47
48
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
48
49
  /** Filter by exact AWB number */
49
50
  filter_awb_number?: string | null;
51
+ /** Filter by whether the order has any invoice */
52
+ filter_has_invoice?: boolean | null;
50
53
  filter_draft_started_at_timestamp_lte?: string | null;
51
54
  filter_draft_started_at_timestamp_gte?: string | null;
52
55
  filter_staged_at_timestamp_lte?: string | null;
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
11
11
  * page_size: 1,
12
12
  * search: "search",
13
13
  * filter_awb_number: "filter_awb_number",
14
+ * filter_has_invoice: true,
14
15
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
16
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
17
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -41,6 +42,8 @@ export interface ExpandedListForShipperOperatorsV1Request {
41
42
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
42
43
  /** Filter by exact AWB number */
43
44
  filter_awb_number?: string | null;
45
+ /** Filter by whether the order has any invoice */
46
+ filter_has_invoice?: boolean | null;
44
47
  filter_draft_started_at_timestamp_lte?: string | null;
45
48
  filter_draft_started_at_timestamp_gte?: string | null;
46
49
  filter_staged_at_timestamp_lte?: string | null;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AdditionalMileageRate1 {
5
+ ends_at_total_distance_miles: number;
6
+ rate_per_mile: number;
7
+ sage_item_id?: string | null;
8
+ starts_at_total_distance_miles: number;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AfterHoursRate1 {
5
+ rate_per_instance: number;
6
+ sage_item_id?: string | null;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ApplyChrtGroundProviderRatesRes {
5
+ created_invoice_line_item_count: number;
6
+ invoice_id: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AttemptRate1 {
5
+ rate_per_instance: number;
6
+ sage_item_id?: string | null;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface BaseMileageRate1 {
5
+ included_distance_miles: number;
6
+ rate_per_instance: number;
7
+ sage_item_id?: string | null;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR" | "XXX";
5
+ export declare const BillingCurrencyCodeEnum1: {
6
+ readonly Usd: "USD";
7
+ readonly Cad: "CAD";
8
+ readonly Eur: "EUR";
9
+ readonly Gbp: "GBP";
10
+ readonly Mxn: "MXN";
11
+ readonly Aud: "AUD";
12
+ readonly Jpy: "JPY";
13
+ readonly Cny: "CNY";
14
+ readonly Chf: "CHF";
15
+ readonly Inr: "INR";
16
+ readonly Xxx: "XXX";
17
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const BillingCurrencyCodeEnum1 = {
5
+ Usd: "USD",
6
+ Cad: "CAD",
7
+ Eur: "EUR",
8
+ Gbp: "GBP",
9
+ Mxn: "MXN",
10
+ Aud: "AUD",
11
+ Jpy: "JPY",
12
+ Cny: "CNY",
13
+ Chf: "CHF",
14
+ Inr: "INR",
15
+ Xxx: "XXX",
16
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CargoTypeEnum1 = "spare_parts" | "blood" | "lab_specimen" | "organ" | "tissue" | "manufacturing_equipment" | "aircraft_parts" | "medical_devices" | "medical_supplies" | "pharmaceuticals" | "documents" | "electronics" | "clothing" | "chemicals" | "hazardous_materials" | "perishable" | "frozen" | "other" | "unspecified";
4
+ export type CargoTypeEnum1 = "spare_parts" | "blood" | "lab_specimen" | "organ" | "tissue" | "manufacturing_equipment" | "aircraft_parts" | "medical_devices" | "medical_supplies" | "pharmaceuticals" | "documents" | "electronics" | "clothing" | "chemicals" | "hazardous_materials" | "perishable" | "frozen" | "live_animals" | "rodents" | "fish" | "birds" | "reptiles" | "mammals" | "crickets" | "other" | "unspecified";
5
5
  export declare const CargoTypeEnum1: {
6
6
  readonly SpareParts: "spare_parts";
7
7
  readonly Blood: "blood";
@@ -20,6 +20,13 @@ export declare const CargoTypeEnum1: {
20
20
  readonly HazardousMaterials: "hazardous_materials";
21
21
  readonly Perishable: "perishable";
22
22
  readonly Frozen: "frozen";
23
+ readonly LiveAnimals: "live_animals";
24
+ readonly Rodents: "rodents";
25
+ readonly Fish: "fish";
26
+ readonly Birds: "birds";
27
+ readonly Reptiles: "reptiles";
28
+ readonly Mammals: "mammals";
29
+ readonly Crickets: "crickets";
23
30
  readonly Other: "other";
24
31
  readonly Unspecified: "unspecified";
25
32
  };
@@ -19,6 +19,13 @@ export const CargoTypeEnum1 = {
19
19
  HazardousMaterials: "hazardous_materials",
20
20
  Perishable: "perishable",
21
21
  Frozen: "frozen",
22
+ LiveAnimals: "live_animals",
23
+ Rodents: "rodents",
24
+ Fish: "fish",
25
+ Birds: "birds",
26
+ Reptiles: "reptiles",
27
+ Mammals: "mammals",
28
+ Crickets: "crickets",
22
29
  Other: "other",
23
30
  Unspecified: "unspecified",
24
31
  };
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface ChrtGroundProviderRates1 {
6
+ _id: string;
7
+ additional_mileage?: Chrt.AdditionalMileageRate1 | null;
8
+ after_hours?: Chrt.AfterHoursRate1 | null;
9
+ archived?: boolean;
10
+ attempt?: Chrt.AttemptRate1 | null;
11
+ base_mileage?: Chrt.BaseMileageRate1 | null;
12
+ cargo_types?: Chrt.CargoTypeEnum1[];
13
+ comments?: string | null;
14
+ counterparty_account_ids?: string[];
15
+ counterparty_driver_ids?: string[];
16
+ counterparty_off_chrt_org_data_ids?: string[];
17
+ counterparty_org_ids?: string[];
18
+ created_at_timestamp: string;
19
+ currency_code: Chrt.BillingCurrencyCodeEnum1;
20
+ dangerous_goods?: Chrt.DangerousGoodsRate1 | null;
21
+ extra_stop?: Chrt.ExtraStopRate1 | null;
22
+ flat_fee?: Chrt.FlatFeeRate1 | null;
23
+ fuel_surcharge?: Chrt.FuelSurchargeRate1 | null;
24
+ holiday?: Chrt.HolidayRate1 | null;
25
+ long_distance_surcharge?: Chrt.LongDistanceSurchargeRate1 | null;
26
+ name?: string | null;
27
+ /** Must be a string starting with `org_` */
28
+ owned_by_org_id: string;
29
+ pick_and_hold?: Chrt.PickAndHoldRate1 | null;
30
+ schema_version: number;
31
+ updated_at_timestamp: string;
32
+ vehicle_types?: Chrt.VehicleTypeEnum[];
33
+ wait_time?: Chrt.WaitTimeRate1 | null;
34
+ weekend?: Chrt.WeekendRate1 | null;
35
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface ChrtGroundProviderRatesListRes {
6
+ items: Chrt.ChrtGroundProviderRates1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};