@chrt-inc/typescript-sdk 1.899.0 → 1.900.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 (1627) hide show
  1. package/README.md +21 -21
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +29 -24
  4. package/dist/cjs/api/resources/agent/client/Client.d.ts +23 -0
  5. package/dist/cjs/api/resources/agent/client/Client.js +17 -0
  6. package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
  7. package/dist/cjs/api/resources/agent/resources/index.js +41 -0
  8. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +79 -0
  9. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +260 -0
  10. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +11 -0
  11. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +12 -0
  12. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts +13 -0
  13. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +3 -0
  14. package/dist/cjs/api/resources/billing/client/Client.d.ts +0 -27
  15. package/dist/cjs/api/resources/billing/client/Client.js +4 -49
  16. package/dist/cjs/api/resources/billing/resources/index.d.ts +0 -17
  17. package/dist/cjs/api/resources/billing/resources/index.js +1 -18
  18. package/dist/cjs/api/resources/billingNew/client/Client.d.ts +9 -3
  19. package/dist/cjs/api/resources/billingNew/client/Client.js +17 -7
  20. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +168 -0
  21. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.js +647 -0
  22. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.d.ts +34 -0
  23. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.d.ts +20 -0
  24. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.ts +54 -0
  25. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/index.d.ts +3 -0
  26. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +134 -0
  27. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +540 -0
  28. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +46 -0
  29. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +53 -0
  30. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +61 -0
  31. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.d.ts +12 -0
  32. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.ts +4 -0
  33. package/dist/cjs/api/resources/billingNew/resources/index.d.ts +6 -2
  34. package/dist/cjs/api/resources/billingNew/resources/index.js +7 -3
  35. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +130 -9
  36. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +439 -15
  37. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +4 -0
  38. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.d.ts +17 -0
  39. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +1 -0
  40. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.d.ts +12 -0
  41. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +6 -3
  42. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.ts +12 -0
  43. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +3 -1
  44. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +2 -1
  45. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +6 -2
  46. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +1 -0
  47. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
  48. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +86 -0
  49. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +318 -0
  50. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +70 -0
  51. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.d.ts +14 -0
  52. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.d.ts +2 -0
  53. package/dist/cjs/api/resources/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/index.js +2 -1
  55. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -2
  56. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -2
  57. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +1 -1
  58. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1 -1
  59. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.ts +2 -2
  60. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.js +5 -2
  61. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +2 -2
  62. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +5 -2
  63. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.ts +2 -0
  64. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -12
  65. package/dist/cjs/api/resources/shipping/client/Client.js +18 -33
  66. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +2 -2
  67. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +5 -2
  68. package/dist/cjs/api/resources/shipping/resources/index.d.ts +3 -10
  69. package/dist/cjs/api/resources/shipping/resources/index.js +4 -11
  70. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +9 -1
  71. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +1 -0
  72. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +1 -0
  73. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +2 -0
  74. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +186 -0
  75. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +695 -0
  76. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +31 -0
  77. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +32 -0
  78. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.ts +16 -0
  79. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +45 -0
  80. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +4 -0
  81. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.ts +93 -0
  82. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.js +320 -0
  83. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.ts +25 -0
  84. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.ts +32 -0
  85. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.d.ts +10 -0
  86. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.d.ts +3 -0
  87. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/index.d.ts +8 -0
  88. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/index.js +47 -0
  89. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.d.ts +112 -0
  90. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.js +388 -0
  91. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.d.ts +15 -0
  92. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.d.ts +12 -0
  93. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.d.ts +12 -0
  94. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.d.ts +10 -0
  95. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.d.ts +4 -0
  96. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.d.ts +93 -0
  97. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.js +320 -0
  98. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.d.ts +20 -0
  99. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.d.ts +23 -0
  100. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.d.ts +10 -0
  101. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.d.ts +3 -0
  102. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.d.ts +125 -0
  103. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.js +450 -0
  104. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.d.ts +10 -0
  105. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.d.ts +22 -0
  106. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +20 -0
  107. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.d.ts +12 -0
  108. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.d.ts +10 -0
  109. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.d.ts +5 -0
  110. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +37 -36
  111. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +103 -135
  112. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.ts +11 -0
  113. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelReq.d.ts +11 -0
  114. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +2 -1
  115. package/dist/cjs/api/resources/shipping/resources/orders/index.d.ts +1 -1
  116. package/dist/cjs/api/resources/shipping/resources/orders/index.js +1 -1
  117. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +101 -0
  118. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +331 -0
  119. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.ts +32 -0
  120. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersAddCargoReq.d.ts +18 -0
  121. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.d.ts +16 -0
  122. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.d.ts +16 -0
  123. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/index.d.ts +4 -0
  124. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +14 -57
  125. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +37 -248
  126. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.d.ts +14 -0
  127. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -3
  128. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -5
  129. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +1 -1
  130. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
  131. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
  132. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.ts +0 -70
  133. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.js +0 -265
  134. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.ts +0 -1
  135. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.js +0 -15
  136. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -7
  137. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.js +1 -11
  138. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -141
  139. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -575
  140. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.ts +0 -1
  141. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.js +0 -15
  142. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  143. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +38 -6
  144. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -0
  145. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -0
  146. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -0
  147. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +2 -0
  148. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.d.ts +10 -1
  149. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.js +11 -2
  150. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/Client.d.ts +79 -0
  151. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/Client.js +257 -0
  152. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/OrdersAddTaskReq.d.ts +20 -0
  153. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +20 -0
  154. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/index.d.ts +2 -0
  155. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/Client.d.ts +66 -0
  156. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/Client.js +195 -0
  157. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.d.ts +25 -0
  158. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.js +13 -0
  159. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/index.d.ts +1 -0
  160. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +162 -0
  161. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +582 -0
  162. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.d.ts +13 -0
  163. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.d.ts +17 -0
  164. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.d.ts +22 -0
  165. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.d.ts +13 -0
  166. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts +13 -0
  167. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.d.ts +13 -0
  168. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/index.d.ts +6 -0
  169. package/dist/cjs/api/resources/shipping/resources/orders/resources/utils/client/Client.d.ts +50 -0
  170. package/dist/cjs/api/resources/shipping/resources/orders/resources/utils/client/Client.js +136 -0
  171. package/dist/cjs/api/resources/shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.d.ts +13 -0
  172. package/dist/cjs/api/resources/shipping/resources/orders/resources/utils/client/requests/index.d.ts +1 -0
  173. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +0 -34
  174. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +0 -128
  175. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.d.ts +0 -1
  176. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.js +0 -15
  177. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +3 -3
  178. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +2 -2
  179. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +0 -314
  180. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +10 -1329
  181. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +0 -6
  182. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
  183. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +1 -1
  184. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +5 -38
  185. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +13 -141
  186. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.ts +11 -0
  187. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -1
  188. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.d.ts +0 -3
  189. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.js +0 -5
  190. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +48 -16
  191. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +173 -43
  192. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.d.ts +16 -0
  193. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.d.ts +12 -0
  194. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.ts +2 -0
  195. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.d.ts +0 -2
  196. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.js +1 -3
  197. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +17 -0
  198. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +67 -0
  199. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.d.ts +14 -0
  200. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.ts +1 -0
  201. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +2 -2
  202. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +2 -2
  203. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +2 -2
  204. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +2 -2
  205. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +2 -2
  206. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +2 -2
  207. package/dist/cjs/api/types/AdHocInvoiceLineItem1.d.ts +8 -0
  208. package/dist/cjs/api/types/AdHocInvoiceLineItemsReq.d.ts +8 -0
  209. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  210. package/dist/cjs/api/types/ArchivedModel.d.ts +15 -0
  211. package/dist/cjs/api/types/ArchivedModel.js +14 -0
  212. package/dist/cjs/api/types/BillingPeriod1.d.ts +34 -0
  213. package/dist/cjs/api/types/BillingPeriodCycleEnum1.d.ts +11 -0
  214. package/dist/cjs/api/types/BillingPeriodCycleEnum1.js +13 -0
  215. package/dist/cjs/api/types/BillingPeriodExpanded1.d.ts +9 -0
  216. package/dist/cjs/api/types/BillingPeriodListRes.d.ts +8 -0
  217. package/dist/cjs/api/types/BillingPeriodSortByEnum.d.ts +12 -0
  218. package/dist/cjs/api/types/BillingPeriodSortByEnum.js +14 -0
  219. package/dist/cjs/api/types/BillingPeriodStatusEnum1.d.ts +8 -0
  220. package/dist/cjs/api/types/BillingPeriodStatusEnum1.js +10 -0
  221. package/dist/cjs/api/types/BillingPeriodTaskGroupsReq.d.ts +6 -0
  222. package/dist/cjs/api/types/Cargo1.d.ts +2 -0
  223. package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -0
  224. package/dist/cjs/api/types/CargoTypeEnum1.d.ts +2 -1
  225. package/dist/cjs/api/types/CargoTypeEnum1.js +1 -0
  226. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +11 -3
  227. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.d.ts +9 -0
  228. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.ts +11 -0
  229. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsItem1.d.ts +13 -0
  230. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.d.ts +9 -0
  231. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.d.ts +9 -0
  232. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.js +11 -0
  233. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.ts +10 -0
  234. package/dist/cjs/api/types/FromPayables1.d.ts +9 -0
  235. package/dist/cjs/api/types/Invoice1.d.ts +1 -0
  236. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -0
  237. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +8 -1
  238. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.d.ts +23 -0
  239. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.d.ts +37 -0
  240. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.d.ts +9 -0
  241. package/dist/cjs/api/types/InvoiceLineItemStatusEnum1.js +11 -0
  242. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +4 -1
  243. package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +3 -0
  244. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +3 -1
  245. package/dist/cjs/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.ts +7 -0
  246. package/dist/cjs/api/types/Model.d.ts +12 -0
  247. package/dist/cjs/api/types/Model.js +11 -0
  248. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +1 -6
  249. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +0 -5
  250. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +1 -3
  251. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +0 -2
  252. package/dist/cjs/api/types/OffChrtOrgData1.d.ts +1 -0
  253. package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +1 -0
  254. package/dist/cjs/api/types/Order1.d.ts +4 -2
  255. package/dist/cjs/api/types/OrderAwbBillingAccount1.d.ts +8 -0
  256. package/dist/cjs/api/types/OrderAwbBillingListItem1.d.ts +12 -0
  257. package/dist/cjs/api/types/OrderAwbBillingListRes.d.ts +8 -0
  258. package/dist/cjs/api/types/OrderBillingAccount1.d.ts +7 -0
  259. package/dist/cjs/api/types/OrderBillingCurrencyTotals1.d.ts +9 -0
  260. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +11 -0
  261. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +20 -0
  262. package/dist/cjs/api/types/OrderBillingExpandedListRes.d.ts +8 -0
  263. package/dist/cjs/api/types/OrderBillingPeriod1.d.ts +11 -0
  264. package/dist/cjs/api/types/OrderBillingShipper1.d.ts +9 -0
  265. package/dist/cjs/api/types/OrderBillingSortByEnum.d.ts +12 -0
  266. package/dist/cjs/api/types/OrderBillingSortByEnum.js +14 -0
  267. package/dist/cjs/api/types/OrderExpandedForCoordinator.d.ts +1 -0
  268. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +1 -0
  269. package/dist/cjs/api/types/OrderInformationConversationRes.d.ts +7 -0
  270. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +4 -2
  271. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
  272. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +2 -0
  273. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +4 -2
  274. package/dist/cjs/api/types/OrderTemplate1.d.ts +1 -0
  275. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +33 -0
  276. package/dist/cjs/api/types/OrderTemplateNewCargo1.d.ts +20 -0
  277. package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +22 -0
  278. package/dist/cjs/api/types/OrderTemplateNewDateTimeWindow1.d.ts +9 -0
  279. package/dist/cjs/api/types/OrderTemplateNewDateparserResolveRes.d.ts +11 -0
  280. package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +8 -0
  281. package/dist/cjs/api/types/OrderTemplateNewSortByEnum.d.ts +10 -0
  282. package/dist/cjs/api/types/OrderTemplateNewSortByEnum.js +12 -0
  283. package/dist/cjs/api/types/OrderTemplateNewTask1.d.ts +20 -0
  284. package/dist/cjs/api/types/OrderTemplateNewTaskArtifact1.d.ts +10 -0
  285. package/dist/cjs/api/types/OrderTemplateNewTaskGroup1.d.ts +16 -0
  286. package/dist/cjs/api/types/OrdersDraftDeleteManyRes.d.ts +0 -1
  287. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +2 -2
  288. package/dist/cjs/api/types/ProFormaLineItem1.d.ts +9 -7
  289. package/dist/cjs/api/types/ProFormaLineItemProvenanceEnum1.d.ts +9 -0
  290. package/dist/cjs/api/types/ProFormaLineItemProvenanceEnum1.js +11 -0
  291. package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +2 -0
  292. package/dist/cjs/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.ts +9 -0
  293. package/dist/cjs/api/types/ServiceLineEnum.d.ts +8 -0
  294. package/dist/cjs/api/types/ServiceLineEnum.js +10 -0
  295. package/dist/cjs/api/types/StoredModel.d.ts +5 -0
  296. package/dist/cjs/api/types/Task1.d.ts +1 -0
  297. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -0
  298. package/dist/cjs/api/types/TaskGroup1.d.ts +2 -12
  299. package/dist/cjs/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.ts +7 -0
  300. package/dist/cjs/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.ts +9 -0
  301. package/dist/cjs/api/types/TaxRate1.d.ts +9 -0
  302. package/dist/cjs/api/types/VehicleTypeEnum.d.ts +2 -1
  303. package/dist/cjs/api/types/VehicleTypeEnum.js +1 -0
  304. package/dist/cjs/api/types/index.d.ts +51 -84
  305. package/dist/cjs/api/types/index.js +51 -84
  306. package/dist/cjs/core/index.d.ts +0 -1
  307. package/dist/cjs/core/index.js +0 -1
  308. package/dist/cjs/version.d.ts +1 -1
  309. package/dist/cjs/version.js +1 -1
  310. package/dist/esm/Client.d.mts +3 -0
  311. package/dist/esm/Client.mjs +7 -2
  312. package/dist/esm/api/resources/agent/client/Client.d.mts +23 -0
  313. package/dist/esm/api/resources/agent/client/Client.mjs +13 -0
  314. package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
  315. package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
  316. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +79 -0
  317. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +223 -0
  318. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +11 -0
  319. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts +12 -0
  320. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +13 -0
  321. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +3 -0
  322. package/dist/esm/api/resources/billing/client/Client.d.mts +0 -27
  323. package/dist/esm/api/resources/billing/client/Client.mjs +0 -45
  324. package/dist/esm/api/resources/billing/resources/index.d.mts +0 -17
  325. package/dist/esm/api/resources/billing/resources/index.mjs +0 -17
  326. package/dist/esm/api/resources/billingNew/client/Client.d.mts +9 -3
  327. package/dist/esm/api/resources/billingNew/client/Client.mjs +13 -3
  328. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +168 -0
  329. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.mjs +610 -0
  330. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.d.mts +34 -0
  331. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.d.mts +20 -0
  332. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.mts +54 -0
  333. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/index.d.mts +3 -0
  334. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +134 -0
  335. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +503 -0
  336. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +46 -0
  337. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +53 -0
  338. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +61 -0
  339. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.d.mts +12 -0
  340. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +4 -0
  341. package/dist/esm/api/resources/billingNew/resources/index.d.mts +6 -2
  342. package/dist/esm/api/resources/billingNew/resources/index.mjs +6 -2
  343. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +130 -9
  344. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +439 -15
  345. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +4 -0
  346. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.d.mts +17 -0
  347. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +1 -0
  348. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.d.mts +12 -0
  349. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +6 -3
  350. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.mts +12 -0
  351. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +3 -1
  352. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +2 -1
  353. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +6 -2
  354. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +1 -0
  355. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
  356. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +86 -0
  357. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +281 -0
  358. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +70 -0
  359. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.d.mts +14 -0
  360. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +2 -0
  361. package/dist/esm/api/resources/index.d.mts +1 -0
  362. package/dist/esm/api/resources/index.mjs +1 -0
  363. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -2
  364. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -2
  365. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +1 -1
  366. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1 -1
  367. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.mts +2 -2
  368. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.mjs +5 -2
  369. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +2 -2
  370. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +5 -2
  371. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +2 -0
  372. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -12
  373. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -20
  374. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +2 -2
  375. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +5 -2
  376. package/dist/esm/api/resources/shipping/resources/index.d.mts +3 -10
  377. package/dist/esm/api/resources/shipping/resources/index.mjs +3 -10
  378. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +9 -1
  379. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +1 -0
  380. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +1 -0
  381. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +2 -0
  382. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +186 -0
  383. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +658 -0
  384. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +31 -0
  385. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +32 -0
  386. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.mts +16 -0
  387. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +45 -0
  388. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +4 -0
  389. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.mts +93 -0
  390. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.mjs +283 -0
  391. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.mts +25 -0
  392. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.mts +32 -0
  393. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.d.mts +10 -0
  394. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.d.mts +3 -0
  395. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/index.d.mts +8 -0
  396. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/index.mjs +8 -0
  397. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.d.mts +112 -0
  398. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.mjs +351 -0
  399. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.d.mts +15 -0
  400. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.d.mts +12 -0
  401. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.d.mts +12 -0
  402. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.d.mts +10 -0
  403. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.d.mts +4 -0
  404. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.d.mts +93 -0
  405. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.mjs +283 -0
  406. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.d.mts +20 -0
  407. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.d.mts +23 -0
  408. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.d.mts +10 -0
  409. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.d.mts +3 -0
  410. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.d.mts +125 -0
  411. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.mjs +413 -0
  412. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.d.mts +10 -0
  413. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.d.mts +22 -0
  414. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +20 -0
  415. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.d.mts +12 -0
  416. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.d.mts +10 -0
  417. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.d.mts +5 -0
  418. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +37 -36
  419. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +99 -131
  420. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.mts +11 -0
  421. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelReq.d.mts +11 -0
  422. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +2 -1
  423. package/dist/esm/api/resources/shipping/resources/orders/index.d.mts +1 -1
  424. package/dist/esm/api/resources/shipping/resources/orders/index.mjs +1 -1
  425. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +101 -0
  426. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +294 -0
  427. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.mts +32 -0
  428. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersAddCargoReq.d.mts +18 -0
  429. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.d.mts +16 -0
  430. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.d.mts +16 -0
  431. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/index.d.mts +4 -0
  432. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +14 -57
  433. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +35 -246
  434. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.d.mts +14 -0
  435. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -3
  436. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -5
  437. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +1 -1
  438. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
  439. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
  440. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.mts +0 -70
  441. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.mjs +0 -265
  442. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.mts +0 -1
  443. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.mjs +1 -1
  444. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -7
  445. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -7
  446. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -141
  447. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -575
  448. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.mts +0 -1
  449. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.mjs +1 -1
  450. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  451. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +38 -6
  452. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -0
  453. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -0
  454. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -0
  455. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +2 -0
  456. package/dist/esm/api/resources/shipping/resources/orders/resources/index.d.mts +10 -1
  457. package/dist/esm/api/resources/shipping/resources/orders/resources/index.mjs +10 -1
  458. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/Client.d.mts +79 -0
  459. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/Client.mjs +220 -0
  460. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/OrdersAddTaskReq.d.mts +20 -0
  461. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +20 -0
  462. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/index.d.mts +2 -0
  463. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/Client.d.mts +66 -0
  464. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/Client.mjs +158 -0
  465. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.d.mts +25 -0
  466. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.mjs +10 -0
  467. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/index.d.mts +1 -0
  468. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +162 -0
  469. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +545 -0
  470. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.d.mts +13 -0
  471. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.d.mts +17 -0
  472. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.d.mts +22 -0
  473. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.d.mts +13 -0
  474. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts +13 -0
  475. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.d.mts +13 -0
  476. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/index.d.mts +6 -0
  477. package/dist/esm/api/resources/shipping/resources/orders/resources/utils/client/Client.d.mts +50 -0
  478. package/dist/esm/api/resources/shipping/resources/orders/resources/utils/client/Client.mjs +99 -0
  479. package/dist/esm/api/resources/shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.d.mts +13 -0
  480. package/dist/esm/api/resources/shipping/resources/orders/resources/utils/client/requests/index.d.mts +1 -0
  481. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +0 -34
  482. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +0 -128
  483. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.d.mts +0 -1
  484. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.mjs +1 -1
  485. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +3 -3
  486. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +2 -2
  487. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +0 -314
  488. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +10 -1329
  489. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +0 -6
  490. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
  491. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +1 -1
  492. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +5 -38
  493. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +13 -141
  494. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskLocationFromReferenceReq.d.mts +11 -0
  495. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -1
  496. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.d.mts +0 -3
  497. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.mjs +0 -5
  498. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +48 -16
  499. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +173 -43
  500. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.d.mts +16 -0
  501. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.d.mts +12 -0
  502. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.mts +2 -0
  503. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.d.mts +0 -2
  504. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.mjs +0 -2
  505. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +17 -0
  506. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +67 -0
  507. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.d.mts +14 -0
  508. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.mts +1 -0
  509. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +2 -2
  510. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +2 -2
  511. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +2 -2
  512. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +2 -2
  513. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +2 -2
  514. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +2 -2
  515. package/dist/esm/api/types/AdHocInvoiceLineItem1.d.mts +8 -0
  516. package/dist/esm/api/types/AdHocInvoiceLineItemsReq.d.mts +8 -0
  517. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  518. package/dist/esm/api/types/ArchivedModel.d.mts +15 -0
  519. package/dist/esm/api/types/ArchivedModel.mjs +11 -0
  520. package/dist/esm/api/types/BillingPeriod1.d.mts +34 -0
  521. package/dist/esm/api/types/BillingPeriodCycleEnum1.d.mts +11 -0
  522. package/dist/esm/api/types/BillingPeriodCycleEnum1.mjs +10 -0
  523. package/dist/esm/api/types/BillingPeriodExpanded1.d.mts +9 -0
  524. package/dist/esm/api/types/BillingPeriodListRes.d.mts +8 -0
  525. package/dist/esm/api/types/BillingPeriodSortByEnum.d.mts +12 -0
  526. package/dist/esm/api/types/BillingPeriodSortByEnum.mjs +11 -0
  527. package/dist/esm/api/types/BillingPeriodStatusEnum1.d.mts +8 -0
  528. package/dist/esm/api/types/BillingPeriodStatusEnum1.mjs +7 -0
  529. package/dist/esm/api/types/BillingPeriodTaskGroupsReq.d.mts +6 -0
  530. package/dist/esm/api/types/Cargo1.d.mts +2 -0
  531. package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -0
  532. package/dist/esm/api/types/CargoTypeEnum1.d.mts +2 -1
  533. package/dist/esm/api/types/CargoTypeEnum1.mjs +1 -0
  534. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +11 -3
  535. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.d.mts +9 -0
  536. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.mts +11 -0
  537. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsItem1.d.mts +13 -0
  538. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.d.mts +9 -0
  539. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.d.mts +9 -0
  540. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.mjs +8 -0
  541. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.mts +10 -0
  542. package/dist/esm/api/types/FromPayables1.d.mts +9 -0
  543. package/dist/esm/api/types/Invoice1.d.mts +1 -0
  544. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -0
  545. package/dist/esm/api/types/InvoiceLineItem1.d.mts +8 -1
  546. package/dist/esm/api/types/InvoiceLineItemClientCreate1.d.mts +23 -0
  547. package/dist/esm/api/types/InvoiceLineItemServerCreate1.d.mts +37 -0
  548. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.d.mts +9 -0
  549. package/dist/esm/api/types/InvoiceLineItemStatusEnum1.mjs +8 -0
  550. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +4 -1
  551. package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +3 -0
  552. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +3 -1
  553. package/dist/esm/api/types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.d.mts +7 -0
  554. package/dist/esm/api/types/Model.d.mts +12 -0
  555. package/dist/esm/api/types/Model.mjs +8 -0
  556. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +1 -6
  557. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +0 -5
  558. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +1 -3
  559. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +0 -2
  560. package/dist/esm/api/types/OffChrtOrgData1.d.mts +1 -0
  561. package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +1 -0
  562. package/dist/esm/api/types/Order1.d.mts +4 -2
  563. package/dist/esm/api/types/OrderAwbBillingAccount1.d.mts +8 -0
  564. package/dist/esm/api/types/OrderAwbBillingListItem1.d.mts +12 -0
  565. package/dist/esm/api/types/OrderAwbBillingListRes.d.mts +8 -0
  566. package/dist/esm/api/types/OrderBillingAccount1.d.mts +7 -0
  567. package/dist/esm/api/types/OrderBillingCurrencyTotals1.d.mts +9 -0
  568. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +11 -0
  569. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +20 -0
  570. package/dist/esm/api/types/OrderBillingExpandedListRes.d.mts +8 -0
  571. package/dist/esm/api/types/OrderBillingPeriod1.d.mts +11 -0
  572. package/dist/esm/api/types/OrderBillingShipper1.d.mts +9 -0
  573. package/dist/esm/api/types/OrderBillingSortByEnum.d.mts +12 -0
  574. package/dist/esm/api/types/OrderBillingSortByEnum.mjs +11 -0
  575. package/dist/esm/api/types/OrderExpandedForCoordinator.d.mts +1 -0
  576. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +1 -0
  577. package/dist/esm/api/types/OrderInformationConversationRes.d.mts +7 -0
  578. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +4 -2
  579. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
  580. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +2 -0
  581. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +4 -2
  582. package/dist/esm/api/types/OrderTemplate1.d.mts +1 -0
  583. package/dist/esm/api/types/OrderTemplateNew1.d.mts +33 -0
  584. package/dist/esm/api/types/OrderTemplateNewCargo1.d.mts +20 -0
  585. package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +22 -0
  586. package/dist/esm/api/types/OrderTemplateNewDateTimeWindow1.d.mts +9 -0
  587. package/dist/esm/api/types/OrderTemplateNewDateparserResolveRes.d.mts +11 -0
  588. package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +8 -0
  589. package/dist/esm/api/types/OrderTemplateNewSortByEnum.d.mts +10 -0
  590. package/dist/esm/api/types/OrderTemplateNewSortByEnum.mjs +9 -0
  591. package/dist/esm/api/types/OrderTemplateNewTask1.d.mts +20 -0
  592. package/dist/esm/api/types/OrderTemplateNewTaskArtifact1.d.mts +10 -0
  593. package/dist/esm/api/types/OrderTemplateNewTaskGroup1.d.mts +16 -0
  594. package/dist/esm/api/types/OrdersDraftDeleteManyRes.d.mts +0 -1
  595. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +2 -2
  596. package/dist/esm/api/types/ProFormaLineItem1.d.mts +9 -7
  597. package/dist/esm/api/types/ProFormaLineItemProvenanceEnum1.d.mts +9 -0
  598. package/dist/esm/api/types/ProFormaLineItemProvenanceEnum1.mjs +8 -0
  599. package/dist/esm/api/types/ReelablesDataPoint1.d.mts +2 -0
  600. package/dist/esm/api/types/ResolvedTaskGroupChrtGroundProviderRates1.d.mts +9 -0
  601. package/dist/esm/api/types/ServiceLineEnum.d.mts +8 -0
  602. package/dist/esm/api/types/ServiceLineEnum.mjs +7 -0
  603. package/dist/esm/api/types/StoredModel.d.mts +5 -0
  604. package/dist/esm/api/types/Task1.d.mts +1 -0
  605. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -0
  606. package/dist/esm/api/types/TaskGroup1.d.mts +2 -12
  607. package/dist/esm/api/types/TaskGroupChrtGroundProviderRateSheetIds1.d.mts +7 -0
  608. package/dist/esm/api/types/TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.d.mts +9 -0
  609. package/dist/esm/api/types/TaxRate1.d.mts +9 -0
  610. package/dist/esm/api/types/VehicleTypeEnum.d.mts +2 -1
  611. package/dist/esm/api/types/VehicleTypeEnum.mjs +1 -0
  612. package/dist/esm/api/types/index.d.mts +51 -84
  613. package/dist/esm/api/types/index.mjs +51 -84
  614. package/dist/esm/core/index.d.mts +0 -1
  615. package/dist/esm/core/index.mjs +0 -1
  616. package/dist/esm/version.d.mts +1 -1
  617. package/dist/esm/version.mjs +1 -1
  618. package/package.json +1 -1
  619. package/reference.md +3523 -9525
  620. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +0 -115
  621. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +0 -425
  622. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +0 -14
  623. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +0 -41
  624. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +0 -17
  625. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.ts +0 -3
  626. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +0 -110
  627. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +0 -411
  628. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +0 -23
  629. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +0 -13
  630. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +0 -32
  631. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +0 -3
  632. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +0 -132
  633. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +0 -505
  634. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +0 -19
  635. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +0 -21
  636. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.ts +0 -16
  637. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +0 -3
  638. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +0 -132
  639. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +0 -508
  640. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +0 -35
  641. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +0 -46
  642. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.ts +0 -16
  643. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +0 -3
  644. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +0 -307
  645. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +0 -1203
  646. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -23
  647. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +0 -53
  648. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +0 -23
  649. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +0 -24
  650. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +0 -4
  651. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.d.ts +0 -4
  652. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.js +0 -43
  653. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/messages/client/Client.d.ts +0 -50
  654. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/messages/client/Client.js +0 -133
  655. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.d.ts +0 -12
  656. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/index.d.ts +0 -1
  657. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +0 -83
  658. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +0 -308
  659. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.d.ts +0 -13
  660. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.d.ts +0 -1
  661. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.d.ts +0 -23
  662. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.js +0 -17
  663. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.d.ts +0 -2
  664. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.js +0 -41
  665. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.ts +0 -83
  666. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.js +0 -308
  667. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.d.ts +0 -13
  668. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.ts +0 -1
  669. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +0 -132
  670. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +0 -505
  671. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +0 -16
  672. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +0 -15
  673. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.ts +0 -16
  674. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +0 -3
  675. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +0 -155
  676. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +0 -582
  677. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +0 -20
  678. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.ts +0 -18
  679. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts +0 -14
  680. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +0 -3
  681. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +0 -321
  682. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +0 -1334
  683. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -21
  684. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.d.ts +0 -12
  685. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +0 -13
  686. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +0 -71
  687. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +0 -71
  688. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +0 -5
  689. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +0 -22
  690. package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.d.ts +0 -145
  691. package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.js +0 -578
  692. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +0 -13
  693. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -37
  694. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +0 -43
  695. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +0 -13
  696. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.ts +0 -54
  697. package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +0 -5
  698. package/dist/cjs/api/resources/shipping/resources/cargos/client/Client.d.ts +0 -101
  699. package/dist/cjs/api/resources/shipping/resources/cargos/client/Client.js +0 -331
  700. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.d.ts +0 -18
  701. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.d.ts +0 -16
  702. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.ts +0 -16
  703. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/index.d.ts +0 -3
  704. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +0 -142
  705. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +0 -530
  706. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +0 -16
  707. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +0 -12
  708. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.ts +0 -13
  709. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.ts +0 -30
  710. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +0 -4
  711. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +0 -177
  712. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +0 -710
  713. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.d.ts +0 -2
  714. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.js +0 -17
  715. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +0 -38
  716. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.d.ts +0 -1
  717. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.js +0 -2
  718. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.d.ts +0 -2
  719. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.js +0 -18
  720. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.ts +0 -64
  721. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.js +0 -196
  722. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.d.ts +0 -2
  723. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.js +0 -17
  724. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.ts +0 -19
  725. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.ts +0 -16
  726. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.d.ts +0 -2
  727. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.js +0 -2
  728. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/index.d.ts +0 -1
  729. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/index.js +0 -17
  730. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.d.ts +0 -2
  731. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.js +0 -41
  732. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.ts +0 -13
  733. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.ts +0 -13
  734. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +0 -18
  735. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +0 -16
  736. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +0 -16
  737. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +0 -15
  738. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.d.ts +0 -4
  739. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.js +0 -2
  740. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.d.ts +0 -62
  741. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.js +0 -197
  742. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.d.ts +0 -1
  743. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.js +0 -2
  744. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.d.ts +0 -1
  745. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.js +0 -17
  746. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.ts +0 -81
  747. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.js +0 -259
  748. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.d.ts +0 -2
  749. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.js +0 -17
  750. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +0 -18
  751. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +0 -15
  752. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.d.ts +0 -2
  753. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.js +0 -2
  754. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.d.ts +0 -1
  755. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.js +0 -17
  756. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/Client.d.ts +0 -63
  757. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/Client.js +0 -192
  758. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.d.ts +0 -2
  759. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.js +0 -17
  760. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +0 -16
  761. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.d.ts +0 -1
  762. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.js +0 -2
  763. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.d.ts +0 -1
  764. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.js +0 -17
  765. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +0 -13
  766. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +0 -17
  767. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +0 -13
  768. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +0 -13
  769. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.ts +0 -13
  770. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts +0 -12
  771. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.d.ts +0 -6
  772. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.js +0 -2
  773. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.ts +0 -26
  774. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.js +0 -14
  775. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/index.d.ts +0 -1
  776. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/index.js +0 -17
  777. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +0 -73
  778. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +0 -252
  779. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.ts +0 -2
  780. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.js +0 -17
  781. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.ts +0 -32
  782. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +0 -23
  783. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.ts +0 -2
  784. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.js +0 -2
  785. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.d.ts +0 -1
  786. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.js +0 -17
  787. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +0 -19
  788. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.ts +0 -1
  789. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.js +0 -2
  790. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +0 -13
  791. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.d.ts +0 -13
  792. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +0 -13
  793. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +0 -13
  794. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +0 -13
  795. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.d.ts +0 -13
  796. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +0 -21
  797. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +0 -62
  798. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +0 -197
  799. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.ts +0 -2
  800. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.js +0 -17
  801. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.ts +0 -21
  802. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.ts +0 -1
  803. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.js +0 -2
  804. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.ts +0 -1
  805. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.js +0 -17
  806. package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +0 -7
  807. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +0 -6
  808. package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +0 -6
  809. package/dist/cjs/api/types/BillingCycleEnum.d.ts +0 -11
  810. package/dist/cjs/api/types/BillingCycleEnum.js +0 -13
  811. package/dist/cjs/api/types/BillingLedger1.d.ts +0 -27
  812. package/dist/cjs/api/types/BillingLedgerListRes.d.ts +0 -8
  813. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +0 -35
  814. package/dist/cjs/api/types/BillingLedgerPeriodListRes.d.ts +0 -8
  815. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +0 -9
  816. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +0 -11
  817. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.d.ts +0 -8
  818. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.js +0 -10
  819. package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +0 -4
  820. package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +0 -8
  821. package/dist/cjs/api/types/BillingLedgerStatusEnum.js +0 -10
  822. package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +0 -13
  823. package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +0 -10
  824. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.ts +0 -14
  825. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +0 -15
  826. package/dist/cjs/api/types/BillingReviewStatusEnum.js +0 -12
  827. package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +0 -10
  828. package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +0 -10
  829. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +0 -26
  830. package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +0 -16
  831. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +0 -8
  832. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +0 -32
  833. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +0 -8
  834. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +0 -7
  835. package/dist/cjs/api/types/LineItem1.d.ts +0 -32
  836. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +0 -14
  837. package/dist/cjs/api/types/LineItemEnum1.d.ts +0 -39
  838. package/dist/cjs/api/types/LineItemEnum1.js +0 -35
  839. package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -59
  840. package/dist/cjs/api/types/LineItemGroup1.js +0 -5
  841. package/dist/cjs/api/types/LineItemGroupLineItemsRes.d.ts +0 -11
  842. package/dist/cjs/api/types/LineItemGroupLineItemsRes.js +0 -5
  843. package/dist/cjs/api/types/LineItemGroupListRes.d.ts +0 -8
  844. package/dist/cjs/api/types/LineItemGroupListRes.js +0 -5
  845. package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +0 -12
  846. package/dist/cjs/api/types/LineItemGroupMessage1.js +0 -5
  847. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +0 -19
  848. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.js +0 -5
  849. package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +0 -30
  850. package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -13
  851. package/dist/cjs/api/types/LineItemProvenanceEnum.d.ts +0 -9
  852. package/dist/cjs/api/types/LineItemProvenanceEnum.js +0 -11
  853. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.d.ts +0 -19
  854. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.js +0 -5
  855. package/dist/cjs/api/types/LineItemStatusEnum.d.ts +0 -9
  856. package/dist/cjs/api/types/LineItemStatusEnum.js +0 -11
  857. package/dist/cjs/api/types/LlmModelEnum.d.ts +0 -12
  858. package/dist/cjs/api/types/LlmModelEnum.js +0 -14
  859. package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +0 -13
  860. package/dist/cjs/api/types/OnboardCourierRateSheet1.js +0 -5
  861. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +0 -8
  862. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +0 -5
  863. package/dist/cjs/api/types/OrderBuilderReq.d.ts +0 -11
  864. package/dist/cjs/api/types/OrderBuilderReq.js +0 -5
  865. package/dist/cjs/api/types/OrderBuilderRes.d.ts +0 -11
  866. package/dist/cjs/api/types/OrderBuilderRes.js +0 -5
  867. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.d.ts +0 -15
  868. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.js +0 -5
  869. package/dist/cjs/api/types/OrderDraftExpandedForShipper.d.ts +0 -15
  870. package/dist/cjs/api/types/OrderDraftExpandedForShipper.js +0 -5
  871. package/dist/cjs/api/types/OrderGroup1.d.ts +0 -21
  872. package/dist/cjs/api/types/OrderGroup1.js +0 -5
  873. package/dist/cjs/api/types/OrderGroupExpandedListRes.d.ts +0 -8
  874. package/dist/cjs/api/types/OrderGroupExpandedListRes.js +0 -5
  875. package/dist/cjs/api/types/OrderGroupExpandedRow.d.ts +0 -9
  876. package/dist/cjs/api/types/OrderGroupExpandedRow.js +0 -5
  877. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.d.ts +0 -10
  878. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.js +0 -12
  879. package/dist/cjs/api/types/OrderGroupListRes.d.ts +0 -8
  880. package/dist/cjs/api/types/OrderGroupListRes.js +0 -5
  881. package/dist/cjs/api/types/OrderGroupSortByEnum.d.ts +0 -9
  882. package/dist/cjs/api/types/OrderGroupSortByEnum.js +0 -11
  883. package/dist/cjs/api/types/OrderSchedule1.d.ts +0 -24
  884. package/dist/cjs/api/types/OrderSchedule1.js +0 -5
  885. package/dist/cjs/api/types/OrderScheduleAboutRes.d.ts +0 -9
  886. package/dist/cjs/api/types/OrderScheduleAboutRes.js +0 -5
  887. package/dist/cjs/api/types/OrderScheduleBuildSeedRes.d.ts +0 -10
  888. package/dist/cjs/api/types/OrderScheduleBuildSeedRes.js +0 -5
  889. package/dist/cjs/api/types/OrderScheduleListRes.d.ts +0 -8
  890. package/dist/cjs/api/types/OrderScheduleListRes.js +0 -5
  891. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.d.ts +0 -8
  892. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.js +0 -5
  893. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.d.ts +0 -11
  894. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.js +0 -5
  895. package/dist/cjs/api/types/OrderScheduleSortByEnum.d.ts +0 -10
  896. package/dist/cjs/api/types/OrderScheduleSortByEnum.js +0 -12
  897. package/dist/cjs/api/types/OrderScheduleSpec1.d.ts +0 -11
  898. package/dist/cjs/api/types/OrderScheduleSpec1.js +0 -5
  899. package/dist/cjs/api/types/OrderScheduleStatusEnum1.d.ts +0 -10
  900. package/dist/cjs/api/types/OrderScheduleStatusEnum1.js +0 -12
  901. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +0 -27
  902. package/dist/cjs/api/types/OrderTemplateCore1.js +0 -5
  903. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +0 -13
  904. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.js +0 -5
  905. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +0 -12
  906. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.js +0 -5
  907. package/dist/cjs/api/types/RateSheetMapping1.d.ts +0 -17
  908. package/dist/cjs/api/types/RateSheetMapping1.js +0 -5
  909. package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +0 -8
  910. package/dist/cjs/api/types/RateSheetMappingListRes.js +0 -5
  911. package/dist/cjs/api/types/ReelablesAssetSyncRes.d.ts +0 -8
  912. package/dist/cjs/api/types/ReelablesAssetSyncRes.js +0 -5
  913. package/dist/cjs/api/types/ReelablesWorkspace1.d.ts +0 -13
  914. package/dist/cjs/api/types/ReelablesWorkspace1.js +0 -5
  915. package/dist/cjs/api/types/ReelablesWorkspaceListRes.d.ts +0 -8
  916. package/dist/cjs/api/types/ReelablesWorkspaceListRes.js +0 -5
  917. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.d.ts +0 -4
  918. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.js +0 -5
  919. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.d.ts +0 -9
  920. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.js +0 -5
  921. package/dist/cjs/api/types/SetFlightInfoReq.d.ts +0 -8
  922. package/dist/cjs/api/types/SetFlightInfoReq.js +0 -5
  923. package/dist/cjs/api/types/SettlementTypeEnum1.d.ts +0 -8
  924. package/dist/cjs/api/types/SettlementTypeEnum1.js +0 -10
  925. package/dist/cjs/api/types/Statement1.d.ts +0 -45
  926. package/dist/cjs/api/types/Statement1.js +0 -5
  927. package/dist/cjs/api/types/StatementExpandedListItem.d.ts +0 -9
  928. package/dist/cjs/api/types/StatementExpandedListItem.js +0 -5
  929. package/dist/cjs/api/types/StatementExpandedRes.d.ts +0 -8
  930. package/dist/cjs/api/types/StatementExpandedRes.js +0 -5
  931. package/dist/cjs/api/types/StatementSortByEnum.d.ts +0 -11
  932. package/dist/cjs/api/types/StatementSortByEnum.js +0 -13
  933. package/dist/cjs/api/types/StatementStatusEnum1.d.ts +0 -10
  934. package/dist/cjs/api/types/StatementStatusEnum1.js +0 -12
  935. package/dist/cjs/api/types/StatementsExpandedListRes.d.ts +0 -8
  936. package/dist/cjs/api/types/StatementsExpandedListRes.js +0 -5
  937. package/dist/cjs/api/types/StatementsListRes.d.ts +0 -8
  938. package/dist/cjs/api/types/StatementsListRes.js +0 -5
  939. package/dist/cjs/api/types/StripeConnectInvoiceStatusEnum.d.ts +0 -12
  940. package/dist/cjs/api/types/StripeConnectInvoiceStatusEnum.js +0 -14
  941. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -15
  942. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +0 -37
  943. package/dist/cjs/api/types/TaskGroupQuoteResp.js +0 -5
  944. package/dist/cjs/api/types/UngroupedOrderListRes.d.ts +0 -8
  945. package/dist/cjs/api/types/UngroupedOrderListRes.js +0 -5
  946. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +0 -7
  947. package/dist/cjs/api/types/UngroupedOrderRow.js +0 -5
  948. package/dist/cjs/api/types/UngroupedOrderSortByEnum.d.ts +0 -11
  949. package/dist/cjs/api/types/UngroupedOrderSortByEnum.js +0 -13
  950. package/dist/cjs/api/types/UnitsEnum.d.ts +0 -8
  951. package/dist/cjs/api/types/UnitsEnum.js +0 -10
  952. package/dist/cjs/core/stream/Stream.d.ts +0 -46
  953. package/dist/cjs/core/stream/Stream.js +0 -169
  954. package/dist/cjs/core/stream/index.d.ts +0 -1
  955. package/dist/cjs/core/stream/index.js +0 -5
  956. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +0 -115
  957. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +0 -388
  958. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +0 -14
  959. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +0 -41
  960. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +0 -17
  961. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +0 -3
  962. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +0 -110
  963. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +0 -374
  964. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +0 -23
  965. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +0 -13
  966. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +0 -32
  967. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +0 -3
  968. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +0 -132
  969. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +0 -468
  970. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +0 -19
  971. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +0 -21
  972. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +0 -16
  973. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +0 -3
  974. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +0 -132
  975. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +0 -471
  976. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +0 -35
  977. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +0 -46
  978. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +0 -16
  979. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +0 -3
  980. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +0 -307
  981. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +0 -1166
  982. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -23
  983. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +0 -53
  984. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +0 -23
  985. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +0 -24
  986. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +0 -4
  987. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -4
  988. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -4
  989. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/messages/client/Client.d.mts +0 -50
  990. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/messages/client/Client.mjs +0 -96
  991. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.d.mts +0 -12
  992. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/index.d.mts +0 -1
  993. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +0 -83
  994. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +0 -271
  995. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.d.mts +0 -13
  996. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.d.mts +0 -1
  997. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.d.mts +0 -23
  998. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.mjs +0 -13
  999. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.d.mts +0 -2
  1000. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.mjs +0 -2
  1001. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.mts +0 -83
  1002. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.mjs +0 -271
  1003. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.d.mts +0 -13
  1004. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.mts +0 -1
  1005. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +0 -132
  1006. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +0 -468
  1007. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +0 -16
  1008. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +0 -15
  1009. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +0 -16
  1010. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +0 -3
  1011. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +0 -155
  1012. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +0 -545
  1013. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +0 -20
  1014. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +0 -18
  1015. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +0 -14
  1016. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +0 -3
  1017. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +0 -321
  1018. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +0 -1297
  1019. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -21
  1020. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.d.mts +0 -12
  1021. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +0 -13
  1022. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +0 -71
  1023. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +0 -71
  1024. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +0 -5
  1025. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +0 -22
  1026. package/dist/esm/api/resources/billingNew/resources/rates/client/Client.d.mts +0 -145
  1027. package/dist/esm/api/resources/billingNew/resources/rates/client/Client.mjs +0 -541
  1028. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +0 -13
  1029. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -37
  1030. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +0 -43
  1031. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +0 -13
  1032. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.mts +0 -54
  1033. package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +0 -5
  1034. package/dist/esm/api/resources/shipping/resources/cargos/client/Client.d.mts +0 -101
  1035. package/dist/esm/api/resources/shipping/resources/cargos/client/Client.mjs +0 -294
  1036. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.d.mts +0 -18
  1037. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.d.mts +0 -16
  1038. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.mts +0 -16
  1039. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/index.d.mts +0 -3
  1040. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +0 -142
  1041. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +0 -493
  1042. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +0 -16
  1043. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +0 -12
  1044. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.mts +0 -13
  1045. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.mts +0 -30
  1046. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +0 -4
  1047. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +0 -177
  1048. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +0 -673
  1049. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.d.mts +0 -2
  1050. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.mjs +0 -1
  1051. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +0 -38
  1052. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.d.mts +0 -1
  1053. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.mjs +0 -1
  1054. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.d.mts +0 -2
  1055. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.mjs +0 -2
  1056. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.mts +0 -64
  1057. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.mjs +0 -159
  1058. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.d.mts +0 -2
  1059. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.mjs +0 -1
  1060. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.mts +0 -19
  1061. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.mts +0 -16
  1062. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.d.mts +0 -2
  1063. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.mjs +0 -1
  1064. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/index.d.mts +0 -1
  1065. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/index.mjs +0 -1
  1066. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.d.mts +0 -2
  1067. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.mjs +0 -2
  1068. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.mts +0 -13
  1069. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.mts +0 -13
  1070. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +0 -18
  1071. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +0 -16
  1072. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +0 -16
  1073. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +0 -15
  1074. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.d.mts +0 -4
  1075. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.mjs +0 -1
  1076. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.d.mts +0 -62
  1077. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.mjs +0 -160
  1078. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.d.mts +0 -1
  1079. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.mjs +0 -1
  1080. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.d.mts +0 -1
  1081. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.mjs +0 -1
  1082. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.d.mts +0 -81
  1083. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/Client.mjs +0 -222
  1084. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.d.mts +0 -2
  1085. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.mjs +0 -1
  1086. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +0 -18
  1087. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +0 -15
  1088. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.d.mts +0 -2
  1089. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.mjs +0 -1
  1090. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.d.mts +0 -1
  1091. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.mjs +0 -1
  1092. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/Client.d.mts +0 -63
  1093. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/Client.mjs +0 -155
  1094. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.d.mts +0 -2
  1095. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.mjs +0 -1
  1096. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +0 -16
  1097. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.d.mts +0 -1
  1098. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.mjs +0 -1
  1099. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.d.mts +0 -1
  1100. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.mjs +0 -1
  1101. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +0 -13
  1102. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +0 -17
  1103. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +0 -13
  1104. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +0 -13
  1105. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.mts +0 -13
  1106. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts +0 -12
  1107. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.d.mts +0 -6
  1108. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.mjs +0 -1
  1109. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.mts +0 -26
  1110. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.mjs +0 -11
  1111. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/index.d.mts +0 -1
  1112. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/index.mjs +0 -1
  1113. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +0 -73
  1114. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +0 -215
  1115. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.mts +0 -2
  1116. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.mjs +0 -1
  1117. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.mts +0 -32
  1118. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +0 -23
  1119. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.mts +0 -2
  1120. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.mjs +0 -1
  1121. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.d.mts +0 -1
  1122. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.mjs +0 -1
  1123. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +0 -19
  1124. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.mts +0 -1
  1125. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.mjs +0 -1
  1126. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +0 -13
  1127. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.d.mts +0 -13
  1128. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +0 -13
  1129. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +0 -13
  1130. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +0 -13
  1131. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.d.mts +0 -13
  1132. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +0 -21
  1133. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +0 -62
  1134. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +0 -160
  1135. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.mts +0 -2
  1136. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.mjs +0 -1
  1137. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.mts +0 -21
  1138. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.mts +0 -1
  1139. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.mjs +0 -1
  1140. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.mts +0 -1
  1141. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.mjs +0 -1
  1142. package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +0 -7
  1143. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +0 -6
  1144. package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +0 -6
  1145. package/dist/esm/api/types/BillingCycleEnum.d.mts +0 -11
  1146. package/dist/esm/api/types/BillingCycleEnum.mjs +0 -10
  1147. package/dist/esm/api/types/BillingLedger1.d.mts +0 -27
  1148. package/dist/esm/api/types/BillingLedgerListRes.d.mts +0 -8
  1149. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +0 -35
  1150. package/dist/esm/api/types/BillingLedgerPeriodListRes.d.mts +0 -8
  1151. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +0 -9
  1152. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +0 -8
  1153. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.d.mts +0 -8
  1154. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.mjs +0 -7
  1155. package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +0 -4
  1156. package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +0 -8
  1157. package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +0 -7
  1158. package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +0 -13
  1159. package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +0 -10
  1160. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.mts +0 -14
  1161. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +0 -15
  1162. package/dist/esm/api/types/BillingReviewStatusEnum.mjs +0 -9
  1163. package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +0 -10
  1164. package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +0 -10
  1165. package/dist/esm/api/types/CargoClientUpdate1.d.mts +0 -26
  1166. package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +0 -16
  1167. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +0 -8
  1168. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +0 -32
  1169. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +0 -8
  1170. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +0 -7
  1171. package/dist/esm/api/types/LineItem1.d.mts +0 -32
  1172. package/dist/esm/api/types/LineItemClientCreate1.d.mts +0 -14
  1173. package/dist/esm/api/types/LineItemEnum1.d.mts +0 -39
  1174. package/dist/esm/api/types/LineItemEnum1.mjs +0 -32
  1175. package/dist/esm/api/types/LineItemGroup1.d.mts +0 -59
  1176. package/dist/esm/api/types/LineItemGroup1.mjs +0 -4
  1177. package/dist/esm/api/types/LineItemGroupLineItemsRes.d.mts +0 -11
  1178. package/dist/esm/api/types/LineItemGroupLineItemsRes.mjs +0 -4
  1179. package/dist/esm/api/types/LineItemGroupListRes.d.mts +0 -8
  1180. package/dist/esm/api/types/LineItemGroupListRes.mjs +0 -4
  1181. package/dist/esm/api/types/LineItemGroupMessage1.d.mts +0 -12
  1182. package/dist/esm/api/types/LineItemGroupMessage1.mjs +0 -4
  1183. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +0 -19
  1184. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.mjs +0 -4
  1185. package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +0 -30
  1186. package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -10
  1187. package/dist/esm/api/types/LineItemProvenanceEnum.d.mts +0 -9
  1188. package/dist/esm/api/types/LineItemProvenanceEnum.mjs +0 -8
  1189. package/dist/esm/api/types/LineItemS3ObjectMetadata1.d.mts +0 -19
  1190. package/dist/esm/api/types/LineItemS3ObjectMetadata1.mjs +0 -4
  1191. package/dist/esm/api/types/LineItemStatusEnum.d.mts +0 -9
  1192. package/dist/esm/api/types/LineItemStatusEnum.mjs +0 -8
  1193. package/dist/esm/api/types/LlmModelEnum.d.mts +0 -12
  1194. package/dist/esm/api/types/LlmModelEnum.mjs +0 -11
  1195. package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +0 -13
  1196. package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +0 -4
  1197. package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +0 -8
  1198. package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +0 -4
  1199. package/dist/esm/api/types/OrderBuilderReq.d.mts +0 -11
  1200. package/dist/esm/api/types/OrderBuilderReq.mjs +0 -4
  1201. package/dist/esm/api/types/OrderBuilderRes.d.mts +0 -11
  1202. package/dist/esm/api/types/OrderBuilderRes.mjs +0 -4
  1203. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.d.mts +0 -15
  1204. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.mjs +0 -4
  1205. package/dist/esm/api/types/OrderDraftExpandedForShipper.d.mts +0 -15
  1206. package/dist/esm/api/types/OrderDraftExpandedForShipper.mjs +0 -4
  1207. package/dist/esm/api/types/OrderGroup1.d.mts +0 -21
  1208. package/dist/esm/api/types/OrderGroup1.mjs +0 -4
  1209. package/dist/esm/api/types/OrderGroupExpandedListRes.d.mts +0 -8
  1210. package/dist/esm/api/types/OrderGroupExpandedListRes.mjs +0 -4
  1211. package/dist/esm/api/types/OrderGroupExpandedRow.d.mts +0 -9
  1212. package/dist/esm/api/types/OrderGroupExpandedRow.mjs +0 -4
  1213. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.d.mts +0 -10
  1214. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.mjs +0 -9
  1215. package/dist/esm/api/types/OrderGroupListRes.d.mts +0 -8
  1216. package/dist/esm/api/types/OrderGroupListRes.mjs +0 -4
  1217. package/dist/esm/api/types/OrderGroupSortByEnum.d.mts +0 -9
  1218. package/dist/esm/api/types/OrderGroupSortByEnum.mjs +0 -8
  1219. package/dist/esm/api/types/OrderSchedule1.d.mts +0 -24
  1220. package/dist/esm/api/types/OrderSchedule1.mjs +0 -4
  1221. package/dist/esm/api/types/OrderScheduleAboutRes.d.mts +0 -9
  1222. package/dist/esm/api/types/OrderScheduleAboutRes.mjs +0 -4
  1223. package/dist/esm/api/types/OrderScheduleBuildSeedRes.d.mts +0 -10
  1224. package/dist/esm/api/types/OrderScheduleBuildSeedRes.mjs +0 -4
  1225. package/dist/esm/api/types/OrderScheduleListRes.d.mts +0 -8
  1226. package/dist/esm/api/types/OrderScheduleListRes.mjs +0 -4
  1227. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.d.mts +0 -8
  1228. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.mjs +0 -4
  1229. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.d.mts +0 -11
  1230. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.mjs +0 -4
  1231. package/dist/esm/api/types/OrderScheduleSortByEnum.d.mts +0 -10
  1232. package/dist/esm/api/types/OrderScheduleSortByEnum.mjs +0 -9
  1233. package/dist/esm/api/types/OrderScheduleSpec1.d.mts +0 -11
  1234. package/dist/esm/api/types/OrderScheduleSpec1.mjs +0 -4
  1235. package/dist/esm/api/types/OrderScheduleStatusEnum1.d.mts +0 -10
  1236. package/dist/esm/api/types/OrderScheduleStatusEnum1.mjs +0 -9
  1237. package/dist/esm/api/types/OrderTemplateCore1.d.mts +0 -27
  1238. package/dist/esm/api/types/OrderTemplateCore1.mjs +0 -4
  1239. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +0 -13
  1240. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.mjs +0 -4
  1241. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +0 -12
  1242. package/dist/esm/api/types/OrderTemplateResolvabilityRes.mjs +0 -4
  1243. package/dist/esm/api/types/RateSheetMapping1.d.mts +0 -17
  1244. package/dist/esm/api/types/RateSheetMapping1.mjs +0 -4
  1245. package/dist/esm/api/types/RateSheetMappingListRes.d.mts +0 -8
  1246. package/dist/esm/api/types/RateSheetMappingListRes.mjs +0 -4
  1247. package/dist/esm/api/types/ReelablesAssetSyncRes.d.mts +0 -8
  1248. package/dist/esm/api/types/ReelablesAssetSyncRes.mjs +0 -4
  1249. package/dist/esm/api/types/ReelablesWorkspace1.d.mts +0 -13
  1250. package/dist/esm/api/types/ReelablesWorkspace1.mjs +0 -4
  1251. package/dist/esm/api/types/ReelablesWorkspaceListRes.d.mts +0 -8
  1252. package/dist/esm/api/types/ReelablesWorkspaceListRes.mjs +0 -4
  1253. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.d.mts +0 -4
  1254. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.mjs +0 -4
  1255. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.d.mts +0 -9
  1256. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.mjs +0 -4
  1257. package/dist/esm/api/types/SetFlightInfoReq.d.mts +0 -8
  1258. package/dist/esm/api/types/SetFlightInfoReq.mjs +0 -4
  1259. package/dist/esm/api/types/SettlementTypeEnum1.d.mts +0 -8
  1260. package/dist/esm/api/types/SettlementTypeEnum1.mjs +0 -7
  1261. package/dist/esm/api/types/Statement1.d.mts +0 -45
  1262. package/dist/esm/api/types/Statement1.mjs +0 -4
  1263. package/dist/esm/api/types/StatementExpandedListItem.d.mts +0 -9
  1264. package/dist/esm/api/types/StatementExpandedListItem.mjs +0 -4
  1265. package/dist/esm/api/types/StatementExpandedRes.d.mts +0 -8
  1266. package/dist/esm/api/types/StatementExpandedRes.mjs +0 -4
  1267. package/dist/esm/api/types/StatementSortByEnum.d.mts +0 -11
  1268. package/dist/esm/api/types/StatementSortByEnum.mjs +0 -10
  1269. package/dist/esm/api/types/StatementStatusEnum1.d.mts +0 -10
  1270. package/dist/esm/api/types/StatementStatusEnum1.mjs +0 -9
  1271. package/dist/esm/api/types/StatementsExpandedListRes.d.mts +0 -8
  1272. package/dist/esm/api/types/StatementsExpandedListRes.mjs +0 -4
  1273. package/dist/esm/api/types/StatementsListRes.d.mts +0 -8
  1274. package/dist/esm/api/types/StatementsListRes.mjs +0 -4
  1275. package/dist/esm/api/types/StripeConnectInvoiceStatusEnum.d.mts +0 -12
  1276. package/dist/esm/api/types/StripeConnectInvoiceStatusEnum.mjs +0 -11
  1277. package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -15
  1278. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +0 -37
  1279. package/dist/esm/api/types/TaskGroupQuoteResp.mjs +0 -4
  1280. package/dist/esm/api/types/UngroupedOrderListRes.d.mts +0 -8
  1281. package/dist/esm/api/types/UngroupedOrderListRes.mjs +0 -4
  1282. package/dist/esm/api/types/UngroupedOrderRow.d.mts +0 -7
  1283. package/dist/esm/api/types/UngroupedOrderRow.mjs +0 -4
  1284. package/dist/esm/api/types/UngroupedOrderSortByEnum.d.mts +0 -11
  1285. package/dist/esm/api/types/UngroupedOrderSortByEnum.mjs +0 -10
  1286. package/dist/esm/api/types/UnitsEnum.d.mts +0 -8
  1287. package/dist/esm/api/types/UnitsEnum.mjs +0 -7
  1288. package/dist/esm/core/stream/Stream.d.mts +0 -46
  1289. package/dist/esm/core/stream/Stream.mjs +0 -164
  1290. package/dist/esm/core/stream/index.d.mts +0 -1
  1291. package/dist/esm/core/stream/index.mjs +0 -1
  1292. /package/dist/cjs/api/resources/{billing/resources/lineItems → agent}/client/index.d.ts +0 -0
  1293. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests → agent/client}/index.js +0 -0
  1294. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → agent}/index.d.ts +0 -0
  1295. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → agent}/index.js +0 -0
  1296. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/client/index.d.ts +0 -0
  1297. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/client/index.js +0 -0
  1298. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js} +0 -0
  1299. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js} +0 -0
  1300. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.js → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js} +0 -0
  1301. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → agent/resources/orderInformation}/client/requests/index.js +0 -0
  1302. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/index.d.ts +0 -0
  1303. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/index.js +0 -0
  1304. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/client/index.d.ts +0 -0
  1305. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/client/index.js +0 -0
  1306. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.js} +0 -0
  1307. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.js} +0 -0
  1308. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.js} +0 -0
  1309. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/billingPeriods}/client/requests/index.js +0 -0
  1310. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/index.d.ts +0 -0
  1311. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/index.js +0 -0
  1312. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/client/index.d.ts +0 -0
  1313. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/client/index.js +0 -0
  1314. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.js +0 -0
  1315. /package/dist/cjs/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.js +0 -0
  1316. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js → billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.js} +0 -0
  1317. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js → billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.js} +0 -0
  1318. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/chrtGroundProviderRates}/client/requests/index.js +0 -0
  1319. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/index.d.ts +0 -0
  1320. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/index.js +0 -0
  1321. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js → billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.js} +0 -0
  1322. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js → billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.js} +0 -0
  1323. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js → billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.js} +0 -0
  1324. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/client/index.d.ts +0 -0
  1325. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/client/index.js +0 -0
  1326. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js → billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.js} +0 -0
  1327. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js → billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.js} +0 -0
  1328. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → billingNew/resources/orders}/client/requests/index.js +0 -0
  1329. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/index.d.ts +0 -0
  1330. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/index.js +0 -0
  1331. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → shipping/resources/orderTemplatesNew}/client/index.d.ts +0 -0
  1332. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → shipping/resources/orderTemplatesNew}/client/index.js +0 -0
  1333. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.js → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.js} +0 -0
  1334. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.js → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.js} +0 -0
  1335. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.js → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.js} +0 -0
  1336. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.js → shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.js} +0 -0
  1337. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew}/client/requests/index.js +0 -0
  1338. /package/dist/cjs/api/resources/{billing/resources/lineItems → shipping/resources/orderTemplatesNew}/index.d.ts +0 -0
  1339. /package/dist/cjs/api/resources/{billing/resources/lineItems → shipping/resources/orderTemplatesNew}/index.js +0 -0
  1340. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/client/index.d.ts +0 -0
  1341. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/client/index.js +0 -0
  1342. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.js → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.js} +0 -0
  1343. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.js → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.js} +0 -0
  1344. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.js} +0 -0
  1345. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/cargos}/client/requests/index.js +0 -0
  1346. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/index.d.ts +0 -0
  1347. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/index.js +0 -0
  1348. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/client/index.d.ts +0 -0
  1349. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/client/index.js +0 -0
  1350. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.js} +0 -0
  1351. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.js} +0 -0
  1352. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.js} +0 -0
  1353. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.js → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.js} +0 -0
  1354. /package/dist/cjs/api/resources/{billing/resources/lineItems/client → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests}/index.js +0 -0
  1355. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/index.d.ts +0 -0
  1356. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/index.js +0 -0
  1357. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/index.d.ts +0 -0
  1358. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/index.js +0 -0
  1359. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.js} +0 -0
  1360. /package/dist/cjs/api/resources/{billing/resources/statements/client/requests/StatementCreateClientReq.js → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.js} +0 -0
  1361. /package/dist/cjs/api/resources/{billing/resources/statements/client/requests/StatementExpandedRetrieveReq.js → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.js} +0 -0
  1362. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/requests/index.js +0 -0
  1363. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/index.d.ts +0 -0
  1364. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/index.js +0 -0
  1365. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/index.d.ts +0 -0
  1366. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/index.js +0 -0
  1367. /package/dist/cjs/api/resources/{billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.js} +0 -0
  1368. /package/dist/cjs/api/resources/{billing/resources/statements/client/requests/StatementsExpandedListV1Request.js → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.js} +0 -0
  1369. /package/dist/cjs/api/resources/{billing/resources/statements/client/requests/StatementsListV1Request.js → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.js} +0 -0
  1370. /package/dist/cjs/api/resources/{billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.js} +0 -0
  1371. /package/dist/cjs/api/resources/{billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.js} +0 -0
  1372. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/requests/index.js +0 -0
  1373. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/index.d.ts +0 -0
  1374. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/index.js +0 -0
  1375. /package/dist/cjs/api/resources/{billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js → shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.js} +0 -0
  1376. /package/dist/cjs/api/resources/{billingNew/resources/rates/client/requests/RatesListV1Request.js → shipping/resources/orders/client/requests/OrdersUpdateLabelReq.js} +0 -0
  1377. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/index.d.ts +0 -0
  1378. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/index.js +0 -0
  1379. /package/dist/cjs/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.js +0 -0
  1380. /package/dist/cjs/api/resources/shipping/resources/{cargos/client/requests/CargoAddToOrderReq.js → orders/resources/cargo/client/requests/OrdersAddCargoReq.js} +0 -0
  1381. /package/dist/cjs/api/resources/shipping/resources/{cargos/client/requests/CargoAssociateWithTaskReq.js → orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.js} +0 -0
  1382. /package/dist/cjs/api/resources/shipping/resources/{cargos/client/requests/CargoUnassociateWithTaskReq.js → orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.js} +0 -0
  1383. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/requests/index.js +0 -0
  1384. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/index.d.ts +0 -0
  1385. /package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/index.js +0 -0
  1386. /package/dist/cjs/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupClientCreate1.js → orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.js} +0 -0
  1387. /package/dist/cjs/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/index.d.ts +0 -0
  1388. /package/dist/cjs/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/index.js +0 -0
  1389. /package/dist/cjs/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupClientUpdate1.js → orders/resources/task/client/requests/OrdersAddTaskReq.js} +0 -0
  1390. /package/dist/cjs/api/{types → resources/shipping/resources/orders/resources/task/client/requests}/TaskClientUpdate1.js +0 -0
  1391. /package/dist/cjs/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/requests/index.js +0 -0
  1392. /package/dist/cjs/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/index.d.ts +0 -0
  1393. /package/dist/cjs/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/index.js +0 -0
  1394. /package/dist/cjs/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/index.d.ts +0 -0
  1395. /package/dist/cjs/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/index.js +0 -0
  1396. /package/dist/cjs/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/requests/index.js +0 -0
  1397. /package/dist/cjs/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/index.d.ts +0 -0
  1398. /package/dist/cjs/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/index.js +0 -0
  1399. /package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/index.d.ts +0 -0
  1400. /package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/index.js +0 -0
  1401. /package/dist/cjs/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.js → orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.js} +0 -0
  1402. /package/dist/cjs/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupsListV1Request.js → orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.js} +0 -0
  1403. /package/dist/cjs/api/resources/shipping/resources/{orderSchedules/client/requests/OrderSchedulesListV1Request.js → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.js} +0 -0
  1404. /package/dist/cjs/api/resources/shipping/resources/{orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.js → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.js} +0 -0
  1405. /package/dist/cjs/api/resources/shipping/resources/{orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.js → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.js} +0 -0
  1406. /package/dist/cjs/api/resources/shipping/resources/orders/{client/requests/OrdersUpdateDepartmentAndLabelReq.js → resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.js} +0 -0
  1407. /package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/requests/index.js +0 -0
  1408. /package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/index.d.ts +0 -0
  1409. /package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/index.js +0 -0
  1410. /package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/index.d.ts +0 -0
  1411. /package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/index.js +0 -0
  1412. /package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.js → utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.js} +0 -0
  1413. /package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/requests/index.js +0 -0
  1414. /package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/index.d.ts +0 -0
  1415. /package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/index.js +0 -0
  1416. /package/dist/cjs/api/resources/shipping/resources/{orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.js → tasks/client/requests/TaskLocationFromReferenceReq.js} +0 -0
  1417. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.js} +0 -0
  1418. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.js → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.js} +0 -0
  1419. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js → trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.js} +0 -0
  1420. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.js → types/AdHocInvoiceLineItem1.js} +0 -0
  1421. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.js → types/AdHocInvoiceLineItemsReq.js} +0 -0
  1422. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js → types/BillingPeriod1.js} +0 -0
  1423. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js → types/BillingPeriodExpanded1.js} +0 -0
  1424. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js → types/BillingPeriodListRes.js} +0 -0
  1425. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js → types/BillingPeriodTaskGroupsReq.js} +0 -0
  1426. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.js → types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.js} +0 -0
  1427. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.js → types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.js} +0 -0
  1428. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.js → types/CreateInvoiceLineItemsFromAwbCostsItem1.js} +0 -0
  1429. /package/dist/cjs/api/{resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.js → types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.js} +0 -0
  1430. /package/dist/cjs/api/{resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.js → types/CreateInvoiceLineItemsFromAwbCostsRes.js} +0 -0
  1431. /package/dist/cjs/api/{resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.js → types/FromPayables1.js} +0 -0
  1432. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js → types/InvoiceLineItemClientCreate1.js} +0 -0
  1433. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.js → types/InvoiceLineItemServerCreate1.js} +0 -0
  1434. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.js → types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js} +0 -0
  1435. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.js → types/OrderAwbBillingAccount1.js} +0 -0
  1436. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.js → types/OrderAwbBillingListItem1.js} +0 -0
  1437. /package/dist/cjs/api/{resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.js → types/OrderAwbBillingListRes.js} +0 -0
  1438. /package/dist/cjs/api/{resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.js → types/OrderBillingAccount1.js} +0 -0
  1439. /package/dist/cjs/api/{resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.js → types/OrderBillingCurrencyTotals1.js} +0 -0
  1440. /package/dist/cjs/api/types/{ApplyChrtGroundProviderRatesRes.js → OrderBillingExecutor1.js} +0 -0
  1441. /package/dist/cjs/api/types/{AttachBillingLedgerPeriodReq.js → OrderBillingExpandedListItem1.js} +0 -0
  1442. /package/dist/cjs/api/types/{AttachLigToVectorClientReq.js → OrderBillingExpandedListRes.js} +0 -0
  1443. /package/dist/cjs/api/types/{BillingLedger1.js → OrderBillingPeriod1.js} +0 -0
  1444. /package/dist/cjs/api/types/{BillingLedgerListRes.js → OrderBillingShipper1.js} +0 -0
  1445. /package/dist/cjs/api/types/{BillingLedgerPeriod1.js → OrderInformationConversationRes.js} +0 -0
  1446. /package/dist/cjs/api/types/{BillingLedgerPeriodListRes.js → OrderTemplateNew1.js} +0 -0
  1447. /package/dist/cjs/api/types/{BillingLedgerSortByEnum.js → OrderTemplateNewCargo1.js} +0 -0
  1448. /package/dist/cjs/api/types/{BillingLineItemGroupMessageWebhookPayload.js → OrderTemplateNewCore1.js} +0 -0
  1449. /package/dist/cjs/api/types/{BillingLineItemGroupS3ObjectAddedWebhookPayload.js → OrderTemplateNewDateTimeWindow1.js} +0 -0
  1450. /package/dist/cjs/api/types/{BillingLineItemS3ObjectAddedWebhookPayload.js → OrderTemplateNewDateparserResolveRes.js} +0 -0
  1451. /package/dist/cjs/api/types/{BillingStatementOpenedWebhookPayload.js → OrderTemplateNewListRes.js} +0 -0
  1452. /package/dist/cjs/api/types/{BillingStatementPaidWebhookPayload.js → OrderTemplateNewTask1.js} +0 -0
  1453. /package/dist/cjs/api/types/{CargoOnFlightRateSheet1.js → OrderTemplateNewTaskArtifact1.js} +0 -0
  1454. /package/dist/cjs/api/types/{CargoOnFlightRateSheetListRes.js → OrderTemplateNewTaskGroup1.js} +0 -0
  1455. /package/dist/cjs/api/types/{ChrtGroundProviderRateSheet1.js → ResolvedTaskGroupChrtGroundProviderRates1.js} +0 -0
  1456. /package/dist/cjs/api/types/{ChrtGroundProviderRateSheetListRes.js → StoredModel.js} +0 -0
  1457. /package/dist/cjs/api/types/{CreateLigFromRateSheetForVectorClientReq.js → TaskGroupChrtGroundProviderRateSheetIds1.js} +0 -0
  1458. /package/dist/cjs/api/types/{LineItem1.js → TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.js} +0 -0
  1459. /package/dist/cjs/api/types/{LineItemClientCreate1.js → TaxRate1.js} +0 -0
  1460. /package/dist/esm/api/resources/{billing/resources/lineItems → agent}/client/index.d.mts +0 -0
  1461. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests → agent/client}/index.mjs +0 -0
  1462. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → agent}/index.d.mts +0 -0
  1463. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → agent}/index.mjs +0 -0
  1464. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/client/index.d.mts +0 -0
  1465. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/client/index.mjs +0 -0
  1466. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs} +0 -0
  1467. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs} +0 -0
  1468. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs} +0 -0
  1469. /package/dist/esm/api/resources/{billing/resources/billingLedgers → agent/resources/orderInformation}/client/requests/index.mjs +0 -0
  1470. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/index.d.mts +0 -0
  1471. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → agent/resources/orderInformation}/index.mjs +0 -0
  1472. /package/dist/esm/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/client/index.d.mts +0 -0
  1473. /package/dist/esm/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/client/index.mjs +0 -0
  1474. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.mjs} +0 -0
  1475. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.mjs} +0 -0
  1476. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.mjs} +0 -0
  1477. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/billingPeriods}/client/requests/index.mjs +0 -0
  1478. /package/dist/esm/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/index.d.mts +0 -0
  1479. /package/dist/esm/api/resources/{billing/resources/billingLedgers → billingNew/resources/billingPeriods}/index.mjs +0 -0
  1480. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/client/index.d.mts +0 -0
  1481. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/client/index.mjs +0 -0
  1482. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +0 -0
  1483. /package/dist/esm/api/resources/billingNew/resources/{rates → chrtGroundProviderRates}/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +0 -0
  1484. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs → billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.mjs} +0 -0
  1485. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs → billingNew/resources/chrtGroundProviderRates/client/requests/ResolveChrtGroundProviderRatesReq.mjs} +0 -0
  1486. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/chrtGroundProviderRates}/client/requests/index.mjs +0 -0
  1487. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/index.d.mts +0 -0
  1488. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → billingNew/resources/chrtGroundProviderRates}/index.mjs +0 -0
  1489. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs → billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.mjs} +0 -0
  1490. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs → billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsApproveManyReq.mjs} +0 -0
  1491. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs → billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.mjs} +0 -0
  1492. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/client/index.d.mts +0 -0
  1493. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/client/index.mjs +0 -0
  1494. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs → billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.mjs} +0 -0
  1495. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs → billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.mjs} +0 -0
  1496. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → billingNew/resources/orders}/client/requests/index.mjs +0 -0
  1497. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/index.d.mts +0 -0
  1498. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → billingNew/resources/orders}/index.mjs +0 -0
  1499. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → shipping/resources/orderTemplatesNew}/client/index.d.mts +0 -0
  1500. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → shipping/resources/orderTemplatesNew}/client/index.mjs +0 -0
  1501. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.mjs} +0 -0
  1502. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.mjs} +0 -0
  1503. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs → shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.mjs} +0 -0
  1504. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.mjs → shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.mjs} +0 -0
  1505. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew}/client/requests/index.mjs +0 -0
  1506. /package/dist/esm/api/resources/{billing/resources/lineItems → shipping/resources/orderTemplatesNew}/index.d.mts +0 -0
  1507. /package/dist/esm/api/resources/{billing/resources/lineItems → shipping/resources/orderTemplatesNew}/index.mjs +0 -0
  1508. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/client/index.d.mts +0 -0
  1509. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/client/index.mjs +0 -0
  1510. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.mjs → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.mjs} +0 -0
  1511. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.mjs → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.mjs} +0 -0
  1512. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs → shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.mjs} +0 -0
  1513. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/cargos}/client/requests/index.mjs +0 -0
  1514. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/index.d.mts +0 -0
  1515. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orderTemplatesNew/resources/cargos}/index.mjs +0 -0
  1516. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/client/index.d.mts +0 -0
  1517. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/client/index.mjs +0 -0
  1518. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.mjs} +0 -0
  1519. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.mjs} +0 -0
  1520. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.mjs} +0 -0
  1521. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.mjs → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.mjs} +0 -0
  1522. /package/dist/esm/api/resources/{billing/resources/lineItems/client → shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests}/index.mjs +0 -0
  1523. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/index.d.mts +0 -0
  1524. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskArtifacts}/index.mjs +0 -0
  1525. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/index.d.mts +0 -0
  1526. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/index.mjs +0 -0
  1527. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.mjs} +0 -0
  1528. /package/dist/esm/api/resources/{billing/resources/statements/client/requests/StatementCreateClientReq.mjs → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.mjs} +0 -0
  1529. /package/dist/esm/api/resources/{billing/resources/statements/client/requests/StatementExpandedRetrieveReq.mjs → shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.mjs} +0 -0
  1530. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/client/requests/index.mjs +0 -0
  1531. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/index.d.mts +0 -0
  1532. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects → shipping/resources/orderTemplatesNew/resources/taskGroups}/index.mjs +0 -0
  1533. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/index.d.mts +0 -0
  1534. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/index.mjs +0 -0
  1535. /package/dist/esm/api/resources/{billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.mjs} +0 -0
  1536. /package/dist/esm/api/resources/{billing/resources/statements/client/requests/StatementsExpandedListV1Request.mjs → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.mjs} +0 -0
  1537. /package/dist/esm/api/resources/{billing/resources/statements/client/requests/StatementsListV1Request.mjs → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.mjs} +0 -0
  1538. /package/dist/esm/api/resources/{billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.mjs} +0 -0
  1539. /package/dist/esm/api/resources/{billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs → shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.mjs} +0 -0
  1540. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/client/requests/index.mjs +0 -0
  1541. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/index.d.mts +0 -0
  1542. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets → shipping/resources/orderTemplatesNew/resources/tasks}/index.mjs +0 -0
  1543. /package/dist/esm/api/resources/{billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs → shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.mjs} +0 -0
  1544. /package/dist/esm/api/resources/{billingNew/resources/rates/client/requests/RatesListV1Request.mjs → shipping/resources/orders/client/requests/OrdersUpdateLabelReq.mjs} +0 -0
  1545. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/index.d.mts +0 -0
  1546. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/index.mjs +0 -0
  1547. /package/dist/esm/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.mjs +0 -0
  1548. /package/dist/esm/api/resources/shipping/resources/{cargos/client/requests/CargoAddToOrderReq.mjs → orders/resources/cargo/client/requests/OrdersAddCargoReq.mjs} +0 -0
  1549. /package/dist/esm/api/resources/shipping/resources/{cargos/client/requests/CargoAssociateWithTaskReq.mjs → orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.mjs} +0 -0
  1550. /package/dist/esm/api/resources/shipping/resources/{cargos/client/requests/CargoUnassociateWithTaskReq.mjs → orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.mjs} +0 -0
  1551. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/client/requests/index.mjs +0 -0
  1552. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/index.d.mts +0 -0
  1553. /package/dist/esm/api/resources/{billing/resources/rateSheetMappings → shipping/resources/orders/resources/cargo}/index.mjs +0 -0
  1554. /package/dist/esm/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupClientCreate1.mjs → orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.mjs} +0 -0
  1555. /package/dist/esm/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/index.d.mts +0 -0
  1556. /package/dist/esm/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/index.mjs +0 -0
  1557. /package/dist/esm/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupClientUpdate1.mjs → orders/resources/task/client/requests/OrdersAddTaskReq.mjs} +0 -0
  1558. /package/dist/esm/api/{types → resources/shipping/resources/orders/resources/task/client/requests}/TaskClientUpdate1.mjs +0 -0
  1559. /package/dist/esm/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/client/requests/index.mjs +0 -0
  1560. /package/dist/esm/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/index.d.mts +0 -0
  1561. /package/dist/esm/api/resources/{billing/resources/statements → shipping/resources/orders/resources/task}/index.mjs +0 -0
  1562. /package/dist/esm/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/index.d.mts +0 -0
  1563. /package/dist/esm/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/index.mjs +0 -0
  1564. /package/dist/esm/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/client/requests/index.mjs +0 -0
  1565. /package/dist/esm/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/index.d.mts +0 -0
  1566. /package/dist/esm/api/resources/{billingNew/resources/rates → shipping/resources/orders/resources/taskArtifact}/index.mjs +0 -0
  1567. /package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/index.d.mts +0 -0
  1568. /package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/index.mjs +0 -0
  1569. /package/dist/esm/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.mjs → orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.mjs} +0 -0
  1570. /package/dist/esm/api/resources/shipping/resources/{orderGroups/client/requests/OrderGroupsListV1Request.mjs → orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.mjs} +0 -0
  1571. /package/dist/esm/api/resources/shipping/resources/{orderSchedules/client/requests/OrderSchedulesListV1Request.mjs → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.mjs} +0 -0
  1572. /package/dist/esm/api/resources/shipping/resources/{orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.mjs → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.mjs} +0 -0
  1573. /package/dist/esm/api/resources/shipping/resources/{orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.mjs → orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.mjs} +0 -0
  1574. /package/dist/esm/api/resources/shipping/resources/orders/{client/requests/OrdersUpdateDepartmentAndLabelReq.mjs → resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.mjs} +0 -0
  1575. /package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/client/requests/index.mjs +0 -0
  1576. /package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/index.d.mts +0 -0
  1577. /package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/taskGroup}/index.mjs +0 -0
  1578. /package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/index.d.mts +0 -0
  1579. /package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/index.mjs +0 -0
  1580. /package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.mjs → utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.mjs} +0 -0
  1581. /package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/client/requests/index.mjs +0 -0
  1582. /package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/index.d.mts +0 -0
  1583. /package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/utils}/index.mjs +0 -0
  1584. /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs → tasks/client/requests/TaskLocationFromReferenceReq.mjs} +0 -0
  1585. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.mjs} +0 -0
  1586. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.mjs → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.mjs} +0 -0
  1587. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs → trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.mjs} +0 -0
  1588. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs → types/AdHocInvoiceLineItem1.mjs} +0 -0
  1589. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs → types/AdHocInvoiceLineItemsReq.mjs} +0 -0
  1590. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs → types/BillingPeriod1.mjs} +0 -0
  1591. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs → types/BillingPeriodExpanded1.mjs} +0 -0
  1592. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.mjs → types/BillingPeriodListRes.mjs} +0 -0
  1593. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs → types/BillingPeriodTaskGroupsReq.mjs} +0 -0
  1594. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.mjs} +0 -0
  1595. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.mjs} +0 -0
  1596. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsItem1.mjs} +0 -0
  1597. /package/dist/esm/api/{resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.mjs → types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.mjs} +0 -0
  1598. /package/dist/esm/api/{resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.mjs → types/CreateInvoiceLineItemsFromAwbCostsRes.mjs} +0 -0
  1599. /package/dist/esm/api/{resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.mjs → types/FromPayables1.mjs} +0 -0
  1600. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs → types/InvoiceLineItemClientCreate1.mjs} +0 -0
  1601. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.mjs → types/InvoiceLineItemServerCreate1.mjs} +0 -0
  1602. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.mjs → types/InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.mjs} +0 -0
  1603. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.mjs → types/OrderAwbBillingAccount1.mjs} +0 -0
  1604. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.mjs → types/OrderAwbBillingListItem1.mjs} +0 -0
  1605. /package/dist/esm/api/{resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.mjs → types/OrderAwbBillingListRes.mjs} +0 -0
  1606. /package/dist/esm/api/{resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.mjs → types/OrderBillingAccount1.mjs} +0 -0
  1607. /package/dist/esm/api/{resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.mjs → types/OrderBillingCurrencyTotals1.mjs} +0 -0
  1608. /package/dist/esm/api/types/{ApplyChrtGroundProviderRatesRes.mjs → OrderBillingExecutor1.mjs} +0 -0
  1609. /package/dist/esm/api/types/{AttachBillingLedgerPeriodReq.mjs → OrderBillingExpandedListItem1.mjs} +0 -0
  1610. /package/dist/esm/api/types/{AttachLigToVectorClientReq.mjs → OrderBillingExpandedListRes.mjs} +0 -0
  1611. /package/dist/esm/api/types/{BillingLedger1.mjs → OrderBillingPeriod1.mjs} +0 -0
  1612. /package/dist/esm/api/types/{BillingLedgerListRes.mjs → OrderBillingShipper1.mjs} +0 -0
  1613. /package/dist/esm/api/types/{BillingLedgerPeriod1.mjs → OrderInformationConversationRes.mjs} +0 -0
  1614. /package/dist/esm/api/types/{BillingLedgerPeriodListRes.mjs → OrderTemplateNew1.mjs} +0 -0
  1615. /package/dist/esm/api/types/{BillingLedgerSortByEnum.mjs → OrderTemplateNewCargo1.mjs} +0 -0
  1616. /package/dist/esm/api/types/{BillingLineItemGroupMessageWebhookPayload.mjs → OrderTemplateNewCore1.mjs} +0 -0
  1617. /package/dist/esm/api/types/{BillingLineItemGroupS3ObjectAddedWebhookPayload.mjs → OrderTemplateNewDateTimeWindow1.mjs} +0 -0
  1618. /package/dist/esm/api/types/{BillingLineItemS3ObjectAddedWebhookPayload.mjs → OrderTemplateNewDateparserResolveRes.mjs} +0 -0
  1619. /package/dist/esm/api/types/{BillingStatementOpenedWebhookPayload.mjs → OrderTemplateNewListRes.mjs} +0 -0
  1620. /package/dist/esm/api/types/{BillingStatementPaidWebhookPayload.mjs → OrderTemplateNewTask1.mjs} +0 -0
  1621. /package/dist/esm/api/types/{CargoOnFlightRateSheet1.mjs → OrderTemplateNewTaskArtifact1.mjs} +0 -0
  1622. /package/dist/esm/api/types/{CargoOnFlightRateSheetListRes.mjs → OrderTemplateNewTaskGroup1.mjs} +0 -0
  1623. /package/dist/esm/api/types/{ChrtGroundProviderRateSheet1.mjs → ResolvedTaskGroupChrtGroundProviderRates1.mjs} +0 -0
  1624. /package/dist/esm/api/types/{ChrtGroundProviderRateSheetListRes.mjs → StoredModel.mjs} +0 -0
  1625. /package/dist/esm/api/types/{CreateLigFromRateSheetForVectorClientReq.mjs → TaskGroupChrtGroundProviderRateSheetIds1.mjs} +0 -0
  1626. /package/dist/esm/api/types/{LineItem1.mjs → TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1.mjs} +0 -0
  1627. /package/dist/esm/api/types/{LineItemClientCreate1.mjs → TaxRate1.mjs} +0 -0
@@ -1,1334 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.Statements = void 0;
49
- const environments = __importStar(require("../../../../../../environments.js"));
50
- const core = __importStar(require("../../../../../../core/index.js"));
51
- const Chrt = __importStar(require("../../../../../index.js"));
52
- const headers_js_1 = require("../../../../../../core/headers.js");
53
- const errors = __importStar(require("../../../../../../errors/index.js"));
54
- class Statements {
55
- constructor(_options = {}) {
56
- this._options = _options;
57
- }
58
- /**
59
- * Attaches a CLOSED, unbundled BillingLedgerPeriod to a STAGED Statement. Parties must match. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
60
- *
61
- * @param {string} statementId
62
- * @param {string} billingLedgerPeriodId
63
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
64
- *
65
- * @throws {@link Chrt.UnprocessableEntityError}
66
- *
67
- * @example
68
- * await client.billing.statements.attachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
69
- */
70
- attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
72
- }
73
- __attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- var _a, _b, _c, _d;
76
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
77
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/attach_billing_ledger_period/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(billingLedgerPeriodId)}`),
79
- method: "POST",
80
- headers: _headers,
81
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
82
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
- });
86
- if (_response.ok) {
87
- return { data: _response.body, rawResponse: _response.rawResponse };
88
- }
89
- if (_response.error.reason === "status-code") {
90
- switch (_response.error.statusCode) {
91
- case 422:
92
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
93
- default:
94
- throw new errors.ChrtError({
95
- statusCode: _response.error.statusCode,
96
- body: _response.error.body,
97
- rawResponse: _response.rawResponse,
98
- });
99
- }
100
- }
101
- switch (_response.error.reason) {
102
- case "non-json":
103
- throw new errors.ChrtError({
104
- statusCode: _response.error.statusCode,
105
- body: _response.error.rawBody,
106
- rawResponse: _response.rawResponse,
107
- });
108
- case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
110
- case "unknown":
111
- throw new errors.ChrtError({
112
- message: _response.error.errorMessage,
113
- rawResponse: _response.rawResponse,
114
- });
115
- }
116
- });
117
- }
118
- /**
119
- * Attaches a FINALIZED, unbundled LineItemGroup to a STAGED Statement. Parties must match; the Statement's settlement_type is written onto the LIG (or matched if previously stamped). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
120
- *
121
- * @param {string} statementId
122
- * @param {string} lineItemGroupId
123
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
124
- *
125
- * @throws {@link Chrt.UnprocessableEntityError}
126
- *
127
- * @example
128
- * await client.billing.statements.attachLineItemGroupV1("statement_id", "line_item_group_id")
129
- */
130
- attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
131
- return core.HttpResponsePromise.fromPromise(this.__attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
132
- }
133
- __attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
134
- return __awaiter(this, void 0, void 0, function* () {
135
- var _a, _b, _c, _d;
136
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
137
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
138
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/attach_line_item_group/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(lineItemGroupId)}`),
139
- method: "POST",
140
- headers: _headers,
141
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
142
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
143
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
144
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
145
- });
146
- if (_response.ok) {
147
- return { data: _response.body, rawResponse: _response.rawResponse };
148
- }
149
- if (_response.error.reason === "status-code") {
150
- switch (_response.error.statusCode) {
151
- case 422:
152
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
153
- default:
154
- throw new errors.ChrtError({
155
- statusCode: _response.error.statusCode,
156
- body: _response.error.body,
157
- rawResponse: _response.rawResponse,
158
- });
159
- }
160
- }
161
- switch (_response.error.reason) {
162
- case "non-json":
163
- throw new errors.ChrtError({
164
- statusCode: _response.error.statusCode,
165
- body: _response.error.rawBody,
166
- rawResponse: _response.rawResponse,
167
- });
168
- case "timeout":
169
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
170
- case "unknown":
171
- throw new errors.ChrtError({
172
- message: _response.error.errorMessage,
173
- rawResponse: _response.rawResponse,
174
- });
175
- }
176
- });
177
- }
178
- /**
179
- * Gets a statement by its associated LineItemGroup ID. | authz_personas=[statement_org_operators, statement_driver] | () -> (Statement1)
180
- *
181
- * @param {string} lineItemGroupId
182
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
183
- *
184
- * @throws {@link Chrt.UnprocessableEntityError}
185
- *
186
- * @example
187
- * await client.billing.statements.getByLigIdV1("line_item_group_id")
188
- */
189
- getByLigIdV1(lineItemGroupId, requestOptions) {
190
- return core.HttpResponsePromise.fromPromise(this.__getByLigIdV1(lineItemGroupId, requestOptions));
191
- }
192
- __getByLigIdV1(lineItemGroupId, requestOptions) {
193
- return __awaiter(this, void 0, void 0, function* () {
194
- var _a, _b, _c, _d;
195
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
196
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
197
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/by_lig_id/v1/${encodeURIComponent(lineItemGroupId)}`),
198
- method: "GET",
199
- headers: _headers,
200
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
201
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
202
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
203
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
204
- });
205
- if (_response.ok) {
206
- return { data: _response.body, rawResponse: _response.rawResponse };
207
- }
208
- if (_response.error.reason === "status-code") {
209
- switch (_response.error.statusCode) {
210
- case 422:
211
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
212
- default:
213
- throw new errors.ChrtError({
214
- statusCode: _response.error.statusCode,
215
- body: _response.error.body,
216
- rawResponse: _response.rawResponse,
217
- });
218
- }
219
- }
220
- switch (_response.error.reason) {
221
- case "non-json":
222
- throw new errors.ChrtError({
223
- statusCode: _response.error.statusCode,
224
- body: _response.error.rawBody,
225
- rawResponse: _response.rawResponse,
226
- });
227
- case "timeout":
228
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/statements/by_lig_id/v1/{line_item_group_id}.");
229
- case "unknown":
230
- throw new errors.ChrtError({
231
- message: _response.error.errorMessage,
232
- rawResponse: _response.rawResponse,
233
- });
234
- }
235
- });
236
- }
237
- /**
238
- * Creates an empty STAGED Statement carrying payment parties + settlement_type. Items are attached via the attach_* routes. | authz: allowed_org_types=[provider], min_org_role=operator | (StatementCreateClientReq) -> (Statement1)
239
- *
240
- * @param {Chrt.billing.StatementCreateClientReq} request
241
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
242
- *
243
- * @throws {@link Chrt.UnprocessableEntityError}
244
- *
245
- * @example
246
- * await client.billing.statements.createV1({
247
- * settlement_type: "stripe_connect"
248
- * })
249
- */
250
- createV1(request, requestOptions) {
251
- return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
252
- }
253
- __createV1(request, requestOptions) {
254
- return __awaiter(this, void 0, void 0, function* () {
255
- var _a, _b, _c, _d;
256
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
257
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
258
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/statements/create/v1"),
259
- method: "POST",
260
- headers: _headers,
261
- contentType: "application/json",
262
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
263
- requestType: "json",
264
- body: request,
265
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
266
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
267
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
268
- });
269
- if (_response.ok) {
270
- return { data: _response.body, rawResponse: _response.rawResponse };
271
- }
272
- if (_response.error.reason === "status-code") {
273
- switch (_response.error.statusCode) {
274
- case 422:
275
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
276
- default:
277
- throw new errors.ChrtError({
278
- statusCode: _response.error.statusCode,
279
- body: _response.error.body,
280
- rawResponse: _response.rawResponse,
281
- });
282
- }
283
- }
284
- switch (_response.error.reason) {
285
- case "non-json":
286
- throw new errors.ChrtError({
287
- statusCode: _response.error.statusCode,
288
- body: _response.error.rawBody,
289
- rawResponse: _response.rawResponse,
290
- });
291
- case "timeout":
292
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/create/v1.");
293
- case "unknown":
294
- throw new errors.ChrtError({
295
- message: _response.error.errorMessage,
296
- rawResponse: _response.rawResponse,
297
- });
298
- }
299
- });
300
- }
301
- /**
302
- * Deletes a STAGED Statement that has no attached LineItemGroups or BillingLedgerPeriods. Detach all children first via the detach_* routes. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (bool)
303
- *
304
- * @param {string} statementId
305
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
306
- *
307
- * @throws {@link Chrt.UnprocessableEntityError}
308
- *
309
- * @example
310
- * await client.billing.statements.deleteV1("statement_id")
311
- */
312
- deleteV1(statementId, requestOptions) {
313
- return core.HttpResponsePromise.fromPromise(this.__deleteV1(statementId, requestOptions));
314
- }
315
- __deleteV1(statementId, requestOptions) {
316
- return __awaiter(this, void 0, void 0, function* () {
317
- var _a, _b, _c, _d;
318
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
319
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
320
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/delete/v1/${encodeURIComponent(statementId)}`),
321
- method: "DELETE",
322
- headers: _headers,
323
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
324
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
325
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
326
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
327
- });
328
- if (_response.ok) {
329
- return { data: _response.body, rawResponse: _response.rawResponse };
330
- }
331
- if (_response.error.reason === "status-code") {
332
- switch (_response.error.statusCode) {
333
- case 422:
334
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
335
- default:
336
- throw new errors.ChrtError({
337
- statusCode: _response.error.statusCode,
338
- body: _response.error.body,
339
- rawResponse: _response.rawResponse,
340
- });
341
- }
342
- }
343
- switch (_response.error.reason) {
344
- case "non-json":
345
- throw new errors.ChrtError({
346
- statusCode: _response.error.statusCode,
347
- body: _response.error.rawBody,
348
- rawResponse: _response.rawResponse,
349
- });
350
- case "timeout":
351
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/delete/v1/{statement_id}.");
352
- case "unknown":
353
- throw new errors.ChrtError({
354
- message: _response.error.errorMessage,
355
- rawResponse: _response.rawResponse,
356
- });
357
- }
358
- });
359
- }
360
- /**
361
- * Detaches a BillingLedgerPeriod from a STAGED Statement, freeing it for re-bundling. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
362
- *
363
- * @param {string} statementId
364
- * @param {string} billingLedgerPeriodId
365
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
366
- *
367
- * @throws {@link Chrt.UnprocessableEntityError}
368
- *
369
- * @example
370
- * await client.billing.statements.detachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
371
- */
372
- detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
373
- return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
374
- }
375
- __detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
376
- return __awaiter(this, void 0, void 0, function* () {
377
- var _a, _b, _c, _d;
378
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
379
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
380
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/detach_billing_ledger_period/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(billingLedgerPeriodId)}`),
381
- method: "DELETE",
382
- headers: _headers,
383
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
384
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
385
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
386
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
387
- });
388
- if (_response.ok) {
389
- return { data: _response.body, rawResponse: _response.rawResponse };
390
- }
391
- if (_response.error.reason === "status-code") {
392
- switch (_response.error.statusCode) {
393
- case 422:
394
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
395
- default:
396
- throw new errors.ChrtError({
397
- statusCode: _response.error.statusCode,
398
- body: _response.error.body,
399
- rawResponse: _response.rawResponse,
400
- });
401
- }
402
- }
403
- switch (_response.error.reason) {
404
- case "non-json":
405
- throw new errors.ChrtError({
406
- statusCode: _response.error.statusCode,
407
- body: _response.error.rawBody,
408
- rawResponse: _response.rawResponse,
409
- });
410
- case "timeout":
411
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
412
- case "unknown":
413
- throw new errors.ChrtError({
414
- message: _response.error.errorMessage,
415
- rawResponse: _response.rawResponse,
416
- });
417
- }
418
- });
419
- }
420
- /**
421
- * Detaches a LineItemGroup from a STAGED Statement and recomputes order denormalization. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
422
- *
423
- * @param {string} statementId
424
- * @param {string} lineItemGroupId
425
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
426
- *
427
- * @throws {@link Chrt.UnprocessableEntityError}
428
- *
429
- * @example
430
- * await client.billing.statements.detachLineItemGroupV1("statement_id", "line_item_group_id")
431
- */
432
- detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
433
- return core.HttpResponsePromise.fromPromise(this.__detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
434
- }
435
- __detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
436
- return __awaiter(this, void 0, void 0, function* () {
437
- var _a, _b, _c, _d;
438
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
439
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
440
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/detach_line_item_group/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(lineItemGroupId)}`),
441
- method: "DELETE",
442
- headers: _headers,
443
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
444
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
445
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
446
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
447
- });
448
- if (_response.ok) {
449
- return { data: _response.body, rawResponse: _response.rawResponse };
450
- }
451
- if (_response.error.reason === "status-code") {
452
- switch (_response.error.statusCode) {
453
- case 422:
454
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
455
- default:
456
- throw new errors.ChrtError({
457
- statusCode: _response.error.statusCode,
458
- body: _response.error.body,
459
- rawResponse: _response.rawResponse,
460
- });
461
- }
462
- }
463
- switch (_response.error.reason) {
464
- case "non-json":
465
- throw new errors.ChrtError({
466
- statusCode: _response.error.statusCode,
467
- body: _response.error.rawBody,
468
- rawResponse: _response.rawResponse,
469
- });
470
- case "timeout":
471
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
472
- case "unknown":
473
- throw new errors.ChrtError({
474
- message: _response.error.errorMessage,
475
- rawResponse: _response.rawResponse,
476
- });
477
- }
478
- });
479
- }
480
- /**
481
- * Lists statements with expanded LIGs and task groups, using filtering, sorting, and pagination. | authz_personas=[statement_org_operators, statement_driver] | () -> (StatementsExpandedListRes)
482
- *
483
- * @param {Chrt.billing.StatementsExpandedListV1Request} request
484
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
485
- *
486
- * @throws {@link Chrt.UnprocessableEntityError}
487
- *
488
- * @example
489
- * await client.billing.statements.expandedListV1({
490
- * sort_by: "amount",
491
- * sort_order: "asc",
492
- * page: 1,
493
- * page_size: 1,
494
- * filter_settlement_type: "stripe_connect",
495
- * filter_order_id: "filter_order_id",
496
- * filter_order_short_id: "filter_order_short_id",
497
- * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
498
- * filter_payment_origin_org_id: "filter_payment_origin_org_id",
499
- * filter_payment_origin_off_chrt_shipper_org_data_id: "filter_payment_origin_off_chrt_shipper_org_data_id",
500
- * filter_payment_destination_org_id: "filter_payment_destination_org_id",
501
- * filter_owned_by_org_id: "filter_owned_by_org_id",
502
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
503
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
504
- * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
505
- * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
506
- * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
507
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
508
- * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
509
- * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
510
- * })
511
- */
512
- expandedListV1(request = {}, requestOptions) {
513
- return core.HttpResponsePromise.fromPromise(this.__expandedListV1(request, requestOptions));
514
- }
515
- __expandedListV1() {
516
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
517
- var _a, _b, _c, _d, _e, _f;
518
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_origin_off_chrt_shipper_org_data_id: filterPaymentOriginOffChrtShipperOrgDataId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, filter_uncollectible_at_timestamp_gte: filterUncollectibleAtTimestampGte, filter_uncollectible_at_timestamp_lte: filterUncollectibleAtTimestampLte, } = request;
519
- const _queryParams = {};
520
- if (sortBy !== undefined) {
521
- _queryParams["sort_by"] = sortBy;
522
- }
523
- if (sortOrder !== undefined) {
524
- _queryParams["sort_order"] = sortOrder;
525
- }
526
- if (page !== undefined) {
527
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
528
- }
529
- if (pageSize !== undefined) {
530
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
531
- }
532
- if (filterStatus !== undefined) {
533
- if (Array.isArray(filterStatus)) {
534
- _queryParams["filter_status"] = filterStatus.map((item) => item);
535
- }
536
- else {
537
- _queryParams["filter_status"] = filterStatus;
538
- }
539
- }
540
- if (filterSettlementType !== undefined) {
541
- _queryParams["filter_settlement_type"] = filterSettlementType;
542
- }
543
- if (filterOrderId !== undefined) {
544
- _queryParams["filter_order_id"] = filterOrderId;
545
- }
546
- if (filterOrderShortId !== undefined) {
547
- _queryParams["filter_order_short_id"] = filterOrderShortId;
548
- }
549
- if (filterOrderOffChrtReferenceId !== undefined) {
550
- _queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
551
- }
552
- if (filterPaymentOriginOrgId !== undefined) {
553
- _queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
554
- }
555
- if (filterPaymentOriginOffChrtShipperOrgDataId !== undefined) {
556
- _queryParams["filter_payment_origin_off_chrt_shipper_org_data_id"] =
557
- filterPaymentOriginOffChrtShipperOrgDataId;
558
- }
559
- if (filterPaymentDestinationOrgId !== undefined) {
560
- _queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
561
- }
562
- if (filterOwnedByOrgId !== undefined) {
563
- _queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
564
- }
565
- if (filterStagedAtTimestampGte !== undefined) {
566
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
567
- }
568
- if (filterStagedAtTimestampLte !== undefined) {
569
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
570
- }
571
- if (filterOpenedAtTimestampGte !== undefined) {
572
- _queryParams["filter_opened_at_timestamp_gte"] = filterOpenedAtTimestampGte;
573
- }
574
- if (filterOpenedAtTimestampLte !== undefined) {
575
- _queryParams["filter_opened_at_timestamp_lte"] = filterOpenedAtTimestampLte;
576
- }
577
- if (filterPaidAtTimestampGte !== undefined) {
578
- _queryParams["filter_paid_at_timestamp_gte"] = filterPaidAtTimestampGte;
579
- }
580
- if (filterPaidAtTimestampLte !== undefined) {
581
- _queryParams["filter_paid_at_timestamp_lte"] = filterPaidAtTimestampLte;
582
- }
583
- if (filterUncollectibleAtTimestampGte !== undefined) {
584
- _queryParams["filter_uncollectible_at_timestamp_gte"] = filterUncollectibleAtTimestampGte;
585
- }
586
- if (filterUncollectibleAtTimestampLte !== undefined) {
587
- _queryParams["filter_uncollectible_at_timestamp_lte"] = filterUncollectibleAtTimestampLte;
588
- }
589
- let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
590
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
591
- 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, "billing/statements/expanded/list/v1"),
592
- method: "POST",
593
- headers: _headers,
594
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
595
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
596
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
597
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
598
- });
599
- if (_response.ok) {
600
- return { data: _response.body, rawResponse: _response.rawResponse };
601
- }
602
- if (_response.error.reason === "status-code") {
603
- switch (_response.error.statusCode) {
604
- case 422:
605
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
606
- default:
607
- throw new errors.ChrtError({
608
- statusCode: _response.error.statusCode,
609
- body: _response.error.body,
610
- rawResponse: _response.rawResponse,
611
- });
612
- }
613
- }
614
- switch (_response.error.reason) {
615
- case "non-json":
616
- throw new errors.ChrtError({
617
- statusCode: _response.error.statusCode,
618
- body: _response.error.rawBody,
619
- rawResponse: _response.rawResponse,
620
- });
621
- case "timeout":
622
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/expanded/list/v1.");
623
- case "unknown":
624
- throw new errors.ChrtError({
625
- message: _response.error.errorMessage,
626
- rawResponse: _response.rawResponse,
627
- });
628
- }
629
- });
630
- }
631
- /**
632
- * Retrieves a statement with its associated LineItemGroups expanded. | authz_personas=[statement_org_operators, statement_driver] | (StatementExpandedRetrieveReq) -> (StatementExpandedRes)
633
- *
634
- * @param {Chrt.billing.StatementExpandedRetrieveReq} request
635
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
636
- *
637
- * @throws {@link Chrt.UnprocessableEntityError}
638
- *
639
- * @example
640
- * await client.billing.statements.expandedRetrieveV1({
641
- * statement_id: "statement_id"
642
- * })
643
- */
644
- expandedRetrieveV1(request, requestOptions) {
645
- return core.HttpResponsePromise.fromPromise(this.__expandedRetrieveV1(request, requestOptions));
646
- }
647
- __expandedRetrieveV1(request, requestOptions) {
648
- return __awaiter(this, void 0, void 0, function* () {
649
- var _a, _b, _c, _d;
650
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
651
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
652
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/statements/expanded/retrieve/v1"),
653
- method: "POST",
654
- headers: _headers,
655
- contentType: "application/json",
656
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
657
- requestType: "json",
658
- body: request,
659
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
660
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
661
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
662
- });
663
- if (_response.ok) {
664
- return { data: _response.body, rawResponse: _response.rawResponse };
665
- }
666
- if (_response.error.reason === "status-code") {
667
- switch (_response.error.statusCode) {
668
- case 422:
669
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
670
- default:
671
- throw new errors.ChrtError({
672
- statusCode: _response.error.statusCode,
673
- body: _response.error.body,
674
- rawResponse: _response.rawResponse,
675
- });
676
- }
677
- }
678
- switch (_response.error.reason) {
679
- case "non-json":
680
- throw new errors.ChrtError({
681
- statusCode: _response.error.statusCode,
682
- body: _response.error.rawBody,
683
- rawResponse: _response.rawResponse,
684
- });
685
- case "timeout":
686
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/expanded/retrieve/v1.");
687
- case "unknown":
688
- throw new errors.ChrtError({
689
- message: _response.error.errorMessage,
690
- rawResponse: _response.rawResponse,
691
- });
692
- }
693
- });
694
- }
695
- /**
696
- * Lists statements with filtering, sorting, and pagination. | authz_personas=[statement_org_operators, statement_driver] | () -> (StatementsListRes)
697
- *
698
- * @param {Chrt.billing.StatementsListV1Request} request
699
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
700
- *
701
- * @throws {@link Chrt.UnprocessableEntityError}
702
- *
703
- * @example
704
- * await client.billing.statements.listV1({
705
- * sort_by: "amount",
706
- * sort_order: "asc",
707
- * page: 1,
708
- * page_size: 1,
709
- * filter_settlement_type: "stripe_connect",
710
- * filter_order_id: "filter_order_id",
711
- * filter_order_short_id: "filter_order_short_id",
712
- * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
713
- * filter_payment_origin_org_id: "filter_payment_origin_org_id",
714
- * filter_payment_origin_off_chrt_shipper_org_data_id: "filter_payment_origin_off_chrt_shipper_org_data_id",
715
- * filter_payment_destination_org_id: "filter_payment_destination_org_id",
716
- * filter_owned_by_org_id: "filter_owned_by_org_id",
717
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
718
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
719
- * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
720
- * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
721
- * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
722
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
723
- * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
724
- * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
725
- * })
726
- */
727
- listV1(request = {}, requestOptions) {
728
- return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
729
- }
730
- __listV1() {
731
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
732
- var _a, _b, _c, _d, _e, _f;
733
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_origin_off_chrt_shipper_org_data_id: filterPaymentOriginOffChrtShipperOrgDataId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, filter_uncollectible_at_timestamp_gte: filterUncollectibleAtTimestampGte, filter_uncollectible_at_timestamp_lte: filterUncollectibleAtTimestampLte, } = request;
734
- const _queryParams = {};
735
- if (sortBy !== undefined) {
736
- _queryParams["sort_by"] = sortBy;
737
- }
738
- if (sortOrder !== undefined) {
739
- _queryParams["sort_order"] = sortOrder;
740
- }
741
- if (page !== undefined) {
742
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
743
- }
744
- if (pageSize !== undefined) {
745
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
746
- }
747
- if (filterStatus !== undefined) {
748
- if (Array.isArray(filterStatus)) {
749
- _queryParams["filter_status"] = filterStatus.map((item) => item);
750
- }
751
- else {
752
- _queryParams["filter_status"] = filterStatus;
753
- }
754
- }
755
- if (filterSettlementType !== undefined) {
756
- _queryParams["filter_settlement_type"] = filterSettlementType;
757
- }
758
- if (filterOrderId !== undefined) {
759
- _queryParams["filter_order_id"] = filterOrderId;
760
- }
761
- if (filterOrderShortId !== undefined) {
762
- _queryParams["filter_order_short_id"] = filterOrderShortId;
763
- }
764
- if (filterOrderOffChrtReferenceId !== undefined) {
765
- _queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
766
- }
767
- if (filterPaymentOriginOrgId !== undefined) {
768
- _queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
769
- }
770
- if (filterPaymentOriginOffChrtShipperOrgDataId !== undefined) {
771
- _queryParams["filter_payment_origin_off_chrt_shipper_org_data_id"] =
772
- filterPaymentOriginOffChrtShipperOrgDataId;
773
- }
774
- if (filterPaymentDestinationOrgId !== undefined) {
775
- _queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
776
- }
777
- if (filterOwnedByOrgId !== undefined) {
778
- _queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
779
- }
780
- if (filterStagedAtTimestampGte !== undefined) {
781
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
782
- }
783
- if (filterStagedAtTimestampLte !== undefined) {
784
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
785
- }
786
- if (filterOpenedAtTimestampGte !== undefined) {
787
- _queryParams["filter_opened_at_timestamp_gte"] = filterOpenedAtTimestampGte;
788
- }
789
- if (filterOpenedAtTimestampLte !== undefined) {
790
- _queryParams["filter_opened_at_timestamp_lte"] = filterOpenedAtTimestampLte;
791
- }
792
- if (filterPaidAtTimestampGte !== undefined) {
793
- _queryParams["filter_paid_at_timestamp_gte"] = filterPaidAtTimestampGte;
794
- }
795
- if (filterPaidAtTimestampLte !== undefined) {
796
- _queryParams["filter_paid_at_timestamp_lte"] = filterPaidAtTimestampLte;
797
- }
798
- if (filterUncollectibleAtTimestampGte !== undefined) {
799
- _queryParams["filter_uncollectible_at_timestamp_gte"] = filterUncollectibleAtTimestampGte;
800
- }
801
- if (filterUncollectibleAtTimestampLte !== undefined) {
802
- _queryParams["filter_uncollectible_at_timestamp_lte"] = filterUncollectibleAtTimestampLte;
803
- }
804
- let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
805
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
806
- 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, "billing/statements/list/v1"),
807
- method: "GET",
808
- headers: _headers,
809
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
810
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
811
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
812
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
813
- });
814
- if (_response.ok) {
815
- return { data: _response.body, rawResponse: _response.rawResponse };
816
- }
817
- if (_response.error.reason === "status-code") {
818
- switch (_response.error.statusCode) {
819
- case 422:
820
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
821
- default:
822
- throw new errors.ChrtError({
823
- statusCode: _response.error.statusCode,
824
- body: _response.error.body,
825
- rawResponse: _response.rawResponse,
826
- });
827
- }
828
- }
829
- switch (_response.error.reason) {
830
- case "non-json":
831
- throw new errors.ChrtError({
832
- statusCode: _response.error.statusCode,
833
- body: _response.error.rawBody,
834
- rawResponse: _response.rawResponse,
835
- });
836
- case "timeout":
837
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/statements/list/v1.");
838
- case "unknown":
839
- throw new errors.ChrtError({
840
- message: _response.error.errorMessage,
841
- rawResponse: _response.rawResponse,
842
- });
843
- }
844
- });
845
- }
846
- /**
847
- * Off-chrt manual transition: OPEN → PAID. Cascades attached LineItemGroups OPEN → PAID. Stripe-Connect statements transition via Stripe webhook + sync, not this route. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
848
- *
849
- * @param {string} statementId
850
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
851
- *
852
- * @throws {@link Chrt.UnprocessableEntityError}
853
- *
854
- * @example
855
- * await client.billing.statements.markPaidOffChrtV1("statement_id")
856
- */
857
- markPaidOffChrtV1(statementId, requestOptions) {
858
- return core.HttpResponsePromise.fromPromise(this.__markPaidOffChrtV1(statementId, requestOptions));
859
- }
860
- __markPaidOffChrtV1(statementId, requestOptions) {
861
- return __awaiter(this, void 0, void 0, function* () {
862
- var _a, _b, _c, _d;
863
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
864
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
865
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/mark_paid_off_chrt/v1/${encodeURIComponent(statementId)}`),
866
- method: "POST",
867
- headers: _headers,
868
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
869
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
870
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
871
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
872
- });
873
- if (_response.ok) {
874
- return { data: _response.body, rawResponse: _response.rawResponse };
875
- }
876
- if (_response.error.reason === "status-code") {
877
- switch (_response.error.statusCode) {
878
- case 422:
879
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
880
- default:
881
- throw new errors.ChrtError({
882
- statusCode: _response.error.statusCode,
883
- body: _response.error.body,
884
- rawResponse: _response.rawResponse,
885
- });
886
- }
887
- }
888
- switch (_response.error.reason) {
889
- case "non-json":
890
- throw new errors.ChrtError({
891
- statusCode: _response.error.statusCode,
892
- body: _response.error.rawBody,
893
- rawResponse: _response.rawResponse,
894
- });
895
- case "timeout":
896
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_paid_off_chrt/v1/{statement_id}.");
897
- case "unknown":
898
- throw new errors.ChrtError({
899
- message: _response.error.errorMessage,
900
- rawResponse: _response.rawResponse,
901
- });
902
- }
903
- });
904
- }
905
- /**
906
- * Off-chrt manual write-off: OPEN → UNCOLLECTIBLE. Cascades attached LineItemGroups OPEN → UNCOLLECTIBLE. Stripe-Connect statements transition via Stripe webhook + sync_invoice/v1, not this route. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
907
- *
908
- * @param {string} statementId
909
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
910
- *
911
- * @throws {@link Chrt.UnprocessableEntityError}
912
- *
913
- * @example
914
- * await client.billing.statements.markUncollectibleOffChrtV1("statement_id")
915
- */
916
- markUncollectibleOffChrtV1(statementId, requestOptions) {
917
- return core.HttpResponsePromise.fromPromise(this.__markUncollectibleOffChrtV1(statementId, requestOptions));
918
- }
919
- __markUncollectibleOffChrtV1(statementId, requestOptions) {
920
- return __awaiter(this, void 0, void 0, function* () {
921
- var _a, _b, _c, _d;
922
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
923
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
924
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/mark_uncollectible_off_chrt/v1/${encodeURIComponent(statementId)}`),
925
- method: "POST",
926
- headers: _headers,
927
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
928
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
929
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
930
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
931
- });
932
- if (_response.ok) {
933
- return { data: _response.body, rawResponse: _response.rawResponse };
934
- }
935
- if (_response.error.reason === "status-code") {
936
- switch (_response.error.statusCode) {
937
- case 422:
938
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
939
- default:
940
- throw new errors.ChrtError({
941
- statusCode: _response.error.statusCode,
942
- body: _response.error.body,
943
- rawResponse: _response.rawResponse,
944
- });
945
- }
946
- }
947
- switch (_response.error.reason) {
948
- case "non-json":
949
- throw new errors.ChrtError({
950
- statusCode: _response.error.statusCode,
951
- body: _response.error.rawBody,
952
- rawResponse: _response.rawResponse,
953
- });
954
- case "timeout":
955
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_uncollectible_off_chrt/v1/{statement_id}.");
956
- case "unknown":
957
- throw new errors.ChrtError({
958
- message: _response.error.errorMessage,
959
- rawResponse: _response.rawResponse,
960
- });
961
- }
962
- });
963
- }
964
- /**
965
- * Stripe-Connect transition: STAGED → OPEN. Creates and finalizes a Stripe invoice for the Statement; cascades attached LineItemGroups FINALIZED → OPEN. Requires settlement_type=STRIPE_CONNECT and at least one bundled FINALIZED LIG. Off-chrt statements take open_off_chrt/v1 instead. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
966
- *
967
- * @param {string} statementId
968
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
969
- *
970
- * @throws {@link Chrt.UnprocessableEntityError}
971
- *
972
- * @example
973
- * await client.billing.statements.openInvoiceV1("statement_id")
974
- */
975
- openInvoiceV1(statementId, requestOptions) {
976
- return core.HttpResponsePromise.fromPromise(this.__openInvoiceV1(statementId, requestOptions));
977
- }
978
- __openInvoiceV1(statementId, requestOptions) {
979
- return __awaiter(this, void 0, void 0, function* () {
980
- var _a, _b, _c, _d;
981
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
982
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
983
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/open_invoice/v1/${encodeURIComponent(statementId)}`),
984
- method: "POST",
985
- headers: _headers,
986
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
987
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
988
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
989
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
990
- });
991
- if (_response.ok) {
992
- return { data: _response.body, rawResponse: _response.rawResponse };
993
- }
994
- if (_response.error.reason === "status-code") {
995
- switch (_response.error.statusCode) {
996
- case 422:
997
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
998
- default:
999
- throw new errors.ChrtError({
1000
- statusCode: _response.error.statusCode,
1001
- body: _response.error.body,
1002
- rawResponse: _response.rawResponse,
1003
- });
1004
- }
1005
- }
1006
- switch (_response.error.reason) {
1007
- case "non-json":
1008
- throw new errors.ChrtError({
1009
- statusCode: _response.error.statusCode,
1010
- body: _response.error.rawBody,
1011
- rawResponse: _response.rawResponse,
1012
- });
1013
- case "timeout":
1014
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/open_invoice/v1/{statement_id}.");
1015
- case "unknown":
1016
- throw new errors.ChrtError({
1017
- message: _response.error.errorMessage,
1018
- rawResponse: _response.rawResponse,
1019
- });
1020
- }
1021
- });
1022
- }
1023
- /**
1024
- * Off-chrt manual transition: STAGED → OPEN. Cascades attached LineItemGroups FINALIZED → OPEN. Stripe-Connect statements take a separate Stripe-invoice path. Requires settlement_type=OFF_CHRT and at least one bundled LIG or period. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
1025
- *
1026
- * @param {string} statementId
1027
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
1028
- *
1029
- * @throws {@link Chrt.UnprocessableEntityError}
1030
- *
1031
- * @example
1032
- * await client.billing.statements.openOffChrtV1("statement_id")
1033
- */
1034
- openOffChrtV1(statementId, requestOptions) {
1035
- return core.HttpResponsePromise.fromPromise(this.__openOffChrtV1(statementId, requestOptions));
1036
- }
1037
- __openOffChrtV1(statementId, requestOptions) {
1038
- return __awaiter(this, void 0, void 0, function* () {
1039
- var _a, _b, _c, _d;
1040
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1041
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1042
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/open_off_chrt/v1/${encodeURIComponent(statementId)}`),
1043
- method: "POST",
1044
- headers: _headers,
1045
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1046
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1047
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1048
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1049
- });
1050
- if (_response.ok) {
1051
- return { data: _response.body, rawResponse: _response.rawResponse };
1052
- }
1053
- if (_response.error.reason === "status-code") {
1054
- switch (_response.error.statusCode) {
1055
- case 422:
1056
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1057
- default:
1058
- throw new errors.ChrtError({
1059
- statusCode: _response.error.statusCode,
1060
- body: _response.error.body,
1061
- rawResponse: _response.rawResponse,
1062
- });
1063
- }
1064
- }
1065
- switch (_response.error.reason) {
1066
- case "non-json":
1067
- throw new errors.ChrtError({
1068
- statusCode: _response.error.statusCode,
1069
- body: _response.error.rawBody,
1070
- rawResponse: _response.rawResponse,
1071
- });
1072
- case "timeout":
1073
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/open_off_chrt/v1/{statement_id}.");
1074
- case "unknown":
1075
- throw new errors.ChrtError({
1076
- message: _response.error.errorMessage,
1077
- rawResponse: _response.rawResponse,
1078
- });
1079
- }
1080
- });
1081
- }
1082
- /**
1083
- * Stripe-Connect manual reconciliation: pulls the live Stripe invoice status and updates the Statement (and cascaded LIG statuses) accordingly. Same backend as the Stripe webhook handler — idempotent, no-op when already in sync. Handles PAID, UNCOLLECTIBLE, and VOID/DELETED transitions. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
1084
- *
1085
- * @param {string} statementId
1086
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
1087
- *
1088
- * @throws {@link Chrt.UnprocessableEntityError}
1089
- *
1090
- * @example
1091
- * await client.billing.statements.syncInvoiceV1("statement_id")
1092
- */
1093
- syncInvoiceV1(statementId, requestOptions) {
1094
- return core.HttpResponsePromise.fromPromise(this.__syncInvoiceV1(statementId, requestOptions));
1095
- }
1096
- __syncInvoiceV1(statementId, requestOptions) {
1097
- return __awaiter(this, void 0, void 0, function* () {
1098
- var _a, _b, _c, _d;
1099
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1100
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1101
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/sync_invoice/v1/${encodeURIComponent(statementId)}`),
1102
- method: "POST",
1103
- headers: _headers,
1104
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1105
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1106
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1107
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1108
- });
1109
- if (_response.ok) {
1110
- return { data: _response.body, rawResponse: _response.rawResponse };
1111
- }
1112
- if (_response.error.reason === "status-code") {
1113
- switch (_response.error.statusCode) {
1114
- case 422:
1115
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1116
- default:
1117
- throw new errors.ChrtError({
1118
- statusCode: _response.error.statusCode,
1119
- body: _response.error.body,
1120
- rawResponse: _response.rawResponse,
1121
- });
1122
- }
1123
- }
1124
- switch (_response.error.reason) {
1125
- case "non-json":
1126
- throw new errors.ChrtError({
1127
- statusCode: _response.error.statusCode,
1128
- body: _response.error.rawBody,
1129
- rawResponse: _response.rawResponse,
1130
- });
1131
- case "timeout":
1132
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/sync_invoice/v1/{statement_id}.");
1133
- case "unknown":
1134
- throw new errors.ChrtError({
1135
- message: _response.error.errorMessage,
1136
- rawResponse: _response.rawResponse,
1137
- });
1138
- }
1139
- });
1140
- }
1141
- /**
1142
- * Flips a STAGED Statement's settlement_type between STRIPE_CONNECT and OFF_CHRT and cascades the new value onto every attached LineItemGroup. Rejects if the new value matches the current value. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | (StatementUpdateSettlementTypeReq) -> (Statement1)
1143
- *
1144
- * @param {string} statementId
1145
- * @param {Chrt.billing.StatementUpdateSettlementTypeReq} request
1146
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
1147
- *
1148
- * @throws {@link Chrt.UnprocessableEntityError}
1149
- *
1150
- * @example
1151
- * await client.billing.statements.updateSettlementTypeV1("statement_id", {
1152
- * settlement_type: "stripe_connect"
1153
- * })
1154
- */
1155
- updateSettlementTypeV1(statementId, request, requestOptions) {
1156
- return core.HttpResponsePromise.fromPromise(this.__updateSettlementTypeV1(statementId, request, requestOptions));
1157
- }
1158
- __updateSettlementTypeV1(statementId, request, requestOptions) {
1159
- return __awaiter(this, void 0, void 0, function* () {
1160
- var _a, _b, _c, _d;
1161
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1162
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1163
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/update_settlement_type/v1/${encodeURIComponent(statementId)}`),
1164
- method: "POST",
1165
- headers: _headers,
1166
- contentType: "application/json",
1167
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1168
- requestType: "json",
1169
- body: request,
1170
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1171
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1172
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1173
- });
1174
- if (_response.ok) {
1175
- return { data: _response.body, rawResponse: _response.rawResponse };
1176
- }
1177
- if (_response.error.reason === "status-code") {
1178
- switch (_response.error.statusCode) {
1179
- case 422:
1180
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1181
- default:
1182
- throw new errors.ChrtError({
1183
- statusCode: _response.error.statusCode,
1184
- body: _response.error.body,
1185
- rawResponse: _response.rawResponse,
1186
- });
1187
- }
1188
- }
1189
- switch (_response.error.reason) {
1190
- case "non-json":
1191
- throw new errors.ChrtError({
1192
- statusCode: _response.error.statusCode,
1193
- body: _response.error.rawBody,
1194
- rawResponse: _response.rawResponse,
1195
- });
1196
- case "timeout":
1197
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/update_settlement_type/v1/{statement_id}.");
1198
- case "unknown":
1199
- throw new errors.ChrtError({
1200
- message: _response.error.errorMessage,
1201
- rawResponse: _response.rawResponse,
1202
- });
1203
- }
1204
- });
1205
- }
1206
- /**
1207
- * Gets a statement by ID. | authz_personas=[statement_org_operators, statement_driver] | () -> (Statement1)
1208
- *
1209
- * @param {string} statementId
1210
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
1211
- *
1212
- * @throws {@link Chrt.UnprocessableEntityError}
1213
- *
1214
- * @example
1215
- * await client.billing.statements.getV1("statement_id")
1216
- */
1217
- getV1(statementId, requestOptions) {
1218
- return core.HttpResponsePromise.fromPromise(this.__getV1(statementId, requestOptions));
1219
- }
1220
- __getV1(statementId, requestOptions) {
1221
- return __awaiter(this, void 0, void 0, function* () {
1222
- var _a, _b, _c, _d;
1223
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1224
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1225
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/v1/${encodeURIComponent(statementId)}`),
1226
- method: "GET",
1227
- headers: _headers,
1228
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1229
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1230
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1231
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1232
- });
1233
- if (_response.ok) {
1234
- return { data: _response.body, rawResponse: _response.rawResponse };
1235
- }
1236
- if (_response.error.reason === "status-code") {
1237
- switch (_response.error.statusCode) {
1238
- case 422:
1239
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1240
- default:
1241
- throw new errors.ChrtError({
1242
- statusCode: _response.error.statusCode,
1243
- body: _response.error.body,
1244
- rawResponse: _response.rawResponse,
1245
- });
1246
- }
1247
- }
1248
- switch (_response.error.reason) {
1249
- case "non-json":
1250
- throw new errors.ChrtError({
1251
- statusCode: _response.error.statusCode,
1252
- body: _response.error.rawBody,
1253
- rawResponse: _response.rawResponse,
1254
- });
1255
- case "timeout":
1256
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/statements/v1/{statement_id}.");
1257
- case "unknown":
1258
- throw new errors.ChrtError({
1259
- message: _response.error.errorMessage,
1260
- rawResponse: _response.rawResponse,
1261
- });
1262
- }
1263
- });
1264
- }
1265
- /**
1266
- * Stripe-Connect transition: OPEN → STAGED. Voids the Stripe invoice, clears stripe_* fields on the Statement, and cascades attached LineItemGroups OPEN → FINALIZED so they remain re-bundleable into a new Statement. Reversible — the Statement can be re-opened with a fresh open_invoice/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
1267
- *
1268
- * @param {string} statementId
1269
- * @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
1270
- *
1271
- * @throws {@link Chrt.UnprocessableEntityError}
1272
- *
1273
- * @example
1274
- * await client.billing.statements.voidInvoiceV1("statement_id")
1275
- */
1276
- voidInvoiceV1(statementId, requestOptions) {
1277
- return core.HttpResponsePromise.fromPromise(this.__voidInvoiceV1(statementId, requestOptions));
1278
- }
1279
- __voidInvoiceV1(statementId, requestOptions) {
1280
- return __awaiter(this, void 0, void 0, function* () {
1281
- var _a, _b, _c, _d;
1282
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1283
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1284
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/statements/void_invoice/v1/${encodeURIComponent(statementId)}`),
1285
- method: "POST",
1286
- headers: _headers,
1287
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1288
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1289
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1290
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1291
- });
1292
- if (_response.ok) {
1293
- return { data: _response.body, rawResponse: _response.rawResponse };
1294
- }
1295
- if (_response.error.reason === "status-code") {
1296
- switch (_response.error.statusCode) {
1297
- case 422:
1298
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1299
- default:
1300
- throw new errors.ChrtError({
1301
- statusCode: _response.error.statusCode,
1302
- body: _response.error.body,
1303
- rawResponse: _response.rawResponse,
1304
- });
1305
- }
1306
- }
1307
- switch (_response.error.reason) {
1308
- case "non-json":
1309
- throw new errors.ChrtError({
1310
- statusCode: _response.error.statusCode,
1311
- body: _response.error.rawBody,
1312
- rawResponse: _response.rawResponse,
1313
- });
1314
- case "timeout":
1315
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/void_invoice/v1/{statement_id}.");
1316
- case "unknown":
1317
- throw new errors.ChrtError({
1318
- message: _response.error.errorMessage,
1319
- rawResponse: _response.rawResponse,
1320
- });
1321
- }
1322
- });
1323
- }
1324
- _getAuthorizationHeader() {
1325
- return __awaiter(this, void 0, void 0, function* () {
1326
- const bearer = yield core.Supplier.get(this._options.token);
1327
- if (bearer != null) {
1328
- return `Bearer ${bearer}`;
1329
- }
1330
- return undefined;
1331
- });
1332
- }
1333
- }
1334
- exports.Statements = Statements;