@chrt-inc/typescript-sdk 1.920.0 → 1.923.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 (1243) hide show
  1. package/README.md +21 -21
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/billing/client/Client.d.ts +0 -27
  4. package/dist/cjs/api/resources/billing/client/Client.js +4 -49
  5. package/dist/cjs/api/resources/billing/resources/index.d.ts +0 -17
  6. package/dist/cjs/api/resources/billing/resources/index.js +1 -18
  7. package/dist/cjs/api/resources/billingNew/client/Client.d.ts +3 -0
  8. package/dist/cjs/api/resources/billingNew/client/Client.js +13 -8
  9. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +168 -0
  10. package/dist/cjs/api/resources/{billing/resources/rateSheetMappings → billingNew/resources/billingPeriods}/client/Client.js +178 -113
  11. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.d.ts +34 -0
  12. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.d.ts +20 -0
  13. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.ts +54 -0
  14. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/index.d.ts +3 -0
  15. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +2 -1
  16. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +6 -2
  17. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +1 -0
  18. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +4 -1
  19. package/dist/cjs/api/resources/billingNew/resources/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/billingNew/resources/index.js +3 -1
  21. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +21 -1
  22. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +77 -2
  23. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +3 -0
  24. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.d.ts +17 -0
  25. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +1 -0
  26. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +3 -0
  27. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +1 -0
  29. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +5 -1
  30. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +1 -0
  31. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
  32. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +16 -0
  33. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +70 -0
  34. package/dist/{esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts → cjs/api/resources/billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.d.ts} +1 -1
  35. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -2
  37. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -2
  38. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +1 -1
  39. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1 -1
  40. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.ts +2 -0
  41. package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -12
  42. package/dist/cjs/api/resources/shipping/client/Client.js +16 -36
  43. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -10
  44. package/dist/cjs/api/resources/shipping/resources/index.js +2 -11
  45. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +18 -3
  46. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +32 -7
  47. package/dist/cjs/api/resources/shipping/resources/orders/index.d.ts +1 -1
  48. package/dist/cjs/api/resources/shipping/resources/orders/index.js +1 -1
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +101 -0
  50. package/dist/cjs/api/resources/shipping/resources/{cargos → orders/resources/cargo}/client/Client.js +35 -35
  51. package/dist/cjs/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.d.ts +5 -1
  52. package/dist/cjs/api/resources/shipping/resources/{cargos/client/requests/CargoAddToOrderReq.d.ts → orders/resources/cargo/client/requests/OrdersAddCargoReq.d.ts} +2 -2
  53. package/dist/cjs/api/resources/shipping/resources/{cargos/client/requests/CargoAssociateWithTaskReq.d.ts → orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.d.ts} +1 -1
  54. package/dist/{esm/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.mts → cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.d.ts} +1 -1
  55. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/index.d.ts +4 -0
  56. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +1 -57
  57. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +3 -276
  58. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +0 -3
  59. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -4
  60. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -1
  61. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
  62. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
  63. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.ts +0 -70
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.js +0 -265
  65. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.ts +0 -1
  66. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.js +0 -15
  67. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -7
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.js +1 -11
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -143
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -577
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.ts +0 -1
  72. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.js +0 -15
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +2 -2
  75. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.d.ts +10 -1
  76. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.js +11 -2
  77. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/task → task}/client/Client.d.ts +14 -16
  78. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/task → task}/client/Client.js +24 -26
  79. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts → task/client/requests/OrdersAddTaskReq.d.ts} +5 -3
  80. package/dist/cjs/api/{types → resources/shipping/resources/orders/resources/task/client/requests}/TaskClientUpdate1.d.ts +5 -1
  81. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/index.d.ts +2 -0
  82. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskArtifact → taskArtifact}/client/Client.d.ts +14 -11
  83. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskArtifact → taskArtifact}/client/Client.js +22 -19
  84. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.d.ts +25 -0
  85. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.js +13 -0
  86. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +162 -0
  88. package/dist/cjs/api/resources/shipping/resources/{orderGroups → orders/resources/taskGroup}/client/Client.js +173 -121
  89. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts → taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.d.ts} +3 -3
  90. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts → taskGroup/client/requests/OrdersAddTaskGroupReq.d.ts} +2 -2
  91. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.d.ts +22 -0
  92. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.ts → taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.d.ts} +2 -2
  93. package/dist/cjs/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts → taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts} +2 -2
  94. package/dist/{esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.d.mts → cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.d.ts} +2 -2
  95. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/index.d.ts +6 -0
  96. package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/Client.d.ts +12 -12
  97. package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/Client.js +21 -18
  98. package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.d.ts → shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.d.ts} +1 -1
  99. package/dist/cjs/api/resources/shipping/resources/orders/resources/utils/client/requests/index.d.ts +1 -0
  100. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +0 -34
  101. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +0 -128
  102. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.d.ts +0 -1
  103. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.js +0 -15
  104. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +0 -314
  105. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +10 -1329
  106. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +0 -6
  107. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -48
  108. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -192
  109. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +0 -1
  110. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.d.ts +0 -3
  111. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.js +0 -5
  112. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +48 -16
  113. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +173 -43
  114. package/dist/cjs/api/resources/{shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.d.ts} +3 -3
  115. package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.d.ts → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.d.ts} +3 -3
  116. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.ts +2 -0
  117. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.d.ts +0 -2
  118. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.js +1 -3
  119. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +18 -1
  120. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +68 -1
  121. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.d.ts +14 -0
  122. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.ts +1 -0
  123. package/dist/cjs/api/types/BillingPeriod1.d.ts +34 -0
  124. package/dist/cjs/api/types/{BillingCycleEnum.d.ts → BillingPeriodCycleEnum1.d.ts} +2 -2
  125. package/dist/cjs/api/types/{BillingCycleEnum.js → BillingPeriodCycleEnum1.js} +2 -2
  126. package/dist/cjs/api/types/BillingPeriodExpanded1.d.ts +9 -0
  127. package/dist/cjs/api/types/{OrderGroupListRes.d.ts → BillingPeriodListRes.d.ts} +2 -2
  128. package/dist/cjs/api/types/BillingPeriodSortByEnum.d.ts +12 -0
  129. package/dist/cjs/api/types/{OrderGroupExpandedSortByEnum.js → BillingPeriodSortByEnum.js} +5 -3
  130. package/dist/cjs/api/types/{BillingLedgerPeriodStatusEnum.d.ts → BillingPeriodStatusEnum1.d.ts} +2 -2
  131. package/dist/cjs/api/types/{BillingLedgerPeriodStatusEnum.js → BillingPeriodStatusEnum1.js} +2 -2
  132. package/dist/cjs/api/types/BillingPeriodTaskGroupsReq.d.ts +6 -0
  133. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  134. package/dist/cjs/api/types/CargoTypeEnum1.d.ts +2 -1
  135. package/dist/cjs/api/types/CargoTypeEnum1.js +1 -0
  136. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +1 -0
  137. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.d.ts +9 -0
  138. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.ts +11 -0
  139. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsItem1.d.ts +13 -0
  140. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.d.ts +9 -0
  141. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.d.ts +9 -0
  142. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.js +11 -0
  143. package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.ts +10 -0
  144. package/dist/cjs/api/types/Invoice1.d.ts +1 -0
  145. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -0
  146. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +4 -0
  147. package/dist/cjs/api/types/InvoiceLineItemClientCreate1.d.ts +3 -0
  148. package/dist/cjs/api/types/InvoiceLineItemServerCreate1.d.ts +4 -0
  149. package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +2 -0
  150. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +1 -6
  151. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +0 -5
  152. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +1 -3
  153. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +0 -2
  154. package/dist/cjs/api/types/OffChrtOrgData1.d.ts +1 -0
  155. package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +1 -0
  156. package/dist/cjs/api/types/Order1.d.ts +1 -1
  157. package/dist/{esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts → cjs/api/types/OrderAwbBillingAccount1.d.ts} +3 -2
  158. package/dist/cjs/api/types/OrderAwbBillingListItem1.d.ts +12 -0
  159. package/dist/cjs/api/types/{BillingLedgerPeriodListRes.d.ts → OrderAwbBillingListRes.d.ts} +2 -2
  160. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +1 -0
  161. package/dist/cjs/api/types/OrderBillingPeriod1.d.ts +11 -0
  162. package/dist/cjs/api/types/OrderExpandedForCoordinator.d.ts +1 -0
  163. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +1 -0
  164. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -1
  165. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -1
  166. package/dist/cjs/api/types/OrdersDraftDeleteManyRes.d.ts +0 -1
  167. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +0 -2
  168. package/dist/cjs/api/types/ProFormaLineItem1.d.ts +9 -7
  169. package/dist/cjs/api/types/{LineItemProvenanceEnum.d.ts → ProFormaLineItemProvenanceEnum1.d.ts} +2 -2
  170. package/dist/cjs/api/types/{LineItemProvenanceEnum.js → ProFormaLineItemProvenanceEnum1.js} +2 -2
  171. package/dist/cjs/api/types/TaskGroup1.d.ts +0 -9
  172. package/dist/cjs/api/types/index.d.ts +18 -82
  173. package/dist/cjs/api/types/index.js +18 -82
  174. package/dist/cjs/core/index.d.ts +0 -1
  175. package/dist/cjs/core/index.js +0 -1
  176. package/dist/cjs/version.d.ts +1 -1
  177. package/dist/cjs/version.js +1 -1
  178. package/dist/esm/Client.mjs +2 -2
  179. package/dist/esm/api/resources/billing/client/Client.d.mts +0 -27
  180. package/dist/esm/api/resources/billing/client/Client.mjs +0 -45
  181. package/dist/esm/api/resources/billing/resources/index.d.mts +0 -17
  182. package/dist/esm/api/resources/billing/resources/index.mjs +0 -17
  183. package/dist/esm/api/resources/billingNew/client/Client.d.mts +3 -0
  184. package/dist/esm/api/resources/billingNew/client/Client.mjs +5 -0
  185. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +168 -0
  186. package/dist/esm/api/resources/{billing/resources/rateSheetMappings → billingNew/resources/billingPeriods}/client/Client.mjs +176 -111
  187. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.d.mts +34 -0
  188. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.d.mts +20 -0
  189. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.mts +54 -0
  190. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/index.d.mts +3 -0
  191. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +2 -1
  192. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +6 -2
  193. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +1 -0
  194. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +4 -1
  195. package/dist/esm/api/resources/billingNew/resources/index.d.mts +2 -0
  196. package/dist/esm/api/resources/billingNew/resources/index.mjs +2 -0
  197. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +21 -1
  198. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +77 -2
  199. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +3 -0
  200. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.d.mts +17 -0
  201. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +1 -0
  202. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +3 -0
  203. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +1 -0
  204. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -0
  205. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +5 -1
  206. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +1 -0
  207. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
  208. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +16 -0
  209. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +70 -0
  210. package/dist/{cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts → esm/api/resources/billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.d.mts} +1 -1
  211. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +1 -0
  212. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -2
  213. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -2
  214. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +1 -1
  215. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1 -1
  216. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +2 -0
  217. package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -12
  218. package/dist/esm/api/resources/shipping/client/Client.mjs +0 -20
  219. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -10
  220. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -10
  221. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +18 -3
  222. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +28 -3
  223. package/dist/esm/api/resources/shipping/resources/orders/index.d.mts +1 -1
  224. package/dist/esm/api/resources/shipping/resources/orders/index.mjs +1 -1
  225. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +101 -0
  226. package/dist/esm/api/resources/shipping/resources/{cargos → orders/resources/cargo}/client/Client.mjs +33 -33
  227. package/dist/esm/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.d.mts +5 -1
  228. package/dist/esm/api/resources/shipping/resources/{cargos/client/requests/CargoAddToOrderReq.d.mts → orders/resources/cargo/client/requests/OrdersAddCargoReq.d.mts} +2 -2
  229. package/dist/{cjs/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.ts → esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.d.mts} +1 -1
  230. package/dist/esm/api/resources/shipping/resources/{cargos/client/requests/CargoAssociateWithTaskReq.d.mts → orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.d.mts} +1 -1
  231. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/index.d.mts +4 -0
  232. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +1 -57
  233. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +1 -274
  234. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +0 -3
  235. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -4
  236. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -1
  237. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
  238. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
  239. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.mts +0 -70
  240. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.mjs +0 -265
  241. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.mts +0 -1
  242. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.mjs +1 -1
  243. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -7
  244. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -7
  245. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -143
  246. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -577
  247. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.mts +0 -1
  248. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.mjs +1 -1
  249. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  250. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +2 -2
  251. package/dist/esm/api/resources/shipping/resources/orders/resources/index.d.mts +10 -1
  252. package/dist/esm/api/resources/shipping/resources/orders/resources/index.mjs +10 -1
  253. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/task → task}/client/Client.d.mts +14 -16
  254. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/task → task}/client/Client.mjs +24 -26
  255. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts → task/client/requests/OrdersAddTaskReq.d.mts} +5 -3
  256. package/dist/esm/api/{types → resources/shipping/resources/orders/resources/task/client/requests}/TaskClientUpdate1.d.mts +5 -1
  257. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/index.d.mts +2 -0
  258. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/taskArtifact → taskArtifact}/client/Client.d.mts +14 -11
  259. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/taskArtifact → taskArtifact}/client/Client.mjs +22 -19
  260. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.d.mts +25 -0
  261. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/OrdersAddTaskArtifactReq.mjs +10 -0
  262. package/dist/esm/api/resources/shipping/resources/orders/resources/taskArtifact/client/requests/index.d.mts +1 -0
  263. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +162 -0
  264. package/dist/esm/api/resources/shipping/resources/{orderGroups → orders/resources/taskGroup}/client/Client.mjs +171 -119
  265. package/dist/esm/api/resources/shipping/resources/{taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts → orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.d.mts} +3 -3
  266. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts → taskGroup/client/requests/OrdersAddTaskGroupReq.d.mts} +2 -2
  267. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.d.mts +22 -0
  268. package/dist/{cjs/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.d.ts → esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.d.mts} +2 -2
  269. package/dist/esm/api/resources/shipping/resources/orders/resources/{drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts → taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts} +2 -2
  270. package/dist/{cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.d.ts → esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.d.mts} +2 -2
  271. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/index.d.mts +6 -0
  272. package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/Client.d.mts +12 -12
  273. package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/Client.mjs +19 -16
  274. package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.d.mts → shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.d.mts} +1 -1
  275. package/dist/esm/api/resources/shipping/resources/orders/resources/utils/client/requests/index.d.mts +1 -0
  276. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +0 -34
  277. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +0 -128
  278. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.d.mts +0 -1
  279. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.mjs +1 -1
  280. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +0 -314
  281. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +10 -1329
  282. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +0 -6
  283. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -48
  284. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -192
  285. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +0 -1
  286. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.d.mts +0 -3
  287. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.mjs +0 -5
  288. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +48 -16
  289. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +173 -43
  290. package/dist/esm/api/resources/{shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.d.mts} +3 -3
  291. package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.d.mts → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.d.mts} +3 -3
  292. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.mts +2 -0
  293. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.d.mts +0 -2
  294. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.mjs +0 -2
  295. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +18 -1
  296. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +68 -1
  297. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.d.mts +14 -0
  298. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.mts +1 -0
  299. package/dist/esm/api/types/BillingPeriod1.d.mts +34 -0
  300. package/dist/esm/api/types/{BillingCycleEnum.d.mts → BillingPeriodCycleEnum1.d.mts} +2 -2
  301. package/dist/esm/api/types/{BillingCycleEnum.mjs → BillingPeriodCycleEnum1.mjs} +1 -1
  302. package/dist/esm/api/types/BillingPeriodExpanded1.d.mts +9 -0
  303. package/dist/esm/api/types/{BillingLedgerListRes.d.mts → BillingPeriodListRes.d.mts} +2 -2
  304. package/dist/esm/api/types/BillingPeriodSortByEnum.d.mts +12 -0
  305. package/dist/esm/api/types/{OrderGroupExpandedSortByEnum.mjs → BillingPeriodSortByEnum.mjs} +4 -2
  306. package/dist/esm/api/types/{BillingLedgerPeriodStatusEnum.d.mts → BillingPeriodStatusEnum1.d.mts} +2 -2
  307. package/dist/esm/api/types/{BillingLedgerPeriodStatusEnum.mjs → BillingPeriodStatusEnum1.mjs} +1 -1
  308. package/dist/esm/api/types/BillingPeriodTaskGroupsReq.d.mts +6 -0
  309. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  310. package/dist/esm/api/types/CargoTypeEnum1.d.mts +2 -1
  311. package/dist/esm/api/types/CargoTypeEnum1.mjs +1 -0
  312. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +1 -0
  313. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.d.mts +9 -0
  314. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.mts +11 -0
  315. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsItem1.d.mts +13 -0
  316. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.d.mts +9 -0
  317. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.d.mts +9 -0
  318. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.mjs +8 -0
  319. package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.mts +10 -0
  320. package/dist/esm/api/types/Invoice1.d.mts +1 -0
  321. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -0
  322. package/dist/esm/api/types/InvoiceLineItem1.d.mts +4 -0
  323. package/dist/esm/api/types/InvoiceLineItemClientCreate1.d.mts +3 -0
  324. package/dist/esm/api/types/InvoiceLineItemServerCreate1.d.mts +4 -0
  325. package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +2 -0
  326. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +1 -6
  327. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +0 -5
  328. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +1 -3
  329. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +0 -2
  330. package/dist/esm/api/types/OffChrtOrgData1.d.mts +1 -0
  331. package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +1 -0
  332. package/dist/esm/api/types/Order1.d.mts +1 -1
  333. package/dist/{cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts → esm/api/types/OrderAwbBillingAccount1.d.mts} +3 -2
  334. package/dist/esm/api/types/OrderAwbBillingListItem1.d.mts +12 -0
  335. package/dist/esm/api/types/{BillingLedgerPeriodListRes.d.mts → OrderAwbBillingListRes.d.mts} +2 -2
  336. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +1 -0
  337. package/dist/esm/api/types/OrderBillingPeriod1.d.mts +11 -0
  338. package/dist/esm/api/types/OrderExpandedForCoordinator.d.mts +1 -0
  339. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +1 -0
  340. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -1
  341. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -1
  342. package/dist/esm/api/types/OrdersDraftDeleteManyRes.d.mts +0 -1
  343. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +0 -2
  344. package/dist/esm/api/types/ProFormaLineItem1.d.mts +9 -7
  345. package/dist/esm/api/types/{LineItemProvenanceEnum.d.mts → ProFormaLineItemProvenanceEnum1.d.mts} +2 -2
  346. package/dist/esm/api/types/{LineItemProvenanceEnum.mjs → ProFormaLineItemProvenanceEnum1.mjs} +1 -1
  347. package/dist/esm/api/types/TaskGroup1.d.mts +0 -9
  348. package/dist/esm/api/types/index.d.mts +18 -82
  349. package/dist/esm/api/types/index.mjs +18 -82
  350. package/dist/esm/core/index.d.mts +0 -1
  351. package/dist/esm/core/index.mjs +0 -1
  352. package/dist/esm/version.d.mts +1 -1
  353. package/dist/esm/version.mjs +1 -1
  354. package/package.json +1 -1
  355. package/reference.md +3540 -12250
  356. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +0 -115
  357. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +0 -425
  358. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +0 -14
  359. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +0 -41
  360. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +0 -17
  361. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.ts +0 -3
  362. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +0 -110
  363. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +0 -411
  364. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +0 -23
  365. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +0 -13
  366. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +0 -32
  367. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +0 -3
  368. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +0 -132
  369. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +0 -505
  370. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +0 -19
  371. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +0 -21
  372. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.ts +0 -16
  373. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +0 -3
  374. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +0 -132
  375. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +0 -508
  376. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +0 -35
  377. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +0 -46
  378. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.ts +0 -16
  379. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +0 -3
  380. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +0 -307
  381. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +0 -1203
  382. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -23
  383. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +0 -53
  384. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +0 -23
  385. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +0 -24
  386. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +0 -4
  387. package/dist/cjs/api/resources/billing/resources/lineItemGroups/index.d.ts +0 -2
  388. package/dist/cjs/api/resources/billing/resources/lineItemGroups/index.js +0 -18
  389. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.d.ts +0 -4
  390. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.js +0 -43
  391. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/index.d.ts +0 -1
  392. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +0 -83
  393. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +0 -308
  394. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/index.d.ts +0 -2
  395. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/index.js +0 -17
  396. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.d.ts +0 -1
  397. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.js +0 -2
  398. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.d.ts +0 -23
  399. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.js +0 -17
  400. package/dist/cjs/api/resources/billing/resources/lineItems/client/index.d.ts +0 -1
  401. package/dist/cjs/api/resources/billing/resources/lineItems/client/index.js +0 -2
  402. package/dist/cjs/api/resources/billing/resources/lineItems/index.d.ts +0 -2
  403. package/dist/cjs/api/resources/billing/resources/lineItems/index.js +0 -18
  404. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.d.ts +0 -2
  405. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.js +0 -41
  406. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.ts +0 -83
  407. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.js +0 -308
  408. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.d.ts +0 -2
  409. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.js +0 -17
  410. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.d.ts +0 -13
  411. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.ts +0 -1
  412. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.js +0 -2
  413. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/index.d.ts +0 -1
  414. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/index.js +0 -17
  415. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +0 -132
  416. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +0 -505
  417. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.ts +0 -2
  418. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.js +0 -17
  419. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +0 -16
  420. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +0 -15
  421. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.ts +0 -16
  422. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +0 -3
  423. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.js +0 -2
  424. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.d.ts +0 -1
  425. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.js +0 -17
  426. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +0 -155
  427. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.d.ts +0 -2
  428. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.js +0 -17
  429. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +0 -20
  430. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.ts +0 -18
  431. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +0 -3
  432. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.js +0 -2
  433. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.d.ts +0 -1
  434. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.js +0 -17
  435. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +0 -321
  436. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +0 -1334
  437. package/dist/cjs/api/resources/billing/resources/statements/client/index.d.ts +0 -2
  438. package/dist/cjs/api/resources/billing/resources/statements/client/index.js +0 -17
  439. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -21
  440. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.d.ts +0 -12
  441. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +0 -13
  442. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +0 -71
  443. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +0 -71
  444. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +0 -5
  445. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.js +0 -2
  446. package/dist/cjs/api/resources/billing/resources/statements/index.d.ts +0 -1
  447. package/dist/cjs/api/resources/billing/resources/statements/index.js +0 -17
  448. package/dist/cjs/api/resources/shipping/resources/cargos/client/Client.d.ts +0 -101
  449. package/dist/cjs/api/resources/shipping/resources/cargos/client/index.d.ts +0 -2
  450. package/dist/cjs/api/resources/shipping/resources/cargos/client/index.js +0 -17
  451. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/index.d.ts +0 -3
  452. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/index.js +0 -2
  453. package/dist/cjs/api/resources/shipping/resources/cargos/index.d.ts +0 -1
  454. package/dist/cjs/api/resources/shipping/resources/cargos/index.js +0 -17
  455. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +0 -142
  456. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.d.ts +0 -2
  457. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.js +0 -17
  458. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.js +0 -5
  459. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +0 -12
  460. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.js +0 -5
  461. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.ts +0 -13
  462. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.js +0 -5
  463. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.ts +0 -30
  464. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.js +0 -5
  465. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +0 -4
  466. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.js +0 -2
  467. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.d.ts +0 -1
  468. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.js +0 -17
  469. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +0 -177
  470. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +0 -718
  471. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.d.ts +0 -2
  472. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.js +0 -17
  473. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +0 -40
  474. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.js +0 -5
  475. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.d.ts +0 -1
  476. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.js +0 -2
  477. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.d.ts +0 -2
  478. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.js +0 -18
  479. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.ts +0 -64
  480. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.js +0 -196
  481. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.d.ts +0 -2
  482. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.js +0 -17
  483. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.ts +0 -19
  484. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.js +0 -5
  485. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.ts +0 -16
  486. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.js +0 -5
  487. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.d.ts +0 -2
  488. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.js +0 -2
  489. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/index.d.ts +0 -1
  490. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/index.js +0 -17
  491. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.d.ts +0 -2
  492. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.js +0 -41
  493. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.ts +0 -13
  494. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.js +0 -5
  495. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +0 -18
  496. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.js +0 -5
  497. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +0 -16
  498. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js +0 -5
  499. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +0 -16
  500. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.js +0 -5
  501. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +0 -15
  502. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js +0 -5
  503. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.d.ts +0 -4
  504. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.js +0 -2
  505. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.d.ts +0 -62
  506. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.js +0 -197
  507. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.d.ts +0 -1
  508. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.js +0 -2
  509. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.d.ts +0 -1
  510. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.js +0 -17
  511. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.d.ts +0 -2
  512. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.js +0 -17
  513. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.js +0 -5
  514. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +0 -15
  515. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.js +0 -5
  516. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.d.ts +0 -2
  517. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.js +0 -2
  518. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.d.ts +0 -1
  519. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.js +0 -17
  520. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.d.ts +0 -2
  521. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.js +0 -17
  522. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +0 -16
  523. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js +0 -5
  524. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.d.ts +0 -1
  525. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.js +0 -2
  526. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.d.ts +0 -1
  527. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.js +0 -17
  528. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js +0 -5
  529. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js +0 -5
  530. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +0 -13
  531. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js +0 -5
  532. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +0 -13
  533. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.js +0 -5
  534. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.js +0 -5
  535. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.js +0 -5
  536. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.d.ts +0 -6
  537. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.js +0 -2
  538. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.ts +0 -26
  539. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.js +0 -14
  540. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/index.d.ts +0 -1
  541. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/index.js +0 -17
  542. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +0 -73
  543. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +0 -260
  544. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.ts +0 -2
  545. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.js +0 -17
  546. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.ts +0 -32
  547. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.js +0 -5
  548. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +0 -25
  549. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.js +0 -5
  550. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.ts +0 -2
  551. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.js +0 -2
  552. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.d.ts +0 -1
  553. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.js +0 -17
  554. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +0 -19
  555. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.js +0 -5
  556. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.ts +0 -1
  557. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.js +0 -2
  558. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +0 -13
  559. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +0 -5
  560. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.js +0 -5
  561. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +0 -13
  562. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.js +0 -5
  563. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +0 -13
  564. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.js +0 -5
  565. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +0 -13
  566. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.js +0 -5
  567. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.js +0 -5
  568. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +0 -21
  569. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.js +0 -5
  570. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +0 -62
  571. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +0 -197
  572. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.ts +0 -2
  573. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.js +0 -17
  574. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.ts +0 -21
  575. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.js +0 -5
  576. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.ts +0 -1
  577. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.js +0 -2
  578. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.ts +0 -1
  579. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.js +0 -17
  580. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +0 -6
  581. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.js +0 -5
  582. package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +0 -6
  583. package/dist/cjs/api/types/AttachLigToVectorClientReq.js +0 -5
  584. package/dist/cjs/api/types/BillingLedger1.d.ts +0 -27
  585. package/dist/cjs/api/types/BillingLedger1.js +0 -5
  586. package/dist/cjs/api/types/BillingLedgerListRes.d.ts +0 -8
  587. package/dist/cjs/api/types/BillingLedgerListRes.js +0 -5
  588. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +0 -35
  589. package/dist/cjs/api/types/BillingLedgerPeriod1.js +0 -5
  590. package/dist/cjs/api/types/BillingLedgerPeriodListRes.js +0 -5
  591. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +0 -9
  592. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +0 -11
  593. package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +0 -4
  594. package/dist/cjs/api/types/BillingLedgerSortByEnum.js +0 -5
  595. package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +0 -8
  596. package/dist/cjs/api/types/BillingLedgerStatusEnum.js +0 -10
  597. package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +0 -13
  598. package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.js +0 -5
  599. package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +0 -10
  600. package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.js +0 -5
  601. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.ts +0 -14
  602. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.js +0 -5
  603. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +0 -15
  604. package/dist/cjs/api/types/BillingReviewStatusEnum.js +0 -12
  605. package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +0 -10
  606. package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.js +0 -5
  607. package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +0 -10
  608. package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.js +0 -5
  609. package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +0 -16
  610. package/dist/cjs/api/types/CargoOnFlightRateSheet1.js +0 -5
  611. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +0 -8
  612. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.js +0 -5
  613. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +0 -32
  614. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.js +0 -5
  615. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +0 -8
  616. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.js +0 -5
  617. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.js +0 -5
  618. package/dist/cjs/api/types/LineItem1.d.ts +0 -32
  619. package/dist/cjs/api/types/LineItem1.js +0 -5
  620. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +0 -14
  621. package/dist/cjs/api/types/LineItemClientCreate1.js +0 -5
  622. package/dist/cjs/api/types/LineItemEnum1.d.ts +0 -39
  623. package/dist/cjs/api/types/LineItemEnum1.js +0 -35
  624. package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -59
  625. package/dist/cjs/api/types/LineItemGroup1.js +0 -5
  626. package/dist/cjs/api/types/LineItemGroupLineItemsRes.d.ts +0 -11
  627. package/dist/cjs/api/types/LineItemGroupLineItemsRes.js +0 -5
  628. package/dist/cjs/api/types/LineItemGroupListRes.d.ts +0 -8
  629. package/dist/cjs/api/types/LineItemGroupListRes.js +0 -5
  630. package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +0 -12
  631. package/dist/cjs/api/types/LineItemGroupMessage1.js +0 -5
  632. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +0 -19
  633. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.js +0 -5
  634. package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +0 -30
  635. package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -13
  636. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.d.ts +0 -19
  637. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.js +0 -5
  638. package/dist/cjs/api/types/LineItemStatusEnum.d.ts +0 -9
  639. package/dist/cjs/api/types/LineItemStatusEnum.js +0 -11
  640. package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +0 -13
  641. package/dist/cjs/api/types/OnboardCourierRateSheet1.js +0 -5
  642. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +0 -8
  643. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +0 -5
  644. package/dist/cjs/api/types/OrderBuilderReq.d.ts +0 -11
  645. package/dist/cjs/api/types/OrderBuilderReq.js +0 -5
  646. package/dist/cjs/api/types/OrderBuilderRes.d.ts +0 -11
  647. package/dist/cjs/api/types/OrderBuilderRes.js +0 -5
  648. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.d.ts +0 -15
  649. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.js +0 -5
  650. package/dist/cjs/api/types/OrderDraftExpandedForShipper.d.ts +0 -15
  651. package/dist/cjs/api/types/OrderDraftExpandedForShipper.js +0 -5
  652. package/dist/cjs/api/types/OrderGroup1.d.ts +0 -21
  653. package/dist/cjs/api/types/OrderGroup1.js +0 -5
  654. package/dist/cjs/api/types/OrderGroupExpandedListRes.d.ts +0 -8
  655. package/dist/cjs/api/types/OrderGroupExpandedListRes.js +0 -5
  656. package/dist/cjs/api/types/OrderGroupExpandedRow.d.ts +0 -9
  657. package/dist/cjs/api/types/OrderGroupExpandedRow.js +0 -5
  658. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.d.ts +0 -10
  659. package/dist/cjs/api/types/OrderGroupListRes.js +0 -5
  660. package/dist/cjs/api/types/OrderGroupSortByEnum.d.ts +0 -9
  661. package/dist/cjs/api/types/OrderGroupSortByEnum.js +0 -11
  662. package/dist/cjs/api/types/OrderSchedule1.d.ts +0 -24
  663. package/dist/cjs/api/types/OrderSchedule1.js +0 -5
  664. package/dist/cjs/api/types/OrderScheduleAboutRes.d.ts +0 -9
  665. package/dist/cjs/api/types/OrderScheduleAboutRes.js +0 -5
  666. package/dist/cjs/api/types/OrderScheduleBuildSeedRes.d.ts +0 -10
  667. package/dist/cjs/api/types/OrderScheduleBuildSeedRes.js +0 -5
  668. package/dist/cjs/api/types/OrderScheduleListRes.d.ts +0 -8
  669. package/dist/cjs/api/types/OrderScheduleListRes.js +0 -5
  670. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.d.ts +0 -8
  671. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.js +0 -5
  672. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.d.ts +0 -11
  673. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.js +0 -5
  674. package/dist/cjs/api/types/OrderScheduleSortByEnum.d.ts +0 -10
  675. package/dist/cjs/api/types/OrderScheduleSortByEnum.js +0 -12
  676. package/dist/cjs/api/types/OrderScheduleSpec1.d.ts +0 -11
  677. package/dist/cjs/api/types/OrderScheduleSpec1.js +0 -5
  678. package/dist/cjs/api/types/OrderScheduleStatusEnum1.d.ts +0 -10
  679. package/dist/cjs/api/types/OrderScheduleStatusEnum1.js +0 -12
  680. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +0 -28
  681. package/dist/cjs/api/types/OrderTemplateCore1.js +0 -5
  682. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +0 -13
  683. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.js +0 -5
  684. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +0 -12
  685. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.js +0 -5
  686. package/dist/cjs/api/types/RateSheetMapping1.d.ts +0 -17
  687. package/dist/cjs/api/types/RateSheetMapping1.js +0 -5
  688. package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +0 -8
  689. package/dist/cjs/api/types/RateSheetMappingListRes.js +0 -5
  690. package/dist/cjs/api/types/ReelablesAssetSyncRes.d.ts +0 -8
  691. package/dist/cjs/api/types/ReelablesAssetSyncRes.js +0 -5
  692. package/dist/cjs/api/types/ReelablesWorkspace1.d.ts +0 -13
  693. package/dist/cjs/api/types/ReelablesWorkspace1.js +0 -5
  694. package/dist/cjs/api/types/ReelablesWorkspaceListRes.d.ts +0 -8
  695. package/dist/cjs/api/types/ReelablesWorkspaceListRes.js +0 -5
  696. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.d.ts +0 -4
  697. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.js +0 -5
  698. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.d.ts +0 -9
  699. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.js +0 -5
  700. package/dist/cjs/api/types/SetFlightInfoReq.d.ts +0 -8
  701. package/dist/cjs/api/types/SetFlightInfoReq.js +0 -5
  702. package/dist/cjs/api/types/SettlementTypeEnum1.d.ts +0 -8
  703. package/dist/cjs/api/types/SettlementTypeEnum1.js +0 -10
  704. package/dist/cjs/api/types/Statement1.d.ts +0 -45
  705. package/dist/cjs/api/types/Statement1.js +0 -5
  706. package/dist/cjs/api/types/StatementExpandedListItem.d.ts +0 -9
  707. package/dist/cjs/api/types/StatementExpandedListItem.js +0 -5
  708. package/dist/cjs/api/types/StatementExpandedRes.d.ts +0 -8
  709. package/dist/cjs/api/types/StatementExpandedRes.js +0 -5
  710. package/dist/cjs/api/types/StatementSortByEnum.d.ts +0 -11
  711. package/dist/cjs/api/types/StatementSortByEnum.js +0 -13
  712. package/dist/cjs/api/types/StatementStatusEnum1.d.ts +0 -10
  713. package/dist/cjs/api/types/StatementStatusEnum1.js +0 -12
  714. package/dist/cjs/api/types/StatementsExpandedListRes.d.ts +0 -8
  715. package/dist/cjs/api/types/StatementsExpandedListRes.js +0 -5
  716. package/dist/cjs/api/types/StatementsListRes.d.ts +0 -8
  717. package/dist/cjs/api/types/StatementsListRes.js +0 -5
  718. package/dist/cjs/api/types/StripeConnectInvoiceStatusEnum.d.ts +0 -12
  719. package/dist/cjs/api/types/StripeConnectInvoiceStatusEnum.js +0 -14
  720. package/dist/cjs/api/types/TaskClientUpdate1.js +0 -5
  721. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +0 -37
  722. package/dist/cjs/api/types/TaskGroupQuoteResp.js +0 -5
  723. package/dist/cjs/api/types/UngroupedOrderListRes.d.ts +0 -8
  724. package/dist/cjs/api/types/UngroupedOrderListRes.js +0 -5
  725. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +0 -7
  726. package/dist/cjs/api/types/UngroupedOrderRow.js +0 -5
  727. package/dist/cjs/api/types/UngroupedOrderSortByEnum.d.ts +0 -11
  728. package/dist/cjs/api/types/UngroupedOrderSortByEnum.js +0 -13
  729. package/dist/cjs/api/types/UnitsEnum.d.ts +0 -8
  730. package/dist/cjs/api/types/UnitsEnum.js +0 -10
  731. package/dist/cjs/core/stream/Stream.d.ts +0 -46
  732. package/dist/cjs/core/stream/Stream.js +0 -169
  733. package/dist/cjs/core/stream/index.d.ts +0 -1
  734. package/dist/cjs/core/stream/index.js +0 -5
  735. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +0 -115
  736. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +0 -388
  737. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +0 -14
  738. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +0 -41
  739. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +0 -17
  740. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +0 -3
  741. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +0 -110
  742. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +0 -374
  743. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +0 -23
  744. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +0 -13
  745. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +0 -32
  746. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +0 -3
  747. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +0 -132
  748. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +0 -468
  749. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +0 -19
  750. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +0 -21
  751. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +0 -16
  752. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +0 -3
  753. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +0 -132
  754. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +0 -471
  755. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +0 -35
  756. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +0 -46
  757. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +0 -16
  758. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +0 -3
  759. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +0 -307
  760. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +0 -1166
  761. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -23
  762. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +0 -53
  763. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +0 -23
  764. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +0 -24
  765. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +0 -4
  766. package/dist/esm/api/resources/billing/resources/lineItemGroups/index.d.mts +0 -2
  767. package/dist/esm/api/resources/billing/resources/lineItemGroups/index.mjs +0 -2
  768. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -4
  769. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -4
  770. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/messages/client/requests/index.d.mts +0 -1
  771. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +0 -83
  772. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +0 -271
  773. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/index.d.mts +0 -2
  774. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/index.mjs +0 -1
  775. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.d.mts +0 -13
  776. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.d.mts +0 -1
  777. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/requests/index.mjs +0 -1
  778. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.d.mts +0 -23
  779. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.mjs +0 -13
  780. package/dist/esm/api/resources/billing/resources/lineItems/client/index.d.mts +0 -1
  781. package/dist/esm/api/resources/billing/resources/lineItems/client/index.mjs +0 -1
  782. package/dist/esm/api/resources/billing/resources/lineItems/index.d.mts +0 -2
  783. package/dist/esm/api/resources/billing/resources/lineItems/index.mjs +0 -2
  784. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.d.mts +0 -2
  785. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.mjs +0 -2
  786. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.mts +0 -83
  787. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.mjs +0 -271
  788. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.d.mts +0 -2
  789. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.mjs +0 -1
  790. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.mts +0 -1
  791. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.mjs +0 -1
  792. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/index.d.mts +0 -1
  793. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/index.mjs +0 -1
  794. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +0 -132
  795. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +0 -468
  796. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.mts +0 -2
  797. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.mjs +0 -1
  798. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +0 -16
  799. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +0 -15
  800. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +0 -16
  801. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +0 -3
  802. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.mjs +0 -1
  803. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.d.mts +0 -1
  804. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.mjs +0 -1
  805. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +0 -155
  806. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +0 -2
  807. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +0 -1
  808. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +0 -20
  809. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +0 -18
  810. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +0 -3
  811. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +0 -1
  812. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +0 -1
  813. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +0 -1
  814. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +0 -321
  815. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +0 -1297
  816. package/dist/esm/api/resources/billing/resources/statements/client/index.d.mts +0 -2
  817. package/dist/esm/api/resources/billing/resources/statements/client/index.mjs +0 -1
  818. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -21
  819. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.d.mts +0 -12
  820. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +0 -13
  821. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +0 -71
  822. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +0 -71
  823. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +0 -5
  824. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.mjs +0 -1
  825. package/dist/esm/api/resources/billing/resources/statements/index.d.mts +0 -1
  826. package/dist/esm/api/resources/billing/resources/statements/index.mjs +0 -1
  827. package/dist/esm/api/resources/shipping/resources/cargos/client/Client.d.mts +0 -101
  828. package/dist/esm/api/resources/shipping/resources/cargos/client/index.d.mts +0 -2
  829. package/dist/esm/api/resources/shipping/resources/cargos/client/index.mjs +0 -1
  830. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/index.d.mts +0 -3
  831. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/index.mjs +0 -1
  832. package/dist/esm/api/resources/shipping/resources/cargos/index.d.mts +0 -1
  833. package/dist/esm/api/resources/shipping/resources/cargos/index.mjs +0 -1
  834. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +0 -142
  835. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.d.mts +0 -2
  836. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.mjs +0 -1
  837. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.mjs +0 -4
  838. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +0 -12
  839. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.mjs +0 -4
  840. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.mts +0 -13
  841. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.mjs +0 -4
  842. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.mts +0 -30
  843. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.mjs +0 -4
  844. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +0 -4
  845. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.mjs +0 -1
  846. package/dist/esm/api/resources/shipping/resources/orderGroups/index.d.mts +0 -1
  847. package/dist/esm/api/resources/shipping/resources/orderGroups/index.mjs +0 -1
  848. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +0 -177
  849. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +0 -681
  850. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.d.mts +0 -2
  851. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.mjs +0 -1
  852. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +0 -40
  853. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.mjs +0 -4
  854. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.d.mts +0 -1
  855. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.mjs +0 -1
  856. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.d.mts +0 -2
  857. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.mjs +0 -2
  858. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.mts +0 -64
  859. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.mjs +0 -159
  860. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.d.mts +0 -2
  861. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/index.mjs +0 -1
  862. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.mts +0 -19
  863. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.mjs +0 -4
  864. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.mts +0 -16
  865. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.mjs +0 -4
  866. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.d.mts +0 -2
  867. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/index.mjs +0 -1
  868. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/index.d.mts +0 -1
  869. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/index.mjs +0 -1
  870. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.d.mts +0 -2
  871. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.mjs +0 -2
  872. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.mts +0 -13
  873. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.mjs +0 -4
  874. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +0 -18
  875. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs +0 -4
  876. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +0 -16
  877. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs +0 -4
  878. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +0 -16
  879. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.mjs +0 -4
  880. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +0 -15
  881. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs +0 -4
  882. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.d.mts +0 -4
  883. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/requests/index.mjs +0 -1
  884. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.d.mts +0 -62
  885. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/Client.mjs +0 -160
  886. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.d.mts +0 -1
  887. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/client/index.mjs +0 -1
  888. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.d.mts +0 -1
  889. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/expanded/index.mjs +0 -1
  890. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.d.mts +0 -2
  891. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/index.mjs +0 -1
  892. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs +0 -4
  893. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +0 -15
  894. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs +0 -4
  895. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.d.mts +0 -2
  896. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/client/requests/index.mjs +0 -1
  897. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.d.mts +0 -1
  898. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/task/index.mjs +0 -1
  899. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.d.mts +0 -2
  900. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/index.mjs +0 -1
  901. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +0 -16
  902. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs +0 -4
  903. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.d.mts +0 -1
  904. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/client/requests/index.mjs +0 -1
  905. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.d.mts +0 -1
  906. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskArtifact/index.mjs +0 -1
  907. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +0 -13
  908. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs +0 -4
  909. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.mjs +0 -4
  910. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +0 -13
  911. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs +0 -4
  912. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +0 -13
  913. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetRateSheetsReq.mjs +0 -4
  914. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.mts +0 -13
  915. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.mjs +0 -4
  916. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.mjs +0 -4
  917. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.d.mts +0 -6
  918. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/index.mjs +0 -1
  919. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.mts +0 -26
  920. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.mjs +0 -11
  921. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/index.d.mts +0 -1
  922. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/index.mjs +0 -1
  923. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +0 -73
  924. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +0 -223
  925. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.mts +0 -2
  926. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.mjs +0 -1
  927. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.mts +0 -32
  928. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.mjs +0 -4
  929. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +0 -25
  930. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.mjs +0 -4
  931. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.mts +0 -2
  932. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.mjs +0 -1
  933. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.d.mts +0 -1
  934. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.mjs +0 -1
  935. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +0 -19
  936. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.mjs +0 -4
  937. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.mts +0 -1
  938. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.mjs +0 -1
  939. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +0 -13
  940. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +0 -4
  941. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.d.mts +0 -13
  942. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/SetTaskOrderingReq.mjs +0 -4
  943. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +0 -13
  944. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.mjs +0 -4
  945. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.mjs +0 -4
  946. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +0 -13
  947. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.mjs +0 -4
  948. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateDriverReq.mjs +0 -4
  949. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +0 -21
  950. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.mjs +0 -4
  951. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +0 -62
  952. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +0 -160
  953. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.mts +0 -2
  954. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.mjs +0 -1
  955. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.mts +0 -21
  956. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.mjs +0 -4
  957. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.mts +0 -1
  958. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.mjs +0 -1
  959. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.mts +0 -1
  960. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.mjs +0 -1
  961. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +0 -6
  962. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.mjs +0 -4
  963. package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +0 -6
  964. package/dist/esm/api/types/AttachLigToVectorClientReq.mjs +0 -4
  965. package/dist/esm/api/types/BillingLedger1.d.mts +0 -27
  966. package/dist/esm/api/types/BillingLedger1.mjs +0 -4
  967. package/dist/esm/api/types/BillingLedgerListRes.mjs +0 -4
  968. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +0 -35
  969. package/dist/esm/api/types/BillingLedgerPeriod1.mjs +0 -4
  970. package/dist/esm/api/types/BillingLedgerPeriodListRes.mjs +0 -4
  971. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +0 -9
  972. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +0 -8
  973. package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +0 -4
  974. package/dist/esm/api/types/BillingLedgerSortByEnum.mjs +0 -4
  975. package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +0 -8
  976. package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +0 -7
  977. package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +0 -13
  978. package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.mjs +0 -4
  979. package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +0 -10
  980. package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.mjs +0 -4
  981. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.mts +0 -14
  982. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.mjs +0 -4
  983. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +0 -15
  984. package/dist/esm/api/types/BillingReviewStatusEnum.mjs +0 -9
  985. package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +0 -10
  986. package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.mjs +0 -4
  987. package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +0 -10
  988. package/dist/esm/api/types/BillingStatementPaidWebhookPayload.mjs +0 -4
  989. package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +0 -16
  990. package/dist/esm/api/types/CargoOnFlightRateSheet1.mjs +0 -4
  991. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +0 -8
  992. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.mjs +0 -4
  993. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +0 -32
  994. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.mjs +0 -4
  995. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +0 -8
  996. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.mjs +0 -4
  997. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.mjs +0 -4
  998. package/dist/esm/api/types/LineItem1.d.mts +0 -32
  999. package/dist/esm/api/types/LineItem1.mjs +0 -4
  1000. package/dist/esm/api/types/LineItemClientCreate1.d.mts +0 -14
  1001. package/dist/esm/api/types/LineItemClientCreate1.mjs +0 -4
  1002. package/dist/esm/api/types/LineItemEnum1.d.mts +0 -39
  1003. package/dist/esm/api/types/LineItemEnum1.mjs +0 -32
  1004. package/dist/esm/api/types/LineItemGroup1.d.mts +0 -59
  1005. package/dist/esm/api/types/LineItemGroup1.mjs +0 -4
  1006. package/dist/esm/api/types/LineItemGroupLineItemsRes.d.mts +0 -11
  1007. package/dist/esm/api/types/LineItemGroupLineItemsRes.mjs +0 -4
  1008. package/dist/esm/api/types/LineItemGroupListRes.d.mts +0 -8
  1009. package/dist/esm/api/types/LineItemGroupListRes.mjs +0 -4
  1010. package/dist/esm/api/types/LineItemGroupMessage1.d.mts +0 -12
  1011. package/dist/esm/api/types/LineItemGroupMessage1.mjs +0 -4
  1012. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +0 -19
  1013. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.mjs +0 -4
  1014. package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +0 -30
  1015. package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -10
  1016. package/dist/esm/api/types/LineItemS3ObjectMetadata1.d.mts +0 -19
  1017. package/dist/esm/api/types/LineItemS3ObjectMetadata1.mjs +0 -4
  1018. package/dist/esm/api/types/LineItemStatusEnum.d.mts +0 -9
  1019. package/dist/esm/api/types/LineItemStatusEnum.mjs +0 -8
  1020. package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +0 -13
  1021. package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +0 -4
  1022. package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +0 -8
  1023. package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +0 -4
  1024. package/dist/esm/api/types/OrderBuilderReq.d.mts +0 -11
  1025. package/dist/esm/api/types/OrderBuilderReq.mjs +0 -4
  1026. package/dist/esm/api/types/OrderBuilderRes.d.mts +0 -11
  1027. package/dist/esm/api/types/OrderBuilderRes.mjs +0 -4
  1028. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.d.mts +0 -15
  1029. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.mjs +0 -4
  1030. package/dist/esm/api/types/OrderDraftExpandedForShipper.d.mts +0 -15
  1031. package/dist/esm/api/types/OrderDraftExpandedForShipper.mjs +0 -4
  1032. package/dist/esm/api/types/OrderGroup1.d.mts +0 -21
  1033. package/dist/esm/api/types/OrderGroup1.mjs +0 -4
  1034. package/dist/esm/api/types/OrderGroupExpandedListRes.d.mts +0 -8
  1035. package/dist/esm/api/types/OrderGroupExpandedListRes.mjs +0 -4
  1036. package/dist/esm/api/types/OrderGroupExpandedRow.d.mts +0 -9
  1037. package/dist/esm/api/types/OrderGroupExpandedRow.mjs +0 -4
  1038. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.d.mts +0 -10
  1039. package/dist/esm/api/types/OrderGroupListRes.d.mts +0 -8
  1040. package/dist/esm/api/types/OrderGroupListRes.mjs +0 -4
  1041. package/dist/esm/api/types/OrderGroupSortByEnum.d.mts +0 -9
  1042. package/dist/esm/api/types/OrderGroupSortByEnum.mjs +0 -8
  1043. package/dist/esm/api/types/OrderSchedule1.d.mts +0 -24
  1044. package/dist/esm/api/types/OrderSchedule1.mjs +0 -4
  1045. package/dist/esm/api/types/OrderScheduleAboutRes.d.mts +0 -9
  1046. package/dist/esm/api/types/OrderScheduleAboutRes.mjs +0 -4
  1047. package/dist/esm/api/types/OrderScheduleBuildSeedRes.d.mts +0 -10
  1048. package/dist/esm/api/types/OrderScheduleBuildSeedRes.mjs +0 -4
  1049. package/dist/esm/api/types/OrderScheduleListRes.d.mts +0 -8
  1050. package/dist/esm/api/types/OrderScheduleListRes.mjs +0 -4
  1051. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.d.mts +0 -8
  1052. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.mjs +0 -4
  1053. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.d.mts +0 -11
  1054. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.mjs +0 -4
  1055. package/dist/esm/api/types/OrderScheduleSortByEnum.d.mts +0 -10
  1056. package/dist/esm/api/types/OrderScheduleSortByEnum.mjs +0 -9
  1057. package/dist/esm/api/types/OrderScheduleSpec1.d.mts +0 -11
  1058. package/dist/esm/api/types/OrderScheduleSpec1.mjs +0 -4
  1059. package/dist/esm/api/types/OrderScheduleStatusEnum1.d.mts +0 -10
  1060. package/dist/esm/api/types/OrderScheduleStatusEnum1.mjs +0 -9
  1061. package/dist/esm/api/types/OrderTemplateCore1.d.mts +0 -28
  1062. package/dist/esm/api/types/OrderTemplateCore1.mjs +0 -4
  1063. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +0 -13
  1064. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.mjs +0 -4
  1065. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +0 -12
  1066. package/dist/esm/api/types/OrderTemplateResolvabilityRes.mjs +0 -4
  1067. package/dist/esm/api/types/RateSheetMapping1.d.mts +0 -17
  1068. package/dist/esm/api/types/RateSheetMapping1.mjs +0 -4
  1069. package/dist/esm/api/types/RateSheetMappingListRes.d.mts +0 -8
  1070. package/dist/esm/api/types/RateSheetMappingListRes.mjs +0 -4
  1071. package/dist/esm/api/types/ReelablesAssetSyncRes.d.mts +0 -8
  1072. package/dist/esm/api/types/ReelablesAssetSyncRes.mjs +0 -4
  1073. package/dist/esm/api/types/ReelablesWorkspace1.d.mts +0 -13
  1074. package/dist/esm/api/types/ReelablesWorkspace1.mjs +0 -4
  1075. package/dist/esm/api/types/ReelablesWorkspaceListRes.d.mts +0 -8
  1076. package/dist/esm/api/types/ReelablesWorkspaceListRes.mjs +0 -4
  1077. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.d.mts +0 -4
  1078. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.mjs +0 -4
  1079. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.d.mts +0 -9
  1080. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.mjs +0 -4
  1081. package/dist/esm/api/types/SetFlightInfoReq.d.mts +0 -8
  1082. package/dist/esm/api/types/SetFlightInfoReq.mjs +0 -4
  1083. package/dist/esm/api/types/SettlementTypeEnum1.d.mts +0 -8
  1084. package/dist/esm/api/types/SettlementTypeEnum1.mjs +0 -7
  1085. package/dist/esm/api/types/Statement1.d.mts +0 -45
  1086. package/dist/esm/api/types/Statement1.mjs +0 -4
  1087. package/dist/esm/api/types/StatementExpandedListItem.d.mts +0 -9
  1088. package/dist/esm/api/types/StatementExpandedListItem.mjs +0 -4
  1089. package/dist/esm/api/types/StatementExpandedRes.d.mts +0 -8
  1090. package/dist/esm/api/types/StatementExpandedRes.mjs +0 -4
  1091. package/dist/esm/api/types/StatementSortByEnum.d.mts +0 -11
  1092. package/dist/esm/api/types/StatementSortByEnum.mjs +0 -10
  1093. package/dist/esm/api/types/StatementStatusEnum1.d.mts +0 -10
  1094. package/dist/esm/api/types/StatementStatusEnum1.mjs +0 -9
  1095. package/dist/esm/api/types/StatementsExpandedListRes.d.mts +0 -8
  1096. package/dist/esm/api/types/StatementsExpandedListRes.mjs +0 -4
  1097. package/dist/esm/api/types/StatementsListRes.d.mts +0 -8
  1098. package/dist/esm/api/types/StatementsListRes.mjs +0 -4
  1099. package/dist/esm/api/types/StripeConnectInvoiceStatusEnum.d.mts +0 -12
  1100. package/dist/esm/api/types/StripeConnectInvoiceStatusEnum.mjs +0 -11
  1101. package/dist/esm/api/types/TaskClientUpdate1.mjs +0 -4
  1102. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +0 -37
  1103. package/dist/esm/api/types/TaskGroupQuoteResp.mjs +0 -4
  1104. package/dist/esm/api/types/UngroupedOrderListRes.d.mts +0 -8
  1105. package/dist/esm/api/types/UngroupedOrderListRes.mjs +0 -4
  1106. package/dist/esm/api/types/UngroupedOrderRow.d.mts +0 -7
  1107. package/dist/esm/api/types/UngroupedOrderRow.mjs +0 -4
  1108. package/dist/esm/api/types/UngroupedOrderSortByEnum.d.mts +0 -11
  1109. package/dist/esm/api/types/UngroupedOrderSortByEnum.mjs +0 -10
  1110. package/dist/esm/api/types/UnitsEnum.d.mts +0 -8
  1111. package/dist/esm/api/types/UnitsEnum.mjs +0 -7
  1112. package/dist/esm/core/stream/Stream.d.mts +0 -46
  1113. package/dist/esm/core/stream/Stream.mjs +0 -164
  1114. package/dist/esm/core/stream/index.d.mts +0 -1
  1115. package/dist/esm/core/stream/index.mjs +0 -1
  1116. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/index.d.ts +0 -0
  1117. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/index.js +0 -0
  1118. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.js} +0 -0
  1119. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.js} +0 -0
  1120. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.js → billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.js} +0 -0
  1121. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/requests/index.js +0 -0
  1122. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/index.d.ts +0 -0
  1123. /package/dist/cjs/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/index.js +0 -0
  1124. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.js → billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.js} +0 -0
  1125. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.js → billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.js} +0 -0
  1126. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/index.d.ts +0 -0
  1127. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/index.js +0 -0
  1128. /package/dist/cjs/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.js +0 -0
  1129. /package/dist/cjs/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.js → shipping/resources/orders/resources/cargo/client/requests/OrdersAddCargoReq.js} +0 -0
  1130. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js → shipping/resources/orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.js} +0 -0
  1131. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js → shipping/resources/orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.js} +0 -0
  1132. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/requests/index.js +0 -0
  1133. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/index.d.ts +0 -0
  1134. /package/dist/cjs/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/index.js +0 -0
  1135. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/index.d.ts +0 -0
  1136. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/index.js +0 -0
  1137. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js → shipping/resources/orders/resources/task/client/requests/OrdersAddTaskReq.js} +0 -0
  1138. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js → shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.js} +0 -0
  1139. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/requests/index.js +0 -0
  1140. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/index.d.ts +0 -0
  1141. /package/dist/cjs/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/index.js +0 -0
  1142. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/index.d.ts +0 -0
  1143. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/index.js +0 -0
  1144. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/requests/index.js +0 -0
  1145. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/index.d.ts +0 -0
  1146. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/index.js +0 -0
  1147. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/index.d.ts +0 -0
  1148. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/index.js +0 -0
  1149. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.js} +0 -0
  1150. /package/dist/cjs/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.js} +0 -0
  1151. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.js} +0 -0
  1152. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.js} +0 -0
  1153. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.js} +0 -0
  1154. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.js → shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.js} +0 -0
  1155. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/requests/index.js +0 -0
  1156. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/taskGroup}/index.d.ts +0 -0
  1157. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/taskGroup}/index.js +0 -0
  1158. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/index.d.ts +0 -0
  1159. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/index.js +0 -0
  1160. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.js → shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.js} +0 -0
  1161. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/requests/index.js +0 -0
  1162. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orders/resources/utils}/index.d.ts +0 -0
  1163. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orders/resources/utils}/index.js +0 -0
  1164. /package/dist/cjs/api/resources/{billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.js → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.js} +0 -0
  1165. /package/dist/cjs/api/resources/{billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.js → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.js} +0 -0
  1166. /package/dist/cjs/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js → trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.js} +0 -0
  1167. /package/dist/cjs/api/{resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js → types/BillingPeriod1.js} +0 -0
  1168. /package/dist/cjs/api/{resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js → types/BillingPeriodExpanded1.js} +0 -0
  1169. /package/dist/cjs/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js → types/BillingPeriodListRes.js} +0 -0
  1170. /package/dist/cjs/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.js → types/BillingPeriodTaskGroupsReq.js} +0 -0
  1171. /package/dist/cjs/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js → types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.js} +0 -0
  1172. /package/dist/cjs/api/{resources/billing/resources/statements/client/requests/StatementCreateClientReq.js → types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.js} +0 -0
  1173. /package/dist/cjs/api/{resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.js → types/CreateInvoiceLineItemsFromAwbCostsItem1.js} +0 -0
  1174. /package/dist/cjs/api/{resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js → types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.js} +0 -0
  1175. /package/dist/cjs/api/{resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.js → types/CreateInvoiceLineItemsFromAwbCostsRes.js} +0 -0
  1176. /package/dist/cjs/api/{resources/billing/resources/statements/client/requests/StatementsListV1Request.js → types/OrderAwbBillingAccount1.js} +0 -0
  1177. /package/dist/cjs/api/{resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.js → types/OrderAwbBillingListItem1.js} +0 -0
  1178. /package/dist/cjs/api/{resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.js → types/OrderAwbBillingListRes.js} +0 -0
  1179. /package/dist/cjs/api/{resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.js → types/OrderBillingPeriod1.js} +0 -0
  1180. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/index.d.mts +0 -0
  1181. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/index.mjs +0 -0
  1182. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientCreate1.mjs} +0 -0
  1183. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodClientUpdate1.mjs} +0 -0
  1184. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.mjs → billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.mjs} +0 -0
  1185. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/client/requests/index.mjs +0 -0
  1186. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/index.d.mts +0 -0
  1187. /package/dist/esm/api/resources/{billing/resources/billingLedgerPeriods → billingNew/resources/billingPeriods}/index.mjs +0 -0
  1188. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.mjs → billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAwbCostsReq.mjs} +0 -0
  1189. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs → billingNew/resources/orders/client/requests/OrdersListAwbBillingForCoordinatorOperatorsV1Request.mjs} +0 -0
  1190. /package/dist/esm/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/index.d.mts +0 -0
  1191. /package/dist/esm/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/index.mjs +0 -0
  1192. /package/dist/esm/api/{types → resources/shipping/resources/orders/resources/cargo/client/requests}/CargoClientUpdate1.mjs +0 -0
  1193. /package/dist/esm/api/resources/{billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.mjs → shipping/resources/orders/resources/cargo/client/requests/OrdersAddCargoReq.mjs} +0 -0
  1194. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs → shipping/resources/orders/resources/cargo/client/requests/OrdersAssociateCargoWithTaskReq.mjs} +0 -0
  1195. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs → shipping/resources/orders/resources/cargo/client/requests/OrdersUnassociateCargoWithTaskReq.mjs} +0 -0
  1196. /package/dist/esm/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/client/requests/index.mjs +0 -0
  1197. /package/dist/esm/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/index.d.mts +0 -0
  1198. /package/dist/esm/api/resources/{billing/resources/billingLedgers → shipping/resources/orders/resources/cargo}/index.mjs +0 -0
  1199. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/index.d.mts +0 -0
  1200. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/index.mjs +0 -0
  1201. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs → shipping/resources/orders/resources/task/client/requests/OrdersAddTaskReq.mjs} +0 -0
  1202. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs → shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.mjs} +0 -0
  1203. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/client/requests/index.mjs +0 -0
  1204. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/index.d.mts +0 -0
  1205. /package/dist/esm/api/resources/{billing/resources/cargoOnFlightRateSheets → shipping/resources/orders/resources/task}/index.mjs +0 -0
  1206. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/index.d.mts +0 -0
  1207. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/index.mjs +0 -0
  1208. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/client/requests/index.mjs +0 -0
  1209. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/index.d.mts +0 -0
  1210. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets → shipping/resources/orders/resources/taskArtifact}/index.mjs +0 -0
  1211. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/index.d.mts +0 -0
  1212. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/index.mjs +0 -0
  1213. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupExecutorReq.mjs} +0 -0
  1214. /package/dist/esm/api/resources/{billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersAddTaskGroupReq.mjs} +0 -0
  1215. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupFlightInfoReq.mjs} +0 -0
  1216. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupTaskOrderingReq.mjs} +0 -0
  1217. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.mjs} +0 -0
  1218. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs → shipping/resources/orders/resources/taskGroup/client/requests/OrdersUpdateTaskGroupDriverReq.mjs} +0 -0
  1219. /package/dist/esm/api/resources/{billing/resources/lineItemGroups → shipping/resources/orders/resources/taskGroup}/client/requests/index.mjs +0 -0
  1220. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/taskGroup}/index.d.mts +0 -0
  1221. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/taskGroup}/index.mjs +0 -0
  1222. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/index.d.mts +0 -0
  1223. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/index.mjs +0 -0
  1224. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages/client/requests/AddLineItemGroupMessageReq.mjs → shipping/resources/orders/resources/utils/client/requests/BodyPostShippingOrdersUtilsImageToTextV1.mjs} +0 -0
  1225. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/messages → shipping/resources/orders/resources/utils}/client/requests/index.mjs +0 -0
  1226. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orders/resources/utils}/index.d.mts +0 -0
  1227. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects → shipping/resources/orders/resources/utils}/index.mjs +0 -0
  1228. /package/dist/esm/api/resources/{billing/resources/lineItemGroups/resources/s3Objects/client/requests/BodyLineItemGroupsS3ObjectPostAddV1.mjs → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientCreate1.mjs} +0 -0
  1229. /package/dist/esm/api/resources/{billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1.mjs → trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetLabelLinkReq.mjs} +0 -0
  1230. /package/dist/esm/api/resources/{billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs → trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesRefreshV1Request.mjs} +0 -0
  1231. /package/dist/esm/api/{resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs → types/BillingPeriod1.mjs} +0 -0
  1232. /package/dist/esm/api/{resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs → types/BillingPeriodExpanded1.mjs} +0 -0
  1233. /package/dist/esm/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs → types/BillingPeriodListRes.mjs} +0 -0
  1234. /package/dist/esm/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.mjs → types/BillingPeriodTaskGroupsReq.mjs} +0 -0
  1235. /package/dist/esm/api/{resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs → types/CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.mjs} +0 -0
  1236. /package/dist/esm/api/{resources/billing/resources/statements/client/requests/StatementCreateClientReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.mjs} +0 -0
  1237. /package/dist/esm/api/{resources/billing/resources/statements/client/requests/StatementExpandedRetrieveReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsItem1.mjs} +0 -0
  1238. /package/dist/esm/api/{resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs → types/CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.mjs} +0 -0
  1239. /package/dist/esm/api/{resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.mjs → types/CreateInvoiceLineItemsFromAwbCostsRes.mjs} +0 -0
  1240. /package/dist/esm/api/{resources/billing/resources/statements/client/requests/StatementsListV1Request.mjs → types/OrderAwbBillingAccount1.mjs} +0 -0
  1241. /package/dist/esm/api/{resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.mjs → types/OrderAwbBillingListItem1.mjs} +0 -0
  1242. /package/dist/esm/api/{resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.mjs → types/OrderAwbBillingListRes.mjs} +0 -0
  1243. /package/dist/esm/api/{resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.mjs → types/OrderBillingPeriod1.mjs} +0 -0
@@ -71,1283 +71,29 @@ class TaskGroups {
71
71
  return ((_a = this._taskGroupId) !== null && _a !== void 0 ? _a : (this._taskGroupId = new Client_js_3.TaskGroupId(this._options)));
72
72
  }
73
73
  /**
74
- * Assigns an executor organization (on-chrt or off-chrt) to a task group. Coordinator-only. Requires both executor_org_id and off_chrt_executor_org_data_id to be None (use remove_executor/v1 first to swap). | authz_personas=[coordinator_org_operators] | (AddExecutorReq) -> (bool)
75
- *
76
- * @param {string} taskGroupId
77
- * @param {Chrt.shipping.AddExecutorReq} request
78
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
79
- *
80
- * @throws {@link Chrt.UnprocessableEntityError}
81
- *
82
- * @example
83
- * await client.shipping.taskGroups.addExecutorV1("task_group_id")
84
- */
85
- addExecutorV1(taskGroupId, request = {}, requestOptions) {
86
- return core.HttpResponsePromise.fromPromise(this.__addExecutorV1(taskGroupId, request, requestOptions));
87
- }
88
- __addExecutorV1(taskGroupId_1) {
89
- return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
90
- var _a, _b, _c, _d;
91
- 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);
92
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
93
- 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, `shipping/task_groups/add_executor/v1/${encodeURIComponent(taskGroupId)}`),
94
- method: "PATCH",
95
- headers: _headers,
96
- contentType: "application/json",
97
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
98
- requestType: "json",
99
- body: request,
100
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
101
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
102
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
103
- });
104
- if (_response.ok) {
105
- return { data: _response.body, rawResponse: _response.rawResponse };
106
- }
107
- if (_response.error.reason === "status-code") {
108
- switch (_response.error.statusCode) {
109
- case 422:
110
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
111
- default:
112
- throw new errors.ChrtError({
113
- statusCode: _response.error.statusCode,
114
- body: _response.error.body,
115
- rawResponse: _response.rawResponse,
116
- });
117
- }
118
- }
119
- switch (_response.error.reason) {
120
- case "non-json":
121
- throw new errors.ChrtError({
122
- statusCode: _response.error.statusCode,
123
- body: _response.error.rawBody,
124
- rawResponse: _response.rawResponse,
125
- });
126
- case "timeout":
127
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/add_executor/v1/{task_group_id}.");
128
- case "unknown":
129
- throw new errors.ChrtError({
130
- message: _response.error.errorMessage,
131
- rawResponse: _response.rawResponse,
132
- });
133
- }
134
- });
135
- }
136
- /**
137
- * Adds a message to a task group's message log. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (AddMessageReq) -> (bool)
138
- *
139
- * @param {string} taskGroupId
140
- * @param {Chrt.shipping.AddMessageReq} request
141
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
142
- *
143
- * @throws {@link Chrt.UnprocessableEntityError}
144
- *
145
- * @example
146
- * await client.shipping.taskGroups.addMessageV1("task_group_id", {
147
- * message: "message"
148
- * })
149
- */
150
- addMessageV1(taskGroupId, request, requestOptions) {
151
- return core.HttpResponsePromise.fromPromise(this.__addMessageV1(taskGroupId, request, requestOptions));
152
- }
153
- __addMessageV1(taskGroupId, request, requestOptions) {
154
- return __awaiter(this, void 0, void 0, function* () {
155
- var _a, _b, _c, _d;
156
- 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);
157
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
158
- 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, `shipping/task_groups/add_message/v1/${encodeURIComponent(taskGroupId)}`),
159
- method: "POST",
160
- headers: _headers,
161
- contentType: "application/json",
162
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
163
- requestType: "json",
164
- body: request,
165
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
166
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
167
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
168
- });
169
- if (_response.ok) {
170
- return { data: _response.body, rawResponse: _response.rawResponse };
171
- }
172
- if (_response.error.reason === "status-code") {
173
- switch (_response.error.statusCode) {
174
- case 422:
175
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
176
- default:
177
- throw new errors.ChrtError({
178
- statusCode: _response.error.statusCode,
179
- body: _response.error.body,
180
- rawResponse: _response.rawResponse,
181
- });
182
- }
183
- }
184
- switch (_response.error.reason) {
185
- case "non-json":
186
- throw new errors.ChrtError({
187
- statusCode: _response.error.statusCode,
188
- body: _response.error.rawBody,
189
- rawResponse: _response.rawResponse,
190
- });
191
- case "timeout":
192
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/add_message/v1/{task_group_id}.");
193
- case "unknown":
194
- throw new errors.ChrtError({
195
- message: _response.error.errorMessage,
196
- rawResponse: _response.rawResponse,
197
- });
198
- }
199
- });
200
- }
201
- /**
202
- * Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's PPD vector. Period parties must match the TG's PPD parties. The PPD vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
203
- *
204
- * @param {string} taskGroupId
205
- * @param {Chrt.AttachBillingLedgerPeriodReq} request
206
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
207
- *
208
- * @throws {@link Chrt.UnprocessableEntityError}
209
- *
210
- * @example
211
- * await client.shipping.taskGroups.attachBillingLedgerPeriodToProviderPayDriverV1("task_group_id", {
212
- * billing_ledger_period_id: "billing_ledger_period_id"
213
- * })
214
- */
215
- attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions) {
216
- return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions));
217
- }
218
- __attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions) {
219
- return __awaiter(this, void 0, void 0, function* () {
220
- var _a, _b, _c, _d;
221
- 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);
222
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
223
- 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, `shipping/task_groups/attach_billing_ledger_period_to_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
224
- method: "POST",
225
- headers: _headers,
226
- contentType: "application/json",
227
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
228
- requestType: "json",
229
- body: request,
230
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
231
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
232
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
233
- });
234
- if (_response.ok) {
235
- return { data: _response.body, rawResponse: _response.rawResponse };
236
- }
237
- if (_response.error.reason === "status-code") {
238
- switch (_response.error.statusCode) {
239
- case 422:
240
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
241
- default:
242
- throw new errors.ChrtError({
243
- statusCode: _response.error.statusCode,
244
- body: _response.error.body,
245
- rawResponse: _response.rawResponse,
246
- });
247
- }
248
- }
249
- switch (_response.error.reason) {
250
- case "non-json":
251
- throw new errors.ChrtError({
252
- statusCode: _response.error.statusCode,
253
- body: _response.error.rawBody,
254
- rawResponse: _response.rawResponse,
255
- });
256
- case "timeout":
257
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_provider_pay_driver/v1/{task_group_id}.");
258
- case "unknown":
259
- throw new errors.ChrtError({
260
- message: _response.error.errorMessage,
261
- rawResponse: _response.rawResponse,
262
- });
263
- }
264
- });
265
- }
266
- /**
267
- * Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's PPP vector. Period parties must match the TG's PPP parties. The PPP vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
268
- *
269
- * @param {string} taskGroupId
270
- * @param {Chrt.AttachBillingLedgerPeriodReq} request
271
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
272
- *
273
- * @throws {@link Chrt.UnprocessableEntityError}
274
- *
275
- * @example
276
- * await client.shipping.taskGroups.attachBillingLedgerPeriodToProviderPayProviderV1("task_group_id", {
277
- * billing_ledger_period_id: "billing_ledger_period_id"
278
- * })
279
- */
280
- attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions) {
281
- return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions));
282
- }
283
- __attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions) {
284
- return __awaiter(this, void 0, void 0, function* () {
285
- var _a, _b, _c, _d;
286
- 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);
287
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
288
- 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, `shipping/task_groups/attach_billing_ledger_period_to_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
289
- method: "POST",
290
- headers: _headers,
291
- contentType: "application/json",
292
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
293
- requestType: "json",
294
- body: request,
295
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
296
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
297
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
298
- });
299
- if (_response.ok) {
300
- return { data: _response.body, rawResponse: _response.rawResponse };
301
- }
302
- if (_response.error.reason === "status-code") {
303
- switch (_response.error.statusCode) {
304
- case 422:
305
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
306
- default:
307
- throw new errors.ChrtError({
308
- statusCode: _response.error.statusCode,
309
- body: _response.error.body,
310
- rawResponse: _response.rawResponse,
311
- });
312
- }
313
- }
314
- switch (_response.error.reason) {
315
- case "non-json":
316
- throw new errors.ChrtError({
317
- statusCode: _response.error.statusCode,
318
- body: _response.error.rawBody,
319
- rawResponse: _response.rawResponse,
320
- });
321
- case "timeout":
322
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_provider_pay_provider/v1/{task_group_id}.");
323
- case "unknown":
324
- throw new errors.ChrtError({
325
- message: _response.error.errorMessage,
326
- rawResponse: _response.rawResponse,
327
- });
328
- }
329
- });
330
- }
331
- /**
332
- * Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's SPP vector. Period parties must match the TG's SPP parties. The SPP vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
333
- *
334
- * @param {string} taskGroupId
335
- * @param {Chrt.AttachBillingLedgerPeriodReq} request
336
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
337
- *
338
- * @throws {@link Chrt.UnprocessableEntityError}
339
- *
340
- * @example
341
- * await client.shipping.taskGroups.attachBillingLedgerPeriodToShipperPayProviderV1("task_group_id", {
342
- * billing_ledger_period_id: "billing_ledger_period_id"
343
- * })
344
- */
345
- attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions) {
346
- return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions));
347
- }
348
- __attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions) {
349
- return __awaiter(this, void 0, void 0, function* () {
350
- var _a, _b, _c, _d;
351
- 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);
352
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
353
- 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, `shipping/task_groups/attach_billing_ledger_period_to_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
354
- method: "POST",
355
- headers: _headers,
356
- contentType: "application/json",
357
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
358
- requestType: "json",
359
- body: request,
360
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
361
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
362
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
363
- });
364
- if (_response.ok) {
365
- return { data: _response.body, rawResponse: _response.rawResponse };
366
- }
367
- if (_response.error.reason === "status-code") {
368
- switch (_response.error.statusCode) {
369
- case 422:
370
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
371
- default:
372
- throw new errors.ChrtError({
373
- statusCode: _response.error.statusCode,
374
- body: _response.error.body,
375
- rawResponse: _response.rawResponse,
376
- });
377
- }
378
- }
379
- switch (_response.error.reason) {
380
- case "non-json":
381
- throw new errors.ChrtError({
382
- statusCode: _response.error.statusCode,
383
- body: _response.error.rawBody,
384
- rawResponse: _response.rawResponse,
385
- });
386
- case "timeout":
387
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_shipper_pay_provider/v1/{task_group_id}.");
388
- case "unknown":
389
- throw new errors.ChrtError({
390
- message: _response.error.errorMessage,
391
- rawResponse: _response.rawResponse,
392
- });
393
- }
394
- });
395
- }
396
- /**
397
- * Attaches a STAGED, detached LineItemGroup to the PPD vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the executor, and be party-matched to PPD. The PPD vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `provider_pay_driver_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (AttachLigToVectorClientReq) -> (bool)
398
- *
399
- * @param {string} taskGroupId
400
- * @param {Chrt.AttachLigToVectorClientReq} request
401
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
402
- *
403
- * @throws {@link Chrt.UnprocessableEntityError}
404
- *
405
- * @example
406
- * await client.shipping.taskGroups.attachLigToProviderPayDriverV1("task_group_id", {
407
- * line_item_group_id: "line_item_group_id"
408
- * })
409
- */
410
- attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions) {
411
- return core.HttpResponsePromise.fromPromise(this.__attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions));
412
- }
413
- __attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions) {
414
- return __awaiter(this, void 0, void 0, function* () {
415
- var _a, _b, _c, _d;
416
- 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);
417
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
418
- 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, `shipping/task_groups/attach_lig_to_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
419
- method: "POST",
420
- headers: _headers,
421
- contentType: "application/json",
422
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
423
- requestType: "json",
424
- body: request,
425
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
426
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
427
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
428
- });
429
- if (_response.ok) {
430
- return { data: _response.body, rawResponse: _response.rawResponse };
431
- }
432
- if (_response.error.reason === "status-code") {
433
- switch (_response.error.statusCode) {
434
- case 422:
435
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
436
- default:
437
- throw new errors.ChrtError({
438
- statusCode: _response.error.statusCode,
439
- body: _response.error.body,
440
- rawResponse: _response.rawResponse,
441
- });
442
- }
443
- }
444
- switch (_response.error.reason) {
445
- case "non-json":
446
- throw new errors.ChrtError({
447
- statusCode: _response.error.statusCode,
448
- body: _response.error.rawBody,
449
- rawResponse: _response.rawResponse,
450
- });
451
- case "timeout":
452
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_provider_pay_driver/v1/{task_group_id}.");
453
- case "unknown":
454
- throw new errors.ChrtError({
455
- message: _response.error.errorMessage,
456
- rawResponse: _response.rawResponse,
457
- });
458
- }
459
- });
460
- }
461
- /**
462
- * Attaches a STAGED, detached LineItemGroup to the PPP vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the coordinator, and be party-matched to PPP. The PPP vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `provider_pay_provider_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachLigToVectorClientReq) -> (bool)
463
- *
464
- * @param {string} taskGroupId
465
- * @param {Chrt.AttachLigToVectorClientReq} request
466
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
467
- *
468
- * @throws {@link Chrt.UnprocessableEntityError}
469
- *
470
- * @example
471
- * await client.shipping.taskGroups.attachLigToProviderPayProviderV1("task_group_id", {
472
- * line_item_group_id: "line_item_group_id"
473
- * })
474
- */
475
- attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions) {
476
- return core.HttpResponsePromise.fromPromise(this.__attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions));
477
- }
478
- __attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions) {
479
- return __awaiter(this, void 0, void 0, function* () {
480
- var _a, _b, _c, _d;
481
- 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);
482
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
483
- 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, `shipping/task_groups/attach_lig_to_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
484
- method: "POST",
485
- headers: _headers,
486
- contentType: "application/json",
487
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
488
- requestType: "json",
489
- body: request,
490
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
491
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
492
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
493
- });
494
- if (_response.ok) {
495
- return { data: _response.body, rawResponse: _response.rawResponse };
496
- }
497
- if (_response.error.reason === "status-code") {
498
- switch (_response.error.statusCode) {
499
- case 422:
500
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
501
- default:
502
- throw new errors.ChrtError({
503
- statusCode: _response.error.statusCode,
504
- body: _response.error.body,
505
- rawResponse: _response.rawResponse,
506
- });
507
- }
508
- }
509
- switch (_response.error.reason) {
510
- case "non-json":
511
- throw new errors.ChrtError({
512
- statusCode: _response.error.statusCode,
513
- body: _response.error.rawBody,
514
- rawResponse: _response.rawResponse,
515
- });
516
- case "timeout":
517
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_provider_pay_provider/v1/{task_group_id}.");
518
- case "unknown":
519
- throw new errors.ChrtError({
520
- message: _response.error.errorMessage,
521
- rawResponse: _response.rawResponse,
522
- });
523
- }
524
- });
525
- }
526
- /**
527
- * Attaches a STAGED, detached LineItemGroup to the SPP vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the coordinator, and be party-matched to SPP. The SPP vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `shipper_pay_provider_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachLigToVectorClientReq) -> (bool)
528
- *
529
- * @param {string} taskGroupId
530
- * @param {Chrt.AttachLigToVectorClientReq} request
531
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
532
- *
533
- * @throws {@link Chrt.UnprocessableEntityError}
534
- *
535
- * @example
536
- * await client.shipping.taskGroups.attachLigToShipperPayProviderV1("task_group_id", {
537
- * line_item_group_id: "line_item_group_id"
538
- * })
539
- */
540
- attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions) {
541
- return core.HttpResponsePromise.fromPromise(this.__attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions));
542
- }
543
- __attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions) {
544
- return __awaiter(this, void 0, void 0, function* () {
545
- var _a, _b, _c, _d;
546
- 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);
547
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
548
- 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, `shipping/task_groups/attach_lig_to_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
549
- method: "POST",
550
- headers: _headers,
551
- contentType: "application/json",
552
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
553
- requestType: "json",
554
- body: request,
555
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
556
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
557
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
558
- });
559
- if (_response.ok) {
560
- return { data: _response.body, rawResponse: _response.rawResponse };
561
- }
562
- if (_response.error.reason === "status-code") {
563
- switch (_response.error.statusCode) {
564
- case 422:
565
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
566
- default:
567
- throw new errors.ChrtError({
568
- statusCode: _response.error.statusCode,
569
- body: _response.error.body,
570
- rawResponse: _response.rawResponse,
571
- });
572
- }
573
- }
574
- switch (_response.error.reason) {
575
- case "non-json":
576
- throw new errors.ChrtError({
577
- statusCode: _response.error.statusCode,
578
- body: _response.error.rawBody,
579
- rawResponse: _response.rawResponse,
580
- });
581
- case "timeout":
582
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_shipper_pay_provider/v1/{task_group_id}.");
583
- case "unknown":
584
- throw new errors.ChrtError({
585
- message: _response.error.errorMessage,
586
- rawResponse: _response.rawResponse,
587
- });
588
- }
589
- });
590
- }
591
- /**
592
- * Detaches the PPD billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_provider_pay_driver/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | () -> (bool)
593
- *
594
- * @param {string} taskGroupId
595
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
596
- *
597
- * @throws {@link Chrt.UnprocessableEntityError}
598
- *
599
- * @example
600
- * await client.shipping.taskGroups.detachBillingLedgerPeriodFromProviderPayDriverV1("task_group_id")
601
- */
602
- detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions) {
603
- return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions));
604
- }
605
- __detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions) {
606
- return __awaiter(this, void 0, void 0, function* () {
607
- var _a, _b, _c, _d;
608
- 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);
609
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
610
- 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, `shipping/task_groups/detach_billing_ledger_period_from_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
611
- method: "DELETE",
612
- headers: _headers,
613
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
614
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
615
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
616
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
617
- });
618
- if (_response.ok) {
619
- return { data: _response.body, rawResponse: _response.rawResponse };
620
- }
621
- if (_response.error.reason === "status-code") {
622
- switch (_response.error.statusCode) {
623
- case 422:
624
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
625
- default:
626
- throw new errors.ChrtError({
627
- statusCode: _response.error.statusCode,
628
- body: _response.error.body,
629
- rawResponse: _response.rawResponse,
630
- });
631
- }
632
- }
633
- switch (_response.error.reason) {
634
- case "non-json":
635
- throw new errors.ChrtError({
636
- statusCode: _response.error.statusCode,
637
- body: _response.error.rawBody,
638
- rawResponse: _response.rawResponse,
639
- });
640
- case "timeout":
641
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_provider_pay_driver/v1/{task_group_id}.");
642
- case "unknown":
643
- throw new errors.ChrtError({
644
- message: _response.error.errorMessage,
645
- rawResponse: _response.rawResponse,
646
- });
647
- }
648
- });
649
- }
650
- /**
651
- * Detaches the PPP billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_provider_pay_provider/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
652
- *
653
- * @param {string} taskGroupId
654
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
655
- *
656
- * @throws {@link Chrt.UnprocessableEntityError}
657
- *
658
- * @example
659
- * await client.shipping.taskGroups.detachBillingLedgerPeriodFromProviderPayProviderV1("task_group_id")
660
- */
661
- detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions) {
662
- return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions));
663
- }
664
- __detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions) {
665
- return __awaiter(this, void 0, void 0, function* () {
666
- var _a, _b, _c, _d;
667
- 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);
668
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
669
- 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, `shipping/task_groups/detach_billing_ledger_period_from_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
670
- method: "DELETE",
671
- headers: _headers,
672
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
673
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
674
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
675
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
676
- });
677
- if (_response.ok) {
678
- return { data: _response.body, rawResponse: _response.rawResponse };
679
- }
680
- if (_response.error.reason === "status-code") {
681
- switch (_response.error.statusCode) {
682
- case 422:
683
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
684
- default:
685
- throw new errors.ChrtError({
686
- statusCode: _response.error.statusCode,
687
- body: _response.error.body,
688
- rawResponse: _response.rawResponse,
689
- });
690
- }
691
- }
692
- switch (_response.error.reason) {
693
- case "non-json":
694
- throw new errors.ChrtError({
695
- statusCode: _response.error.statusCode,
696
- body: _response.error.rawBody,
697
- rawResponse: _response.rawResponse,
698
- });
699
- case "timeout":
700
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_provider_pay_provider/v1/{task_group_id}.");
701
- case "unknown":
702
- throw new errors.ChrtError({
703
- message: _response.error.errorMessage,
704
- rawResponse: _response.rawResponse,
705
- });
706
- }
707
- });
708
- }
709
- /**
710
- * Detaches the SPP billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_shipper_pay_provider/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
711
- *
712
- * @param {string} taskGroupId
713
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
714
- *
715
- * @throws {@link Chrt.UnprocessableEntityError}
716
- *
717
- * @example
718
- * await client.shipping.taskGroups.detachBillingLedgerPeriodFromShipperPayProviderV1("task_group_id")
719
- */
720
- detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions) {
721
- return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions));
722
- }
723
- __detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions) {
724
- return __awaiter(this, void 0, void 0, function* () {
725
- var _a, _b, _c, _d;
726
- 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);
727
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
728
- 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, `shipping/task_groups/detach_billing_ledger_period_from_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
729
- method: "DELETE",
730
- headers: _headers,
731
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
732
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
733
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
734
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
735
- });
736
- if (_response.ok) {
737
- return { data: _response.body, rawResponse: _response.rawResponse };
738
- }
739
- if (_response.error.reason === "status-code") {
740
- switch (_response.error.statusCode) {
741
- case 422:
742
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
743
- default:
744
- throw new errors.ChrtError({
745
- statusCode: _response.error.statusCode,
746
- body: _response.error.body,
747
- rawResponse: _response.rawResponse,
748
- });
749
- }
750
- }
751
- switch (_response.error.reason) {
752
- case "non-json":
753
- throw new errors.ChrtError({
754
- statusCode: _response.error.statusCode,
755
- body: _response.error.rawBody,
756
- rawResponse: _response.rawResponse,
757
- });
758
- case "timeout":
759
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_shipper_pay_provider/v1/{task_group_id}.");
760
- case "unknown":
761
- throw new errors.ChrtError({
762
- message: _response.error.errorMessage,
763
- rawResponse: _response.rawResponse,
764
- });
765
- }
766
- });
767
- }
768
- /**
769
- * Clears the PPD vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The PPD vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | () -> (bool)
770
- *
771
- * @param {string} taskGroupId
772
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
773
- *
774
- * @throws {@link Chrt.UnprocessableEntityError}
775
- *
776
- * @example
777
- * await client.shipping.taskGroups.detachLigFromProviderPayDriverV1("task_group_id")
778
- */
779
- detachLigFromProviderPayDriverV1(taskGroupId, requestOptions) {
780
- return core.HttpResponsePromise.fromPromise(this.__detachLigFromProviderPayDriverV1(taskGroupId, requestOptions));
781
- }
782
- __detachLigFromProviderPayDriverV1(taskGroupId, requestOptions) {
783
- return __awaiter(this, void 0, void 0, function* () {
784
- var _a, _b, _c, _d;
785
- 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);
786
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
787
- 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, `shipping/task_groups/detach_lig_from_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
788
- method: "DELETE",
789
- headers: _headers,
790
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
791
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
792
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
793
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
794
- });
795
- if (_response.ok) {
796
- return { data: _response.body, rawResponse: _response.rawResponse };
797
- }
798
- if (_response.error.reason === "status-code") {
799
- switch (_response.error.statusCode) {
800
- case 422:
801
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
802
- default:
803
- throw new errors.ChrtError({
804
- statusCode: _response.error.statusCode,
805
- body: _response.error.body,
806
- rawResponse: _response.rawResponse,
807
- });
808
- }
809
- }
810
- switch (_response.error.reason) {
811
- case "non-json":
812
- throw new errors.ChrtError({
813
- statusCode: _response.error.statusCode,
814
- body: _response.error.rawBody,
815
- rawResponse: _response.rawResponse,
816
- });
817
- case "timeout":
818
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_provider_pay_driver/v1/{task_group_id}.");
819
- case "unknown":
820
- throw new errors.ChrtError({
821
- message: _response.error.errorMessage,
822
- rawResponse: _response.rawResponse,
823
- });
824
- }
825
- });
826
- }
827
- /**
828
- * Clears the PPP vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The PPP vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
829
- *
830
- * @param {string} taskGroupId
831
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
832
- *
833
- * @throws {@link Chrt.UnprocessableEntityError}
834
- *
835
- * @example
836
- * await client.shipping.taskGroups.detachLigFromProviderPayProviderV1("task_group_id")
837
- */
838
- detachLigFromProviderPayProviderV1(taskGroupId, requestOptions) {
839
- return core.HttpResponsePromise.fromPromise(this.__detachLigFromProviderPayProviderV1(taskGroupId, requestOptions));
840
- }
841
- __detachLigFromProviderPayProviderV1(taskGroupId, requestOptions) {
842
- return __awaiter(this, void 0, void 0, function* () {
843
- var _a, _b, _c, _d;
844
- 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);
845
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
846
- 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, `shipping/task_groups/detach_lig_from_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
847
- method: "DELETE",
848
- headers: _headers,
849
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
850
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
851
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
852
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
853
- });
854
- if (_response.ok) {
855
- return { data: _response.body, rawResponse: _response.rawResponse };
856
- }
857
- if (_response.error.reason === "status-code") {
858
- switch (_response.error.statusCode) {
859
- case 422:
860
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
861
- default:
862
- throw new errors.ChrtError({
863
- statusCode: _response.error.statusCode,
864
- body: _response.error.body,
865
- rawResponse: _response.rawResponse,
866
- });
867
- }
868
- }
869
- switch (_response.error.reason) {
870
- case "non-json":
871
- throw new errors.ChrtError({
872
- statusCode: _response.error.statusCode,
873
- body: _response.error.rawBody,
874
- rawResponse: _response.rawResponse,
875
- });
876
- case "timeout":
877
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_provider_pay_provider/v1/{task_group_id}.");
878
- case "unknown":
879
- throw new errors.ChrtError({
880
- message: _response.error.errorMessage,
881
- rawResponse: _response.rawResponse,
882
- });
883
- }
884
- });
885
- }
886
- /**
887
- * Clears the SPP vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The SPP vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
888
- *
889
- * @param {string} taskGroupId
890
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
891
- *
892
- * @throws {@link Chrt.UnprocessableEntityError}
893
- *
894
- * @example
895
- * await client.shipping.taskGroups.detachLigFromShipperPayProviderV1("task_group_id")
896
- */
897
- detachLigFromShipperPayProviderV1(taskGroupId, requestOptions) {
898
- return core.HttpResponsePromise.fromPromise(this.__detachLigFromShipperPayProviderV1(taskGroupId, requestOptions));
899
- }
900
- __detachLigFromShipperPayProviderV1(taskGroupId, requestOptions) {
901
- return __awaiter(this, void 0, void 0, function* () {
902
- var _a, _b, _c, _d;
903
- 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);
904
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
905
- 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, `shipping/task_groups/detach_lig_from_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
906
- method: "DELETE",
907
- headers: _headers,
908
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
909
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
910
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
911
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
912
- });
913
- if (_response.ok) {
914
- return { data: _response.body, rawResponse: _response.rawResponse };
915
- }
916
- if (_response.error.reason === "status-code") {
917
- switch (_response.error.statusCode) {
918
- case 422:
919
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
920
- default:
921
- throw new errors.ChrtError({
922
- statusCode: _response.error.statusCode,
923
- body: _response.error.body,
924
- rawResponse: _response.rawResponse,
925
- });
926
- }
927
- }
928
- switch (_response.error.reason) {
929
- case "non-json":
930
- throw new errors.ChrtError({
931
- statusCode: _response.error.statusCode,
932
- body: _response.error.rawBody,
933
- rawResponse: _response.rawResponse,
934
- });
935
- case "timeout":
936
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_shipper_pay_provider/v1/{task_group_id}.");
937
- case "unknown":
938
- throw new errors.ChrtError({
939
- message: _response.error.errorMessage,
940
- rawResponse: _response.rawResponse,
941
- });
942
- }
943
- });
944
- }
945
- /**
946
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 for the requested driver unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteForProviderPayDriverClientReq) -> (TaskGroupQuoteResp)
947
- *
948
- * @param {string} taskGroupId
949
- * @param {Chrt.shipping.TaskGroupQuoteForProviderPayDriverClientReq} request
950
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
951
- *
952
- * @throws {@link Chrt.UnprocessableEntityError}
953
- *
954
- * @example
955
- * await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {
956
- * driver_id: "driver_id"
957
- * })
958
- */
959
- quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
960
- return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayDriverV1(taskGroupId, request, requestOptions));
961
- }
962
- __quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
963
- return __awaiter(this, void 0, void 0, function* () {
964
- var _a, _b, _c, _d;
965
- 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);
966
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
967
- 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, `shipping/task_groups/quote_for_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
968
- method: "POST",
969
- headers: _headers,
970
- contentType: "application/json",
971
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
972
- requestType: "json",
973
- body: request,
974
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
975
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
976
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
977
- });
978
- if (_response.ok) {
979
- return { data: _response.body, rawResponse: _response.rawResponse };
980
- }
981
- if (_response.error.reason === "status-code") {
982
- switch (_response.error.statusCode) {
983
- case 422:
984
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
985
- default:
986
- throw new errors.ChrtError({
987
- statusCode: _response.error.statusCode,
988
- body: _response.error.body,
989
- rawResponse: _response.rawResponse,
990
- });
991
- }
992
- }
993
- switch (_response.error.reason) {
994
- case "non-json":
995
- throw new errors.ChrtError({
996
- statusCode: _response.error.statusCode,
997
- body: _response.error.rawBody,
998
- rawResponse: _response.rawResponse,
999
- });
1000
- case "timeout":
1001
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_provider_pay_driver/v1/{task_group_id}.");
1002
- case "unknown":
1003
- throw new errors.ChrtError({
1004
- message: _response.error.errorMessage,
1005
- rawResponse: _response.rawResponse,
1006
- });
1007
- }
1008
- });
1009
- }
1010
- /**
1011
- * Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 for the requested executor unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForProviderPayProviderClientReq) -> (TaskGroupQuoteResp)
1012
- *
1013
- * @param {string} taskGroupId
1014
- * @param {Chrt.shipping.TaskGroupQuoteForProviderPayProviderClientReq} request
1015
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1016
- *
1017
- * @throws {@link Chrt.UnprocessableEntityError}
1018
- *
1019
- * @example
1020
- * await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id")
1021
- */
1022
- quoteForProviderPayProviderV1(taskGroupId, request = {}, requestOptions) {
1023
- return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayProviderV1(taskGroupId, request, requestOptions));
1024
- }
1025
- __quoteForProviderPayProviderV1(taskGroupId_1) {
1026
- return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1027
- var _a, _b, _c, _d;
1028
- 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);
1029
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1030
- 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, `shipping/task_groups/quote_for_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
1031
- method: "POST",
1032
- headers: _headers,
1033
- contentType: "application/json",
1034
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1035
- requestType: "json",
1036
- body: request,
1037
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1038
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1039
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1040
- });
1041
- if (_response.ok) {
1042
- return { data: _response.body, rawResponse: _response.rawResponse };
1043
- }
1044
- if (_response.error.reason === "status-code") {
1045
- switch (_response.error.statusCode) {
1046
- case 422:
1047
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1048
- default:
1049
- throw new errors.ChrtError({
1050
- statusCode: _response.error.statusCode,
1051
- body: _response.error.body,
1052
- rawResponse: _response.rawResponse,
1053
- });
1054
- }
1055
- }
1056
- switch (_response.error.reason) {
1057
- case "non-json":
1058
- throw new errors.ChrtError({
1059
- statusCode: _response.error.statusCode,
1060
- body: _response.error.rawBody,
1061
- rawResponse: _response.rawResponse,
1062
- });
1063
- case "timeout":
1064
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_provider_pay_provider/v1/{task_group_id}.");
1065
- case "unknown":
1066
- throw new errors.ChrtError({
1067
- message: _response.error.errorMessage,
1068
- rawResponse: _response.rawResponse,
1069
- });
1070
- }
1071
- });
1072
- }
1073
- /**
1074
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider, shipper], min_org_role=operator, authz_personas=[task_group_coordinator_operators, shipper_org_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
1075
- *
1076
- * @param {string} taskGroupId
1077
- * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
1078
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1079
- *
1080
- * @throws {@link Chrt.UnprocessableEntityError}
1081
- *
1082
- * @example
1083
- * await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id")
1084
- */
1085
- quoteForShipperPayProviderV1(taskGroupId, request = {}, requestOptions) {
1086
- return core.HttpResponsePromise.fromPromise(this.__quoteForShipperPayProviderV1(taskGroupId, request, requestOptions));
1087
- }
1088
- __quoteForShipperPayProviderV1(taskGroupId_1) {
1089
- return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
1090
- var _a, _b, _c, _d;
1091
- 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);
1092
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1093
- 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, `shipping/task_groups/quote_for_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
1094
- method: "POST",
1095
- headers: _headers,
1096
- contentType: "application/json",
1097
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1098
- requestType: "json",
1099
- body: request,
1100
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1101
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1102
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1103
- });
1104
- if (_response.ok) {
1105
- return { data: _response.body, rawResponse: _response.rawResponse };
1106
- }
1107
- if (_response.error.reason === "status-code") {
1108
- switch (_response.error.statusCode) {
1109
- case 422:
1110
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1111
- default:
1112
- throw new errors.ChrtError({
1113
- statusCode: _response.error.statusCode,
1114
- body: _response.error.body,
1115
- rawResponse: _response.rawResponse,
1116
- });
1117
- }
1118
- }
1119
- switch (_response.error.reason) {
1120
- case "non-json":
1121
- throw new errors.ChrtError({
1122
- statusCode: _response.error.statusCode,
1123
- body: _response.error.rawBody,
1124
- rawResponse: _response.rawResponse,
1125
- });
1126
- case "timeout":
1127
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_shipper_pay_provider/v1/{task_group_id}.");
1128
- case "unknown":
1129
- throw new errors.ChrtError({
1130
- message: _response.error.errorMessage,
1131
- rawResponse: _response.rawResponse,
1132
- });
1133
- }
1134
- });
1135
- }
1136
- /**
1137
- * Removes the driver from a task group (sets driver_id to null). Allowed when STAGED or IN_PROGRESS (if no tasks have reached a terminal status). | authz_personas=[executor_org_operators, driver_for_executor] | () -> (bool)
1138
- *
1139
- * @param {string} taskGroupId
1140
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1141
- *
1142
- * @throws {@link Chrt.UnprocessableEntityError}
1143
- *
1144
- * @example
1145
- * await client.shipping.taskGroups.removeDriverV1("task_group_id")
1146
- */
1147
- removeDriverV1(taskGroupId, requestOptions) {
1148
- return core.HttpResponsePromise.fromPromise(this.__removeDriverV1(taskGroupId, requestOptions));
1149
- }
1150
- __removeDriverV1(taskGroupId, requestOptions) {
1151
- return __awaiter(this, void 0, void 0, function* () {
1152
- var _a, _b, _c, _d;
1153
- 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);
1154
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1155
- 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, `shipping/task_groups/remove_driver/v1/${encodeURIComponent(taskGroupId)}`),
1156
- method: "PATCH",
1157
- headers: _headers,
1158
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1159
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1160
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1161
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1162
- });
1163
- if (_response.ok) {
1164
- return { data: _response.body, rawResponse: _response.rawResponse };
1165
- }
1166
- if (_response.error.reason === "status-code") {
1167
- switch (_response.error.statusCode) {
1168
- case 422:
1169
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1170
- default:
1171
- throw new errors.ChrtError({
1172
- statusCode: _response.error.statusCode,
1173
- body: _response.error.body,
1174
- rawResponse: _response.rawResponse,
1175
- });
1176
- }
1177
- }
1178
- switch (_response.error.reason) {
1179
- case "non-json":
1180
- throw new errors.ChrtError({
1181
- statusCode: _response.error.statusCode,
1182
- body: _response.error.rawBody,
1183
- rawResponse: _response.rawResponse,
1184
- });
1185
- case "timeout":
1186
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/remove_driver/v1/{task_group_id}.");
1187
- case "unknown":
1188
- throw new errors.ChrtError({
1189
- message: _response.error.errorMessage,
1190
- rawResponse: _response.rawResponse,
1191
- });
1192
- }
1193
- });
1194
- }
1195
- /**
1196
- * Clears the executor and assigned driver on a task group. Refuses while PPP or PPD billing is attached; detach billing explicitly first. | authz_personas=[coordinator_org_operators] | () -> (bool)
1197
- *
1198
- * @param {string} taskGroupId
1199
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1200
- *
1201
- * @throws {@link Chrt.UnprocessableEntityError}
1202
- *
1203
- * @example
1204
- * await client.shipping.taskGroups.removeExecutorV1("task_group_id")
1205
- */
1206
- removeExecutorV1(taskGroupId, requestOptions) {
1207
- return core.HttpResponsePromise.fromPromise(this.__removeExecutorV1(taskGroupId, requestOptions));
1208
- }
1209
- __removeExecutorV1(taskGroupId, requestOptions) {
1210
- return __awaiter(this, void 0, void 0, function* () {
1211
- var _a, _b, _c, _d;
1212
- 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);
1213
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1214
- 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, `shipping/task_groups/remove_executor/v1/${encodeURIComponent(taskGroupId)}`),
1215
- method: "PATCH",
1216
- headers: _headers,
1217
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1218
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1219
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1220
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1221
- });
1222
- if (_response.ok) {
1223
- return { data: _response.body, rawResponse: _response.rawResponse };
1224
- }
1225
- if (_response.error.reason === "status-code") {
1226
- switch (_response.error.statusCode) {
1227
- case 422:
1228
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1229
- default:
1230
- throw new errors.ChrtError({
1231
- statusCode: _response.error.statusCode,
1232
- body: _response.error.body,
1233
- rawResponse: _response.rawResponse,
1234
- });
1235
- }
1236
- }
1237
- switch (_response.error.reason) {
1238
- case "non-json":
1239
- throw new errors.ChrtError({
1240
- statusCode: _response.error.statusCode,
1241
- body: _response.error.rawBody,
1242
- rawResponse: _response.rawResponse,
1243
- });
1244
- case "timeout":
1245
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/remove_executor/v1/{task_group_id}.");
1246
- case "unknown":
1247
- throw new errors.ChrtError({
1248
- message: _response.error.errorMessage,
1249
- rawResponse: _response.rawResponse,
1250
- });
1251
- }
1252
- });
1253
- }
1254
- /**
1255
- * Replaces the ordered list of flights on a task group. | authz_personas=[lig_owner_operators] | (SetFlightInfoReq) -> (bool)
1256
- *
1257
- * @param {string} taskGroupId
1258
- * @param {Chrt.SetFlightInfoReq} request
1259
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1260
- *
1261
- * @throws {@link Chrt.UnprocessableEntityError}
1262
- *
1263
- * @example
1264
- * await client.shipping.taskGroups.setFlightInfoV1("task_group_id", {
1265
- * flight_legs: [{
1266
- * carrier_iata: "carrier_iata",
1267
- * destination_iata: "destination_iata",
1268
- * flight_number: "flight_number",
1269
- * origin_iata: "origin_iata",
1270
- * provenance: "manual",
1271
- * scheduled_departure_utc: "2024-01-15T09:30:00Z",
1272
- * schema_version: 1
1273
- * }]
1274
- * })
1275
- */
1276
- setFlightInfoV1(taskGroupId, request, requestOptions) {
1277
- return core.HttpResponsePromise.fromPromise(this.__setFlightInfoV1(taskGroupId, request, requestOptions));
1278
- }
1279
- __setFlightInfoV1(taskGroupId, request, 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, `shipping/task_groups/set_flight_info/v1/${encodeURIComponent(taskGroupId)}`),
1285
- method: "PATCH",
1286
- headers: _headers,
1287
- contentType: "application/json",
1288
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1289
- requestType: "json",
1290
- body: request,
1291
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1292
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1293
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1294
- });
1295
- if (_response.ok) {
1296
- return { data: _response.body, rawResponse: _response.rawResponse };
1297
- }
1298
- if (_response.error.reason === "status-code") {
1299
- switch (_response.error.statusCode) {
1300
- case 422:
1301
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1302
- default:
1303
- throw new errors.ChrtError({
1304
- statusCode: _response.error.statusCode,
1305
- body: _response.error.body,
1306
- rawResponse: _response.rawResponse,
1307
- });
1308
- }
1309
- }
1310
- switch (_response.error.reason) {
1311
- case "non-json":
1312
- throw new errors.ChrtError({
1313
- statusCode: _response.error.statusCode,
1314
- body: _response.error.rawBody,
1315
- rawResponse: _response.rawResponse,
1316
- });
1317
- case "timeout":
1318
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/set_flight_info/v1/{task_group_id}.");
1319
- case "unknown":
1320
- throw new errors.ChrtError({
1321
- message: _response.error.errorMessage,
1322
- rawResponse: _response.rawResponse,
1323
- });
1324
- }
1325
- });
1326
- }
1327
- /**
1328
- * Sets the ordering of tasks within a task group. Requires complete list of task IDs in desired order. Completed tasks must be before staged tasks. | authz_personas=[lig_owner_operators] | (SetTaskOrderingReq) -> (bool)
74
+ * Adds a message to a task group's message log. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (AddMessageReq) -> (bool)
1329
75
  *
1330
76
  * @param {string} taskGroupId
1331
- * @param {Chrt.shipping.SetTaskOrderingReq} request
77
+ * @param {Chrt.shipping.AddMessageReq} request
1332
78
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1333
79
  *
1334
80
  * @throws {@link Chrt.UnprocessableEntityError}
1335
81
  *
1336
82
  * @example
1337
- * await client.shipping.taskGroups.setTaskOrderingV1("task_group_id", {
1338
- * task_ids: ["task_ids"]
83
+ * await client.shipping.taskGroups.addMessageV1("task_group_id", {
84
+ * message: "message"
1339
85
  * })
1340
86
  */
1341
- setTaskOrderingV1(taskGroupId, request, requestOptions) {
1342
- return core.HttpResponsePromise.fromPromise(this.__setTaskOrderingV1(taskGroupId, request, requestOptions));
87
+ addMessageV1(taskGroupId, request, requestOptions) {
88
+ return core.HttpResponsePromise.fromPromise(this.__addMessageV1(taskGroupId, request, requestOptions));
1343
89
  }
1344
- __setTaskOrderingV1(taskGroupId, request, requestOptions) {
90
+ __addMessageV1(taskGroupId, request, requestOptions) {
1345
91
  return __awaiter(this, void 0, void 0, function* () {
1346
92
  var _a, _b, _c, _d;
1347
93
  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);
1348
94
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1349
- 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, `shipping/task_groups/set_task_ordering/v1/${encodeURIComponent(taskGroupId)}`),
1350
- method: "PUT",
95
+ 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, `shipping/task_groups/add_message/v1/${encodeURIComponent(taskGroupId)}`),
96
+ method: "POST",
1351
97
  headers: _headers,
1352
98
  contentType: "application/json",
1353
99
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -1380,7 +126,7 @@ class TaskGroups {
1380
126
  rawResponse: _response.rawResponse,
1381
127
  });
1382
128
  case "timeout":
1383
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/task_groups/set_task_ordering/v1/{task_group_id}.");
129
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/add_message/v1/{task_group_id}.");
1384
130
  case "unknown":
1385
131
  throw new errors.ChrtError({
1386
132
  message: _response.error.errorMessage,
@@ -1516,71 +262,6 @@ class TaskGroups {
1516
262
  }
1517
263
  });
1518
264
  }
1519
- /**
1520
- * Assigns or swaps the driver on a task group. Driver must belong to the task group's executor organization. | authz_personas=[executor_org_operators] | (UpdateDriverReq) -> (bool)
1521
- *
1522
- * @param {string} taskGroupId
1523
- * @param {Chrt.shipping.UpdateDriverReq} request
1524
- * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
1525
- *
1526
- * @throws {@link Chrt.UnprocessableEntityError}
1527
- *
1528
- * @example
1529
- * await client.shipping.taskGroups.updateDriverV1("task_group_id", {
1530
- * driver_id: "driver_id"
1531
- * })
1532
- */
1533
- updateDriverV1(taskGroupId, request, requestOptions) {
1534
- return core.HttpResponsePromise.fromPromise(this.__updateDriverV1(taskGroupId, request, requestOptions));
1535
- }
1536
- __updateDriverV1(taskGroupId, request, requestOptions) {
1537
- return __awaiter(this, void 0, void 0, function* () {
1538
- var _a, _b, _c, _d;
1539
- 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);
1540
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1541
- 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, `shipping/task_groups/update_driver/v1/${encodeURIComponent(taskGroupId)}`),
1542
- method: "PATCH",
1543
- headers: _headers,
1544
- contentType: "application/json",
1545
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1546
- requestType: "json",
1547
- body: request,
1548
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1549
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1550
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1551
- });
1552
- if (_response.ok) {
1553
- return { data: _response.body, rawResponse: _response.rawResponse };
1554
- }
1555
- if (_response.error.reason === "status-code") {
1556
- switch (_response.error.statusCode) {
1557
- case 422:
1558
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1559
- default:
1560
- throw new errors.ChrtError({
1561
- statusCode: _response.error.statusCode,
1562
- body: _response.error.body,
1563
- rawResponse: _response.rawResponse,
1564
- });
1565
- }
1566
- }
1567
- switch (_response.error.reason) {
1568
- case "non-json":
1569
- throw new errors.ChrtError({
1570
- statusCode: _response.error.statusCode,
1571
- body: _response.error.rawBody,
1572
- rawResponse: _response.rawResponse,
1573
- });
1574
- case "timeout":
1575
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/update_driver/v1/{task_group_id}.");
1576
- case "unknown":
1577
- throw new errors.ChrtError({
1578
- message: _response.error.errorMessage,
1579
- rawResponse: _response.rawResponse,
1580
- });
1581
- }
1582
- });
1583
- }
1584
265
  _getAuthorizationHeader() {
1585
266
  return __awaiter(this, void 0, void 0, function* () {
1586
267
  const bearer = yield core.Supplier.get(this._options.token);