@chrt-inc/typescript-sdk 1.299.0 → 1.303.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 (845) hide show
  1. package/README.md +69 -34
  2. package/dist/cjs/Client.d.ts +42 -33
  3. package/dist/cjs/Client.js +80 -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/connections/resources/connectionToForwarder/client/Client.d.ts +49 -0
  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 +24 -21
  23. package/dist/cjs/api/resources/index.js +25 -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/orderDrafts/client/Client.d.ts +100 -0
  30. package/dist/cjs/api/resources/orderDrafts/client/Client.js +332 -0
  31. package/dist/cjs/api/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +17 -0
  32. package/dist/cjs/api/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +14 -0
  33. package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.d.ts +99 -0
  35. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.js +326 -0
  36. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +18 -0
  37. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +16 -0
  38. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +15 -0
  39. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/index.d.ts +3 -0
  40. package/dist/cjs/api/resources/orderDrafts/resources/index.d.ts +8 -0
  41. package/dist/cjs/api/resources/orderDrafts/resources/index.js +47 -0
  42. package/dist/cjs/api/resources/orderDrafts/resources/task/client/Client.d.ts +81 -0
  43. package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/task}/client/Client.js +71 -41
  44. package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +18 -0
  45. package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +15 -0
  46. package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/orderDrafts/resources/task/index.d.ts +1 -0
  48. package/dist/cjs/api/resources/orderDrafts/resources/task/index.js +17 -0
  49. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +63 -0
  50. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.js +192 -0
  51. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/index.d.ts +2 -0
  52. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/index.js +17 -0
  53. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +15 -0
  54. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/index.js +17 -0
  57. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +63 -0
  58. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.js +192 -0
  59. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/index.js +17 -0
  61. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +17 -0
  62. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +1 -0
  63. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/index.d.ts +1 -0
  64. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/index.js +17 -0
  65. package/dist/cjs/api/resources/orders/client/Client.d.ts +14 -88
  66. package/dist/cjs/api/resources/orders/client/Client.js +19 -314
  67. package/dist/cjs/api/resources/orders/client/index.d.ts +0 -1
  68. package/dist/cjs/api/resources/orders/client/index.js +0 -15
  69. package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +23 -0
  70. package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +17 -0
  71. package/dist/cjs/api/resources/orders/resources/draft/client/index.js +2 -0
  72. package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/orders/resources/draft/index.js +18 -0
  74. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +61 -0
  75. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +193 -0
  76. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +17 -0
  78. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.ts +21 -0
  79. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.ts +21 -0
  80. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +2 -0
  81. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.js +2 -0
  82. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +1 -0
  83. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +17 -0
  84. package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +2 -0
  85. package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +41 -0
  86. package/dist/cjs/api/resources/orders/resources/{full → expanded}/client/Client.d.ts +18 -23
  87. package/dist/cjs/api/resources/{milestones → orders/resources/expanded}/client/Client.js +28 -41
  88. package/dist/cjs/api/resources/orders/resources/expanded/client/index.js +2 -0
  89. package/dist/cjs/api/resources/orders/resources/expanded/index.d.ts +1 -0
  90. package/dist/cjs/api/resources/orders/resources/expanded/index.js +17 -0
  91. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.d.ts +78 -0
  92. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.js +291 -0
  93. package/dist/cjs/api/resources/orders/resources/expandedList/client/index.d.ts +2 -0
  94. package/dist/cjs/api/resources/orders/resources/expandedList/client/index.js +17 -0
  95. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.ts +30 -0
  96. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.ts +28 -0
  97. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/index.d.ts +2 -0
  98. package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/index.js +2 -0
  99. package/dist/cjs/api/resources/orders/resources/expandedList/index.d.ts +1 -0
  100. package/dist/cjs/api/resources/orders/resources/expandedList/index.js +17 -0
  101. package/dist/cjs/api/resources/orders/resources/index.d.ts +4 -1
  102. package/dist/cjs/api/resources/orders/resources/index.js +8 -2
  103. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
  104. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +8 -8
  105. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientCreate1.d.ts → CourierOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
  106. package/dist/cjs/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts → courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
  107. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.ts +2 -2
  108. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
  109. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +8 -8
  110. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientCreate1.d.ts → ShipperOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
  111. package/dist/cjs/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts → shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
  112. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.ts +2 -2
  113. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +43 -12
  114. package/dist/cjs/api/resources/orgProfiles/client/Client.js +151 -22
  115. package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts} +1 -1
  116. package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts} +1 -1
  117. package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +18 -0
  118. package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +12 -0
  119. package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +4 -2
  120. package/dist/cjs/api/resources/orgs/client/Client.d.ts +25 -36
  121. package/dist/cjs/api/resources/orgs/client/Client.js +52 -104
  122. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +5 -4
  123. package/dist/cjs/api/resources/payments/client/Client.d.ts +15 -15
  124. package/dist/cjs/api/resources/payments/client/Client.js +62 -62
  125. package/dist/cjs/api/resources/payments/client/requests/GenerateInvoiceReq.d.ts +2 -2
  126. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -1
  127. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +14 -14
  128. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +10 -10
  129. package/dist/cjs/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.ts → ShipperContactClientUpdate1.d.ts} +1 -1
  130. package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.d.ts +1 -1
  131. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +2 -2
  132. package/dist/cjs/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.ts +1 -1
  133. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +1 -1
  134. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +1 -1
  135. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.d.ts +133 -0
  136. package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.js +507 -0
  137. package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.d.ts +2 -0
  138. package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.js +17 -0
  139. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.ts +16 -0
  140. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.ts +15 -0
  141. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/index.d.ts +2 -0
  142. package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/index.js +2 -0
  143. package/dist/cjs/api/resources/shipperPayCourierStatements/index.d.ts +1 -0
  144. package/dist/cjs/api/resources/shipperPayCourierStatements/index.js +17 -0
  145. package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.ts +13 -13
  146. package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.js +14 -14
  147. package/dist/cjs/api/resources/taskArtifactNotifications/client/index.d.ts +2 -0
  148. package/dist/cjs/api/resources/taskArtifactNotifications/client/index.js +17 -0
  149. package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.ts} +2 -2
  150. package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.d.ts +1 -0
  151. package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.js +2 -0
  152. package/dist/cjs/api/resources/taskArtifactNotifications/index.d.ts +1 -0
  153. package/dist/cjs/api/resources/taskArtifactNotifications/index.js +17 -0
  154. package/dist/cjs/api/resources/{milestones → taskArtifacts}/client/Client.d.ts +32 -17
  155. package/dist/cjs/api/resources/taskArtifacts/client/Client.js +268 -0
  156. package/dist/cjs/api/resources/taskArtifacts/client/index.d.ts +2 -0
  157. package/dist/cjs/api/resources/taskArtifacts/client/index.js +17 -0
  158. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.ts +19 -0
  159. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.ts +14 -0
  160. package/dist/cjs/api/resources/taskArtifacts/client/requests/index.d.ts +2 -0
  161. package/dist/cjs/api/resources/taskArtifacts/client/requests/index.js +2 -0
  162. package/dist/cjs/api/resources/taskArtifacts/index.d.ts +2 -0
  163. package/dist/cjs/api/resources/taskArtifacts/index.js +18 -0
  164. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.ts +4 -4
  165. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.js +8 -8
  166. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/client/index.js +2 -0
  167. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.d.ts +1 -0
  168. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.js +17 -0
  169. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.ts +17 -18
  170. package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.js +44 -49
  171. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.d.ts +2 -0
  172. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.js +17 -0
  173. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.ts +13 -0
  174. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.d.ts +1 -0
  175. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.js +2 -0
  176. package/dist/cjs/api/resources/taskArtifacts/resources/images/index.d.ts +1 -0
  177. package/dist/cjs/api/resources/taskArtifacts/resources/images/index.js +17 -0
  178. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +5 -5
  179. package/dist/cjs/api/resources/taskGroups/client/Client.js +8 -8
  180. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.ts +1 -1
  181. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.d.ts +2 -2
  182. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.js +2 -2
  183. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.ts +1 -1
  184. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.ts +1 -1
  185. package/dist/cjs/api/types/Cargo1.d.ts +12 -0
  186. package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -0
  187. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +15 -0
  188. package/dist/cjs/api/types/CargoStatusEnum1.d.ts +3 -2
  189. package/dist/cjs/api/types/CargoStatusEnum1.js +2 -1
  190. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +30 -0
  191. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +15 -0
  192. package/dist/cjs/api/types/CourierConnectionRes.d.ts +8 -0
  193. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +1 -1
  194. package/dist/cjs/api/types/{CourierOrgConnectionInfo1.d.ts → CourierOrgInfoForConnections1.d.ts} +1 -1
  195. package/dist/cjs/api/types/{CourierOrgProfile3.d.ts → CourierOrgProfile1.d.ts} +1 -1
  196. package/dist/cjs/api/types/{CourierPayDriverPayout1.d.ts → CourierPayDriverStatement1.d.ts} +7 -7
  197. package/dist/cjs/api/types/CourierPayDriverStatementClientCreate1.d.ts +7 -0
  198. package/dist/cjs/api/types/CourierPayDriverStatementClientUpdate1.d.ts +13 -0
  199. package/dist/cjs/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.ts +0 -6
  200. package/dist/cjs/api/types/CreateShipperPayCourierStatementReq.d.ts +6 -0
  201. package/dist/cjs/api/types/Driver1.d.ts +1 -1
  202. package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +17 -0
  203. package/dist/cjs/api/types/FlightTaskActionEnum1.js +15 -0
  204. package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +8 -0
  205. package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +22 -0
  206. package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +12 -0
  207. package/dist/cjs/api/types/ForwarderOrgProfile1.js +5 -0
  208. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +1 -1
  209. package/dist/cjs/api/types/GetShipperPayCourierStatementsForShipperRes.d.ts +7 -0
  210. package/dist/cjs/api/types/GetShipperPayCourierStatementsForShipperRes.js +5 -0
  211. package/dist/cjs/api/types/LineItem1.d.ts +1 -1
  212. package/dist/cjs/api/types/LocationProperties.d.ts +0 -1
  213. package/dist/cjs/api/types/{OffChrtShipperOrgInfo1.d.ts → OffChrtShipperOrg1.d.ts} +3 -3
  214. package/dist/cjs/api/types/OffChrtShipperOrg1.js +5 -0
  215. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.d.ts +29 -0
  216. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +24 -0
  217. package/dist/cjs/api/types/Order1.d.ts +11 -10
  218. package/dist/cjs/api/types/OrderDraftExpandedListRes.d.ts +11 -0
  219. package/dist/cjs/api/types/OrderDraftExpandedListRes.js +5 -0
  220. package/dist/cjs/api/types/OrderDraftExpandedRes.d.ts +13 -0
  221. package/dist/cjs/api/types/OrderDraftExpandedRes.js +5 -0
  222. package/dist/cjs/api/types/OrderExpandedForOrderCreator.d.ts +16 -0
  223. package/dist/cjs/api/types/OrderExpandedForOrderCreator.js +5 -0
  224. package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.d.ts +14 -0
  225. package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.js +5 -0
  226. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +16 -0
  227. package/dist/cjs/api/types/OrderExpandedForShipper.js +5 -0
  228. package/dist/cjs/api/types/OrderExpandedForShipperReq.d.ts +14 -0
  229. package/dist/cjs/api/types/OrderExpandedForShipperReq.js +5 -0
  230. package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.d.ts +11 -0
  231. package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.js +10 -0
  232. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +4 -3
  233. package/dist/cjs/api/types/OrderStatusEnum1.js +3 -2
  234. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +12 -0
  235. package/dist/cjs/api/types/OrdersDraftUpdateRes.js +5 -0
  236. package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.d.ts +11 -0
  237. package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.js +5 -0
  238. package/dist/cjs/api/types/OrdersExpandedForShipperRes.d.ts +11 -0
  239. package/dist/cjs/api/types/OrdersExpandedForShipperRes.js +5 -0
  240. package/dist/cjs/api/types/{CreateOrderRes.d.ts → OrdersNewDraftRes.d.ts} +1 -1
  241. package/dist/cjs/api/types/OrdersNewDraftRes.js +5 -0
  242. package/dist/cjs/api/types/OrgProfileRes1.d.ts +8 -0
  243. package/dist/cjs/api/types/OrgProfileRes1.js +5 -0
  244. package/dist/cjs/api/types/{OrgPublicData2.d.ts → OrgPublicData1.d.ts} +2 -4
  245. package/dist/cjs/api/types/OrgPublicData1.js +5 -0
  246. package/dist/cjs/api/types/OrgTypeEnum.d.ts +9 -0
  247. package/dist/cjs/api/types/{OrderCreatedByTypeEnum.js → OrgTypeEnum.js} +4 -4
  248. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +8 -0
  249. package/dist/cjs/api/types/ShipperConnectionRes.js +5 -0
  250. package/dist/cjs/api/types/{ShipperContactInfo1.d.ts → ShipperContact1.d.ts} +6 -6
  251. package/dist/cjs/api/types/ShipperContact1.js +5 -0
  252. package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.d.ts → ShipperContactClientCreate1.d.ts} +6 -6
  253. package/dist/cjs/api/types/ShipperContactClientCreate1.js +5 -0
  254. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +1 -1
  255. package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfoForConnections1.d.ts} +1 -1
  256. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +5 -0
  257. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +1 -1
  258. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +1 -1
  259. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +1 -1
  260. package/dist/cjs/api/types/{ShipperPayCourierPayment1.d.ts → ShipperPayCourierStatement1.d.ts} +4 -4
  261. package/dist/cjs/api/types/ShipperPayCourierStatement1.js +5 -0
  262. package/dist/cjs/api/types/StatementPreviewResponse.d.ts +10 -0
  263. package/dist/cjs/api/types/StatementPreviewResponse.js +5 -0
  264. package/dist/cjs/api/types/{PayoutStatusEnum.d.ts → StatementStatusEnum.d.ts} +2 -2
  265. package/dist/cjs/api/types/{PayoutStatusEnum.js → StatementStatusEnum.js} +2 -2
  266. package/dist/cjs/api/types/Task1.d.ts +19 -8
  267. package/dist/cjs/api/types/TaskArtifact1.d.ts +31 -0
  268. package/dist/cjs/api/types/TaskArtifact1.js +5 -0
  269. package/dist/cjs/api/types/{MilestoneNotificationPreferences1.d.ts → TaskArtifactNotificationPreferences1.d.ts} +3 -3
  270. package/dist/cjs/api/types/TaskArtifactNotificationPreferences1.js +5 -0
  271. package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +10 -0
  272. package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +12 -0
  273. package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +9 -0
  274. package/dist/cjs/api/types/{OrderDispatchTypeEnum.js → TaskArtifactTypeEnum1.js} +5 -5
  275. package/dist/cjs/api/types/TaskClientCreate1.d.ts +3 -4
  276. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +15 -0
  277. package/dist/cjs/api/types/TaskClientUpdate1.js +5 -0
  278. package/dist/cjs/api/types/TaskDraftExpanded.d.ts +10 -0
  279. package/dist/cjs/api/types/TaskDraftExpanded.js +5 -0
  280. package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
  281. package/dist/cjs/api/types/TaskGroup1.d.ts +16 -8
  282. package/dist/cjs/api/types/TaskGroupDraftExpanded.d.ts +10 -0
  283. package/dist/cjs/api/types/TaskGroupDraftExpanded.js +5 -0
  284. package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministrator.d.ts +1 -1
  285. package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministratorReq.d.ts +1 -1
  286. package/dist/cjs/api/types/TaskGroupExpandedForCourierDriver.d.ts +1 -1
  287. package/dist/cjs/api/types/TaskGroupExpandedForCourierDriverReq.d.ts +1 -1
  288. package/dist/cjs/api/types/TaskGroupExpandedForShipper.d.ts +1 -1
  289. package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.d.ts +4 -4
  290. package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.js +3 -3
  291. package/dist/cjs/api/types/{StripeConnectAccountEvent.d.ts → TaskGroupMessage1.d.ts} +5 -5
  292. package/dist/cjs/api/types/TaskGroupMessage1.js +5 -0
  293. package/dist/cjs/api/types/TaskGroupMileage1.d.ts +9 -0
  294. package/dist/cjs/api/types/TaskGroupMileage1.js +5 -0
  295. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +4 -2
  296. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +3 -1
  297. package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +9 -0
  298. package/dist/cjs/api/types/TaskGroupTypeEnum1.js +11 -0
  299. package/dist/cjs/api/types/TaskStatusEnum1.d.ts +10 -0
  300. package/dist/cjs/api/types/TaskStatusEnum1.js +12 -0
  301. package/dist/cjs/api/types/TimeWindow1.d.ts +7 -0
  302. package/dist/cjs/api/types/TimeWindow1.js +5 -0
  303. package/dist/cjs/api/types/index.d.ts +51 -32
  304. package/dist/cjs/api/types/index.js +51 -32
  305. package/dist/cjs/version.d.ts +1 -1
  306. package/dist/cjs/version.js +1 -1
  307. package/dist/esm/Client.d.mts +42 -33
  308. package/dist/esm/Client.mjs +60 -45
  309. package/dist/esm/api/resources/connections/client/Client.d.mts +20 -4
  310. package/dist/esm/api/resources/connections/client/Client.mjs +67 -6
  311. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +3 -3
  312. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +4 -4
  313. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.d.mts +0 -1
  314. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.mjs +1 -1
  315. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +49 -0
  316. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +95 -0
  317. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +49 -0
  318. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +95 -0
  319. package/dist/esm/api/resources/connections/resources/index.d.mts +2 -1
  320. package/dist/esm/api/resources/connections/resources/index.mjs +2 -1
  321. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +7 -7
  322. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +6 -6
  323. package/dist/esm/api/resources/courierPayDriverPayouts/client/index.d.mts +0 -1
  324. package/dist/esm/api/resources/courierPayDriverPayouts/client/index.mjs +1 -1
  325. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +90 -0
  326. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +277 -0
  327. package/dist/esm/api/resources/index.d.mts +24 -21
  328. package/dist/esm/api/resources/index.mjs +24 -21
  329. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +100 -0
  330. package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/client/Client.mjs +28 -28
  331. package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts} +3 -3
  332. package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts} +1 -1
  333. package/dist/esm/api/resources/offChrtShipperOrg/client/requests/index.d.mts +2 -0
  334. package/dist/esm/api/resources/orderDrafts/client/Client.d.mts +100 -0
  335. package/dist/esm/api/resources/orderDrafts/client/Client.mjs +295 -0
  336. package/dist/esm/api/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +17 -0
  337. package/dist/esm/api/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +14 -0
  338. package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
  339. package/dist/esm/api/resources/orderDrafts/client/requests/index.mjs +1 -0
  340. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.d.mts +99 -0
  341. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.mjs +289 -0
  342. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +18 -0
  343. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +16 -0
  344. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +15 -0
  345. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/index.d.mts +3 -0
  346. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/index.mjs +1 -0
  347. package/dist/esm/api/resources/orderDrafts/resources/index.d.mts +8 -0
  348. package/dist/esm/api/resources/orderDrafts/resources/index.mjs +8 -0
  349. package/dist/esm/api/resources/orderDrafts/resources/task/client/Client.d.mts +81 -0
  350. package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/task}/client/Client.mjs +69 -39
  351. package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +18 -0
  352. package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +15 -0
  353. package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/index.d.mts +2 -0
  354. package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/index.mjs +1 -0
  355. package/dist/esm/api/resources/orderDrafts/resources/task/index.d.mts +1 -0
  356. package/dist/esm/api/resources/orderDrafts/resources/task/index.mjs +1 -0
  357. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +63 -0
  358. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +155 -0
  359. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/index.d.mts +2 -0
  360. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/index.mjs +1 -0
  361. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +15 -0
  362. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.d.mts +1 -0
  363. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.mjs +1 -0
  364. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/index.d.mts +1 -0
  365. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/index.mjs +1 -0
  366. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +63 -0
  367. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.mjs +155 -0
  368. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/index.d.mts +2 -0
  369. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/index.mjs +1 -0
  370. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +17 -0
  371. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +1 -0
  372. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.mjs +1 -0
  373. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/index.d.mts +1 -0
  374. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/index.mjs +1 -0
  375. package/dist/esm/api/resources/orders/client/Client.d.mts +14 -88
  376. package/dist/esm/api/resources/orders/client/Client.mjs +19 -314
  377. package/dist/esm/api/resources/orders/client/index.d.mts +0 -1
  378. package/dist/esm/api/resources/orders/client/index.mjs +1 -1
  379. package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +23 -0
  380. package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +13 -0
  381. package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +1 -0
  382. package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +1 -0
  383. package/dist/esm/api/resources/orders/resources/draft/index.d.mts +2 -0
  384. package/dist/esm/api/resources/orders/resources/draft/index.mjs +2 -0
  385. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +61 -0
  386. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +156 -0
  387. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.d.mts +2 -0
  388. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +1 -0
  389. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.mts +21 -0
  390. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.mts +21 -0
  391. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +2 -0
  392. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +1 -0
  393. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.d.mts +1 -0
  394. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.mjs +1 -0
  395. package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +2 -0
  396. package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +2 -0
  397. package/dist/esm/api/resources/orders/resources/{full → expanded}/client/Client.d.mts +18 -23
  398. package/dist/esm/api/resources/{milestones → orders/resources/expanded}/client/Client.mjs +26 -39
  399. package/dist/esm/api/resources/orders/resources/expanded/client/index.d.mts +1 -0
  400. package/dist/esm/api/resources/orders/resources/expanded/client/index.mjs +1 -0
  401. package/dist/esm/api/resources/orders/resources/expanded/index.d.mts +1 -0
  402. package/dist/esm/api/resources/orders/resources/expanded/index.mjs +1 -0
  403. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.d.mts +78 -0
  404. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.mjs +254 -0
  405. package/dist/esm/api/resources/orders/resources/expandedList/client/index.d.mts +2 -0
  406. package/dist/esm/api/resources/orders/resources/expandedList/client/index.mjs +1 -0
  407. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.mts +30 -0
  408. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.mts +28 -0
  409. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.d.mts +2 -0
  410. package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.mjs +1 -0
  411. package/dist/esm/api/resources/orders/resources/expandedList/index.d.mts +1 -0
  412. package/dist/esm/api/resources/orders/resources/expandedList/index.mjs +1 -0
  413. package/dist/esm/api/resources/orders/resources/index.d.mts +4 -1
  414. package/dist/esm/api/resources/orders/resources/index.mjs +4 -1
  415. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
  416. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +8 -8
  417. package/dist/esm/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts → courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
  418. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientUpdate1.d.mts → CourierOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
  419. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.mts +2 -2
  420. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
  421. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +8 -8
  422. package/dist/esm/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts → shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
  423. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientUpdate1.d.mts → ShipperOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
  424. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.mts +2 -2
  425. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +43 -12
  426. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +151 -22
  427. package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts} +1 -1
  428. package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts} +1 -1
  429. package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +18 -0
  430. package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +12 -0
  431. package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +4 -2
  432. package/dist/esm/api/resources/orgs/client/Client.d.mts +25 -36
  433. package/dist/esm/api/resources/orgs/client/Client.mjs +52 -104
  434. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +5 -4
  435. package/dist/esm/api/resources/payments/client/Client.d.mts +15 -15
  436. package/dist/esm/api/resources/payments/client/Client.mjs +62 -62
  437. package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +2 -2
  438. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -1
  439. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +14 -14
  440. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +10 -10
  441. package/dist/esm/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.mts → ShipperContactClientUpdate1.d.mts} +1 -1
  442. package/dist/esm/api/resources/shipperContactInfo/client/requests/index.d.mts +1 -1
  443. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +2 -2
  444. package/dist/esm/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.mts +1 -1
  445. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +1 -1
  446. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +1 -1
  447. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.d.mts +133 -0
  448. package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.mjs +470 -0
  449. package/dist/esm/api/resources/shipperPayCourierStatements/client/index.d.mts +2 -0
  450. package/dist/esm/api/resources/shipperPayCourierStatements/client/index.mjs +1 -0
  451. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.mts +16 -0
  452. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.mts +15 -0
  453. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.d.mts +2 -0
  454. package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.mjs +1 -0
  455. package/dist/esm/api/resources/shipperPayCourierStatements/index.d.mts +1 -0
  456. package/dist/esm/api/resources/shipperPayCourierStatements/index.mjs +1 -0
  457. package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.mts +13 -13
  458. package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.mjs +12 -12
  459. package/dist/esm/api/resources/taskArtifactNotifications/client/index.d.mts +2 -0
  460. package/dist/esm/api/resources/taskArtifactNotifications/client/index.mjs +1 -0
  461. package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.mts} +2 -2
  462. package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.d.mts +1 -0
  463. package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.mjs +1 -0
  464. package/dist/esm/api/resources/taskArtifactNotifications/index.d.mts +1 -0
  465. package/dist/esm/api/resources/taskArtifactNotifications/index.mjs +1 -0
  466. package/dist/esm/api/resources/{milestones → taskArtifacts}/client/Client.d.mts +32 -17
  467. package/dist/esm/api/resources/taskArtifacts/client/Client.mjs +231 -0
  468. package/dist/esm/api/resources/taskArtifacts/client/index.d.mts +2 -0
  469. package/dist/esm/api/resources/taskArtifacts/client/index.mjs +1 -0
  470. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.mts +19 -0
  471. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.mts +14 -0
  472. package/dist/esm/api/resources/taskArtifacts/client/requests/index.d.mts +2 -0
  473. package/dist/esm/api/resources/taskArtifacts/client/requests/index.mjs +1 -0
  474. package/dist/esm/api/resources/taskArtifacts/index.d.mts +2 -0
  475. package/dist/esm/api/resources/taskArtifacts/index.mjs +2 -0
  476. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.mts +4 -4
  477. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.mjs +8 -8
  478. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.d.mts +1 -0
  479. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.mjs +1 -0
  480. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.d.mts +1 -0
  481. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.mjs +1 -0
  482. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.mts +17 -18
  483. package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.mjs +44 -49
  484. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.d.mts +2 -0
  485. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.mjs +1 -0
  486. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.mts +13 -0
  487. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.d.mts +1 -0
  488. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.mjs +1 -0
  489. package/dist/esm/api/resources/taskArtifacts/resources/images/index.d.mts +1 -0
  490. package/dist/esm/api/resources/taskArtifacts/resources/images/index.mjs +1 -0
  491. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +5 -5
  492. package/dist/esm/api/resources/taskGroups/client/Client.mjs +8 -8
  493. package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.mts +1 -1
  494. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.d.mts +2 -2
  495. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.mjs +2 -2
  496. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.mts +1 -1
  497. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.mts +1 -1
  498. package/dist/esm/api/types/Cargo1.d.mts +12 -0
  499. package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -0
  500. package/dist/esm/api/types/CargoClientUpdate1.d.mts +15 -0
  501. package/dist/esm/api/types/CargoStatusEnum1.d.mts +3 -2
  502. package/dist/esm/api/types/CargoStatusEnum1.mjs +2 -1
  503. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +30 -0
  504. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +12 -0
  505. package/dist/esm/api/types/CourierConnectionRes.d.mts +8 -0
  506. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +1 -1
  507. package/dist/esm/api/types/{CourierOrgConnectionInfo1.d.mts → CourierOrgInfoForConnections1.d.mts} +1 -1
  508. package/dist/esm/api/types/{CourierOrgProfile3.d.mts → CourierOrgProfile1.d.mts} +1 -1
  509. package/dist/esm/api/types/{CourierPayDriverPayout1.d.mts → CourierPayDriverStatement1.d.mts} +7 -7
  510. package/dist/esm/api/types/CourierPayDriverStatementClientCreate1.d.mts +7 -0
  511. package/dist/esm/api/types/CourierPayDriverStatementClientUpdate1.d.mts +13 -0
  512. package/dist/esm/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.mts +0 -6
  513. package/dist/esm/api/types/CreateShipperPayCourierStatementReq.d.mts +6 -0
  514. package/dist/esm/api/types/Driver1.d.mts +1 -1
  515. package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +17 -0
  516. package/dist/esm/api/types/FlightTaskActionEnum1.mjs +12 -0
  517. package/dist/esm/api/types/ForwarderConnectionRes.d.mts +8 -0
  518. package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +22 -0
  519. package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +12 -0
  520. package/dist/esm/api/types/ForwarderOrgProfile1.mjs +4 -0
  521. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +1 -1
  522. package/dist/esm/api/types/GetShipperPayCourierStatementsForShipperRes.d.mts +7 -0
  523. package/dist/esm/api/types/GetShipperPayCourierStatementsForShipperRes.mjs +4 -0
  524. package/dist/esm/api/types/LineItem1.d.mts +1 -1
  525. package/dist/esm/api/types/LocationProperties.d.mts +0 -1
  526. package/dist/esm/api/types/{OffChrtShipperOrgInfo1.d.mts → OffChrtShipperOrg1.d.mts} +3 -3
  527. package/dist/esm/api/types/OffChrtShipperOrg1.mjs +4 -0
  528. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.d.mts +29 -0
  529. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +21 -0
  530. package/dist/esm/api/types/Order1.d.mts +11 -10
  531. package/dist/esm/api/types/OrderDraftExpandedListRes.d.mts +11 -0
  532. package/dist/esm/api/types/OrderDraftExpandedListRes.mjs +4 -0
  533. package/dist/esm/api/types/OrderDraftExpandedRes.d.mts +13 -0
  534. package/dist/esm/api/types/OrderDraftExpandedRes.mjs +4 -0
  535. package/dist/esm/api/types/OrderExpandedForOrderCreator.d.mts +16 -0
  536. package/dist/esm/api/types/OrderExpandedForOrderCreator.mjs +4 -0
  537. package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.d.mts +14 -0
  538. package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.mjs +4 -0
  539. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +16 -0
  540. package/dist/esm/api/types/OrderExpandedForShipper.mjs +4 -0
  541. package/dist/esm/api/types/OrderExpandedForShipperReq.d.mts +14 -0
  542. package/dist/esm/api/types/OrderExpandedForShipperReq.mjs +4 -0
  543. package/dist/esm/api/types/OrderExpandedListSortFieldEnum.d.mts +11 -0
  544. package/dist/esm/api/types/OrderExpandedListSortFieldEnum.mjs +7 -0
  545. package/dist/esm/api/types/OrderStatusEnum1.d.mts +4 -3
  546. package/dist/esm/api/types/OrderStatusEnum1.mjs +3 -2
  547. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +12 -0
  548. package/dist/esm/api/types/OrdersDraftUpdateRes.mjs +4 -0
  549. package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.d.mts +11 -0
  550. package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.mjs +4 -0
  551. package/dist/esm/api/types/OrdersExpandedForShipperRes.d.mts +11 -0
  552. package/dist/esm/api/types/OrdersExpandedForShipperRes.mjs +4 -0
  553. package/dist/esm/api/types/{CreateOrderRes.d.mts → OrdersNewDraftRes.d.mts} +1 -1
  554. package/dist/esm/api/types/OrdersNewDraftRes.mjs +4 -0
  555. package/dist/esm/api/types/OrgProfileRes1.d.mts +8 -0
  556. package/dist/esm/api/types/OrgProfileRes1.mjs +4 -0
  557. package/dist/esm/api/types/{OrgPublicData2.d.mts → OrgPublicData1.d.mts} +2 -4
  558. package/dist/esm/api/types/OrgPublicData1.mjs +4 -0
  559. package/dist/esm/api/types/OrgTypeEnum.d.mts +9 -0
  560. package/dist/esm/api/types/{OrderCreatedByTypeEnum.mjs → OrgTypeEnum.mjs} +3 -3
  561. package/dist/esm/api/types/ShipperConnectionRes.d.mts +8 -0
  562. package/dist/esm/api/types/ShipperConnectionRes.mjs +4 -0
  563. package/dist/esm/api/types/{ShipperContactInfo1.d.mts → ShipperContact1.d.mts} +6 -6
  564. package/dist/esm/api/types/ShipperContact1.mjs +4 -0
  565. package/dist/esm/api/types/{ShipperContactInfoClientCreate1.d.mts → ShipperContactClientCreate1.d.mts} +6 -6
  566. package/dist/esm/api/types/ShipperContactClientCreate1.mjs +4 -0
  567. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +1 -1
  568. package/dist/esm/api/types/{ShipperOrgConnectionInfo1.d.mts → ShipperOrgInfoForConnections1.d.mts} +1 -1
  569. package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +4 -0
  570. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +1 -1
  571. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +1 -1
  572. package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +1 -1
  573. package/dist/esm/api/types/{ShipperPayCourierPayment1.d.mts → ShipperPayCourierStatement1.d.mts} +4 -4
  574. package/dist/esm/api/types/ShipperPayCourierStatement1.mjs +4 -0
  575. package/dist/esm/api/types/StatementPreviewResponse.d.mts +10 -0
  576. package/dist/esm/api/types/StatementPreviewResponse.mjs +4 -0
  577. package/dist/esm/api/types/{PayoutStatusEnum.d.mts → StatementStatusEnum.d.mts} +2 -2
  578. package/dist/esm/api/types/{PayoutStatusEnum.mjs → StatementStatusEnum.mjs} +1 -1
  579. package/dist/esm/api/types/Task1.d.mts +19 -8
  580. package/dist/esm/api/types/TaskArtifact1.d.mts +31 -0
  581. package/dist/esm/api/types/TaskArtifact1.mjs +4 -0
  582. package/dist/esm/api/types/{MilestoneNotificationPreferences1.d.mts → TaskArtifactNotificationPreferences1.d.mts} +3 -3
  583. package/dist/esm/api/types/TaskArtifactNotificationPreferences1.mjs +4 -0
  584. package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +10 -0
  585. package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +9 -0
  586. package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +9 -0
  587. package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +8 -0
  588. package/dist/esm/api/types/TaskClientCreate1.d.mts +3 -4
  589. package/dist/esm/api/types/TaskClientUpdate1.d.mts +15 -0
  590. package/dist/esm/api/types/TaskClientUpdate1.mjs +4 -0
  591. package/dist/esm/api/types/TaskDraftExpanded.d.mts +10 -0
  592. package/dist/esm/api/types/TaskDraftExpanded.mjs +4 -0
  593. package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
  594. package/dist/esm/api/types/TaskGroup1.d.mts +16 -8
  595. package/dist/esm/api/types/{TaskGroupExpanded.d.mts → TaskGroupDraftExpanded.d.mts} +3 -6
  596. package/dist/esm/api/types/TaskGroupDraftExpanded.mjs +4 -0
  597. package/dist/esm/api/types/TaskGroupExpandedForCourierAdministrator.d.mts +1 -1
  598. package/dist/esm/api/types/TaskGroupExpandedForCourierAdministratorReq.d.mts +1 -1
  599. package/dist/esm/api/types/TaskGroupExpandedForCourierDriver.d.mts +1 -1
  600. package/dist/esm/api/types/TaskGroupExpandedForCourierDriverReq.d.mts +1 -1
  601. package/dist/esm/api/types/TaskGroupExpandedForShipper.d.mts +1 -1
  602. package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.d.mts +4 -4
  603. package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.mjs +3 -3
  604. package/dist/esm/api/types/{StripeConnectAccountEvent.d.mts → TaskGroupMessage1.d.mts} +5 -5
  605. package/dist/esm/api/types/TaskGroupMessage1.mjs +4 -0
  606. package/dist/esm/api/types/TaskGroupMileage1.d.mts +9 -0
  607. package/dist/esm/api/types/TaskGroupMileage1.mjs +4 -0
  608. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +4 -2
  609. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +3 -1
  610. package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +9 -0
  611. package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +8 -0
  612. package/dist/esm/api/types/TaskStatusEnum1.d.mts +10 -0
  613. package/dist/esm/api/types/TaskStatusEnum1.mjs +9 -0
  614. package/dist/esm/api/types/TimeWindow1.d.mts +7 -0
  615. package/dist/esm/api/types/TimeWindow1.mjs +4 -0
  616. package/dist/esm/api/types/index.d.mts +51 -32
  617. package/dist/esm/api/types/index.mjs +51 -32
  618. package/dist/esm/version.d.mts +1 -1
  619. package/dist/esm/version.mjs +1 -1
  620. package/package.json +1 -1
  621. package/reference.md +3009 -1053
  622. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/requests/index.d.ts +0 -1
  623. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -14
  624. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.ts +0 -14
  625. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/index.d.ts +0 -2
  626. package/dist/cjs/api/resources/milestoneNotifications/client/requests/index.d.ts +0 -1
  627. package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
  628. package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
  629. package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +0 -2
  630. package/dist/cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.ts +0 -15
  631. package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +0 -1
  632. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +0 -100
  633. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/requests/index.d.ts +0 -2
  634. package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +0 -45
  635. package/dist/cjs/api/resources/orders/client/requests/OrdersExpandedReq.d.ts +0 -19
  636. package/dist/cjs/api/resources/orders/client/requests/index.d.ts +0 -2
  637. package/dist/cjs/api/types/Expense1.d.ts +0 -13
  638. package/dist/cjs/api/types/GetOrderFullRes.d.ts +0 -11
  639. package/dist/cjs/api/types/GetOrderRes.d.ts +0 -7
  640. package/dist/cjs/api/types/Milestone1.d.ts +0 -27
  641. package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +0 -9
  642. package/dist/cjs/api/types/MilestoneTypeEnum1.d.ts +0 -14
  643. package/dist/cjs/api/types/MilestoneTypeEnum1.js +0 -16
  644. package/dist/cjs/api/types/ObcNfoTaskActionEnum.d.ts +0 -38
  645. package/dist/cjs/api/types/ObcNfoTaskActionEnum.js +0 -40
  646. package/dist/cjs/api/types/OrderClientCreate1.d.ts +0 -6
  647. package/dist/cjs/api/types/OrderCreatedByTypeEnum.d.ts +0 -9
  648. package/dist/cjs/api/types/OrderDispatchTypeEnum.d.ts +0 -9
  649. package/dist/cjs/api/types/OrderExpanded.d.ts +0 -11
  650. package/dist/cjs/api/types/OrdersExpandedRes.d.ts +0 -10
  651. package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +0 -8
  652. package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +0 -10
  653. package/dist/cjs/api/types/TaskActionEnum1.d.ts +0 -14
  654. package/dist/cjs/api/types/TaskActionEnum1.js +0 -16
  655. package/dist/cjs/api/types/TaskCreateBundle.d.ts +0 -13
  656. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +0 -13
  657. package/dist/cjs/api/types/TransportTypeEnum.d.ts +0 -11
  658. package/dist/cjs/api/types/TransportTypeEnum.js +0 -13
  659. package/dist/cjs/api/types/UpdateTaskGroupRes.d.ts +0 -6
  660. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/requests/index.d.mts +0 -1
  661. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -14
  662. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +0 -14
  663. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +0 -2
  664. package/dist/esm/api/resources/milestoneNotifications/client/requests/index.d.mts +0 -1
  665. package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +0 -16
  666. package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +0 -14
  667. package/dist/esm/api/resources/milestones/client/requests/index.d.mts +0 -2
  668. package/dist/esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts +0 -15
  669. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +0 -1
  670. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +0 -100
  671. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +0 -2
  672. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +0 -45
  673. package/dist/esm/api/resources/orders/client/requests/OrdersExpandedReq.d.mts +0 -19
  674. package/dist/esm/api/resources/orders/client/requests/index.d.mts +0 -2
  675. package/dist/esm/api/types/Expense1.d.mts +0 -13
  676. package/dist/esm/api/types/GetOrderFullRes.d.mts +0 -11
  677. package/dist/esm/api/types/GetOrderRes.d.mts +0 -7
  678. package/dist/esm/api/types/Milestone1.d.mts +0 -27
  679. package/dist/esm/api/types/MilestoneClientCreate1.d.mts +0 -9
  680. package/dist/esm/api/types/MilestoneTypeEnum1.d.mts +0 -14
  681. package/dist/esm/api/types/MilestoneTypeEnum1.mjs +0 -13
  682. package/dist/esm/api/types/ObcNfoTaskActionEnum.d.mts +0 -38
  683. package/dist/esm/api/types/ObcNfoTaskActionEnum.mjs +0 -37
  684. package/dist/esm/api/types/OrderClientCreate1.d.mts +0 -6
  685. package/dist/esm/api/types/OrderCreatedByTypeEnum.d.mts +0 -9
  686. package/dist/esm/api/types/OrderDispatchTypeEnum.d.mts +0 -9
  687. package/dist/esm/api/types/OrderDispatchTypeEnum.mjs +0 -8
  688. package/dist/esm/api/types/OrderExpanded.d.mts +0 -11
  689. package/dist/esm/api/types/OrdersExpandedRes.d.mts +0 -10
  690. package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +0 -8
  691. package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +0 -7
  692. package/dist/esm/api/types/TaskActionEnum1.d.mts +0 -14
  693. package/dist/esm/api/types/TaskActionEnum1.mjs +0 -13
  694. package/dist/esm/api/types/TaskCreateBundle.d.mts +0 -13
  695. package/dist/esm/api/types/TransportTypeEnum.d.mts +0 -11
  696. package/dist/esm/api/types/TransportTypeEnum.mjs +0 -10
  697. package/dist/esm/api/types/UpdateTaskGroupRes.d.mts +0 -6
  698. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.ts +0 -0
  699. /package/dist/cjs/api/resources/connections/resources/{connectionToCourier/client/requests → connectionToForwarder/client}/index.js +0 -0
  700. /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.ts +0 -0
  701. /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.js +0 -0
  702. /package/dist/cjs/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.ts +0 -0
  703. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests → connections/resources/connectionToShipper/client}/index.js +0 -0
  704. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.ts +0 -0
  705. /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.js +0 -0
  706. /package/dist/{esm/api/resources/connections/resources/connectionToCourier/client/requests/index.mjs → cjs/api/resources/courierPayDriverStatements/client/index.d.ts} +0 -0
  707. /package/dist/cjs/api/resources/{milestoneNotifications/client/requests → courierPayDriverStatements/client}/index.js +0 -0
  708. /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.ts +0 -0
  709. /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.js +0 -0
  710. /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.ts +0 -0
  711. /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.js +0 -0
  712. /package/dist/cjs/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js} +0 -0
  713. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js} +0 -0
  714. /package/dist/cjs/api/resources/{milestones → offChrtShipperOrg}/client/requests/index.js +0 -0
  715. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.ts +0 -0
  716. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.js +0 -0
  717. /package/dist/cjs/api/resources/{milestones → orderDrafts}/client/index.d.ts +0 -0
  718. /package/dist/cjs/api/resources/{milestones → orderDrafts}/client/index.js +0 -0
  719. /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js → orderDrafts/client/requests/OrdersDraftUpdateReq.js} +0 -0
  720. /package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.js → orderDrafts/client/requests/OrdersNewDraftReq.js} +0 -0
  721. /package/dist/cjs/api/resources/{milestones/resources/blurhash/client → orderDrafts/client/requests}/index.js +0 -0
  722. /package/dist/cjs/api/resources/{milestones → orderDrafts}/index.d.ts +0 -0
  723. /package/dist/cjs/api/resources/{milestones → orderDrafts}/index.js +0 -0
  724. /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.d.ts +0 -0
  725. /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.js +0 -0
  726. /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.js → orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.js} +0 -0
  727. /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneUpdateReq.js → orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js} +0 -0
  728. /package/dist/cjs/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js → orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js} +0 -0
  729. /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/requests/index.js +0 -0
  730. /package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.d.ts +0 -0
  731. /package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.js +0 -0
  732. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.d.ts +0 -0
  733. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.js +0 -0
  734. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js → orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.js} +0 -0
  735. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js → orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.js} +0 -0
  736. /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/requests/index.js +0 -0
  737. /package/dist/cjs/api/resources/{orders/client/requests/CreateOrderReq.js → orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js} +0 -0
  738. /package/dist/cjs/api/resources/{orders → orderDrafts/resources/taskArtifact}/client/requests/index.js +0 -0
  739. /package/dist/cjs/api/resources/{orders/client/requests/OrdersExpandedReq.js → orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js} +0 -0
  740. /package/dist/cjs/api/resources/{orders/resources/full/client → orderDrafts/resources/taskGroup/client/requests}/index.js +0 -0
  741. /package/dist/{esm/api/resources/courierPayDriverPayouts/client/requests/index.mjs → cjs/api/resources/orders/resources/draft/client/index.d.ts} +0 -0
  742. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.js} +0 -0
  743. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.js} +0 -0
  744. /package/dist/{esm/api/resources/milestoneNotifications/client/requests/index.mjs → cjs/api/resources/orders/resources/expanded/client/index.d.ts} +0 -0
  745. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.js → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.js} +0 -0
  746. /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.js} +0 -0
  747. /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js} +0 -0
  748. /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js} +0 -0
  749. /package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js} +0 -0
  750. /package/dist/cjs/api/{types/CourierOrgConnectionInfo1.js → resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js} +0 -0
  751. /package/dist/cjs/api/{types/CourierOrgProfile3.js → resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js} +0 -0
  752. /package/dist/cjs/api/{types/CourierPayDriverPayout1.js → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js} +0 -0
  753. /package/dist/cjs/api/{types/CreateOrderRes.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js} +0 -0
  754. /package/dist/cjs/api/{types/Expense1.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js} +0 -0
  755. /package/dist/cjs/api/{types/GetOrderFullRes.js → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.js} +0 -0
  756. /package/dist/cjs/api/{types/GetOrderRes.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.js} +0 -0
  757. /package/dist/cjs/api/{types/Milestone1.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.js} +0 -0
  758. /package/dist/cjs/api/{types/MilestoneClientCreate1.js → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.js} +0 -0
  759. /package/dist/cjs/api/{types/MilestoneNotificationPreferences1.js → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.js} +0 -0
  760. /package/dist/cjs/api/{types/OffChrtShipperOrgInfo1.js → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.js} +0 -0
  761. /package/dist/{esm/api/resources/milestones/client/requests/index.mjs → cjs/api/resources/taskArtifacts/resources/blurhash/client/index.d.ts} +0 -0
  762. /package/dist/cjs/api/{types/OrderClientCreate1.js → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.js} +0 -0
  763. /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.d.ts +0 -0
  764. /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.js +0 -0
  765. /package/dist/cjs/api/types/{OrderExpanded.js → CargoClientUpdate1.js} +0 -0
  766. /package/dist/cjs/api/types/{OrdersExpandedRes.js → CourierConnectionRes.js} +0 -0
  767. /package/dist/cjs/api/types/{OrgPublicData2.js → CourierOrgInfoForConnections1.js} +0 -0
  768. /package/dist/cjs/api/types/{ShipperContactInfo1.js → CourierOrgProfile1.js} +0 -0
  769. /package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.js → CourierPayDriverStatement1.js} +0 -0
  770. /package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.js → CourierPayDriverStatementClientCreate1.js} +0 -0
  771. /package/dist/cjs/api/types/{ShipperPayCourierPayment1.js → CourierPayDriverStatementClientUpdate1.js} +0 -0
  772. /package/dist/cjs/api/types/{StripeConnectAccountEvent.js → CreateConnectionReq.js} +0 -0
  773. /package/dist/cjs/api/types/{TaskCreateBundle.js → CreateShipperPayCourierStatementReq.js} +0 -0
  774. /package/dist/cjs/api/types/{TaskGroupExpanded.js → ForwarderConnectionRes.js} +0 -0
  775. /package/dist/cjs/api/types/{UpdateTaskGroupRes.js → ForwarderOrgInfoForConnections1.js} +0 -0
  776. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.mts +0 -0
  777. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.mjs +0 -0
  778. /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.mts +0 -0
  779. /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.mjs +0 -0
  780. /package/dist/esm/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.mts +0 -0
  781. /package/dist/esm/api/resources/{milestones/resources/images/client/requests → connections/resources/connectionToShipper/client}/index.mjs +0 -0
  782. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.mts +0 -0
  783. /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.mjs +0 -0
  784. /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/index.mjs → courierPayDriverStatements/client/index.d.mts} +0 -0
  785. /package/dist/esm/api/resources/{orders/client/requests → courierPayDriverStatements/client}/index.mjs +0 -0
  786. /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.mts +0 -0
  787. /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.mjs +0 -0
  788. /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.mts +0 -0
  789. /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.mjs +0 -0
  790. /package/dist/esm/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs} +0 -0
  791. /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs} +0 -0
  792. /package/dist/esm/api/resources/{orders/resources/full/client → offChrtShipperOrg/client/requests}/index.mjs +0 -0
  793. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.mts +0 -0
  794. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.mjs +0 -0
  795. /package/dist/esm/api/resources/{milestones → orderDrafts}/client/index.d.mts +0 -0
  796. /package/dist/esm/api/resources/{milestones → orderDrafts}/client/index.mjs +0 -0
  797. /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs → orderDrafts/client/requests/OrdersDraftUpdateReq.mjs} +0 -0
  798. /package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → orderDrafts/client/requests/OrdersNewDraftReq.mjs} +0 -0
  799. /package/dist/esm/api/resources/{milestones → orderDrafts}/index.d.mts +0 -0
  800. /package/dist/esm/api/resources/{milestones → orderDrafts}/index.mjs +0 -0
  801. /package/dist/esm/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.d.mts +0 -0
  802. /package/dist/esm/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.mjs +0 -0
  803. /package/dist/esm/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs} +0 -0
  804. /package/dist/esm/api/resources/{milestones/client/requests/MilestoneUpdateReq.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs} +0 -0
  805. /package/dist/esm/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs} +0 -0
  806. /package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.d.mts +0 -0
  807. /package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.mjs +0 -0
  808. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.d.mts +0 -0
  809. /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.mjs +0 -0
  810. /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs → orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs} +0 -0
  811. /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs → orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs} +0 -0
  812. /package/dist/esm/api/resources/{orders/client/requests/CreateOrderReq.mjs → orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs} +0 -0
  813. /package/dist/esm/api/resources/{orders/client/requests/OrdersExpandedReq.mjs → orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.mjs} +0 -0
  814. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.mjs} +0 -0
  815. /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.mjs} +0 -0
  816. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.mjs} +0 -0
  817. /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.mjs} +0 -0
  818. /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  819. /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
  820. /package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs} +0 -0
  821. /package/dist/esm/api/{types/CourierOrgConnectionInfo1.mjs → resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
  822. /package/dist/esm/api/{types/CourierOrgProfile3.mjs → resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs} +0 -0
  823. /package/dist/esm/api/{types/CourierPayDriverPayout1.mjs → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs} +0 -0
  824. /package/dist/esm/api/{types/CreateOrderRes.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs} +0 -0
  825. /package/dist/esm/api/{types/Expense1.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs} +0 -0
  826. /package/dist/esm/api/{types/GetOrderFullRes.mjs → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.mjs} +0 -0
  827. /package/dist/esm/api/{types/GetOrderRes.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.mjs} +0 -0
  828. /package/dist/esm/api/{types/Milestone1.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.mjs} +0 -0
  829. /package/dist/esm/api/{types/MilestoneClientCreate1.mjs → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.mjs} +0 -0
  830. /package/dist/esm/api/{types/MilestoneNotificationPreferences1.mjs → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.mjs} +0 -0
  831. /package/dist/esm/api/{types/OffChrtShipperOrgInfo1.mjs → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.mjs} +0 -0
  832. /package/dist/esm/api/{types/OrderClientCreate1.mjs → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.mjs} +0 -0
  833. /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.d.mts +0 -0
  834. /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.mjs +0 -0
  835. /package/dist/esm/api/types/{OrderExpanded.mjs → CargoClientUpdate1.mjs} +0 -0
  836. /package/dist/esm/api/types/{OrdersExpandedRes.mjs → CourierConnectionRes.mjs} +0 -0
  837. /package/dist/esm/api/types/{OrgPublicData2.mjs → CourierOrgInfoForConnections1.mjs} +0 -0
  838. /package/dist/esm/api/types/{ShipperContactInfo1.mjs → CourierOrgProfile1.mjs} +0 -0
  839. /package/dist/esm/api/types/{ShipperContactInfoClientCreate1.mjs → CourierPayDriverStatement1.mjs} +0 -0
  840. /package/dist/esm/api/types/{ShipperOrgConnectionInfo1.mjs → CourierPayDriverStatementClientCreate1.mjs} +0 -0
  841. /package/dist/esm/api/types/{ShipperPayCourierPayment1.mjs → CourierPayDriverStatementClientUpdate1.mjs} +0 -0
  842. /package/dist/esm/api/types/{StripeConnectAccountEvent.mjs → CreateConnectionReq.mjs} +0 -0
  843. /package/dist/esm/api/types/{TaskCreateBundle.mjs → CreateShipperPayCourierStatementReq.mjs} +0 -0
  844. /package/dist/esm/api/types/{TaskGroupExpanded.mjs → ForwarderConnectionRes.mjs} +0 -0
  845. /package/dist/esm/api/types/{UpdateTaskGroupRes.mjs → ForwarderOrgInfoForConnections1.mjs} +0 -0
@@ -3,24 +3,27 @@
3
3
  */
4
4
  import * as environments from "./environments.mjs";
5
5
  import * as core from "./core/index.mjs";
6
- import { Dev } from "./api/resources/dev/client/Client.mjs";
7
- import { Drivers } from "./api/resources/drivers/client/Client.mjs";
8
- import { Milestones } from "./api/resources/milestones/client/Client.mjs";
9
- import { OffChrtShipperOrgInfo } from "./api/resources/offChrtShipperOrgInfo/client/Client.mjs";
10
- import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.mjs";
11
- import { Orders } from "./api/resources/orders/client/Client.mjs";
12
- import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.mjs";
13
- import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.mjs";
6
+ import { Payments } from "./api/resources/payments/client/Client.mjs";
14
7
  import { CourierPayDriverLineItemGroups } from "./api/resources/courierPayDriverLineItemGroups/client/Client.mjs";
8
+ import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.mjs";
9
+ import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.mjs";
10
+ import { CourierPayDriverStatements } from "./api/resources/courierPayDriverStatements/client/Client.mjs";
15
11
  import { ShipperPayCourierLineItemGroups } from "./api/resources/shipperPayCourierLineItemGroups/client/Client.mjs";
16
12
  import { ShipperPayCourierPayments } from "./api/resources/shipperPayCourierPayments/client/Client.mjs";
17
- import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.mjs";
13
+ import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.mjs";
14
+ import { ShipperPayCourierStatements } from "./api/resources/shipperPayCourierStatements/client/Client.mjs";
18
15
  import { Connections } from "./api/resources/connections/client/Client.mjs";
16
+ import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.mjs";
17
+ import { Dev } from "./api/resources/dev/client/Client.mjs";
18
+ import { TaskArtifactNotifications } from "./api/resources/taskArtifactNotifications/client/Client.mjs";
19
+ import { Drivers } from "./api/resources/drivers/client/Client.mjs";
20
+ import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.mjs";
21
+ import { OffChrtShipperOrg } from "./api/resources/offChrtShipperOrg/client/Client.mjs";
22
+ import { Orders } from "./api/resources/orders/client/Client.mjs";
23
+ import { OrderDrafts } from "./api/resources/orderDrafts/client/Client.mjs";
19
24
  import { TaskGroups } from "./api/resources/taskGroups/client/Client.mjs";
20
25
  import { ShipperContactInfo } from "./api/resources/shipperContactInfo/client/Client.mjs";
21
- import { MilestoneNotifications } from "./api/resources/milestoneNotifications/client/Client.mjs";
22
26
  import { Orgs } from "./api/resources/orgs/client/Client.mjs";
23
- import { Payments } from "./api/resources/payments/client/Client.mjs";
24
27
  import { Root } from "./api/resources/root/client/Client.mjs";
25
28
  import { Users } from "./api/resources/users/client/Client.mjs";
26
29
  import { Utils } from "./api/resources/utils/client/Client.mjs";
@@ -52,24 +55,27 @@ export declare namespace ChrtClient {
52
55
  }
53
56
  export declare class ChrtClient {
54
57
  protected readonly _options: ChrtClient.Options;
55
- protected _dev: Dev | undefined;
56
- protected _drivers: Drivers | undefined;
57
- protected _milestones: Milestones | undefined;
58
- protected _offChrtShipperOrgInfo: OffChrtShipperOrgInfo | undefined;
59
- protected _orgProfiles: OrgProfiles | undefined;
60
- protected _orders: Orders | undefined;
61
- protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
62
- protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
58
+ protected _payments: Payments | undefined;
63
59
  protected _courierPayDriverLineItemGroups: CourierPayDriverLineItemGroups | undefined;
60
+ protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
61
+ protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
62
+ protected _courierPayDriverStatements: CourierPayDriverStatements | undefined;
64
63
  protected _shipperPayCourierLineItemGroups: ShipperPayCourierLineItemGroups | undefined;
65
64
  protected _shipperPayCourierPayments: ShipperPayCourierPayments | undefined;
66
- protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
65
+ protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
66
+ protected _shipperPayCourierStatements: ShipperPayCourierStatements | undefined;
67
67
  protected _connections: Connections | undefined;
68
+ protected _orgProfiles: OrgProfiles | undefined;
69
+ protected _dev: Dev | undefined;
70
+ protected _taskArtifactNotifications: TaskArtifactNotifications | undefined;
71
+ protected _drivers: Drivers | undefined;
72
+ protected _taskArtifacts: TaskArtifacts | undefined;
73
+ protected _offChrtShipperOrg: OffChrtShipperOrg | undefined;
74
+ protected _orders: Orders | undefined;
75
+ protected _orderDrafts: OrderDrafts | undefined;
68
76
  protected _taskGroups: TaskGroups | undefined;
69
77
  protected _shipperContactInfo: ShipperContactInfo | undefined;
70
- protected _milestoneNotifications: MilestoneNotifications | undefined;
71
78
  protected _orgs: Orgs | undefined;
72
- protected _payments: Payments | undefined;
73
79
  protected _root: Root | undefined;
74
80
  protected _users: Users | undefined;
75
81
  protected _utils: Utils | undefined;
@@ -77,24 +83,27 @@ export declare class ChrtClient {
77
83
  protected _orgConnectionInfos: OrgConnectionInfos | undefined;
78
84
  protected _tracking: Tracking | undefined;
79
85
  constructor(_options?: ChrtClient.Options);
80
- get dev(): Dev;
81
- get drivers(): Drivers;
82
- get milestones(): Milestones;
83
- get offChrtShipperOrgInfo(): OffChrtShipperOrgInfo;
84
- get orgProfiles(): OrgProfiles;
85
- get orders(): Orders;
86
- get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
87
- get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
86
+ get payments(): Payments;
88
87
  get courierPayDriverLineItemGroups(): CourierPayDriverLineItemGroups;
88
+ get courierPayDriverPayouts(): CourierPayDriverPayouts;
89
+ get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
90
+ get courierPayDriverStatements(): CourierPayDriverStatements;
89
91
  get shipperPayCourierLineItemGroups(): ShipperPayCourierLineItemGroups;
90
92
  get shipperPayCourierPayments(): ShipperPayCourierPayments;
91
- get courierPayDriverPayouts(): CourierPayDriverPayouts;
93
+ get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
94
+ get shipperPayCourierStatements(): ShipperPayCourierStatements;
92
95
  get connections(): Connections;
96
+ get orgProfiles(): OrgProfiles;
97
+ get dev(): Dev;
98
+ get taskArtifactNotifications(): TaskArtifactNotifications;
99
+ get drivers(): Drivers;
100
+ get taskArtifacts(): TaskArtifacts;
101
+ get offChrtShipperOrg(): OffChrtShipperOrg;
102
+ get orders(): Orders;
103
+ get orderDrafts(): OrderDrafts;
93
104
  get taskGroups(): TaskGroups;
94
105
  get shipperContactInfo(): ShipperContactInfo;
95
- get milestoneNotifications(): MilestoneNotifications;
96
106
  get orgs(): Orgs;
97
- get payments(): Payments;
98
107
  get root(): Root;
99
108
  get users(): Users;
100
109
  get utils(): Utils;
@@ -3,24 +3,27 @@
3
3
  */
4
4
  import * as core from "./core/index.mjs";
5
5
  import { mergeHeaders } from "./core/headers.mjs";
6
- import { Dev } from "./api/resources/dev/client/Client.mjs";
7
- import { Drivers } from "./api/resources/drivers/client/Client.mjs";
8
- import { Milestones } from "./api/resources/milestones/client/Client.mjs";
9
- import { OffChrtShipperOrgInfo } from "./api/resources/offChrtShipperOrgInfo/client/Client.mjs";
10
- import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.mjs";
11
- import { Orders } from "./api/resources/orders/client/Client.mjs";
12
- import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.mjs";
13
- import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.mjs";
6
+ import { Payments } from "./api/resources/payments/client/Client.mjs";
14
7
  import { CourierPayDriverLineItemGroups } from "./api/resources/courierPayDriverLineItemGroups/client/Client.mjs";
8
+ import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.mjs";
9
+ import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.mjs";
10
+ import { CourierPayDriverStatements } from "./api/resources/courierPayDriverStatements/client/Client.mjs";
15
11
  import { ShipperPayCourierLineItemGroups } from "./api/resources/shipperPayCourierLineItemGroups/client/Client.mjs";
16
12
  import { ShipperPayCourierPayments } from "./api/resources/shipperPayCourierPayments/client/Client.mjs";
17
- import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.mjs";
13
+ import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.mjs";
14
+ import { ShipperPayCourierStatements } from "./api/resources/shipperPayCourierStatements/client/Client.mjs";
18
15
  import { Connections } from "./api/resources/connections/client/Client.mjs";
16
+ import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.mjs";
17
+ import { Dev } from "./api/resources/dev/client/Client.mjs";
18
+ import { TaskArtifactNotifications } from "./api/resources/taskArtifactNotifications/client/Client.mjs";
19
+ import { Drivers } from "./api/resources/drivers/client/Client.mjs";
20
+ import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.mjs";
21
+ import { OffChrtShipperOrg } from "./api/resources/offChrtShipperOrg/client/Client.mjs";
22
+ import { Orders } from "./api/resources/orders/client/Client.mjs";
23
+ import { OrderDrafts } from "./api/resources/orderDrafts/client/Client.mjs";
19
24
  import { TaskGroups } from "./api/resources/taskGroups/client/Client.mjs";
20
25
  import { ShipperContactInfo } from "./api/resources/shipperContactInfo/client/Client.mjs";
21
- import { MilestoneNotifications } from "./api/resources/milestoneNotifications/client/Client.mjs";
22
26
  import { Orgs } from "./api/resources/orgs/client/Client.mjs";
23
- import { Payments } from "./api/resources/payments/client/Client.mjs";
24
27
  import { Root } from "./api/resources/root/client/Client.mjs";
25
28
  import { Users } from "./api/resources/users/client/Client.mjs";
26
29
  import { Utils } from "./api/resources/utils/client/Client.mjs";
@@ -32,63 +35,83 @@ export class ChrtClient {
32
35
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
33
36
  "X-Fern-Language": "JavaScript",
34
37
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
35
- "X-Fern-SDK-Version": "1.299.0",
36
- "User-Agent": "@chrt-inc/typescript-sdk/1.299.0",
38
+ "X-Fern-SDK-Version": "1.303.0",
39
+ "User-Agent": "@chrt-inc/typescript-sdk/1.303.0",
37
40
  "X-Fern-Runtime": core.RUNTIME.type,
38
41
  "X-Fern-Runtime-Version": core.RUNTIME.version,
39
42
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
40
43
  }
41
- get dev() {
44
+ get payments() {
42
45
  var _a;
43
- return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Dev(this._options)));
46
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Payments(this._options)));
44
47
  }
45
- get drivers() {
48
+ get courierPayDriverLineItemGroups() {
46
49
  var _a;
47
- return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Drivers(this._options)));
50
+ return ((_a = this._courierPayDriverLineItemGroups) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroups = new CourierPayDriverLineItemGroups(this._options)));
48
51
  }
49
- get milestones() {
52
+ get courierPayDriverPayouts() {
50
53
  var _a;
51
- return ((_a = this._milestones) !== null && _a !== void 0 ? _a : (this._milestones = new Milestones(this._options)));
54
+ return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new CourierPayDriverPayouts(this._options)));
52
55
  }
53
- get offChrtShipperOrgInfo() {
56
+ get courierPayDriverRateSheets() {
54
57
  var _a;
55
- return ((_a = this._offChrtShipperOrgInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgInfo = new OffChrtShipperOrgInfo(this._options)));
58
+ return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new CourierPayDriverRateSheets(this._options)));
56
59
  }
57
- get orgProfiles() {
60
+ get courierPayDriverStatements() {
58
61
  var _a;
59
- return ((_a = this._orgProfiles) !== null && _a !== void 0 ? _a : (this._orgProfiles = new OrgProfiles(this._options)));
62
+ return ((_a = this._courierPayDriverStatements) !== null && _a !== void 0 ? _a : (this._courierPayDriverStatements = new CourierPayDriverStatements(this._options)));
60
63
  }
61
- get orders() {
64
+ get shipperPayCourierLineItemGroups() {
62
65
  var _a;
63
- return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Orders(this._options)));
66
+ return ((_a = this._shipperPayCourierLineItemGroups) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroups = new ShipperPayCourierLineItemGroups(this._options)));
64
67
  }
65
- get courierPayDriverRateSheets() {
68
+ get shipperPayCourierPayments() {
66
69
  var _a;
67
- return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new CourierPayDriverRateSheets(this._options)));
70
+ return ((_a = this._shipperPayCourierPayments) !== null && _a !== void 0 ? _a : (this._shipperPayCourierPayments = new ShipperPayCourierPayments(this._options)));
68
71
  }
69
72
  get shipperPayCourierRateSheets() {
70
73
  var _a;
71
74
  return ((_a = this._shipperPayCourierRateSheets) !== null && _a !== void 0 ? _a : (this._shipperPayCourierRateSheets = new ShipperPayCourierRateSheets(this._options)));
72
75
  }
73
- get courierPayDriverLineItemGroups() {
76
+ get shipperPayCourierStatements() {
74
77
  var _a;
75
- return ((_a = this._courierPayDriverLineItemGroups) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroups = new CourierPayDriverLineItemGroups(this._options)));
78
+ return ((_a = this._shipperPayCourierStatements) !== null && _a !== void 0 ? _a : (this._shipperPayCourierStatements = new ShipperPayCourierStatements(this._options)));
76
79
  }
77
- get shipperPayCourierLineItemGroups() {
80
+ get connections() {
78
81
  var _a;
79
- return ((_a = this._shipperPayCourierLineItemGroups) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroups = new ShipperPayCourierLineItemGroups(this._options)));
82
+ return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Connections(this._options)));
80
83
  }
81
- get shipperPayCourierPayments() {
84
+ get orgProfiles() {
82
85
  var _a;
83
- return ((_a = this._shipperPayCourierPayments) !== null && _a !== void 0 ? _a : (this._shipperPayCourierPayments = new ShipperPayCourierPayments(this._options)));
86
+ return ((_a = this._orgProfiles) !== null && _a !== void 0 ? _a : (this._orgProfiles = new OrgProfiles(this._options)));
84
87
  }
85
- get courierPayDriverPayouts() {
88
+ get dev() {
86
89
  var _a;
87
- return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new CourierPayDriverPayouts(this._options)));
90
+ return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Dev(this._options)));
88
91
  }
89
- get connections() {
92
+ get taskArtifactNotifications() {
90
93
  var _a;
91
- return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Connections(this._options)));
94
+ return ((_a = this._taskArtifactNotifications) !== null && _a !== void 0 ? _a : (this._taskArtifactNotifications = new TaskArtifactNotifications(this._options)));
95
+ }
96
+ get drivers() {
97
+ var _a;
98
+ return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Drivers(this._options)));
99
+ }
100
+ get taskArtifacts() {
101
+ var _a;
102
+ return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new TaskArtifacts(this._options)));
103
+ }
104
+ get offChrtShipperOrg() {
105
+ var _a;
106
+ return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new OffChrtShipperOrg(this._options)));
107
+ }
108
+ get orders() {
109
+ var _a;
110
+ return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Orders(this._options)));
111
+ }
112
+ get orderDrafts() {
113
+ var _a;
114
+ return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new OrderDrafts(this._options)));
92
115
  }
93
116
  get taskGroups() {
94
117
  var _a;
@@ -98,18 +121,10 @@ export class ChrtClient {
98
121
  var _a;
99
122
  return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new ShipperContactInfo(this._options)));
100
123
  }
101
- get milestoneNotifications() {
102
- var _a;
103
- return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new MilestoneNotifications(this._options)));
104
- }
105
124
  get orgs() {
106
125
  var _a;
107
126
  return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Orgs(this._options)));
108
127
  }
109
- get payments() {
110
- var _a;
111
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Payments(this._options)));
112
- }
113
128
  get root() {
114
129
  var _a;
115
130
  return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Root(this._options)));
@@ -5,6 +5,8 @@ import * as environments from "../../../../environments.mjs";
5
5
  import * as core from "../../../../core/index.mjs";
6
6
  import * as Chrt from "../../../index.mjs";
7
7
  import { ConnectionToCourier } from "../resources/connectionToCourier/client/Client.mjs";
8
+ import { ConnectionToShipper } from "../resources/connectionToShipper/client/Client.mjs";
9
+ import { ConnectionToForwarder } from "../resources/connectionToForwarder/client/Client.mjs";
8
10
  export declare namespace Connections {
9
11
  interface Options {
10
12
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -31,27 +33,41 @@ export declare namespace Connections {
31
33
  export declare class Connections {
32
34
  protected readonly _options: Connections.Options;
33
35
  protected _connectionToCourier: ConnectionToCourier | undefined;
36
+ protected _connectionToShipper: ConnectionToShipper | undefined;
37
+ protected _connectionToForwarder: ConnectionToForwarder | undefined;
34
38
  constructor(_options?: Connections.Options);
35
39
  get connectionToCourier(): ConnectionToCourier;
40
+ get connectionToShipper(): ConnectionToShipper;
41
+ get connectionToForwarder(): ConnectionToForwarder;
36
42
  /**
37
- * Lists all shipper organizations connected to the authenticated courier organization.
43
+ * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
38
44
  *
39
45
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
40
46
  *
41
47
  * @example
42
48
  * await client.connections.listShippersV1()
43
49
  */
44
- listShippersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1[]>;
50
+ listShippersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperConnectionRes[]>;
45
51
  private __listShippersV1;
46
52
  /**
47
- * Lists all courier organizations connected to the authenticated shipper organization.
53
+ * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
48
54
  *
49
55
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
50
56
  *
51
57
  * @example
52
58
  * await client.connections.listCouriersV1()
53
59
  */
54
- listCouriersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1[]>;
60
+ listCouriersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierConnectionRes[]>;
55
61
  private __listCouriersV1;
62
+ /**
63
+ * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
64
+ *
65
+ * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
66
+ *
67
+ * @example
68
+ * await client.connections.listForwardersV1()
69
+ */
70
+ listForwardersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ForwarderConnectionRes[]>;
71
+ private __listForwardersV1;
56
72
  protected _getAuthorizationHeader(): Promise<string | undefined>;
57
73
  }
@@ -15,6 +15,8 @@ import * as core from "../../../../core/index.mjs";
15
15
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
16
16
  import * as errors from "../../../../errors/index.mjs";
17
17
  import { ConnectionToCourier } from "../resources/connectionToCourier/client/Client.mjs";
18
+ import { ConnectionToShipper } from "../resources/connectionToShipper/client/Client.mjs";
19
+ import { ConnectionToForwarder } from "../resources/connectionToForwarder/client/Client.mjs";
18
20
  export class Connections {
19
21
  constructor(_options = {}) {
20
22
  this._options = _options;
@@ -23,8 +25,16 @@ export class Connections {
23
25
  var _a;
24
26
  return ((_a = this._connectionToCourier) !== null && _a !== void 0 ? _a : (this._connectionToCourier = new ConnectionToCourier(this._options)));
25
27
  }
28
+ get connectionToShipper() {
29
+ var _a;
30
+ return ((_a = this._connectionToShipper) !== null && _a !== void 0 ? _a : (this._connectionToShipper = new ConnectionToShipper(this._options)));
31
+ }
32
+ get connectionToForwarder() {
33
+ var _a;
34
+ return ((_a = this._connectionToForwarder) !== null && _a !== void 0 ? _a : (this._connectionToForwarder = new ConnectionToForwarder(this._options)));
35
+ }
26
36
  /**
27
- * Lists all shipper organizations connected to the authenticated courier organization.
37
+ * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
28
38
  *
29
39
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
30
40
  *
@@ -39,7 +49,7 @@ export class Connections {
39
49
  var _a, _b, _c, _d;
40
50
  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);
41
51
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
42
- 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/connections/shippers/list/v1"),
52
+ 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, "connections/shippers/list/v1"),
43
53
  method: "GET",
44
54
  headers: _headers,
45
55
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -65,7 +75,7 @@ export class Connections {
65
75
  rawResponse: _response.rawResponse,
66
76
  });
67
77
  case "timeout":
68
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/shippers/list/v1.");
78
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /connections/shippers/list/v1.");
69
79
  case "unknown":
70
80
  throw new errors.ChrtError({
71
81
  message: _response.error.errorMessage,
@@ -75,7 +85,7 @@ export class Connections {
75
85
  });
76
86
  }
77
87
  /**
78
- * Lists all courier organizations connected to the authenticated shipper organization.
88
+ * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
79
89
  *
80
90
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
81
91
  *
@@ -90,7 +100,58 @@ export class Connections {
90
100
  var _a, _b, _c, _d;
91
101
  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);
92
102
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
93
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/connections/couriers/list/v1"),
103
+ 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, "connections/couriers/list/v1"),
104
+ method: "GET",
105
+ headers: _headers,
106
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
107
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
108
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
109
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
110
+ });
111
+ if (_response.ok) {
112
+ return { data: _response.body, rawResponse: _response.rawResponse };
113
+ }
114
+ if (_response.error.reason === "status-code") {
115
+ throw new errors.ChrtError({
116
+ statusCode: _response.error.statusCode,
117
+ body: _response.error.body,
118
+ rawResponse: _response.rawResponse,
119
+ });
120
+ }
121
+ switch (_response.error.reason) {
122
+ case "non-json":
123
+ throw new errors.ChrtError({
124
+ statusCode: _response.error.statusCode,
125
+ body: _response.error.rawBody,
126
+ rawResponse: _response.rawResponse,
127
+ });
128
+ case "timeout":
129
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /connections/couriers/list/v1.");
130
+ case "unknown":
131
+ throw new errors.ChrtError({
132
+ message: _response.error.errorMessage,
133
+ rawResponse: _response.rawResponse,
134
+ });
135
+ }
136
+ });
137
+ }
138
+ /**
139
+ * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
140
+ *
141
+ * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
142
+ *
143
+ * @example
144
+ * await client.connections.listForwardersV1()
145
+ */
146
+ listForwardersV1(requestOptions) {
147
+ return core.HttpResponsePromise.fromPromise(this.__listForwardersV1(requestOptions));
148
+ }
149
+ __listForwardersV1(requestOptions) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ var _a, _b, _c, _d;
152
+ 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);
153
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
154
+ 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, "connections/forwarders/list/v1"),
94
155
  method: "GET",
95
156
  headers: _headers,
96
157
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -116,7 +177,7 @@ export class Connections {
116
177
  rawResponse: _response.rawResponse,
117
178
  });
118
179
  case "timeout":
119
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/couriers/list/v1.");
180
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /connections/forwarders/list/v1.");
120
181
  case "unknown":
121
182
  throw new errors.ChrtError({
122
183
  message: _response.error.errorMessage,
@@ -31,9 +31,9 @@ export declare class ConnectionToCourier {
31
31
  protected readonly _options: ConnectionToCourier.Options;
32
32
  constructor(_options?: ConnectionToCourier.Options);
33
33
  /**
34
- * Creates a new connection between a shipper and courier organization using the courier's handle. Auto-approves if the courier has enabled auto-approval.
34
+ * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
35
35
  *
36
- * @param {Chrt.connections.CreateConnectionReq} request
36
+ * @param {Chrt.CreateConnectionReq} request
37
37
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -43,7 +43,7 @@ export declare class ConnectionToCourier {
43
43
  * handle: "handle"
44
44
  * })
45
45
  */
46
- createV1(request: Chrt.connections.CreateConnectionReq, requestOptions?: ConnectionToCourier.RequestOptions): core.HttpResponsePromise<string>;
46
+ createV1(request: Chrt.CreateConnectionReq, requestOptions?: ConnectionToCourier.RequestOptions): core.HttpResponsePromise<string>;
47
47
  private __createV1;
48
48
  protected _getAuthorizationHeader(): Promise<string | undefined>;
49
49
  }
@@ -20,9 +20,9 @@ export class ConnectionToCourier {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Creates a new connection between a shipper and courier organization using the courier's handle. Auto-approves if the courier has enabled auto-approval.
23
+ * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
24
24
  *
25
- * @param {Chrt.connections.CreateConnectionReq} request
25
+ * @param {Chrt.CreateConnectionReq} request
26
26
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -40,7 +40,7 @@ export class ConnectionToCourier {
40
40
  var _a, _b, _c, _d;
41
41
  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);
42
42
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
43
- 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/connections/connection_to_courier/create/v1"),
43
+ 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, "connections/connection_to_courier/create/v1"),
44
44
  method: "POST",
45
45
  headers: _headers,
46
46
  contentType: "application/json",
@@ -74,7 +74,7 @@ export class ConnectionToCourier {
74
74
  rawResponse: _response.rawResponse,
75
75
  });
76
76
  case "timeout":
77
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/connections/connection_to_courier/create/v1.");
77
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /connections/connection_to_courier/create/v1.");
78
78
  case "unknown":
79
79
  throw new errors.ChrtError({
80
80
  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,49 @@
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
+ export declare namespace ConnectionToForwarder {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class ConnectionToForwarder {
31
+ protected readonly _options: ConnectionToForwarder.Options;
32
+ constructor(_options?: ConnectionToForwarder.Options);
33
+ /**
34
+ * Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders.
35
+ *
36
+ * @param {Chrt.CreateConnectionReq} request
37
+ * @param {ConnectionToForwarder.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.connections.connectionToForwarder.createV1({
43
+ * handle: "handle"
44
+ * })
45
+ */
46
+ createV1(request: Chrt.CreateConnectionReq, requestOptions?: ConnectionToForwarder.RequestOptions): core.HttpResponsePromise<string>;
47
+ private __createV1;
48
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
49
+ }