@chrt-inc/typescript-sdk 1.296.0 → 1.302.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 (834) hide show
  1. package/README.md +49 -35
  2. package/dist/cjs/Client.d.ts +39 -33
  3. package/dist/cjs/Client.js +75 -65
  4. package/dist/cjs/api/resources/connections/client/Client.d.ts +20 -4
  5. package/dist/cjs/api/resources/connections/client/Client.js +67 -6
  6. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +3 -3
  7. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +4 -4
  8. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/index.d.ts +0 -1
  9. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/index.js +0 -15
  10. package/dist/cjs/api/resources/{taskGroups/resources/full → connections/resources/connectionToForwarder}/client/Client.d.ts +12 -20
  11. package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +132 -0
  12. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +49 -0
  13. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +132 -0
  14. package/dist/cjs/api/resources/connections/resources/index.d.ts +2 -1
  15. package/dist/cjs/api/resources/connections/resources/index.js +3 -5
  16. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +7 -7
  17. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +6 -6
  18. package/dist/cjs/api/resources/courierPayDriverPayouts/client/index.d.ts +0 -1
  19. package/dist/cjs/api/resources/courierPayDriverPayouts/client/index.js +0 -15
  20. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +90 -0
  21. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +314 -0
  22. package/dist/cjs/api/resources/index.d.ts +22 -21
  23. package/dist/cjs/api/resources/index.js +23 -22
  24. package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.d.ts +100 -0
  25. package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/client/Client.js +30 -30
  26. package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.ts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts} +3 -3
  27. package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.ts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts} +1 -1
  28. package/dist/cjs/api/resources/offChrtShipperOrg/client/requests/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/orders/client/Client.d.ts +14 -88
  30. package/dist/cjs/api/resources/orders/client/Client.js +19 -314
  31. package/dist/cjs/api/resources/orders/client/index.d.ts +0 -1
  32. package/dist/cjs/api/resources/orders/client/index.js +0 -15
  33. package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +261 -0
  34. package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +1014 -0
  35. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.d.ts +15 -0
  36. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.d.ts +17 -0
  37. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.d.ts +18 -0
  38. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +16 -0
  39. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftCreateCargoReq.d.ts +18 -0
  40. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.d.ts +15 -0
  41. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.d.ts +15 -0
  42. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrdersDraftUpdateReq.d.ts +17 -0
  43. package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrdersNewDraftReq.d.ts +14 -0
  44. package/dist/cjs/api/resources/orders/resources/draft/client/requests/index.d.ts +9 -0
  45. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +61 -0
  46. package/dist/cjs/api/resources/{taskGroups/resources/full → orders/resources/draft/resources/expanded}/client/Client.js +50 -38
  47. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.ts +21 -0
  48. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.ts +21 -0
  49. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +2 -0
  50. package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +2 -0
  51. package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +41 -0
  52. package/dist/cjs/api/resources/orders/resources/{full → expanded}/client/Client.d.ts +18 -23
  53. package/dist/cjs/api/resources/{milestones → orders/resources/expanded}/client/Client.js +28 -41
  54. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.d.ts +78 -0
  55. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.js +291 -0
  56. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.ts +30 -0
  57. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.ts +28 -0
  58. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/index.d.ts +2 -0
  59. package/dist/cjs/api/resources/orders/resources/expandedList/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/orders/resources/expandedList/index.js +17 -0
  61. package/dist/cjs/api/resources/orders/resources/index.d.ts +5 -1
  62. package/dist/cjs/api/resources/orders/resources/index.js +9 -2
  63. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
  64. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +8 -8
  65. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientCreate1.d.ts → CourierOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
  66. package/dist/cjs/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts → courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
  67. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.ts +2 -2
  68. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
  69. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +8 -8
  70. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientCreate1.d.ts → ShipperOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
  71. package/dist/cjs/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts → shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
  72. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.ts +2 -2
  73. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +43 -12
  74. package/dist/cjs/api/resources/orgProfiles/client/Client.js +151 -22
  75. package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts} +1 -1
  76. package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts} +1 -1
  77. package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +18 -0
  78. package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +12 -0
  79. package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +4 -2
  80. package/dist/cjs/api/resources/orgs/client/Client.d.ts +25 -36
  81. package/dist/cjs/api/resources/orgs/client/Client.js +52 -104
  82. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +5 -4
  83. package/dist/cjs/api/resources/payments/client/Client.d.ts +27 -27
  84. package/dist/cjs/api/resources/payments/client/Client.js +83 -83
  85. package/dist/cjs/api/resources/payments/client/requests/GenerateInvoiceReq.d.ts +2 -2
  86. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -1
  87. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +14 -14
  88. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +10 -10
  89. package/dist/cjs/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.ts → ShipperContactClientUpdate1.d.ts} +1 -1
  90. package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.d.ts +1 -1
  91. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +2 -2
  92. package/dist/cjs/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.ts +1 -1
  93. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +1 -1
  94. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +1 -1
  95. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.d.ts +133 -0
  96. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.js +507 -0
  97. package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.d.ts +2 -0
  98. package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.js +17 -0
  99. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.ts +16 -0
  100. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.ts +15 -0
  101. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/index.d.ts +2 -0
  102. package/dist/cjs/api/resources/shipperPayCourierStatements/index.d.ts +1 -0
  103. package/dist/cjs/api/resources/shipperPayCourierStatements/index.js +17 -0
  104. package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.ts +13 -13
  105. package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.js +14 -14
  106. package/dist/cjs/api/resources/taskArtifactNotifications/client/index.d.ts +2 -0
  107. package/dist/cjs/api/resources/taskArtifactNotifications/client/index.js +17 -0
  108. package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.ts} +2 -2
  109. package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.d.ts +1 -0
  110. package/dist/cjs/api/resources/taskArtifactNotifications/index.d.ts +1 -0
  111. package/dist/cjs/api/resources/taskArtifactNotifications/index.js +17 -0
  112. package/dist/cjs/api/resources/{milestones → taskArtifacts}/client/Client.d.ts +32 -17
  113. package/dist/cjs/api/resources/taskArtifacts/client/Client.js +268 -0
  114. package/dist/cjs/api/resources/taskArtifacts/client/index.d.ts +2 -0
  115. package/dist/cjs/api/resources/taskArtifacts/client/index.js +17 -0
  116. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.ts +19 -0
  117. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.ts +14 -0
  118. package/dist/cjs/api/resources/taskArtifacts/client/requests/index.d.ts +2 -0
  119. package/dist/cjs/api/resources/taskArtifacts/client/requests/index.js +2 -0
  120. package/dist/cjs/api/resources/taskArtifacts/index.d.ts +2 -0
  121. package/dist/cjs/api/resources/taskArtifacts/index.js +18 -0
  122. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.ts +4 -4
  123. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.js +8 -8
  124. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/client/index.js +2 -0
  125. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.d.ts +1 -0
  126. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.js +17 -0
  127. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.ts +17 -18
  128. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.js +44 -49
  129. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.d.ts +2 -0
  130. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.js +17 -0
  131. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.ts +13 -0
  132. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.d.ts +1 -0
  133. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.js +2 -0
  134. package/dist/cjs/api/resources/taskArtifacts/resources/images/index.d.ts +1 -0
  135. package/dist/cjs/api/resources/taskArtifacts/resources/images/index.js +17 -0
  136. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +11 -70
  137. package/dist/cjs/api/resources/taskGroups/client/Client.js +15 -309
  138. package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +0 -2
  139. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.d.ts +76 -0
  140. package/dist/cjs/api/resources/{orders/resources/full → taskGroups/resources/expanded}/client/Client.js +78 -44
  141. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/index.d.ts +2 -0
  142. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/index.js +17 -0
  143. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.ts +20 -0
  144. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/index.js +2 -0
  146. package/dist/cjs/api/resources/taskGroups/resources/expanded/index.d.ts +1 -0
  147. package/dist/cjs/api/resources/taskGroups/resources/expanded/index.js +17 -0
  148. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.d.ts +90 -0
  149. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.js +326 -0
  150. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/index.d.ts +2 -0
  151. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/index.js +17 -0
  152. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.ts +40 -0
  153. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.ts +40 -0
  154. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/index.d.ts +2 -0
  155. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/index.js +2 -0
  156. package/dist/cjs/api/resources/taskGroups/resources/expandedList/index.d.ts +1 -0
  157. package/dist/cjs/api/resources/taskGroups/resources/expandedList/index.js +17 -0
  158. package/dist/cjs/api/resources/taskGroups/resources/index.d.ts +4 -1
  159. package/dist/cjs/api/resources/taskGroups/resources/index.js +8 -2
  160. package/dist/cjs/api/types/Cargo1.d.ts +12 -0
  161. package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -0
  162. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +15 -0
  163. package/dist/cjs/api/types/CargoStatusEnum1.d.ts +3 -2
  164. package/dist/cjs/api/types/CargoStatusEnum1.js +2 -1
  165. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +30 -0
  166. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +15 -0
  167. package/dist/cjs/api/types/CourierConnectionRes.d.ts +8 -0
  168. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +1 -1
  169. package/dist/cjs/api/types/{CourierOrgConnectionInfo1.d.ts → CourierOrgInfoForConnections1.d.ts} +1 -1
  170. package/dist/cjs/api/types/{CourierOrgProfile3.d.ts → CourierOrgProfile1.d.ts} +1 -1
  171. package/dist/cjs/api/types/{CourierPayDriverPayout1.d.ts → CourierPayDriverStatement1.d.ts} +7 -7
  172. package/dist/cjs/api/types/CourierPayDriverStatementClientCreate1.d.ts +7 -0
  173. package/dist/cjs/api/types/CourierPayDriverStatementClientUpdate1.d.ts +13 -0
  174. package/dist/cjs/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.ts +0 -6
  175. package/dist/cjs/api/types/CreateShipperPayCourierStatementReq.d.ts +6 -0
  176. package/dist/cjs/api/types/Driver1.d.ts +1 -1
  177. package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +17 -0
  178. package/dist/cjs/api/types/FlightTaskActionEnum1.js +15 -0
  179. package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +8 -0
  180. package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +22 -0
  181. package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +12 -0
  182. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +1 -1
  183. package/dist/cjs/api/types/GetShipperPayCourierStatementsForShipperRes.d.ts +7 -0
  184. package/dist/cjs/api/types/LineItem1.d.ts +1 -1
  185. package/dist/cjs/api/types/LocationProperties.d.ts +0 -1
  186. package/dist/cjs/api/types/{OffChrtShipperOrgInfo1.d.ts → OffChrtShipperOrg1.d.ts} +3 -3
  187. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.d.ts +29 -0
  188. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +24 -0
  189. package/dist/cjs/api/types/Order1.d.ts +11 -10
  190. package/dist/cjs/api/types/OrderDraftExpandedListRes.d.ts +11 -0
  191. package/dist/cjs/api/types/OrderDraftExpandedRes.d.ts +13 -0
  192. package/dist/cjs/api/types/OrderExpandedForOrderCreator.d.ts +16 -0
  193. package/dist/cjs/api/types/OrderExpandedForOrderCreator.js +5 -0
  194. package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.d.ts +14 -0
  195. package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.js +5 -0
  196. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +16 -0
  197. package/dist/cjs/api/types/OrderExpandedForShipper.js +5 -0
  198. package/dist/cjs/api/types/OrderExpandedForShipperReq.d.ts +14 -0
  199. package/dist/cjs/api/types/OrderExpandedForShipperReq.js +5 -0
  200. package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.d.ts +11 -0
  201. package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.js +10 -0
  202. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +4 -3
  203. package/dist/cjs/api/types/OrderStatusEnum1.js +3 -2
  204. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +12 -0
  205. package/dist/cjs/api/types/OrdersDraftUpdateRes.js +5 -0
  206. package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.d.ts +11 -0
  207. package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.js +5 -0
  208. package/dist/cjs/api/types/OrdersExpandedForShipperRes.d.ts +11 -0
  209. package/dist/cjs/api/types/OrdersExpandedForShipperRes.js +5 -0
  210. package/dist/cjs/api/types/{CreateOrderRes.d.ts → OrdersNewDraftRes.d.ts} +1 -1
  211. package/dist/cjs/api/types/OrdersNewDraftRes.js +5 -0
  212. package/dist/cjs/api/types/OrgProfileRes1.d.ts +8 -0
  213. package/dist/cjs/api/types/OrgProfileRes1.js +5 -0
  214. package/dist/cjs/api/types/{OrgPublicData2.d.ts → OrgPublicData1.d.ts} +2 -4
  215. package/dist/cjs/api/types/OrgPublicData1.js +5 -0
  216. package/dist/cjs/api/types/OrgTypeEnum.d.ts +9 -0
  217. package/dist/cjs/api/types/{OrderCreatedByTypeEnum.js → OrgTypeEnum.js} +4 -4
  218. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +8 -0
  219. package/dist/cjs/api/types/ShipperConnectionRes.js +5 -0
  220. package/dist/cjs/api/types/{ShipperContactInfo1.d.ts → ShipperContact1.d.ts} +6 -6
  221. package/dist/cjs/api/types/ShipperContact1.js +5 -0
  222. package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.d.ts → ShipperContactClientCreate1.d.ts} +6 -6
  223. package/dist/cjs/api/types/ShipperContactClientCreate1.js +5 -0
  224. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +1 -1
  225. package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfoForConnections1.d.ts} +1 -1
  226. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +5 -0
  227. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +1 -1
  228. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +1 -1
  229. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +1 -1
  230. package/dist/cjs/api/types/{ShipperPayCourierPayment1.d.ts → ShipperPayCourierStatement1.d.ts} +4 -4
  231. package/dist/cjs/api/types/ShipperPayCourierStatement1.js +5 -0
  232. package/dist/cjs/api/types/SortOrderEnum.d.ts +11 -0
  233. package/dist/cjs/api/types/SortOrderEnum.js +10 -0
  234. package/dist/cjs/api/types/StatementPreviewResponse.d.ts +10 -0
  235. package/dist/cjs/api/types/StatementPreviewResponse.js +5 -0
  236. package/dist/cjs/api/types/{PayoutStatusEnum.d.ts → StatementStatusEnum.d.ts} +2 -2
  237. package/dist/cjs/api/types/{PayoutStatusEnum.js → StatementStatusEnum.js} +2 -2
  238. package/dist/cjs/api/types/Task1.d.ts +19 -8
  239. package/dist/cjs/api/types/TaskArtifact1.d.ts +31 -0
  240. package/dist/cjs/api/types/TaskArtifact1.js +5 -0
  241. package/dist/cjs/api/types/{MilestoneNotificationPreferences1.d.ts → TaskArtifactNotificationPreferences1.d.ts} +3 -3
  242. package/dist/cjs/api/types/TaskArtifactNotificationPreferences1.js +5 -0
  243. package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +10 -0
  244. package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +12 -0
  245. package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +9 -0
  246. package/dist/cjs/api/types/{OrderDispatchTypeEnum.js → TaskArtifactTypeEnum1.js} +5 -5
  247. package/dist/cjs/api/types/TaskClientCreate1.d.ts +3 -4
  248. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +15 -0
  249. package/dist/cjs/api/types/TaskClientUpdate1.js +5 -0
  250. package/dist/cjs/api/types/TaskDraftExpanded.d.ts +10 -0
  251. package/dist/cjs/api/types/TaskDraftExpanded.js +5 -0
  252. package/dist/cjs/api/types/TaskExpanded.d.ts +3 -3
  253. package/dist/cjs/api/types/TaskGroup1.d.ts +16 -8
  254. package/dist/cjs/api/types/TaskGroupDraftExpanded.d.ts +10 -0
  255. package/dist/cjs/api/types/TaskGroupDraftExpanded.js +5 -0
  256. package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministrator.d.ts +2 -2
  257. package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministratorReq.d.ts +19 -0
  258. package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministratorReq.js +5 -0
  259. package/dist/cjs/api/types/TaskGroupExpandedForCourierDriver.d.ts +3 -1
  260. package/dist/cjs/api/types/TaskGroupExpandedForCourierDriverReq.d.ts +19 -0
  261. package/dist/cjs/api/types/TaskGroupExpandedForCourierDriverReq.js +5 -0
  262. package/dist/cjs/api/types/TaskGroupExpandedForShipper.d.ts +18 -0
  263. package/dist/cjs/api/types/TaskGroupExpandedForShipper.js +5 -0
  264. package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.d.ts +12 -0
  265. package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.js +11 -0
  266. package/dist/cjs/api/types/{StripeConnectAccountEvent.d.ts → TaskGroupMessage1.d.ts} +5 -5
  267. package/dist/cjs/api/types/TaskGroupMessage1.js +5 -0
  268. package/dist/cjs/api/types/TaskGroupMileage1.d.ts +9 -0
  269. package/dist/cjs/api/types/TaskGroupMileage1.js +5 -0
  270. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +4 -2
  271. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +3 -1
  272. package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +9 -0
  273. package/dist/cjs/api/types/TaskGroupTypeEnum1.js +11 -0
  274. package/dist/cjs/api/types/TaskGroupsExpandedForCourierAdministratorRes.d.ts +4 -0
  275. package/dist/cjs/api/types/TaskGroupsExpandedForCourierDriverRes.d.ts +4 -0
  276. package/dist/cjs/api/types/TaskStatusEnum1.d.ts +10 -0
  277. package/dist/cjs/api/types/TaskStatusEnum1.js +12 -0
  278. package/dist/cjs/api/types/TimeWindow1.d.ts +7 -0
  279. package/dist/cjs/api/types/TimeWindow1.js +5 -0
  280. package/dist/cjs/api/types/index.d.ts +56 -38
  281. package/dist/cjs/api/types/index.js +56 -38
  282. package/dist/cjs/version.d.ts +1 -1
  283. package/dist/cjs/version.js +1 -1
  284. package/dist/esm/Client.d.mts +39 -33
  285. package/dist/esm/Client.mjs +55 -45
  286. package/dist/esm/api/resources/connections/client/Client.d.mts +20 -4
  287. package/dist/esm/api/resources/connections/client/Client.mjs +67 -6
  288. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +3 -3
  289. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +4 -4
  290. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.d.mts +0 -1
  291. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.mjs +1 -1
  292. package/dist/esm/api/resources/{taskGroups/resources/full → connections/resources/connectionToForwarder}/client/Client.d.mts +12 -20
  293. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +95 -0
  294. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +49 -0
  295. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +95 -0
  296. package/dist/esm/api/resources/connections/resources/index.d.mts +2 -1
  297. package/dist/esm/api/resources/connections/resources/index.mjs +2 -1
  298. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +7 -7
  299. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +6 -6
  300. package/dist/esm/api/resources/courierPayDriverPayouts/client/index.d.mts +0 -1
  301. package/dist/esm/api/resources/courierPayDriverPayouts/client/index.mjs +1 -1
  302. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +90 -0
  303. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +277 -0
  304. package/dist/esm/api/resources/index.d.mts +22 -21
  305. package/dist/esm/api/resources/index.mjs +22 -21
  306. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +100 -0
  307. package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/client/Client.mjs +28 -28
  308. package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts} +3 -3
  309. package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts} +1 -1
  310. package/dist/esm/api/resources/offChrtShipperOrg/client/requests/index.d.mts +2 -0
  311. package/dist/esm/api/resources/orders/client/Client.d.mts +14 -88
  312. package/dist/esm/api/resources/orders/client/Client.mjs +19 -314
  313. package/dist/esm/api/resources/orders/client/index.d.mts +0 -1
  314. package/dist/esm/api/resources/orders/client/index.mjs +1 -1
  315. package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +261 -0
  316. package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +977 -0
  317. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.d.mts +15 -0
  318. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.d.mts +17 -0
  319. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.d.mts +18 -0
  320. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +16 -0
  321. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftCreateCargoReq.d.mts +18 -0
  322. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.d.mts +15 -0
  323. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.d.mts +15 -0
  324. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrdersDraftUpdateReq.d.mts +17 -0
  325. package/dist/esm/api/resources/orders/resources/draft/client/requests/OrdersNewDraftReq.d.mts +14 -0
  326. package/dist/esm/api/resources/orders/resources/draft/client/requests/index.d.mts +9 -0
  327. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +61 -0
  328. package/dist/esm/api/resources/{taskGroups/resources/full → orders/resources/draft/resources/expanded}/client/Client.mjs +48 -36
  329. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.mts +21 -0
  330. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.mts +21 -0
  331. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +2 -0
  332. package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +2 -0
  333. package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +2 -0
  334. package/dist/esm/api/resources/orders/resources/{full → expanded}/client/Client.d.mts +18 -23
  335. package/dist/esm/api/resources/{milestones → orders/resources/expanded}/client/Client.mjs +26 -39
  336. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.d.mts +78 -0
  337. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.mjs +254 -0
  338. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.mts +30 -0
  339. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.mts +28 -0
  340. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.d.mts +2 -0
  341. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.mjs +1 -0
  342. package/dist/esm/api/resources/orders/resources/expandedList/index.d.mts +1 -0
  343. package/dist/esm/api/resources/orders/resources/expandedList/index.mjs +1 -0
  344. package/dist/esm/api/resources/orders/resources/index.d.mts +5 -1
  345. package/dist/esm/api/resources/orders/resources/index.mjs +5 -1
  346. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
  347. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +8 -8
  348. package/dist/esm/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts → courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
  349. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientUpdate1.d.mts → CourierOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
  350. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.mts +2 -2
  351. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
  352. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +8 -8
  353. package/dist/esm/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts → shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
  354. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientUpdate1.d.mts → ShipperOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
  355. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.mts +2 -2
  356. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +43 -12
  357. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +151 -22
  358. package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts} +1 -1
  359. package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts} +1 -1
  360. package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +18 -0
  361. package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +12 -0
  362. package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +4 -2
  363. package/dist/esm/api/resources/orgs/client/Client.d.mts +25 -36
  364. package/dist/esm/api/resources/orgs/client/Client.mjs +52 -104
  365. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +5 -4
  366. package/dist/esm/api/resources/payments/client/Client.d.mts +27 -27
  367. package/dist/esm/api/resources/payments/client/Client.mjs +83 -83
  368. package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +2 -2
  369. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -1
  370. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +14 -14
  371. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +10 -10
  372. package/dist/esm/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.mts → ShipperContactClientUpdate1.d.mts} +1 -1
  373. package/dist/esm/api/resources/shipperContactInfo/client/requests/index.d.mts +1 -1
  374. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +2 -2
  375. package/dist/esm/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.mts +1 -1
  376. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +1 -1
  377. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +1 -1
  378. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.d.mts +133 -0
  379. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.mjs +470 -0
  380. package/dist/esm/api/resources/shipperPayCourierStatements/client/index.d.mts +2 -0
  381. package/dist/esm/api/resources/shipperPayCourierStatements/client/index.mjs +1 -0
  382. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.mts +16 -0
  383. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.mts +15 -0
  384. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.d.mts +2 -0
  385. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.mjs +1 -0
  386. package/dist/esm/api/resources/shipperPayCourierStatements/index.d.mts +1 -0
  387. package/dist/esm/api/resources/shipperPayCourierStatements/index.mjs +1 -0
  388. package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.mts +13 -13
  389. package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.mjs +12 -12
  390. package/dist/esm/api/resources/taskArtifactNotifications/client/index.d.mts +2 -0
  391. package/dist/esm/api/resources/taskArtifactNotifications/client/index.mjs +1 -0
  392. package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.mts} +2 -2
  393. package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.d.mts +1 -0
  394. package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.mjs +1 -0
  395. package/dist/esm/api/resources/taskArtifactNotifications/index.d.mts +1 -0
  396. package/dist/esm/api/resources/taskArtifactNotifications/index.mjs +1 -0
  397. package/dist/esm/api/resources/{milestones → taskArtifacts}/client/Client.d.mts +32 -17
  398. package/dist/esm/api/resources/taskArtifacts/client/Client.mjs +231 -0
  399. package/dist/esm/api/resources/taskArtifacts/client/index.d.mts +2 -0
  400. package/dist/esm/api/resources/taskArtifacts/client/index.mjs +1 -0
  401. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.mts +19 -0
  402. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.mts +14 -0
  403. package/dist/esm/api/resources/taskArtifacts/client/requests/index.d.mts +2 -0
  404. package/dist/esm/api/resources/taskArtifacts/client/requests/index.mjs +1 -0
  405. package/dist/esm/api/resources/taskArtifacts/index.d.mts +2 -0
  406. package/dist/esm/api/resources/taskArtifacts/index.mjs +2 -0
  407. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.mts +4 -4
  408. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.mjs +8 -8
  409. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.d.mts +1 -0
  410. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.mjs +1 -0
  411. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.d.mts +1 -0
  412. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.mjs +1 -0
  413. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.mts +17 -18
  414. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.mjs +44 -49
  415. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.d.mts +2 -0
  416. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.mjs +1 -0
  417. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.mts +13 -0
  418. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.d.mts +1 -0
  419. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.mjs +1 -0
  420. package/dist/esm/api/resources/taskArtifacts/resources/images/index.d.mts +1 -0
  421. package/dist/esm/api/resources/taskArtifacts/resources/images/index.mjs +1 -0
  422. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +11 -70
  423. package/dist/esm/api/resources/taskGroups/client/Client.mjs +15 -309
  424. package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +0 -2
  425. package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.d.mts +76 -0
  426. package/dist/esm/api/resources/{orders/resources/full → taskGroups/resources/expanded}/client/Client.mjs +76 -42
  427. package/dist/esm/api/resources/taskGroups/resources/expanded/client/index.d.mts +2 -0
  428. package/dist/esm/api/resources/taskGroups/resources/expanded/client/index.mjs +1 -0
  429. package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.mts +20 -0
  430. package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -0
  431. package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/index.mjs +1 -0
  432. package/dist/esm/api/resources/taskGroups/resources/expanded/index.d.mts +1 -0
  433. package/dist/esm/api/resources/taskGroups/resources/expanded/index.mjs +1 -0
  434. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.d.mts +90 -0
  435. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.mjs +289 -0
  436. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/index.d.mts +2 -0
  437. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/index.mjs +1 -0
  438. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.mts +40 -0
  439. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.mts +40 -0
  440. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/index.d.mts +2 -0
  441. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/index.mjs +1 -0
  442. package/dist/esm/api/resources/taskGroups/resources/expandedList/index.d.mts +1 -0
  443. package/dist/esm/api/resources/taskGroups/resources/expandedList/index.mjs +1 -0
  444. package/dist/esm/api/resources/taskGroups/resources/index.d.mts +4 -1
  445. package/dist/esm/api/resources/taskGroups/resources/index.mjs +4 -1
  446. package/dist/esm/api/types/Cargo1.d.mts +12 -0
  447. package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -0
  448. package/dist/esm/api/types/CargoClientUpdate1.d.mts +15 -0
  449. package/dist/esm/api/types/CargoStatusEnum1.d.mts +3 -2
  450. package/dist/esm/api/types/CargoStatusEnum1.mjs +2 -1
  451. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +30 -0
  452. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +12 -0
  453. package/dist/esm/api/types/CourierConnectionRes.d.mts +8 -0
  454. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +1 -1
  455. package/dist/esm/api/types/{CourierOrgConnectionInfo1.d.mts → CourierOrgInfoForConnections1.d.mts} +1 -1
  456. package/dist/esm/api/types/{CourierOrgProfile3.d.mts → CourierOrgProfile1.d.mts} +1 -1
  457. package/dist/esm/api/types/{CourierPayDriverPayout1.d.mts → CourierPayDriverStatement1.d.mts} +7 -7
  458. package/dist/esm/api/types/CourierPayDriverStatementClientCreate1.d.mts +7 -0
  459. package/dist/esm/api/types/CourierPayDriverStatementClientUpdate1.d.mts +13 -0
  460. package/dist/esm/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.mts +0 -6
  461. package/dist/esm/api/types/CreateShipperPayCourierStatementReq.d.mts +6 -0
  462. package/dist/esm/api/types/Driver1.d.mts +1 -1
  463. package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +17 -0
  464. package/dist/esm/api/types/FlightTaskActionEnum1.mjs +12 -0
  465. package/dist/esm/api/types/ForwarderConnectionRes.d.mts +8 -0
  466. package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +22 -0
  467. package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +12 -0
  468. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +1 -1
  469. package/dist/esm/api/types/GetShipperPayCourierStatementsForShipperRes.d.mts +7 -0
  470. package/dist/esm/api/types/LineItem1.d.mts +1 -1
  471. package/dist/esm/api/types/LocationProperties.d.mts +0 -1
  472. package/dist/esm/api/types/{OffChrtShipperOrgInfo1.d.mts → OffChrtShipperOrg1.d.mts} +3 -3
  473. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.d.mts +29 -0
  474. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +21 -0
  475. package/dist/esm/api/types/Order1.d.mts +11 -10
  476. package/dist/esm/api/types/OrderDraftExpandedListRes.d.mts +11 -0
  477. package/dist/esm/api/types/OrderDraftExpandedRes.d.mts +13 -0
  478. package/dist/esm/api/types/OrderExpandedForOrderCreator.d.mts +16 -0
  479. package/dist/esm/api/types/OrderExpandedForOrderCreator.mjs +4 -0
  480. package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.d.mts +14 -0
  481. package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.mjs +4 -0
  482. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +16 -0
  483. package/dist/esm/api/types/OrderExpandedForShipper.mjs +4 -0
  484. package/dist/esm/api/types/OrderExpandedForShipperReq.d.mts +14 -0
  485. package/dist/esm/api/types/OrderExpandedForShipperReq.mjs +4 -0
  486. package/dist/esm/api/types/OrderExpandedListSortFieldEnum.d.mts +11 -0
  487. package/dist/esm/api/types/OrderExpandedListSortFieldEnum.mjs +7 -0
  488. package/dist/esm/api/types/OrderStatusEnum1.d.mts +4 -3
  489. package/dist/esm/api/types/OrderStatusEnum1.mjs +3 -2
  490. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +12 -0
  491. package/dist/esm/api/types/OrdersDraftUpdateRes.mjs +4 -0
  492. package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.d.mts +11 -0
  493. package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.mjs +4 -0
  494. package/dist/esm/api/types/OrdersExpandedForShipperRes.d.mts +11 -0
  495. package/dist/esm/api/types/OrdersExpandedForShipperRes.mjs +4 -0
  496. package/dist/esm/api/types/{CreateOrderRes.d.mts → OrdersNewDraftRes.d.mts} +1 -1
  497. package/dist/esm/api/types/OrdersNewDraftRes.mjs +4 -0
  498. package/dist/esm/api/types/OrgProfileRes1.d.mts +8 -0
  499. package/dist/esm/api/types/OrgProfileRes1.mjs +4 -0
  500. package/dist/esm/api/types/{OrgPublicData2.d.mts → OrgPublicData1.d.mts} +2 -4
  501. package/dist/esm/api/types/OrgPublicData1.mjs +4 -0
  502. package/dist/esm/api/types/OrgTypeEnum.d.mts +9 -0
  503. package/dist/esm/api/types/{OrderCreatedByTypeEnum.mjs → OrgTypeEnum.mjs} +3 -3
  504. package/dist/esm/api/types/ShipperConnectionRes.d.mts +8 -0
  505. package/dist/esm/api/types/ShipperConnectionRes.mjs +4 -0
  506. package/dist/esm/api/types/{ShipperContactInfo1.d.mts → ShipperContact1.d.mts} +6 -6
  507. package/dist/esm/api/types/ShipperContact1.mjs +4 -0
  508. package/dist/esm/api/types/{ShipperContactInfoClientCreate1.d.mts → ShipperContactClientCreate1.d.mts} +6 -6
  509. package/dist/esm/api/types/ShipperContactClientCreate1.mjs +4 -0
  510. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +1 -1
  511. package/dist/esm/api/types/{ShipperOrgConnectionInfo1.d.mts → ShipperOrgInfoForConnections1.d.mts} +1 -1
  512. package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +4 -0
  513. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +1 -1
  514. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +1 -1
  515. package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +1 -1
  516. package/dist/esm/api/types/{ShipperPayCourierPayment1.d.mts → ShipperPayCourierStatement1.d.mts} +4 -4
  517. package/dist/esm/api/types/ShipperPayCourierStatement1.mjs +4 -0
  518. package/dist/esm/api/types/SortOrderEnum.d.mts +11 -0
  519. package/dist/{cjs/api/types/OrderClientCreate1.d.ts → esm/api/types/SortOrderEnum.mjs} +4 -3
  520. package/dist/esm/api/types/StatementPreviewResponse.d.mts +10 -0
  521. package/dist/esm/api/types/StatementPreviewResponse.mjs +4 -0
  522. package/dist/esm/api/types/{PayoutStatusEnum.d.mts → StatementStatusEnum.d.mts} +2 -2
  523. package/dist/esm/api/types/{PayoutStatusEnum.mjs → StatementStatusEnum.mjs} +1 -1
  524. package/dist/esm/api/types/Task1.d.mts +19 -8
  525. package/dist/esm/api/types/TaskArtifact1.d.mts +31 -0
  526. package/dist/esm/api/types/TaskArtifact1.mjs +4 -0
  527. package/dist/esm/api/types/{MilestoneNotificationPreferences1.d.mts → TaskArtifactNotificationPreferences1.d.mts} +3 -3
  528. package/dist/esm/api/types/TaskArtifactNotificationPreferences1.mjs +4 -0
  529. package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +10 -0
  530. package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +9 -0
  531. package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +9 -0
  532. package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +8 -0
  533. package/dist/esm/api/types/TaskClientCreate1.d.mts +3 -4
  534. package/dist/esm/api/types/TaskClientUpdate1.d.mts +15 -0
  535. package/dist/esm/api/types/TaskClientUpdate1.mjs +4 -0
  536. package/dist/esm/api/types/TaskDraftExpanded.d.mts +10 -0
  537. package/dist/esm/api/types/TaskDraftExpanded.mjs +4 -0
  538. package/dist/esm/api/types/TaskExpanded.d.mts +3 -3
  539. package/dist/esm/api/types/TaskGroup1.d.mts +16 -8
  540. package/dist/esm/api/types/{TaskGroupExpanded.d.mts → TaskGroupDraftExpanded.d.mts} +3 -6
  541. package/dist/esm/api/types/TaskGroupDraftExpanded.mjs +4 -0
  542. package/dist/esm/api/types/TaskGroupExpandedForCourierAdministrator.d.mts +2 -2
  543. package/dist/esm/api/types/TaskGroupExpandedForCourierAdministratorReq.d.mts +19 -0
  544. package/dist/esm/api/types/TaskGroupExpandedForCourierAdministratorReq.mjs +4 -0
  545. package/dist/esm/api/types/TaskGroupExpandedForCourierDriver.d.mts +3 -1
  546. package/dist/esm/api/types/TaskGroupExpandedForCourierDriverReq.d.mts +19 -0
  547. package/dist/esm/api/types/TaskGroupExpandedForCourierDriverReq.mjs +4 -0
  548. package/dist/esm/api/types/TaskGroupExpandedForShipper.d.mts +18 -0
  549. package/dist/esm/api/types/TaskGroupExpandedForShipper.mjs +4 -0
  550. package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.d.mts +12 -0
  551. package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.mjs +8 -0
  552. package/dist/esm/api/types/{StripeConnectAccountEvent.d.mts → TaskGroupMessage1.d.mts} +5 -5
  553. package/dist/esm/api/types/TaskGroupMessage1.mjs +4 -0
  554. package/dist/esm/api/types/TaskGroupMileage1.d.mts +9 -0
  555. package/dist/esm/api/types/TaskGroupMileage1.mjs +4 -0
  556. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +4 -2
  557. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +3 -1
  558. package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +9 -0
  559. package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +8 -0
  560. package/dist/esm/api/types/TaskGroupsExpandedForCourierAdministratorRes.d.mts +4 -0
  561. package/dist/esm/api/types/TaskGroupsExpandedForCourierDriverRes.d.mts +4 -0
  562. package/dist/esm/api/types/TaskStatusEnum1.d.mts +10 -0
  563. package/dist/esm/api/types/TaskStatusEnum1.mjs +9 -0
  564. package/dist/esm/api/types/TimeWindow1.d.mts +7 -0
  565. package/dist/esm/api/types/TimeWindow1.mjs +4 -0
  566. package/dist/esm/api/types/index.d.mts +56 -38
  567. package/dist/esm/api/types/index.mjs +56 -38
  568. package/dist/esm/version.d.mts +1 -1
  569. package/dist/esm/version.mjs +1 -1
  570. package/package.json +1 -1
  571. package/reference.md +3052 -1158
  572. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/requests/index.d.ts +0 -1
  573. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -14
  574. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.ts +0 -14
  575. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/index.d.ts +0 -2
  576. package/dist/cjs/api/resources/milestoneNotifications/client/requests/index.d.ts +0 -1
  577. package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
  578. package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
  579. package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +0 -2
  580. package/dist/cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.ts +0 -15
  581. package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +0 -1
  582. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +0 -100
  583. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/requests/index.d.ts +0 -2
  584. package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +0 -45
  585. package/dist/cjs/api/resources/orders/client/requests/OrdersExpandedReq.d.ts +0 -19
  586. package/dist/cjs/api/resources/orders/client/requests/index.d.ts +0 -2
  587. package/dist/cjs/api/resources/taskGroups/client/requests/TaskGroupExpandedForCourierAdministratorReq.d.ts +0 -34
  588. package/dist/cjs/api/resources/taskGroups/client/requests/TaskGroupExpandedForCourierDriverReq.d.ts +0 -32
  589. package/dist/cjs/api/types/Expense1.d.ts +0 -13
  590. package/dist/cjs/api/types/GetOrderFullRes.d.ts +0 -11
  591. package/dist/cjs/api/types/GetOrderRes.d.ts +0 -7
  592. package/dist/cjs/api/types/Milestone1.d.ts +0 -27
  593. package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +0 -9
  594. package/dist/cjs/api/types/MilestoneTypeEnum1.d.ts +0 -14
  595. package/dist/cjs/api/types/MilestoneTypeEnum1.js +0 -16
  596. package/dist/cjs/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
  597. package/dist/cjs/api/types/MultipleTaskGroupsWithTasks.d.ts +0 -7
  598. package/dist/cjs/api/types/ObcNfoTaskActionEnum.d.ts +0 -38
  599. package/dist/cjs/api/types/ObcNfoTaskActionEnum.js +0 -40
  600. package/dist/cjs/api/types/OrderCreatedByTypeEnum.d.ts +0 -9
  601. package/dist/cjs/api/types/OrderDispatchTypeEnum.d.ts +0 -9
  602. package/dist/cjs/api/types/OrderExpanded.d.ts +0 -11
  603. package/dist/cjs/api/types/OrdersExpandedRes.d.ts +0 -10
  604. package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +0 -8
  605. package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +0 -10
  606. package/dist/cjs/api/types/TaskActionEnum1.d.ts +0 -14
  607. package/dist/cjs/api/types/TaskActionEnum1.js +0 -16
  608. package/dist/cjs/api/types/TaskCreateBundle.d.ts +0 -13
  609. package/dist/cjs/api/types/TaskGroupDetailsResponse.d.ts +0 -8
  610. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +0 -13
  611. package/dist/cjs/api/types/TaskGroupWithDetails.d.ts +0 -8
  612. package/dist/cjs/api/types/TaskGroupWithTasks.d.ts +0 -8
  613. package/dist/cjs/api/types/TaskWithDetails.d.ts +0 -9
  614. package/dist/cjs/api/types/TransportTypeEnum.d.ts +0 -11
  615. package/dist/cjs/api/types/TransportTypeEnum.js +0 -13
  616. package/dist/cjs/api/types/UpdateTaskGroupRes.d.ts +0 -6
  617. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/requests/index.d.mts +0 -1
  618. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -14
  619. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +0 -14
  620. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +0 -2
  621. package/dist/esm/api/resources/milestoneNotifications/client/requests/index.d.mts +0 -1
  622. package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +0 -16
  623. package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +0 -14
  624. package/dist/esm/api/resources/milestones/client/requests/index.d.mts +0 -2
  625. package/dist/esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts +0 -15
  626. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +0 -1
  627. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +0 -100
  628. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +0 -2
  629. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +0 -45
  630. package/dist/esm/api/resources/orders/client/requests/OrdersExpandedReq.d.mts +0 -19
  631. package/dist/esm/api/resources/orders/client/requests/index.d.mts +0 -2
  632. package/dist/esm/api/resources/taskGroups/client/requests/TaskGroupExpandedForCourierAdministratorReq.d.mts +0 -34
  633. package/dist/esm/api/resources/taskGroups/client/requests/TaskGroupExpandedForCourierDriverReq.d.mts +0 -32
  634. package/dist/esm/api/types/Expense1.d.mts +0 -13
  635. package/dist/esm/api/types/GetOrderFullRes.d.mts +0 -11
  636. package/dist/esm/api/types/GetOrderRes.d.mts +0 -7
  637. package/dist/esm/api/types/Milestone1.d.mts +0 -27
  638. package/dist/esm/api/types/MilestoneClientCreate1.d.mts +0 -9
  639. package/dist/esm/api/types/MilestoneTypeEnum1.d.mts +0 -14
  640. package/dist/esm/api/types/MilestoneTypeEnum1.mjs +0 -13
  641. package/dist/esm/api/types/MultipleTaskGroupsDetailsResponse.d.mts +0 -7
  642. package/dist/esm/api/types/MultipleTaskGroupsWithTasks.d.mts +0 -7
  643. package/dist/esm/api/types/ObcNfoTaskActionEnum.d.mts +0 -38
  644. package/dist/esm/api/types/ObcNfoTaskActionEnum.mjs +0 -37
  645. package/dist/esm/api/types/OrderClientCreate1.d.mts +0 -6
  646. package/dist/esm/api/types/OrderCreatedByTypeEnum.d.mts +0 -9
  647. package/dist/esm/api/types/OrderDispatchTypeEnum.d.mts +0 -9
  648. package/dist/esm/api/types/OrderDispatchTypeEnum.mjs +0 -8
  649. package/dist/esm/api/types/OrderExpanded.d.mts +0 -11
  650. package/dist/esm/api/types/OrdersExpandedRes.d.mts +0 -10
  651. package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +0 -8
  652. package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +0 -7
  653. package/dist/esm/api/types/TaskActionEnum1.d.mts +0 -14
  654. package/dist/esm/api/types/TaskActionEnum1.mjs +0 -13
  655. package/dist/esm/api/types/TaskCreateBundle.d.mts +0 -13
  656. package/dist/esm/api/types/TaskGroupDetailsResponse.d.mts +0 -8
  657. package/dist/esm/api/types/TaskGroupWithDetails.d.mts +0 -8
  658. package/dist/esm/api/types/TaskGroupWithTasks.d.mts +0 -8
  659. package/dist/esm/api/types/TaskWithDetails.d.mts +0 -9
  660. package/dist/esm/api/types/TransportTypeEnum.d.mts +0 -11
  661. package/dist/esm/api/types/TransportTypeEnum.mjs +0 -10
  662. package/dist/esm/api/types/UpdateTaskGroupRes.d.mts +0 -6
  663. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.ts +0 -0
  664. /package/dist/cjs/api/resources/connections/resources/{connectionToCourier/client/requests → connectionToForwarder/client}/index.js +0 -0
  665. /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.ts +0 -0
  666. /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.js +0 -0
  667. /package/dist/cjs/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.ts +0 -0
  668. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests → connections/resources/connectionToShipper/client}/index.js +0 -0
  669. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.ts +0 -0
  670. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.js +0 -0
  671. /package/dist/cjs/api/resources/{taskGroups/resources/full → courierPayDriverStatements}/client/index.d.ts +0 -0
  672. /package/dist/cjs/api/resources/{milestoneNotifications/client/requests → courierPayDriverStatements/client}/index.js +0 -0
  673. /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.ts +0 -0
  674. /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.js +0 -0
  675. /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.ts +0 -0
  676. /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.js +0 -0
  677. /package/dist/cjs/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js} +0 -0
  678. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js} +0 -0
  679. /package/dist/cjs/api/resources/{milestones → offChrtShipperOrg}/client/requests/index.js +0 -0
  680. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.ts +0 -0
  681. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.js +0 -0
  682. /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/client/index.d.ts +0 -0
  683. /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/client/index.js +0 -0
  684. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js → orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.js} +0 -0
  685. /package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.js → orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.js} +0 -0
  686. /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.js → orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.js} +0 -0
  687. /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneUpdateReq.js → orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.js} +0 -0
  688. /package/dist/cjs/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js → orders/resources/draft/client/requests/OrderDraftCreateCargoReq.js} +0 -0
  689. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js → orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.js} +0 -0
  690. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js → orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.js} +0 -0
  691. /package/dist/cjs/api/resources/orders/{client/requests/CreateOrderReq.js → resources/draft/client/requests/OrdersDraftUpdateReq.js} +0 -0
  692. /package/dist/cjs/api/resources/orders/{client/requests/OrdersExpandedReq.js → resources/draft/client/requests/OrdersNewDraftReq.js} +0 -0
  693. /package/dist/cjs/api/resources/{milestones/resources/blurhash/client → orders/resources/draft/client/requests}/index.js +0 -0
  694. /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/index.d.ts +0 -0
  695. /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/index.js +0 -0
  696. /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.d.ts +0 -0
  697. /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.js +0 -0
  698. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.js} +0 -0
  699. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.js} +0 -0
  700. /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/requests/index.js +0 -0
  701. /package/dist/cjs/api/resources/orders/resources/{full → draft/resources/expanded}/index.d.ts +0 -0
  702. /package/dist/cjs/api/resources/orders/resources/{full → draft/resources/expanded}/index.js +0 -0
  703. /package/dist/{esm/api/resources/connections/resources/connectionToCourier/client/requests/index.mjs → cjs/api/resources/orders/resources/expanded/client/index.d.ts} +0 -0
  704. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests → orders/resources/expanded/client}/index.js +0 -0
  705. /package/dist/cjs/api/resources/{taskGroups/resources/full → orders/resources/expanded}/index.d.ts +0 -0
  706. /package/dist/cjs/api/resources/{taskGroups/resources/full → orders/resources/expanded}/index.js +0 -0
  707. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.d.ts +0 -0
  708. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.js +0 -0
  709. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.js → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.js} +0 -0
  710. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.js} +0 -0
  711. /package/dist/cjs/api/resources/orders/{client → resources/expandedList/client}/requests/index.js +0 -0
  712. /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js} +0 -0
  713. /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js} +0 -0
  714. /package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js} +0 -0
  715. /package/dist/cjs/api/resources/{taskGroups/client/requests/TaskGroupExpandedForCourierAdministratorReq.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js} +0 -0
  716. /package/dist/cjs/api/resources/{taskGroups/client/requests/TaskGroupExpandedForCourierDriverReq.js → orgProfiles/client/requests/CourierOrgProfileClientCreate1.js} +0 -0
  717. /package/dist/cjs/api/{types/CourierOrgConnectionInfo1.js → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js} +0 -0
  718. /package/dist/cjs/api/{types/CourierOrgProfile3.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js} +0 -0
  719. /package/dist/cjs/api/{types/CourierPayDriverPayout1.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js} +0 -0
  720. /package/dist/cjs/api/{types/CreateOrderRes.js → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.js} +0 -0
  721. /package/dist/cjs/api/{types/Expense1.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.js} +0 -0
  722. /package/dist/cjs/api/{types/GetOrderFullRes.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.js} +0 -0
  723. /package/dist/cjs/api/resources/{orders/resources/full/client → shipperPayCourierStatements/client/requests}/index.js +0 -0
  724. /package/dist/cjs/api/{types/GetOrderRes.js → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.js} +0 -0
  725. /package/dist/cjs/api/resources/{taskGroups/resources/full/client → taskArtifactNotifications/client/requests}/index.js +0 -0
  726. /package/dist/cjs/api/{types/Milestone1.js → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.js} +0 -0
  727. /package/dist/cjs/api/{types/MilestoneClientCreate1.js → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.js} +0 -0
  728. /package/dist/{esm/api/resources/courierPayDriverPayouts/client/requests/index.mjs → cjs/api/resources/taskArtifacts/resources/blurhash/client/index.d.ts} +0 -0
  729. /package/dist/cjs/api/{types/MilestoneNotificationPreferences1.js → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.js} +0 -0
  730. /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.d.ts +0 -0
  731. /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.js +0 -0
  732. /package/dist/cjs/api/{types/MultipleTaskGroupsDetailsResponse.js → resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.js} +0 -0
  733. /package/dist/cjs/api/{types/MultipleTaskGroupsWithTasks.js → resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.js} +0 -0
  734. /package/dist/cjs/api/{types/OffChrtShipperOrgInfo1.js → resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.js} +0 -0
  735. /package/dist/cjs/api/types/{OrderClientCreate1.js → CargoClientUpdate1.js} +0 -0
  736. /package/dist/cjs/api/types/{OrderExpanded.js → CourierConnectionRes.js} +0 -0
  737. /package/dist/cjs/api/types/{OrdersExpandedRes.js → CourierOrgInfoForConnections1.js} +0 -0
  738. /package/dist/cjs/api/types/{OrgPublicData2.js → CourierOrgProfile1.js} +0 -0
  739. /package/dist/cjs/api/types/{ShipperContactInfo1.js → CourierPayDriverStatement1.js} +0 -0
  740. /package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.js → CourierPayDriverStatementClientCreate1.js} +0 -0
  741. /package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.js → CourierPayDriverStatementClientUpdate1.js} +0 -0
  742. /package/dist/cjs/api/types/{ShipperPayCourierPayment1.js → CreateConnectionReq.js} +0 -0
  743. /package/dist/cjs/api/types/{StripeConnectAccountEvent.js → CreateShipperPayCourierStatementReq.js} +0 -0
  744. /package/dist/cjs/api/types/{TaskCreateBundle.js → ForwarderConnectionRes.js} +0 -0
  745. /package/dist/cjs/api/types/{TaskGroupDetailsResponse.js → ForwarderOrgInfoForConnections1.js} +0 -0
  746. /package/dist/cjs/api/types/{TaskGroupExpanded.js → ForwarderOrgProfile1.js} +0 -0
  747. /package/dist/cjs/api/types/{TaskGroupWithDetails.js → GetShipperPayCourierStatementsForShipperRes.js} +0 -0
  748. /package/dist/cjs/api/types/{TaskGroupWithTasks.js → OffChrtShipperOrg1.js} +0 -0
  749. /package/dist/cjs/api/types/{TaskWithDetails.js → OrderDraftExpandedListRes.js} +0 -0
  750. /package/dist/cjs/api/types/{UpdateTaskGroupRes.js → OrderDraftExpandedRes.js} +0 -0
  751. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.mts +0 -0
  752. /package/dist/esm/api/resources/{milestoneNotifications/client/requests → connections/resources/connectionToForwarder/client}/index.mjs +0 -0
  753. /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.mts +0 -0
  754. /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.mjs +0 -0
  755. /package/dist/esm/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.mts +0 -0
  756. /package/dist/esm/api/resources/{milestones/client/requests → connections/resources/connectionToShipper/client}/index.mjs +0 -0
  757. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.mts +0 -0
  758. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.mjs +0 -0
  759. /package/dist/esm/api/resources/{taskGroups/resources/full → courierPayDriverStatements}/client/index.d.mts +0 -0
  760. /package/dist/esm/api/resources/{milestones/resources/blurhash → courierPayDriverStatements}/client/index.mjs +0 -0
  761. /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.mts +0 -0
  762. /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.mjs +0 -0
  763. /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.mts +0 -0
  764. /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.mjs +0 -0
  765. /package/dist/esm/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs} +0 -0
  766. /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs} +0 -0
  767. /package/dist/esm/api/resources/{milestones/resources/images → offChrtShipperOrg}/client/requests/index.mjs +0 -0
  768. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.mts +0 -0
  769. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.mjs +0 -0
  770. /package/dist/esm/api/resources/{milestones → orders/resources/draft}/client/index.d.mts +0 -0
  771. /package/dist/esm/api/resources/{milestones → orders/resources/draft}/client/index.mjs +0 -0
  772. /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.mjs} +0 -0
  773. /package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.mjs} +0 -0
  774. /package/dist/esm/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.mjs} +0 -0
  775. /package/dist/esm/api/resources/{milestones/client/requests/MilestoneUpdateReq.mjs → orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs} +0 -0
  776. /package/dist/esm/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs → orders/resources/draft/client/requests/OrderDraftCreateCargoReq.mjs} +0 -0
  777. /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs → orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.mjs} +0 -0
  778. /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs → orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.mjs} +0 -0
  779. /package/dist/esm/api/resources/orders/{client/requests/CreateOrderReq.mjs → resources/draft/client/requests/OrdersDraftUpdateReq.mjs} +0 -0
  780. /package/dist/esm/api/resources/orders/{client/requests/OrdersExpandedReq.mjs → resources/draft/client/requests/OrdersNewDraftReq.mjs} +0 -0
  781. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orders/resources/draft}/client/requests/index.mjs +0 -0
  782. /package/dist/esm/api/resources/{milestones → orders/resources/draft}/index.d.mts +0 -0
  783. /package/dist/esm/api/resources/{milestones → orders/resources/draft}/index.mjs +0 -0
  784. /package/dist/esm/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.d.mts +0 -0
  785. /package/dist/esm/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.mjs +0 -0
  786. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.mjs} +0 -0
  787. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.mjs} +0 -0
  788. /package/dist/esm/api/resources/orders/{client → resources/draft/resources/expanded/client}/requests/index.mjs +0 -0
  789. /package/dist/esm/api/resources/orders/resources/{full → draft/resources/expanded}/index.d.mts +0 -0
  790. /package/dist/esm/api/resources/orders/resources/{full → draft/resources/expanded}/index.mjs +0 -0
  791. /package/dist/esm/api/resources/orders/resources/{full/client/index.mjs → expanded/client/index.d.mts} +0 -0
  792. /package/dist/esm/api/resources/{taskGroups/resources/full → orders/resources/expanded}/client/index.mjs +0 -0
  793. /package/dist/esm/api/resources/{taskGroups/resources/full → orders/resources/expanded}/index.d.mts +0 -0
  794. /package/dist/esm/api/resources/{taskGroups/resources/full → orders/resources/expanded}/index.mjs +0 -0
  795. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.d.mts +0 -0
  796. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.mjs +0 -0
  797. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.mjs} +0 -0
  798. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.mjs} +0 -0
  799. /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  800. /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
  801. /package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  802. /package/dist/esm/api/resources/{taskGroups/client/requests/TaskGroupExpandedForCourierAdministratorReq.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
  803. /package/dist/esm/api/resources/{taskGroups/client/requests/TaskGroupExpandedForCourierDriverReq.mjs → orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs} +0 -0
  804. /package/dist/esm/api/{types/CourierOrgConnectionInfo1.mjs → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs} +0 -0
  805. /package/dist/esm/api/{types/CourierOrgProfile3.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs} +0 -0
  806. /package/dist/esm/api/{types/CourierPayDriverPayout1.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs} +0 -0
  807. /package/dist/esm/api/{types/CreateOrderRes.mjs → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.mjs} +0 -0
  808. /package/dist/esm/api/{types/Expense1.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.mjs} +0 -0
  809. /package/dist/esm/api/{types/GetOrderFullRes.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.mjs} +0 -0
  810. /package/dist/esm/api/{types/GetOrderRes.mjs → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.mjs} +0 -0
  811. /package/dist/esm/api/{types/Milestone1.mjs → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.mjs} +0 -0
  812. /package/dist/esm/api/{types/MilestoneClientCreate1.mjs → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.mjs} +0 -0
  813. /package/dist/esm/api/{types/MilestoneNotificationPreferences1.mjs → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.mjs} +0 -0
  814. /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.d.mts +0 -0
  815. /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.mjs +0 -0
  816. /package/dist/esm/api/{types/MultipleTaskGroupsDetailsResponse.mjs → resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.mjs} +0 -0
  817. /package/dist/esm/api/{types/MultipleTaskGroupsWithTasks.mjs → resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.mjs} +0 -0
  818. /package/dist/esm/api/{types/OffChrtShipperOrgInfo1.mjs → resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.mjs} +0 -0
  819. /package/dist/esm/api/types/{OrderClientCreate1.mjs → CargoClientUpdate1.mjs} +0 -0
  820. /package/dist/esm/api/types/{OrderExpanded.mjs → CourierConnectionRes.mjs} +0 -0
  821. /package/dist/esm/api/types/{OrdersExpandedRes.mjs → CourierOrgInfoForConnections1.mjs} +0 -0
  822. /package/dist/esm/api/types/{OrgPublicData2.mjs → CourierOrgProfile1.mjs} +0 -0
  823. /package/dist/esm/api/types/{ShipperContactInfo1.mjs → CourierPayDriverStatement1.mjs} +0 -0
  824. /package/dist/esm/api/types/{ShipperContactInfoClientCreate1.mjs → CourierPayDriverStatementClientCreate1.mjs} +0 -0
  825. /package/dist/esm/api/types/{ShipperOrgConnectionInfo1.mjs → CourierPayDriverStatementClientUpdate1.mjs} +0 -0
  826. /package/dist/esm/api/types/{ShipperPayCourierPayment1.mjs → CreateConnectionReq.mjs} +0 -0
  827. /package/dist/esm/api/types/{StripeConnectAccountEvent.mjs → CreateShipperPayCourierStatementReq.mjs} +0 -0
  828. /package/dist/esm/api/types/{TaskCreateBundle.mjs → ForwarderConnectionRes.mjs} +0 -0
  829. /package/dist/esm/api/types/{TaskGroupDetailsResponse.mjs → ForwarderOrgInfoForConnections1.mjs} +0 -0
  830. /package/dist/esm/api/types/{TaskGroupExpanded.mjs → ForwarderOrgProfile1.mjs} +0 -0
  831. /package/dist/esm/api/types/{TaskGroupWithDetails.mjs → GetShipperPayCourierStatementsForShipperRes.mjs} +0 -0
  832. /package/dist/esm/api/types/{TaskGroupWithTasks.mjs → OffChrtShipperOrg1.mjs} +0 -0
  833. /package/dist/esm/api/types/{TaskWithDetails.mjs → OrderDraftExpandedListRes.mjs} +0 -0
  834. /package/dist/esm/api/types/{UpdateTaskGroupRes.mjs → OrderDraftExpandedRes.mjs} +0 -0
@@ -15,94 +15,45 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
- import { Full } from "../resources/full/client/Client.mjs";
18
+ import { Expanded } from "../resources/expanded/client/Client.mjs";
19
+ import { ExpandedList } from "../resources/expandedList/client/Client.mjs";
20
+ import { Draft } from "../resources/draft/client/Client.mjs";
19
21
  export class Orders {
20
22
  constructor(_options = {}) {
21
23
  this._options = _options;
22
24
  }
23
- get full() {
25
+ get expanded() {
24
26
  var _a;
25
- return ((_a = this._full) !== null && _a !== void 0 ? _a : (this._full = new Full(this._options)));
27
+ return ((_a = this._expanded) !== null && _a !== void 0 ? _a : (this._expanded = new Expanded(this._options)));
26
28
  }
27
- /**
28
- * Retrieves an order by its full ID or short ID.
29
- *
30
- * @param {string} orderIdOrShortId
31
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
32
- *
33
- * @throws {@link Chrt.UnprocessableEntityError}
34
- *
35
- * @example
36
- * await client.orders.getByOrderIdOrShortIdV1("order_id_or_short_id")
37
- */
38
- getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
39
- return core.HttpResponsePromise.fromPromise(this.__getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions));
29
+ get expandedList() {
30
+ var _a;
31
+ return ((_a = this._expandedList) !== null && _a !== void 0 ? _a : (this._expandedList = new ExpandedList(this._options)));
40
32
  }
41
- __getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- var _a, _b, _c, _d;
44
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
45
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
46
- 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, `oort/orders/v1/${encodeURIComponent(orderIdOrShortId)}`),
47
- method: "GET",
48
- headers: _headers,
49
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
50
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
51
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
52
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
53
- });
54
- if (_response.ok) {
55
- return { data: _response.body, rawResponse: _response.rawResponse };
56
- }
57
- if (_response.error.reason === "status-code") {
58
- switch (_response.error.statusCode) {
59
- case 422:
60
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
61
- default:
62
- throw new errors.ChrtError({
63
- statusCode: _response.error.statusCode,
64
- body: _response.error.body,
65
- rawResponse: _response.rawResponse,
66
- });
67
- }
68
- }
69
- switch (_response.error.reason) {
70
- case "non-json":
71
- throw new errors.ChrtError({
72
- statusCode: _response.error.statusCode,
73
- body: _response.error.rawBody,
74
- rawResponse: _response.rawResponse,
75
- });
76
- case "timeout":
77
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/v1/{order_id_or_short_id}.");
78
- case "unknown":
79
- throw new errors.ChrtError({
80
- message: _response.error.errorMessage,
81
- rawResponse: _response.rawResponse,
82
- });
83
- }
84
- });
33
+ get draft() {
34
+ var _a;
35
+ return ((_a = this._draft) !== null && _a !== void 0 ? _a : (this._draft = new Draft(this._options)));
85
36
  }
86
37
  /**
87
- * Cancels an order and all associated task groups and line item groups.
38
+ * Validates a draft order and stages all related entities in a transaction.
88
39
  *
89
- * @param {string} orderIdOrShortId
40
+ * @param {string} orderId
90
41
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
91
42
  *
92
43
  * @throws {@link Chrt.UnprocessableEntityError}
93
44
  *
94
45
  * @example
95
- * await client.orders.cancelByOrderIdOrShortIdV1("order_id_or_short_id")
46
+ * await client.orders.stageV1("order_id")
96
47
  */
97
- cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
98
- return core.HttpResponsePromise.fromPromise(this.__cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions));
48
+ stageV1(orderId, requestOptions) {
49
+ return core.HttpResponsePromise.fromPromise(this.__stageV1(orderId, requestOptions));
99
50
  }
100
- __cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
51
+ __stageV1(orderId, requestOptions) {
101
52
  return __awaiter(this, void 0, void 0, function* () {
102
53
  var _a, _b, _c, _d;
103
54
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
104
55
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
105
- 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, `oort/orders/cancel/v1/${encodeURIComponent(orderIdOrShortId)}`),
56
+ 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, `oort/orders/stage/v1/${encodeURIComponent(orderId)}`),
106
57
  method: "PATCH",
107
58
  headers: _headers,
108
59
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -133,253 +84,7 @@ export class Orders {
133
84
  rawResponse: _response.rawResponse,
134
85
  });
135
86
  case "timeout":
136
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/orders/cancel/v1/{order_id_or_short_id}.");
137
- case "unknown":
138
- throw new errors.ChrtError({
139
- message: _response.error.errorMessage,
140
- rawResponse: _response.rawResponse,
141
- });
142
- }
143
- });
144
- }
145
- /**
146
- * Creates a comprehensive order with task groups, tasks, milestones, and cargo.
147
- *
148
- * @param {Chrt.CreateOrderReq} request
149
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
150
- *
151
- * @throws {@link Chrt.UnprocessableEntityError}
152
- *
153
- * @example
154
- * await client.orders.createV1({
155
- * order_client_create: {
156
- * schema_version: 1
157
- * },
158
- * task_client_creates_bundle_groupings: [[{
159
- * task_client_create: {
160
- * schema_version: 1
161
- * }
162
- * }]],
163
- * cargo_client_creates_map: {
164
- * "key": {
165
- * schema_version: 1,
166
- * cargo_type: "spare_parts"
167
- * }
168
- * },
169
- * order_created_by_type: "chrt",
170
- * order_dispatch_type: "dtc",
171
- * transport_type: "ground_only"
172
- * })
173
- */
174
- createV1(request, requestOptions) {
175
- return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
176
- }
177
- __createV1(request, requestOptions) {
178
- return __awaiter(this, void 0, void 0, function* () {
179
- var _a, _b, _c, _d;
180
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
181
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
182
- 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, "oort/orders/create/v1"),
183
- method: "POST",
184
- headers: _headers,
185
- contentType: "application/json",
186
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
187
- requestType: "json",
188
- body: request,
189
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
190
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
191
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
192
- });
193
- if (_response.ok) {
194
- return { data: _response.body, rawResponse: _response.rawResponse };
195
- }
196
- if (_response.error.reason === "status-code") {
197
- switch (_response.error.statusCode) {
198
- case 422:
199
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
200
- default:
201
- throw new errors.ChrtError({
202
- statusCode: _response.error.statusCode,
203
- body: _response.error.body,
204
- rawResponse: _response.rawResponse,
205
- });
206
- }
207
- }
208
- switch (_response.error.reason) {
209
- case "non-json":
210
- throw new errors.ChrtError({
211
- statusCode: _response.error.statusCode,
212
- body: _response.error.rawBody,
213
- rawResponse: _response.rawResponse,
214
- });
215
- case "timeout":
216
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/orders/create/v1.");
217
- case "unknown":
218
- throw new errors.ChrtError({
219
- message: _response.error.errorMessage,
220
- rawResponse: _response.rawResponse,
221
- });
222
- }
223
- });
224
- }
225
- /**
226
- * Fetches an order with optional expanded data for task groups, tasks, milestones, and cargos.
227
- *
228
- * @param {Chrt.OrdersExpandedReq} request
229
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
230
- *
231
- * @throws {@link Chrt.UnprocessableEntityError}
232
- *
233
- * @example
234
- * await client.orders.postExpandedV1({
235
- * order_id_or_short_id: "order_id_or_short_id"
236
- * })
237
- */
238
- postExpandedV1(request, requestOptions) {
239
- return core.HttpResponsePromise.fromPromise(this.__postExpandedV1(request, requestOptions));
240
- }
241
- __postExpandedV1(request, requestOptions) {
242
- return __awaiter(this, void 0, void 0, function* () {
243
- var _a, _b, _c, _d;
244
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
245
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
246
- 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, "oort/orders/expanded/v1"),
247
- method: "POST",
248
- headers: _headers,
249
- contentType: "application/json",
250
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
251
- requestType: "json",
252
- body: request,
253
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
254
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
255
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
256
- });
257
- if (_response.ok) {
258
- return { data: _response.body, rawResponse: _response.rawResponse };
259
- }
260
- if (_response.error.reason === "status-code") {
261
- switch (_response.error.statusCode) {
262
- case 422:
263
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
264
- default:
265
- throw new errors.ChrtError({
266
- statusCode: _response.error.statusCode,
267
- body: _response.error.body,
268
- rawResponse: _response.rawResponse,
269
- });
270
- }
271
- }
272
- switch (_response.error.reason) {
273
- case "non-json":
274
- throw new errors.ChrtError({
275
- statusCode: _response.error.statusCode,
276
- body: _response.error.rawBody,
277
- rawResponse: _response.rawResponse,
278
- });
279
- case "timeout":
280
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/orders/expanded/v1.");
281
- case "unknown":
282
- throw new errors.ChrtError({
283
- message: _response.error.errorMessage,
284
- rawResponse: _response.rawResponse,
285
- });
286
- }
287
- });
288
- }
289
- /**
290
- * Lists all orders for the authenticated shipper organization.
291
- *
292
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
293
- *
294
- * @example
295
- * await client.orders.listByShipperOrgIdV1()
296
- */
297
- listByShipperOrgIdV1(requestOptions) {
298
- return core.HttpResponsePromise.fromPromise(this.__listByShipperOrgIdV1(requestOptions));
299
- }
300
- __listByShipperOrgIdV1(requestOptions) {
301
- return __awaiter(this, void 0, void 0, function* () {
302
- var _a, _b, _c, _d;
303
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
304
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
305
- 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, "oort/orders/list/by_shipper_org_id/v1"),
306
- method: "GET",
307
- headers: _headers,
308
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
309
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
310
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
311
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
312
- });
313
- if (_response.ok) {
314
- return { data: _response.body, rawResponse: _response.rawResponse };
315
- }
316
- if (_response.error.reason === "status-code") {
317
- throw new errors.ChrtError({
318
- statusCode: _response.error.statusCode,
319
- body: _response.error.body,
320
- rawResponse: _response.rawResponse,
321
- });
322
- }
323
- switch (_response.error.reason) {
324
- case "non-json":
325
- throw new errors.ChrtError({
326
- statusCode: _response.error.statusCode,
327
- body: _response.error.rawBody,
328
- rawResponse: _response.rawResponse,
329
- });
330
- case "timeout":
331
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_shipper_org_id/v1.");
332
- case "unknown":
333
- throw new errors.ChrtError({
334
- message: _response.error.errorMessage,
335
- rawResponse: _response.rawResponse,
336
- });
337
- }
338
- });
339
- }
340
- /**
341
- * Lists all orders assigned to the authenticated courier organization.
342
- *
343
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
344
- *
345
- * @example
346
- * await client.orders.listByCourierOrgIdV1()
347
- */
348
- listByCourierOrgIdV1(requestOptions) {
349
- return core.HttpResponsePromise.fromPromise(this.__listByCourierOrgIdV1(requestOptions));
350
- }
351
- __listByCourierOrgIdV1(requestOptions) {
352
- return __awaiter(this, void 0, void 0, function* () {
353
- var _a, _b, _c, _d;
354
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
355
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
356
- 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, "oort/orders/list/by_courier_org_id/v1"),
357
- method: "GET",
358
- headers: _headers,
359
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
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
- throw new errors.ChrtError({
369
- statusCode: _response.error.statusCode,
370
- body: _response.error.body,
371
- rawResponse: _response.rawResponse,
372
- });
373
- }
374
- switch (_response.error.reason) {
375
- case "non-json":
376
- throw new errors.ChrtError({
377
- statusCode: _response.error.statusCode,
378
- body: _response.error.rawBody,
379
- rawResponse: _response.rawResponse,
380
- });
381
- case "timeout":
382
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_courier_org_id/v1.");
87
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/orders/stage/v1/{order_id}.");
383
88
  case "unknown":
384
89
  throw new errors.ChrtError({
385
90
  message: _response.error.errorMessage,
@@ -1,2 +1 @@
1
1
  export {};
2
- export * from "./requests/index.mjs";
@@ -1 +1 @@
1
- export * from "./requests/index.mjs";
1
+ export {};
@@ -0,0 +1,261 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ import { Expanded } from "../resources/expanded/client/Client.mjs";
8
+ export declare namespace Draft {
9
+ interface Options {
10
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
11
+ /** Specify a custom URL to connect the client to. */
12
+ baseUrl?: core.Supplier<string>;
13
+ token?: core.Supplier<core.BearerToken | undefined>;
14
+ /** Additional headers to include in requests. */
15
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
16
+ fetcher?: core.FetchFunction;
17
+ }
18
+ interface RequestOptions {
19
+ /** The maximum time to wait for a response in seconds. */
20
+ timeoutInSeconds?: number;
21
+ /** The number of times to retry the request. Defaults to 2. */
22
+ maxRetries?: number;
23
+ /** A hook to abort the request. */
24
+ abortSignal?: AbortSignal;
25
+ /** Additional query string parameters to include in the request. */
26
+ queryParams?: Record<string, unknown>;
27
+ /** Additional headers to include in the request. */
28
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
29
+ }
30
+ }
31
+ export declare class Draft {
32
+ protected readonly _options: Draft.Options;
33
+ protected _expanded: Expanded | undefined;
34
+ constructor(_options?: Draft.Options);
35
+ get expanded(): Expanded;
36
+ /**
37
+ * Creates a new draft order with org assignments based on caller's organization type.
38
+ *
39
+ * @param {Chrt.orders.OrdersNewDraftReq} request
40
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link Chrt.UnprocessableEntityError}
43
+ *
44
+ * @example
45
+ * await client.orders.draft.newV1()
46
+ */
47
+ newV1(request?: Chrt.orders.OrdersNewDraftReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<Chrt.OrdersNewDraftRes>;
48
+ private __newV1;
49
+ /**
50
+ * Updates forwarder and/or shipper org assignments for a draft order
51
+ *
52
+ * @param {Chrt.orders.OrdersDraftUpdateReq} request
53
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @throws {@link Chrt.UnprocessableEntityError}
56
+ *
57
+ * @example
58
+ * await client.orders.draft.updateV1({
59
+ * order_id: "order_id"
60
+ * })
61
+ */
62
+ updateV1(request: Chrt.orders.OrdersDraftUpdateReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<Chrt.OrdersDraftUpdateRes>;
63
+ private __updateV1;
64
+ /**
65
+ * Deletes a draft order and all associated entities
66
+ *
67
+ * @param {string} orderId
68
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
69
+ *
70
+ * @throws {@link Chrt.UnprocessableEntityError}
71
+ *
72
+ * @example
73
+ * await client.orders.draft.deleteV1("order_id")
74
+ */
75
+ deleteV1(orderId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
76
+ private __deleteV1;
77
+ /**
78
+ * Adds a task group to an existing draft order. Validates order is in DRAFT status and owned by caller.
79
+ *
80
+ * @param {Chrt.orders.OrderDraftAddTaskGroupReq} request
81
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
82
+ *
83
+ * @throws {@link Chrt.UnprocessableEntityError}
84
+ *
85
+ * @example
86
+ * await client.orders.draft.addTaskGroupV1({
87
+ * task_group_type: "chrt_ground_courier",
88
+ * order_id: "order_id"
89
+ * })
90
+ */
91
+ addTaskGroupV1(request: Chrt.orders.OrderDraftAddTaskGroupReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
92
+ private __addTaskGroupV1;
93
+ /**
94
+ * Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order.
95
+ *
96
+ * @param {string} taskGroupId
97
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
98
+ *
99
+ * @throws {@link Chrt.UnprocessableEntityError}
100
+ *
101
+ * @example
102
+ * await client.orders.draft.deleteTaskGroupV1("task_group_id")
103
+ */
104
+ deleteTaskGroupV1(taskGroupId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
105
+ private __deleteTaskGroupV1;
106
+ /**
107
+ * Adds a task to an existing task group in a draft order. Validates order is in DRAFT status and task action type matches task group type.
108
+ *
109
+ * @param {Chrt.orders.OrderDraftAddTaskReqV1} request
110
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
111
+ *
112
+ * @throws {@link Chrt.UnprocessableEntityError}
113
+ *
114
+ * @example
115
+ * await client.orders.draft.addTaskV1({
116
+ * task_group_id: "task_group_id",
117
+ * task: {
118
+ * schema_version: 1
119
+ * }
120
+ * })
121
+ */
122
+ addTaskV1(request: Chrt.orders.OrderDraftAddTaskReqV1, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
123
+ private __addTaskV1;
124
+ /**
125
+ * Updates a task in an existing draft order
126
+ *
127
+ * @param {Chrt.orders.OrderDraftUpdateTaskReq} request
128
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
129
+ *
130
+ * @throws {@link Chrt.UnprocessableEntityError}
131
+ *
132
+ * @example
133
+ * await client.orders.draft.updateTaskV1({
134
+ * task_id: "task_id",
135
+ * task_update: {}
136
+ * })
137
+ */
138
+ updateTaskV1(request: Chrt.orders.OrderDraftUpdateTaskReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
139
+ private __updateTaskV1;
140
+ /**
141
+ * Deletes a task from a draft order, including all task artifacts. Cargo is preserved. Task is removed from task group.
142
+ *
143
+ * @param {string} taskId
144
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
145
+ *
146
+ * @throws {@link Chrt.UnprocessableEntityError}
147
+ *
148
+ * @example
149
+ * await client.orders.draft.deleteTaskV1("task_id")
150
+ */
151
+ deleteTaskV1(taskId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
152
+ private __deleteTaskV1;
153
+ /**
154
+ * Adds a task artifact to an existing task in a draft order.
155
+ *
156
+ * @param {Chrt.orders.OrderDraftAddTaskArtifactReq} request
157
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
158
+ *
159
+ * @throws {@link Chrt.UnprocessableEntityError}
160
+ *
161
+ * @example
162
+ * await client.orders.draft.addTaskArtifactV1({
163
+ * task_id: "task_id",
164
+ * task_artifact_type: "image"
165
+ * })
166
+ */
167
+ addTaskArtifactV1(request: Chrt.orders.OrderDraftAddTaskArtifactReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
168
+ private __addTaskArtifactV1;
169
+ /**
170
+ * Deletes a task artifact from a draft order and removes it from the associated task.
171
+ *
172
+ * @param {string} taskArtifactId
173
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
174
+ *
175
+ * @throws {@link Chrt.UnprocessableEntityError}
176
+ *
177
+ * @example
178
+ * await client.orders.draft.deleteTaskArtifactV1("task_artifact_id")
179
+ */
180
+ deleteTaskArtifactV1(taskArtifactId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
181
+ private __deleteTaskArtifactV1;
182
+ /**
183
+ * Creates a cargo item in an existing draft order. Validates order is in DRAFT status and owned by caller.
184
+ *
185
+ * @param {Chrt.orders.OrderDraftCreateCargoReq} request
186
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
187
+ *
188
+ * @throws {@link Chrt.UnprocessableEntityError}
189
+ *
190
+ * @example
191
+ * await client.orders.draft.createCargoV1({
192
+ * order_id: "order_id",
193
+ * cargo: {
194
+ * schema_version: 1,
195
+ * cargo_type: "spare_parts"
196
+ * }
197
+ * })
198
+ */
199
+ createCargoV1(request: Chrt.orders.OrderDraftCreateCargoReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
200
+ private __createCargoV1;
201
+ /**
202
+ * Associates existing cargo with a task in a draft order.
203
+ *
204
+ * @param {Chrt.orders.OrderDraftAssociateCargoWithTaskReq} request
205
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
206
+ *
207
+ * @throws {@link Chrt.UnprocessableEntityError}
208
+ *
209
+ * @example
210
+ * await client.orders.draft.associateCargoWithTaskV1({
211
+ * order_id: "order_id",
212
+ * task_id: "task_id",
213
+ * cargo_id: "cargo_id"
214
+ * })
215
+ */
216
+ associateCargoWithTaskV1(request: Chrt.orders.OrderDraftAssociateCargoWithTaskReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
217
+ private __associateCargoWithTaskV1;
218
+ /**
219
+ * Updates a cargo item in an existing draft order. Validates order is in DRAFT status and owned by caller.
220
+ *
221
+ * @param {Chrt.orders.OrderDraftUpdateCargoReq} request
222
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
223
+ *
224
+ * @throws {@link Chrt.UnprocessableEntityError}
225
+ *
226
+ * @example
227
+ * await client.orders.draft.updateCargoV1({
228
+ * cargo_id: "cargo_id",
229
+ * cargo_update: {}
230
+ * })
231
+ */
232
+ updateCargoV1(request: Chrt.orders.OrderDraftUpdateCargoReq, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<string>;
233
+ private __updateCargoV1;
234
+ /**
235
+ * Deletes a cargo item from a draft order and removes references from associated tasks
236
+ *
237
+ * @param {string} cargoId
238
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
239
+ *
240
+ * @throws {@link Chrt.UnprocessableEntityError}
241
+ *
242
+ * @example
243
+ * await client.orders.draft.deleteCargoV1("cargo_id")
244
+ */
245
+ deleteCargoV1(cargoId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
246
+ private __deleteCargoV1;
247
+ /**
248
+ * Checks whether the draft order satisfies all requirements to move into staging.
249
+ *
250
+ * @param {string} orderId
251
+ * @param {Draft.RequestOptions} requestOptions - Request-specific configuration.
252
+ *
253
+ * @throws {@link Chrt.UnprocessableEntityError}
254
+ *
255
+ * @example
256
+ * await client.orders.draft.getDraftValidateV1("order_id")
257
+ */
258
+ getDraftValidateV1(orderId: string, requestOptions?: Draft.RequestOptions): core.HttpResponsePromise<boolean>;
259
+ private __getDraftValidateV1;
260
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
261
+ }