@chrt-inc/typescript-sdk 0.0.162-b → 0.0.170

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 (1712) hide show
  1. package/README.md +26 -9
  2. package/dist/cjs/Client.d.ts +99 -0
  3. package/dist/cjs/Client.js +169 -0
  4. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +9 -0
  5. package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
  6. package/dist/cjs/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/api/errors/index.js +17 -0
  8. package/dist/cjs/api/index.d.ts +3 -0
  9. package/dist/cjs/api/index.js +19 -0
  10. package/dist/cjs/api/resources/dev/client/Client.d.ts +79 -0
  11. package/dist/cjs/api/resources/dev/client/Client.js +318 -0
  12. package/dist/cjs/api/resources/dev/client/index.d.ts +2 -0
  13. package/dist/cjs/api/resources/dev/client/index.js +17 -0
  14. package/dist/cjs/api/resources/dev/client/requests/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/dev/index.d.ts +1 -0
  16. package/dist/cjs/api/resources/dev/index.js +17 -0
  17. package/dist/cjs/api/resources/directory/client/Client.d.ts +45 -0
  18. package/dist/cjs/api/resources/directory/client/Client.js +128 -0
  19. package/dist/cjs/api/resources/directory/client/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/directory/client/index.js +17 -0
  21. package/dist/cjs/api/resources/directory/client/requests/DbQueryParams.d.ts +12 -0
  22. package/dist/cjs/api/resources/directory/client/requests/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/directory/index.d.ts +1 -0
  24. package/dist/cjs/api/resources/directory/index.js +17 -0
  25. package/dist/cjs/api/resources/index.d.ts +44 -0
  26. package/dist/cjs/api/resources/index.js +83 -0
  27. package/dist/cjs/api/resources/mirror/client/Client.d.ts +138 -0
  28. package/dist/cjs/api/resources/mirror/client/Client.js +658 -0
  29. package/dist/cjs/api/resources/mirror/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/mirror/index.js +17 -0
  31. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +57 -0
  32. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.js +179 -0
  33. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/index.js +17 -0
  35. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +18 -0
  36. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/index.d.ts +1 -0
  38. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/index.js +17 -0
  39. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +57 -0
  40. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.js +179 -0
  41. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/index.js +17 -0
  43. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +18 -0
  44. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/index.js +17 -0
  47. package/dist/cjs/api/resources/oortConnections/client/Client.d.ts +63 -0
  48. package/dist/cjs/api/resources/oortConnections/client/Client.js +224 -0
  49. package/dist/cjs/api/resources/oortConnections/client/index.d.ts +2 -0
  50. package/dist/cjs/api/resources/oortConnections/client/index.js +17 -0
  51. package/dist/cjs/api/resources/oortConnections/client/requests/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/oortConnections/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/oortConnections/index.js +17 -0
  54. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +136 -0
  55. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.js +487 -0
  56. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/index.d.ts +2 -0
  57. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/index.js +17 -0
  58. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.ts +19 -0
  59. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts +18 -0
  60. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts +18 -0
  61. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +12 -0
  62. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +12 -0
  63. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.ts +19 -0
  64. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +6 -0
  65. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/index.js +17 -0
  67. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.d.ts +70 -0
  68. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.js +241 -0
  69. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/index.d.ts +2 -0
  70. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/index.js +17 -0
  71. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +14 -0
  72. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.ts +1 -0
  73. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/index.d.ts +1 -0
  74. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/index.js +17 -0
  75. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +94 -0
  76. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.js +299 -0
  77. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.d.ts +2 -0
  78. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.js +17 -0
  79. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +50 -0
  80. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +1 -0
  81. package/dist/cjs/api/resources/oortCourierPayDriverRate/index.d.ts +1 -0
  82. package/dist/cjs/api/resources/oortCourierPayDriverRate/index.js +17 -0
  83. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +72 -0
  84. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.js +243 -0
  85. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.d.ts +2 -0
  86. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.js +17 -0
  87. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +29 -0
  88. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +1 -0
  89. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.d.ts +1 -0
  90. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.js +17 -0
  91. package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +147 -0
  92. package/dist/cjs/api/resources/oortDrivers/client/Client.js +576 -0
  93. package/dist/cjs/api/resources/oortDrivers/client/index.d.ts +2 -0
  94. package/dist/cjs/api/resources/oortDrivers/client/index.js +17 -0
  95. package/dist/cjs/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +17 -0
  96. package/dist/cjs/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +15 -0
  97. package/dist/cjs/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +14 -0
  98. package/dist/cjs/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +18 -0
  99. package/dist/cjs/api/resources/oortDrivers/client/requests/index.d.ts +4 -0
  100. package/dist/cjs/api/resources/oortDrivers/index.d.ts +1 -0
  101. package/dist/cjs/api/resources/oortDrivers/index.js +17 -0
  102. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/Client.d.ts +53 -0
  103. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/Client.js +178 -0
  104. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.d.ts +2 -0
  105. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.js +17 -0
  106. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +18 -0
  107. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.ts +1 -0
  108. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.d.ts +1 -0
  109. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.js +17 -0
  110. package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +114 -0
  111. package/dist/cjs/api/resources/oortMilestones/client/Client.js +431 -0
  112. package/dist/cjs/api/resources/oortMilestones/client/index.d.ts +2 -0
  113. package/dist/cjs/api/resources/oortMilestones/client/index.js +17 -0
  114. package/dist/cjs/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +14 -0
  115. package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +16 -0
  116. package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +14 -0
  117. package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +3 -0
  118. package/dist/cjs/api/resources/oortMilestones/index.d.ts +1 -0
  119. package/dist/cjs/api/resources/oortMilestones/index.js +17 -0
  120. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +75 -0
  121. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js +252 -0
  122. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.ts +2 -0
  123. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.js +17 -0
  124. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +25 -0
  125. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +20 -0
  126. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.ts +2 -0
  127. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.ts +1 -0
  128. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.js +17 -0
  129. package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +138 -0
  130. package/dist/cjs/api/resources/oortOrders/client/Client.js +509 -0
  131. package/dist/cjs/api/resources/oortOrders/client/index.d.ts +2 -0
  132. package/dist/cjs/api/resources/oortOrders/client/index.js +17 -0
  133. package/dist/cjs/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +45 -0
  134. package/dist/cjs/api/resources/oortOrders/client/requests/index.d.ts +1 -0
  135. package/dist/cjs/api/resources/oortOrders/index.d.ts +1 -0
  136. package/dist/cjs/api/resources/oortOrders/index.js +17 -0
  137. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +110 -0
  138. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.js +412 -0
  139. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.d.ts +2 -0
  140. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.js +17 -0
  141. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +24 -0
  142. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +20 -0
  143. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +24 -0
  144. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +20 -0
  145. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +4 -0
  146. package/dist/cjs/api/resources/oortOrgConnectionInfos/index.d.ts +1 -0
  147. package/dist/cjs/api/resources/oortOrgConnectionInfos/index.js +17 -0
  148. package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +95 -0
  149. package/dist/cjs/api/resources/oortOrgProfiles/client/Client.js +356 -0
  150. package/dist/cjs/api/resources/oortOrgProfiles/client/index.d.ts +2 -0
  151. package/dist/cjs/api/resources/oortOrgProfiles/client/index.js +17 -0
  152. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +18 -0
  153. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts +12 -0
  154. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/index.d.ts +3 -0
  155. package/dist/cjs/api/resources/oortOrgProfiles/index.d.ts +1 -0
  156. package/dist/cjs/api/resources/oortOrgProfiles/index.js +17 -0
  157. package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +148 -0
  158. package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.js +579 -0
  159. package/dist/cjs/api/resources/oortShipperContactInfo/client/index.d.ts +2 -0
  160. package/dist/cjs/api/resources/oortShipperContactInfo/client/index.js +17 -0
  161. package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +21 -0
  162. package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.d.ts +1 -0
  163. package/dist/cjs/api/resources/oortShipperContactInfo/index.d.ts +1 -0
  164. package/dist/cjs/api/resources/oortShipperContactInfo/index.js +17 -0
  165. package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +128 -0
  166. package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +515 -0
  167. package/dist/cjs/api/resources/oortTaskGroups/client/index.d.ts +2 -0
  168. package/dist/cjs/api/resources/oortTaskGroups/client/index.js +17 -0
  169. package/dist/cjs/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +14 -0
  170. package/dist/cjs/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +14 -0
  171. package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.d.ts +2 -0
  172. package/dist/cjs/api/resources/oortTaskGroups/index.d.ts +1 -0
  173. package/dist/cjs/api/resources/oortTaskGroups/index.js +17 -0
  174. package/dist/cjs/api/resources/orgs/client/Client.d.ts +115 -0
  175. package/dist/cjs/api/resources/orgs/client/Client.js +450 -0
  176. package/dist/cjs/api/resources/orgs/client/index.d.ts +2 -0
  177. package/dist/cjs/api/resources/orgs/client/index.js +17 -0
  178. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +14 -0
  179. package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +11 -0
  180. package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +2 -0
  181. package/dist/cjs/api/resources/orgs/index.d.ts +1 -0
  182. package/dist/cjs/api/resources/orgs/index.js +17 -0
  183. package/dist/cjs/api/resources/payments/client/Client.d.ts +69 -0
  184. package/dist/cjs/api/resources/payments/client/Client.js +230 -0
  185. package/dist/cjs/api/resources/payments/client/index.d.ts +2 -0
  186. package/dist/cjs/api/resources/payments/client/index.js +17 -0
  187. package/dist/cjs/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +13 -0
  188. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -0
  189. package/dist/cjs/api/resources/payments/index.d.ts +1 -0
  190. package/dist/cjs/api/resources/payments/index.js +17 -0
  191. package/dist/cjs/api/resources/root/client/Client.d.ts +94 -0
  192. package/dist/cjs/api/resources/root/client/Client.js +402 -0
  193. package/dist/cjs/api/resources/root/index.d.ts +2 -0
  194. package/dist/cjs/api/resources/root/index.js +18 -0
  195. package/dist/cjs/api/resources/root/types/PydanticResponse.d.ts +8 -0
  196. package/dist/cjs/api/resources/root/types/index.d.ts +1 -0
  197. package/dist/cjs/api/resources/root/types/index.js +17 -0
  198. package/dist/cjs/api/resources/users/client/Client.d.ts +40 -0
  199. package/dist/cjs/api/resources/users/client/Client.js +114 -0
  200. package/dist/cjs/api/resources/users/index.d.ts +1 -0
  201. package/dist/cjs/api/resources/users/index.js +17 -0
  202. package/dist/cjs/api/types/Cargo1.d.ts +16 -0
  203. package/dist/cjs/api/types/CargoClientCreate1.d.ts +13 -0
  204. package/dist/cjs/api/types/CourierNotificationEventEnum.d.ts +7 -0
  205. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +18 -0
  206. package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +22 -0
  207. package/dist/cjs/api/types/CourierOrgProfile3.d.ts +12 -0
  208. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +14 -0
  209. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +10 -0
  210. package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +31 -0
  211. package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +28 -0
  212. package/dist/cjs/api/types/Driver1.d.ts +23 -0
  213. package/dist/cjs/api/types/EmailRes.d.ts +7 -0
  214. package/dist/cjs/api/types/Expense1.d.ts +13 -0
  215. package/dist/cjs/api/types/Feature.d.ts +18 -0
  216. package/dist/cjs/api/types/FeatureInputGeometry.d.ts +28 -0
  217. package/dist/cjs/api/types/FeatureOutputGeometry.d.ts +28 -0
  218. package/dist/cjs/api/types/GeometryCollection.d.ts +11 -0
  219. package/dist/cjs/api/types/GeometryCollectionInputGeometriesItem.d.ts +28 -0
  220. package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.d.ts +28 -0
  221. package/dist/cjs/api/types/GetOrderFullRes.d.ts +11 -0
  222. package/dist/cjs/api/types/GetOrderRes.d.ts +7 -0
  223. package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
  224. package/dist/cjs/api/types/Incident1.d.ts +7 -0
  225. package/dist/cjs/api/types/Insurance1.d.ts +7 -0
  226. package/dist/cjs/api/types/LineItem1.d.ts +11 -0
  227. package/dist/cjs/api/types/LineString.d.ts +17 -0
  228. package/dist/cjs/api/types/Milestone1.d.ts +27 -0
  229. package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +9 -0
  230. package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +18 -0
  231. package/dist/cjs/api/types/MultiLineString.d.ts +17 -0
  232. package/dist/cjs/api/types/MultiPoint.d.ts +17 -0
  233. package/dist/cjs/api/types/MultiPolygon.d.ts +17 -0
  234. package/dist/cjs/api/types/MultipleTaskGroupsDetailsResponse.d.ts +7 -0
  235. package/dist/cjs/api/types/MultipleTaskGroupsWithTasks.d.ts +7 -0
  236. package/dist/cjs/api/types/NotificationChannelEnum.d.ts +13 -0
  237. package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +23 -0
  238. package/dist/cjs/api/types/Order1.d.ts +29 -0
  239. package/dist/cjs/api/types/OrgMemberDetails.d.ts +11 -0
  240. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +8 -0
  241. package/dist/cjs/api/types/OrgPublicData2.d.ts +11 -0
  242. package/dist/cjs/api/types/PayablesInvoice1.d.ts +34 -0
  243. package/dist/cjs/api/types/PayablesInvoice1.js +18 -0
  244. package/dist/cjs/api/types/Point.d.ts +14 -0
  245. package/dist/cjs/api/types/Polygon.d.ts +17 -0
  246. package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +34 -0
  247. package/dist/cjs/api/types/ReceivablesInvoice1.js +18 -0
  248. package/dist/cjs/api/types/Shipper2.d.ts +20 -0
  249. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +28 -0
  250. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +23 -0
  251. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +13 -0
  252. package/dist/cjs/api/types/ShipperNotificationEventEnum.d.ts +7 -0
  253. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +18 -0
  254. package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +22 -0
  255. package/dist/cjs/api/types/StreetAddress1.d.ts +18 -0
  256. package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +32 -0
  257. package/dist/cjs/api/types/StripeConnectInvoice1.js +18 -0
  258. package/dist/cjs/api/types/Task1.d.ts +31 -0
  259. package/dist/cjs/api/types/TaskClientCreate1.d.ts +17 -0
  260. package/dist/cjs/api/types/TaskCreateBundle.d.ts +13 -0
  261. package/dist/cjs/api/types/TaskGroup1.d.ts +24 -0
  262. package/dist/cjs/api/types/TaskGroupDetailsResponse.d.ts +8 -0
  263. package/dist/cjs/api/types/TaskGroupWithDetails.d.ts +8 -0
  264. package/dist/cjs/api/types/TaskGroupWithTasks.d.ts +8 -0
  265. package/dist/cjs/api/types/TaskWithDetails.d.ts +9 -0
  266. package/dist/cjs/api/types/Tracker1.d.ts +7 -0
  267. package/dist/cjs/api/types/TrackerSession1.d.ts +7 -0
  268. package/dist/cjs/api/types/UserPublicData6.d.ts +14 -0
  269. package/dist/cjs/api/types/ValidationError.d.ts +14 -0
  270. package/dist/cjs/api/types/Vehicle1.d.ts +7 -0
  271. package/dist/cjs/api/types/index.d.ts +90 -0
  272. package/dist/cjs/api/types/index.js +106 -0
  273. package/dist/cjs/core/auth/BasicAuth.js +26 -0
  274. package/dist/cjs/core/auth/index.d.ts +2 -0
  275. package/dist/cjs/core/auth/index.js +7 -0
  276. package/dist/cjs/core/base64.d.ts +2 -0
  277. package/dist/cjs/core/base64.js +26 -0
  278. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  279. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +20 -0
  280. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  281. package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
  282. package/dist/cjs/core/fetcher/Fetcher.js +120 -0
  283. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  284. package/dist/cjs/core/fetcher/Headers.js +84 -0
  285. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  286. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  287. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  288. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  289. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
  290. package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
  291. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  292. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  293. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  294. package/dist/cjs/core/fetcher/getErrorResponseBody.js +44 -0
  295. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  296. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  297. package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
  298. package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
  299. package/dist/cjs/core/fetcher/index.d.ts +9 -0
  300. package/dist/cjs/core/fetcher/index.js +15 -0
  301. package/dist/cjs/core/fetcher/makeRequest.js +42 -0
  302. package/dist/cjs/core/file.d.ts +1 -0
  303. package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +16 -0
  304. package/dist/cjs/core/form-data-utils/FormDataWrapper.js +208 -0
  305. package/dist/cjs/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
  306. package/dist/cjs/core/form-data-utils/encodeAsFormParameter.js +12 -0
  307. package/dist/cjs/core/form-data-utils/index.d.ts +2 -0
  308. package/dist/cjs/core/form-data-utils/index.js +20 -0
  309. package/dist/cjs/core/headers.d.ts +3 -0
  310. package/dist/cjs/core/headers.js +29 -0
  311. package/dist/cjs/core/index.d.ts +7 -0
  312. package/dist/cjs/core/index.js +46 -0
  313. package/dist/cjs/core/runtime/index.d.ts +1 -0
  314. package/dist/cjs/core/runtime/index.js +5 -0
  315. package/dist/cjs/core/runtime/runtime.js +102 -0
  316. package/dist/cjs/core/url/index.d.ts +2 -0
  317. package/dist/cjs/core/url/index.js +7 -0
  318. package/dist/cjs/core/url/join.d.ts +1 -0
  319. package/dist/cjs/core/url/join.js +69 -0
  320. package/dist/cjs/core/url/qs.d.ts +6 -0
  321. package/dist/cjs/core/url/qs.js +64 -0
  322. package/dist/cjs/errors/ChrtError.d.ts +15 -0
  323. package/dist/cjs/errors/ChrtError.js +30 -0
  324. package/dist/cjs/errors/index.d.ts +2 -0
  325. package/dist/cjs/errors/index.js +7 -0
  326. package/dist/cjs/index.d.ts +4 -0
  327. package/dist/cjs/index.js +44 -0
  328. package/dist/cjs/version.d.ts +1 -0
  329. package/dist/cjs/version.js +4 -0
  330. package/dist/esm/Client.d.mts +99 -0
  331. package/dist/esm/Client.mjs +132 -0
  332. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +9 -0
  333. package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
  334. package/dist/esm/api/errors/index.d.mts +1 -0
  335. package/dist/esm/api/errors/index.mjs +1 -0
  336. package/dist/esm/api/index.d.mts +3 -0
  337. package/dist/esm/api/index.mjs +3 -0
  338. package/dist/esm/api/resources/dev/client/Client.d.mts +79 -0
  339. package/dist/esm/api/resources/dev/client/Client.mjs +281 -0
  340. package/dist/esm/api/resources/dev/client/index.d.mts +2 -0
  341. package/dist/esm/api/resources/dev/client/index.mjs +1 -0
  342. package/dist/esm/api/resources/dev/client/requests/TemplateReq.mjs +4 -0
  343. package/dist/esm/api/resources/dev/client/requests/index.d.mts +1 -0
  344. package/dist/esm/api/resources/dev/index.d.mts +1 -0
  345. package/dist/esm/api/resources/dev/index.mjs +1 -0
  346. package/dist/esm/api/resources/directory/client/Client.d.mts +45 -0
  347. package/dist/esm/api/resources/directory/client/Client.mjs +91 -0
  348. package/dist/esm/api/resources/directory/client/index.d.mts +2 -0
  349. package/dist/esm/api/resources/directory/client/index.mjs +1 -0
  350. package/dist/esm/api/resources/directory/client/requests/DbQueryParams.d.mts +12 -0
  351. package/dist/esm/api/resources/directory/client/requests/DbQueryParams.mjs +4 -0
  352. package/dist/esm/api/resources/directory/client/requests/index.d.mts +1 -0
  353. package/dist/esm/api/resources/directory/index.d.mts +1 -0
  354. package/dist/esm/api/resources/directory/index.mjs +1 -0
  355. package/dist/esm/api/resources/index.d.mts +44 -0
  356. package/dist/esm/api/resources/index.mjs +44 -0
  357. package/dist/esm/api/resources/mirror/client/Client.d.mts +138 -0
  358. package/dist/esm/api/resources/mirror/client/Client.mjs +621 -0
  359. package/dist/esm/api/resources/mirror/client/index.mjs +1 -0
  360. package/dist/esm/api/resources/mirror/index.d.mts +1 -0
  361. package/dist/esm/api/resources/mirror/index.mjs +1 -0
  362. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +57 -0
  363. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.mjs +142 -0
  364. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/index.d.mts +2 -0
  365. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/index.mjs +1 -0
  366. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +18 -0
  367. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs +4 -0
  368. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.mts +1 -0
  369. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs +1 -0
  370. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/index.d.mts +1 -0
  371. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/index.mjs +1 -0
  372. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +57 -0
  373. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.mjs +142 -0
  374. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/index.d.mts +2 -0
  375. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/index.mjs +1 -0
  376. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +18 -0
  377. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs +4 -0
  378. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.mts +1 -0
  379. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.mjs +1 -0
  380. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/index.d.mts +1 -0
  381. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/index.mjs +1 -0
  382. package/dist/esm/api/resources/oortConnections/client/Client.d.mts +63 -0
  383. package/dist/esm/api/resources/oortConnections/client/Client.mjs +187 -0
  384. package/dist/esm/api/resources/oortConnections/client/index.d.mts +2 -0
  385. package/dist/esm/api/resources/oortConnections/client/index.mjs +1 -0
  386. package/dist/esm/api/resources/oortConnections/client/requests/CreateConnectionReq.mjs +4 -0
  387. package/dist/esm/api/resources/oortConnections/client/requests/index.d.mts +1 -0
  388. package/dist/esm/api/resources/oortConnections/client/requests/index.mjs +1 -0
  389. package/dist/esm/api/resources/oortConnections/index.d.mts +1 -0
  390. package/dist/esm/api/resources/oortConnections/index.mjs +1 -0
  391. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +136 -0
  392. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.mjs +450 -0
  393. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/index.d.mts +2 -0
  394. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/index.mjs +1 -0
  395. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.mts +19 -0
  396. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.mjs +4 -0
  397. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts +18 -0
  398. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs +4 -0
  399. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts +18 -0
  400. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs +4 -0
  401. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +12 -0
  402. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs +4 -0
  403. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +12 -0
  404. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs +4 -0
  405. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.mts +19 -0
  406. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.mjs +4 -0
  407. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +6 -0
  408. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.mjs +1 -0
  409. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/index.d.mts +1 -0
  410. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/index.mjs +1 -0
  411. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.d.mts +70 -0
  412. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.mjs +204 -0
  413. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/index.d.mts +2 -0
  414. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/index.mjs +1 -0
  415. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +14 -0
  416. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs +4 -0
  417. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.mts +1 -0
  418. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.mjs +1 -0
  419. package/dist/esm/api/resources/oortCourierPayDriverPayouts/index.d.mts +1 -0
  420. package/dist/esm/api/resources/oortCourierPayDriverPayouts/index.mjs +1 -0
  421. package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +94 -0
  422. package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.mjs +262 -0
  423. package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.d.mts +2 -0
  424. package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.mjs +1 -0
  425. package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +50 -0
  426. package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.mjs +4 -0
  427. package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.d.mts +1 -0
  428. package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.mjs +1 -0
  429. package/dist/esm/api/resources/oortCourierPayDriverRate/index.d.mts +1 -0
  430. package/dist/esm/api/resources/oortCourierPayDriverRate/index.mjs +1 -0
  431. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +72 -0
  432. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.mjs +206 -0
  433. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.d.mts +2 -0
  434. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.mjs +1 -0
  435. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +29 -0
  436. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs +4 -0
  437. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +1 -0
  438. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.mjs +1 -0
  439. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.d.mts +1 -0
  440. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.mjs +1 -0
  441. package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +147 -0
  442. package/dist/esm/api/resources/oortDrivers/client/Client.mjs +539 -0
  443. package/dist/esm/api/resources/oortDrivers/client/index.d.mts +2 -0
  444. package/dist/esm/api/resources/oortDrivers/client/index.mjs +1 -0
  445. package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.d.mts +17 -0
  446. package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.mjs +4 -0
  447. package/dist/esm/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.mts +15 -0
  448. package/dist/esm/api/resources/oortDrivers/client/requests/DriverLastSeenReq.mjs +4 -0
  449. package/dist/esm/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.mts +14 -0
  450. package/dist/esm/api/resources/oortDrivers/client/requests/SetDriverActivationReq.mjs +4 -0
  451. package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.mts +18 -0
  452. package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.mjs +4 -0
  453. package/dist/esm/api/resources/oortDrivers/client/requests/index.d.mts +4 -0
  454. package/dist/esm/api/resources/oortDrivers/client/requests/index.mjs +1 -0
  455. package/dist/esm/api/resources/oortDrivers/index.d.mts +1 -0
  456. package/dist/esm/api/resources/oortDrivers/index.mjs +1 -0
  457. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/Client.d.mts +53 -0
  458. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/Client.mjs +141 -0
  459. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.d.mts +2 -0
  460. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.mjs +1 -0
  461. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +18 -0
  462. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs +4 -0
  463. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.mts +1 -0
  464. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.mjs +1 -0
  465. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.d.mts +1 -0
  466. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.mjs +1 -0
  467. package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +114 -0
  468. package/dist/esm/api/resources/oortMilestones/client/Client.mjs +394 -0
  469. package/dist/esm/api/resources/oortMilestones/client/index.d.mts +2 -0
  470. package/dist/esm/api/resources/oortMilestones/client/index.mjs +1 -0
  471. package/dist/esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.mts +14 -0
  472. package/dist/esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.mjs +4 -0
  473. package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.mts +16 -0
  474. package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.mjs +4 -0
  475. package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.mts +14 -0
  476. package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.mjs +4 -0
  477. package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +3 -0
  478. package/dist/esm/api/resources/oortMilestones/client/requests/index.mjs +1 -0
  479. package/dist/esm/api/resources/oortMilestones/index.d.mts +1 -0
  480. package/dist/esm/api/resources/oortMilestones/index.mjs +1 -0
  481. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +75 -0
  482. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.mjs +215 -0
  483. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.mts +2 -0
  484. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.mjs +1 -0
  485. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +25 -0
  486. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs +4 -0
  487. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +20 -0
  488. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs +4 -0
  489. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.mts +2 -0
  490. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.mjs +1 -0
  491. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.mts +1 -0
  492. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.mjs +1 -0
  493. package/dist/esm/api/resources/oortOrders/client/Client.d.mts +138 -0
  494. package/dist/esm/api/resources/oortOrders/client/Client.mjs +472 -0
  495. package/dist/esm/api/resources/oortOrders/client/index.d.mts +2 -0
  496. package/dist/esm/api/resources/oortOrders/client/index.mjs +1 -0
  497. package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.d.mts +45 -0
  498. package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.mjs +4 -0
  499. package/dist/esm/api/resources/oortOrders/client/requests/index.d.mts +1 -0
  500. package/dist/esm/api/resources/oortOrders/client/requests/index.mjs +1 -0
  501. package/dist/esm/api/resources/oortOrders/index.d.mts +1 -0
  502. package/dist/esm/api/resources/oortOrders/index.mjs +1 -0
  503. package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +110 -0
  504. package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.mjs +375 -0
  505. package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.d.mts +2 -0
  506. package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.mjs +1 -0
  507. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +24 -0
  508. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.mjs +4 -0
  509. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +20 -0
  510. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs +4 -0
  511. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +24 -0
  512. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs +4 -0
  513. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +20 -0
  514. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs +4 -0
  515. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.d.mts +4 -0
  516. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.mjs +1 -0
  517. package/dist/esm/api/resources/oortOrgConnectionInfos/index.d.mts +1 -0
  518. package/dist/esm/api/resources/oortOrgConnectionInfos/index.mjs +1 -0
  519. package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +95 -0
  520. package/dist/esm/api/resources/oortOrgProfiles/client/Client.mjs +319 -0
  521. package/dist/esm/api/resources/oortOrgProfiles/client/index.d.mts +2 -0
  522. package/dist/esm/api/resources/oortOrgProfiles/client/index.mjs +1 -0
  523. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +18 -0
  524. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs +4 -0
  525. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts +12 -0
  526. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs +4 -0
  527. package/dist/esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs +4 -0
  528. package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.d.mts +3 -0
  529. package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.mjs +1 -0
  530. package/dist/esm/api/resources/oortOrgProfiles/index.d.mts +1 -0
  531. package/dist/esm/api/resources/oortOrgProfiles/index.mjs +1 -0
  532. package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +148 -0
  533. package/dist/esm/api/resources/oortShipperContactInfo/client/Client.mjs +542 -0
  534. package/dist/esm/api/resources/oortShipperContactInfo/client/index.d.mts +2 -0
  535. package/dist/esm/api/resources/oortShipperContactInfo/client/index.mjs +1 -0
  536. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +21 -0
  537. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs +4 -0
  538. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.d.mts +1 -0
  539. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.mjs +1 -0
  540. package/dist/esm/api/resources/oortShipperContactInfo/index.d.mts +1 -0
  541. package/dist/esm/api/resources/oortShipperContactInfo/index.mjs +1 -0
  542. package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +128 -0
  543. package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +478 -0
  544. package/dist/esm/api/resources/oortTaskGroups/client/index.d.mts +2 -0
  545. package/dist/esm/api/resources/oortTaskGroups/client/index.mjs +1 -0
  546. package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.mts +14 -0
  547. package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.mjs +4 -0
  548. package/dist/esm/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.mts +14 -0
  549. package/dist/esm/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.mjs +4 -0
  550. package/dist/esm/api/resources/oortTaskGroups/client/requests/index.d.mts +2 -0
  551. package/dist/esm/api/resources/oortTaskGroups/client/requests/index.mjs +1 -0
  552. package/dist/esm/api/resources/oortTaskGroups/index.d.mts +1 -0
  553. package/dist/esm/api/resources/oortTaskGroups/index.mjs +1 -0
  554. package/dist/esm/api/resources/orgs/client/Client.d.mts +115 -0
  555. package/dist/esm/api/resources/orgs/client/Client.mjs +413 -0
  556. package/dist/esm/api/resources/orgs/client/index.d.mts +2 -0
  557. package/dist/esm/api/resources/orgs/client/index.mjs +1 -0
  558. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +14 -0
  559. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.mjs +4 -0
  560. package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +11 -0
  561. package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.mjs +4 -0
  562. package/dist/esm/api/resources/orgs/client/requests/index.d.mts +2 -0
  563. package/dist/esm/api/resources/orgs/client/requests/index.mjs +1 -0
  564. package/dist/esm/api/resources/orgs/index.d.mts +1 -0
  565. package/dist/esm/api/resources/orgs/index.mjs +1 -0
  566. package/dist/esm/api/resources/payments/client/Client.d.mts +69 -0
  567. package/dist/esm/api/resources/payments/client/Client.mjs +193 -0
  568. package/dist/esm/api/resources/payments/client/index.d.mts +2 -0
  569. package/dist/esm/api/resources/payments/client/index.mjs +1 -0
  570. package/dist/esm/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.mts +13 -0
  571. package/dist/esm/api/resources/payments/client/requests/CreateCheckoutSessionReq2.mjs +4 -0
  572. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -0
  573. package/dist/esm/api/resources/payments/client/requests/index.mjs +1 -0
  574. package/dist/esm/api/resources/payments/index.d.mts +1 -0
  575. package/dist/esm/api/resources/payments/index.mjs +1 -0
  576. package/dist/esm/api/resources/root/client/Client.d.mts +94 -0
  577. package/dist/esm/api/resources/root/client/Client.mjs +365 -0
  578. package/dist/esm/api/resources/root/client/index.d.mts +1 -0
  579. package/dist/esm/api/resources/root/client/index.mjs +1 -0
  580. package/dist/esm/api/resources/root/index.d.mts +2 -0
  581. package/dist/esm/api/resources/root/index.mjs +2 -0
  582. package/dist/esm/api/resources/root/types/PydanticResponse.d.mts +8 -0
  583. package/dist/esm/api/resources/root/types/PydanticResponse.mjs +4 -0
  584. package/dist/esm/api/resources/root/types/index.d.mts +1 -0
  585. package/dist/esm/api/resources/root/types/index.mjs +1 -0
  586. package/dist/esm/api/resources/users/client/Client.d.mts +40 -0
  587. package/dist/esm/api/resources/users/client/Client.mjs +77 -0
  588. package/dist/esm/api/resources/users/client/index.d.mts +1 -0
  589. package/dist/esm/api/resources/users/client/index.mjs +1 -0
  590. package/dist/esm/api/resources/users/index.d.mts +1 -0
  591. package/dist/esm/api/resources/users/index.mjs +1 -0
  592. package/dist/esm/api/types/BaseModel.mjs +4 -0
  593. package/dist/esm/api/types/Cargo1.d.mts +16 -0
  594. package/dist/esm/api/types/Cargo1.mjs +4 -0
  595. package/dist/esm/api/types/CargoClientCreate1.d.mts +13 -0
  596. package/dist/esm/api/types/CargoClientCreate1.mjs +4 -0
  597. package/dist/esm/api/types/CargoTypeEnum1.mjs +24 -0
  598. package/dist/esm/api/types/CourierNotificationEventEnum.d.mts +7 -0
  599. package/dist/esm/api/types/CourierNotificationEventEnum.mjs +4 -0
  600. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +18 -0
  601. package/dist/esm/api/types/CourierNotificationPreferences1.mjs +4 -0
  602. package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +22 -0
  603. package/dist/esm/api/types/CourierOrgConnectionInfo1.mjs +4 -0
  604. package/dist/esm/api/types/CourierOrgProfile3.d.mts +12 -0
  605. package/dist/esm/api/types/CourierOrgProfile3.mjs +4 -0
  606. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +14 -0
  607. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.mjs +4 -0
  608. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +10 -0
  609. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.mjs +4 -0
  610. package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +31 -0
  611. package/dist/esm/api/types/CourierPayDriverRateSheet1.mjs +4 -0
  612. package/dist/esm/api/types/CreateCheckoutSessionRes2.mjs +4 -0
  613. package/dist/esm/api/types/CreateOrderRes.mjs +4 -0
  614. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +28 -0
  615. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.mjs +4 -0
  616. package/dist/esm/api/types/Driver1.d.mts +23 -0
  617. package/dist/esm/api/types/Driver1.mjs +4 -0
  618. package/dist/esm/api/types/DriverStatusEnum.mjs +8 -0
  619. package/dist/esm/api/types/EmailReq.mjs +4 -0
  620. package/dist/esm/api/types/EmailRes.d.mts +7 -0
  621. package/dist/esm/api/types/EmailRes.mjs +4 -0
  622. package/dist/esm/api/types/Expense1.d.mts +13 -0
  623. package/dist/esm/api/types/Expense1.mjs +4 -0
  624. package/dist/esm/api/types/Feature.d.mts +18 -0
  625. package/dist/esm/api/types/Feature.mjs +4 -0
  626. package/dist/esm/api/types/FeatureInputGeometry.d.mts +28 -0
  627. package/dist/esm/api/types/FeatureInputGeometry.mjs +4 -0
  628. package/dist/esm/api/types/FeatureOutputGeometry.d.mts +28 -0
  629. package/dist/esm/api/types/FeatureOutputGeometry.mjs +4 -0
  630. package/dist/esm/api/types/GeometryCollection.d.mts +11 -0
  631. package/dist/esm/api/types/GeometryCollection.mjs +4 -0
  632. package/dist/esm/api/types/GeometryCollectionInputGeometriesItem.d.mts +28 -0
  633. package/dist/esm/api/types/GeometryCollectionInputGeometriesItem.mjs +4 -0
  634. package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.d.mts +28 -0
  635. package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.mjs +4 -0
  636. package/dist/esm/api/types/GetOrderFullRes.d.mts +11 -0
  637. package/dist/esm/api/types/GetOrderFullRes.mjs +4 -0
  638. package/dist/esm/api/types/GetOrderRes.d.mts +7 -0
  639. package/dist/esm/api/types/GetOrderRes.mjs +4 -0
  640. package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
  641. package/dist/esm/api/types/HttpValidationError.mjs +4 -0
  642. package/dist/esm/api/types/Incident1.d.mts +7 -0
  643. package/dist/esm/api/types/Incident1.mjs +4 -0
  644. package/dist/esm/api/types/IncidentEnum1.mjs +11 -0
  645. package/dist/esm/api/types/Insurance1.d.mts +7 -0
  646. package/dist/esm/api/types/Insurance1.mjs +4 -0
  647. package/dist/esm/api/types/LineItem1.d.mts +11 -0
  648. package/dist/esm/api/types/LineItem1.mjs +4 -0
  649. package/dist/esm/api/types/LineItemEnum1.mjs +27 -0
  650. package/dist/esm/api/types/LineString.d.mts +17 -0
  651. package/dist/esm/api/types/LineString.mjs +4 -0
  652. package/dist/esm/api/types/Milestone1.d.mts +27 -0
  653. package/dist/esm/api/types/Milestone1.mjs +4 -0
  654. package/dist/esm/api/types/MilestoneClientCreate1.d.mts +9 -0
  655. package/dist/esm/api/types/MilestoneClientCreate1.mjs +4 -0
  656. package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +18 -0
  657. package/dist/esm/api/types/MilestoneNotificationPreferences1.mjs +4 -0
  658. package/dist/esm/api/types/MilestoneTypeEnum1.mjs +13 -0
  659. package/dist/esm/api/types/MultiLineString.d.mts +17 -0
  660. package/dist/esm/api/types/MultiLineString.mjs +4 -0
  661. package/dist/esm/api/types/MultiPoint.d.mts +17 -0
  662. package/dist/esm/api/types/MultiPoint.mjs +4 -0
  663. package/dist/esm/api/types/MultiPolygon.d.mts +17 -0
  664. package/dist/esm/api/types/MultiPolygon.mjs +4 -0
  665. package/dist/esm/api/types/MultipleTaskGroupsDetailsResponse.d.mts +7 -0
  666. package/dist/esm/api/types/MultipleTaskGroupsDetailsResponse.mjs +4 -0
  667. package/dist/esm/api/types/MultipleTaskGroupsWithTasks.d.mts +7 -0
  668. package/dist/esm/api/types/MultipleTaskGroupsWithTasks.mjs +4 -0
  669. package/dist/esm/api/types/NotificationChannelEnum.d.mts +13 -0
  670. package/dist/esm/api/types/NotificationChannelEnum.mjs +9 -0
  671. package/dist/esm/api/types/ObcNfoTaskActionEnum.mjs +37 -0
  672. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +23 -0
  673. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.mjs +4 -0
  674. package/dist/esm/api/types/Order1.d.mts +29 -0
  675. package/dist/esm/api/types/Order1.mjs +4 -0
  676. package/dist/esm/api/types/OrderClientCreate1.mjs +4 -0
  677. package/dist/esm/api/types/OrderCreatedByTypeEnum.mjs +8 -0
  678. package/dist/esm/api/types/OrderDispatchTypeEnum.mjs +8 -0
  679. package/dist/esm/api/types/OrderStatusEnum1.mjs +9 -0
  680. package/dist/esm/api/types/OrgMemberDetails.d.mts +11 -0
  681. package/dist/esm/api/types/OrgMemberDetails.mjs +4 -0
  682. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +8 -0
  683. package/dist/esm/api/types/OrgMembersAndDrivers.mjs +4 -0
  684. package/dist/esm/api/types/OrgPublicData2.d.mts +11 -0
  685. package/dist/esm/api/types/OrgPublicData2.mjs +4 -0
  686. package/dist/esm/api/types/PayablesInvoice1.d.mts +34 -0
  687. package/dist/esm/api/types/PayablesInvoice1.mjs +15 -0
  688. package/dist/esm/api/types/Point.d.mts +14 -0
  689. package/dist/esm/api/types/Point.mjs +4 -0
  690. package/dist/esm/api/types/Polygon.d.mts +17 -0
  691. package/dist/esm/api/types/Polygon.mjs +4 -0
  692. package/dist/esm/api/types/Position2D.mjs +4 -0
  693. package/dist/esm/api/types/Position3D.mjs +4 -0
  694. package/dist/esm/api/types/PriceNameEnum.mjs +8 -0
  695. package/dist/esm/api/types/ReceivablesInvoice1.d.mts +34 -0
  696. package/dist/esm/api/types/ReceivablesInvoice1.mjs +15 -0
  697. package/dist/esm/api/types/RouteTypeEnum1.mjs +7 -0
  698. package/dist/esm/api/types/Shipper2.d.mts +20 -0
  699. package/dist/esm/api/types/Shipper2.mjs +4 -0
  700. package/dist/esm/api/types/ShipperContactInfo1.d.mts +28 -0
  701. package/dist/esm/api/types/ShipperContactInfo1.mjs +4 -0
  702. package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +23 -0
  703. package/dist/esm/api/types/ShipperContactInfoClientCreate1.mjs +4 -0
  704. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +13 -0
  705. package/dist/esm/api/types/ShipperCourierConnection1.mjs +4 -0
  706. package/dist/esm/api/types/ShipperNotificationEventEnum.d.mts +7 -0
  707. package/dist/esm/api/types/ShipperNotificationEventEnum.mjs +4 -0
  708. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +18 -0
  709. package/dist/esm/api/types/ShipperNotificationPreferences1.mjs +4 -0
  710. package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +22 -0
  711. package/dist/esm/api/types/ShipperOrgConnectionInfo1.mjs +4 -0
  712. package/dist/esm/api/types/StreetAddress1.d.mts +18 -0
  713. package/dist/esm/api/types/StreetAddress1.mjs +4 -0
  714. package/dist/esm/api/types/StripeConnectInvoice1.d.mts +32 -0
  715. package/dist/esm/api/types/StripeConnectInvoice1.mjs +15 -0
  716. package/dist/esm/api/types/Task1.d.mts +31 -0
  717. package/dist/esm/api/types/Task1.mjs +4 -0
  718. package/dist/esm/api/types/TaskActionEnum1.mjs +13 -0
  719. package/dist/esm/api/types/TaskClientCreate1.d.mts +17 -0
  720. package/dist/esm/api/types/TaskClientCreate1.mjs +4 -0
  721. package/dist/esm/api/types/TaskCreateBundle.d.mts +13 -0
  722. package/dist/esm/api/types/TaskCreateBundle.mjs +4 -0
  723. package/dist/esm/api/types/TaskGroup1.d.mts +24 -0
  724. package/dist/esm/api/types/TaskGroup1.mjs +4 -0
  725. package/dist/esm/api/types/TaskGroupDetailsResponse.d.mts +8 -0
  726. package/dist/esm/api/types/TaskGroupDetailsResponse.mjs +4 -0
  727. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +8 -0
  728. package/dist/esm/api/types/TaskGroupWithDetails.d.mts +8 -0
  729. package/dist/esm/api/types/TaskGroupWithDetails.mjs +4 -0
  730. package/dist/esm/api/types/TaskGroupWithTasks.d.mts +8 -0
  731. package/dist/esm/api/types/TaskGroupWithTasks.mjs +4 -0
  732. package/dist/esm/api/types/TaskWithDetails.d.mts +9 -0
  733. package/dist/esm/api/types/TaskWithDetails.mjs +4 -0
  734. package/dist/esm/api/types/TemplateRes.mjs +4 -0
  735. package/dist/esm/api/types/Tracker1.d.mts +7 -0
  736. package/dist/esm/api/types/Tracker1.mjs +4 -0
  737. package/dist/esm/api/types/TrackerSession1.d.mts +7 -0
  738. package/dist/esm/api/types/TrackerSession1.mjs +4 -0
  739. package/dist/esm/api/types/TransportTypeEnum.mjs +10 -0
  740. package/dist/esm/api/types/UpdateTaskGroupRes.mjs +4 -0
  741. package/dist/esm/api/types/UserPublicData6.d.mts +14 -0
  742. package/dist/esm/api/types/UserPublicData6.mjs +4 -0
  743. package/dist/esm/api/types/ValidationError.d.mts +14 -0
  744. package/dist/esm/api/types/ValidationError.mjs +4 -0
  745. package/dist/esm/api/types/Vehicle1.d.mts +7 -0
  746. package/dist/esm/api/types/Vehicle1.mjs +4 -0
  747. package/dist/esm/api/types/VehicleTypeEnum.mjs +11 -0
  748. package/dist/esm/api/types/index.d.mts +90 -0
  749. package/dist/esm/api/types/index.mjs +90 -0
  750. package/dist/esm/core/auth/BasicAuth.mjs +23 -0
  751. package/dist/esm/core/auth/BearerToken.mjs +12 -0
  752. package/dist/esm/core/auth/index.d.mts +2 -0
  753. package/dist/esm/core/auth/index.mjs +2 -0
  754. package/dist/esm/core/base64.d.mts +2 -0
  755. package/dist/esm/core/base64.mjs +22 -0
  756. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  757. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  758. package/dist/esm/core/fetcher/BinaryResponse.d.mts +20 -0
  759. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  760. package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
  761. package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
  762. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  763. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  764. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  765. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  766. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  767. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  768. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
  769. package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
  770. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  771. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  772. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  773. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  774. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +41 -0
  775. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  776. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  777. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  778. package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
  779. package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
  780. package/dist/esm/core/fetcher/index.d.mts +9 -0
  781. package/dist/esm/core/fetcher/index.mjs +5 -0
  782. package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
  783. package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
  784. package/dist/esm/core/fetcher/signals.mjs +32 -0
  785. package/dist/esm/core/file.d.mts +1 -0
  786. package/dist/esm/core/file.mjs +1 -0
  787. package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +16 -0
  788. package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +170 -0
  789. package/dist/esm/core/form-data-utils/encodeAsFormParameter.d.mts +1 -0
  790. package/dist/esm/core/form-data-utils/encodeAsFormParameter.mjs +9 -0
  791. package/dist/esm/core/form-data-utils/index.d.mts +2 -0
  792. package/dist/esm/core/form-data-utils/index.mjs +2 -0
  793. package/dist/esm/core/headers.d.mts +3 -0
  794. package/dist/esm/core/headers.mjs +25 -0
  795. package/dist/esm/core/index.d.mts +7 -0
  796. package/dist/esm/core/index.mjs +7 -0
  797. package/dist/esm/core/json.mjs +19 -0
  798. package/dist/esm/core/runtime/index.d.mts +1 -0
  799. package/dist/esm/core/runtime/index.mjs +1 -0
  800. package/dist/esm/core/runtime/runtime.mjs +99 -0
  801. package/dist/esm/core/url/index.d.mts +2 -0
  802. package/dist/esm/core/url/index.mjs +2 -0
  803. package/dist/esm/core/url/join.d.mts +1 -0
  804. package/dist/esm/core/url/join.mjs +66 -0
  805. package/dist/esm/core/url/qs.d.mts +6 -0
  806. package/dist/esm/core/url/qs.mjs +61 -0
  807. package/dist/esm/environments.mjs +9 -0
  808. package/dist/esm/errors/ChrtError.d.mts +15 -0
  809. package/dist/esm/errors/ChrtError.mjs +26 -0
  810. package/dist/esm/errors/ChrtTimeoutError.mjs +9 -0
  811. package/dist/esm/errors/index.d.mts +2 -0
  812. package/dist/esm/errors/index.mjs +2 -0
  813. package/dist/esm/index.d.mts +4 -0
  814. package/dist/esm/index.mjs +4 -0
  815. package/dist/esm/version.d.mts +1 -0
  816. package/dist/esm/version.mjs +1 -0
  817. package/package.json +45 -24
  818. package/reference.md +2504 -760
  819. package/Client.d.ts +0 -79
  820. package/Client.js +0 -97
  821. package/api/errors/UnprocessableEntityError.d.ts +0 -8
  822. package/api/errors/UnprocessableEntityError.js +0 -51
  823. package/api/errors/index.d.ts +0 -1
  824. package/api/errors/index.js +0 -17
  825. package/api/index.d.ts +0 -3
  826. package/api/index.js +0 -19
  827. package/api/resources/dev/client/Client.d.ts +0 -72
  828. package/api/resources/dev/client/Client.js +0 -299
  829. package/api/resources/dev/client/index.d.ts +0 -1
  830. package/api/resources/dev/client/index.js +0 -17
  831. package/api/resources/dev/client/requests/index.d.ts +0 -1
  832. package/api/resources/dev/index.d.ts +0 -1
  833. package/api/resources/dev/index.js +0 -17
  834. package/api/resources/directory/client/Client.d.ts +0 -42
  835. package/api/resources/directory/client/Client.js +0 -125
  836. package/api/resources/directory/client/index.d.ts +0 -1
  837. package/api/resources/directory/client/index.js +0 -17
  838. package/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
  839. package/api/resources/directory/client/requests/index.d.ts +0 -1
  840. package/api/resources/directory/index.d.ts +0 -1
  841. package/api/resources/directory/index.js +0 -17
  842. package/api/resources/index.d.ts +0 -32
  843. package/api/resources/index.js +0 -71
  844. package/api/resources/mirror/client/Client.d.ts +0 -124
  845. package/api/resources/mirror/client/Client.js +0 -609
  846. package/api/resources/mirror/index.d.ts +0 -1
  847. package/api/resources/mirror/index.js +0 -17
  848. package/api/resources/oortConnections/client/Client.d.ts +0 -58
  849. package/api/resources/oortConnections/client/Client.js +0 -213
  850. package/api/resources/oortConnections/client/index.d.ts +0 -1
  851. package/api/resources/oortConnections/client/index.js +0 -17
  852. package/api/resources/oortConnections/client/requests/index.d.ts +0 -1
  853. package/api/resources/oortConnections/index.d.ts +0 -1
  854. package/api/resources/oortConnections/index.js +0 -17
  855. package/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -88
  856. package/api/resources/oortCourierPayDriverRate/client/Client.js +0 -284
  857. package/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
  858. package/api/resources/oortCourierPayDriverRate/client/index.js +0 -17
  859. package/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -50
  860. package/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
  861. package/api/resources/oortCourierPayDriverRate/index.d.ts +0 -1
  862. package/api/resources/oortCourierPayDriverRate/index.js +0 -17
  863. package/api/resources/oortDrivers/client/Client.d.ts +0 -136
  864. package/api/resources/oortDrivers/client/Client.js +0 -535
  865. package/api/resources/oortDrivers/client/index.d.ts +0 -1
  866. package/api/resources/oortDrivers/client/index.js +0 -17
  867. package/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
  868. package/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +0 -15
  869. package/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +0 -14
  870. package/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -18
  871. package/api/resources/oortDrivers/client/requests/index.d.ts +0 -4
  872. package/api/resources/oortDrivers/index.d.ts +0 -1
  873. package/api/resources/oortDrivers/index.js +0 -17
  874. package/api/resources/oortMilestones/client/Client.d.ts +0 -91
  875. package/api/resources/oortMilestones/client/Client.js +0 -346
  876. package/api/resources/oortMilestones/client/index.d.ts +0 -1
  877. package/api/resources/oortMilestones/client/index.js +0 -17
  878. package/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +0 -10
  879. package/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
  880. package/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
  881. package/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
  882. package/api/resources/oortMilestones/index.d.ts +0 -1
  883. package/api/resources/oortMilestones/index.js +0 -17
  884. package/api/resources/oortNotificationPreferences/client/Client.d.ts +0 -49
  885. package/api/resources/oortNotificationPreferences/client/Client.js +0 -168
  886. package/api/resources/oortNotificationPreferences/client/index.d.ts +0 -1
  887. package/api/resources/oortNotificationPreferences/client/index.js +0 -17
  888. package/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.d.ts +0 -18
  889. package/api/resources/oortNotificationPreferences/client/requests/index.d.ts +0 -1
  890. package/api/resources/oortNotificationPreferences/index.d.ts +0 -1
  891. package/api/resources/oortNotificationPreferences/index.js +0 -17
  892. package/api/resources/oortOrders/client/Client.d.ts +0 -119
  893. package/api/resources/oortOrders/client/Client.js +0 -433
  894. package/api/resources/oortOrders/client/index.d.ts +0 -1
  895. package/api/resources/oortOrders/client/index.js +0 -17
  896. package/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -43
  897. package/api/resources/oortOrders/client/requests/index.d.ts +0 -1
  898. package/api/resources/oortOrders/index.d.ts +0 -1
  899. package/api/resources/oortOrders/index.js +0 -17
  900. package/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
  901. package/api/resources/oortOrgConnectionInfos/client/Client.js +0 -383
  902. package/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -1
  903. package/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
  904. package/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
  905. package/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.d.ts +0 -18
  906. package/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
  907. package/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
  908. package/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
  909. package/api/resources/oortOrgConnectionInfos/index.d.ts +0 -1
  910. package/api/resources/oortOrgConnectionInfos/index.js +0 -17
  911. package/api/resources/oortOrgProfiles/client/Client.d.ts +0 -74
  912. package/api/resources/oortOrgProfiles/client/Client.js +0 -279
  913. package/api/resources/oortOrgProfiles/client/index.d.ts +0 -1
  914. package/api/resources/oortOrgProfiles/client/index.js +0 -17
  915. package/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -18
  916. package/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
  917. package/api/resources/oortOrgProfiles/index.d.ts +0 -1
  918. package/api/resources/oortOrgProfiles/index.js +0 -17
  919. package/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
  920. package/api/resources/oortShipperUserInfo/client/Client.js +0 -275
  921. package/api/resources/oortShipperUserInfo/client/index.d.ts +0 -1
  922. package/api/resources/oortShipperUserInfo/client/index.js +0 -17
  923. package/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.d.ts +0 -24
  924. package/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.d.ts +0 -21
  925. package/api/resources/oortShipperUserInfo/client/requests/index.d.ts +0 -2
  926. package/api/resources/oortShipperUserInfo/index.d.ts +0 -1
  927. package/api/resources/oortShipperUserInfo/index.js +0 -17
  928. package/api/resources/oortTaskGroups/client/Client.d.ts +0 -118
  929. package/api/resources/oortTaskGroups/client/Client.js +0 -479
  930. package/api/resources/oortTaskGroups/client/index.d.ts +0 -1
  931. package/api/resources/oortTaskGroups/client/index.js +0 -17
  932. package/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
  933. package/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +0 -14
  934. package/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
  935. package/api/resources/oortTaskGroups/index.d.ts +0 -1
  936. package/api/resources/oortTaskGroups/index.js +0 -17
  937. package/api/resources/orgs/client/Client.d.ts +0 -106
  938. package/api/resources/orgs/client/Client.js +0 -421
  939. package/api/resources/orgs/client/index.d.ts +0 -1
  940. package/api/resources/orgs/client/index.js +0 -17
  941. package/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
  942. package/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +0 -11
  943. package/api/resources/orgs/client/requests/index.d.ts +0 -2
  944. package/api/resources/orgs/index.d.ts +0 -1
  945. package/api/resources/orgs/index.js +0 -17
  946. package/api/resources/payments/client/Client.d.ts +0 -64
  947. package/api/resources/payments/client/Client.js +0 -219
  948. package/api/resources/payments/client/index.d.ts +0 -1
  949. package/api/resources/payments/client/index.js +0 -17
  950. package/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +0 -13
  951. package/api/resources/payments/client/requests/index.d.ts +0 -1
  952. package/api/resources/payments/index.d.ts +0 -1
  953. package/api/resources/payments/index.js +0 -17
  954. package/api/resources/root/client/Client.d.ts +0 -85
  955. package/api/resources/root/client/Client.js +0 -377
  956. package/api/resources/root/index.d.ts +0 -2
  957. package/api/resources/root/index.js +0 -18
  958. package/api/resources/root/types/PydanticResponse.d.ts +0 -8
  959. package/api/resources/root/types/index.d.ts +0 -1
  960. package/api/resources/root/types/index.js +0 -17
  961. package/api/resources/users/client/Client.d.ts +0 -37
  962. package/api/resources/users/client/Client.js +0 -113
  963. package/api/resources/users/index.d.ts +0 -1
  964. package/api/resources/users/index.js +0 -17
  965. package/api/types/Action.d.ts +0 -5
  966. package/api/types/Cargo1.d.ts +0 -16
  967. package/api/types/CargoClientCreate1.d.ts +0 -13
  968. package/api/types/Coordinates.d.ts +0 -5
  969. package/api/types/CourierOrgConnectionInfo1.d.ts +0 -22
  970. package/api/types/CourierOrgProfile3.d.ts +0 -12
  971. package/api/types/CourierPayDriverRateSheet1.d.ts +0 -31
  972. package/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -28
  973. package/api/types/Driver1.d.ts +0 -23
  974. package/api/types/EmailRes.d.ts +0 -7
  975. package/api/types/Expense1.d.ts +0 -13
  976. package/api/types/Feature.d.ts +0 -14
  977. package/api/types/FeatureInputGeometry.d.ts +0 -28
  978. package/api/types/FeatureOutputGeometry.d.ts +0 -28
  979. package/api/types/GeometryCollection.d.ts +0 -11
  980. package/api/types/GeometryCollectionInputGeometriesItem.d.ts +0 -28
  981. package/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
  982. package/api/types/GetOrderFullRes.d.ts +0 -11
  983. package/api/types/GetOrderRes.d.ts +0 -7
  984. package/api/types/HttpValidationError.d.ts +0 -7
  985. package/api/types/Id.d.ts +0 -4
  986. package/api/types/Incident1.d.ts +0 -7
  987. package/api/types/Insurance1.d.ts +0 -7
  988. package/api/types/LineItem1.d.ts +0 -11
  989. package/api/types/LineString.d.ts +0 -11
  990. package/api/types/LineStringCoordinatesItem.d.ts +0 -5
  991. package/api/types/Milestone1.d.ts +0 -27
  992. package/api/types/MilestoneClientCreate1.d.ts +0 -9
  993. package/api/types/MultiLineString.d.ts +0 -11
  994. package/api/types/MultiLineStringCoordinatesItemItem.d.ts +0 -5
  995. package/api/types/MultiPoint.d.ts +0 -11
  996. package/api/types/MultiPointCoordinatesItem.d.ts +0 -5
  997. package/api/types/MultiPolygon.d.ts +0 -11
  998. package/api/types/MultiPolygonCoordinatesItemItemItem.d.ts +0 -5
  999. package/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
  1000. package/api/types/MultipleTaskGroupsWithTasks.d.ts +0 -7
  1001. package/api/types/NotificationChannelEnum.d.ts +0 -10
  1002. package/api/types/NotificationPreferences1.d.ts +0 -18
  1003. package/api/types/Order1.d.ts +0 -28
  1004. package/api/types/OrgMemberDetails.d.ts +0 -11
  1005. package/api/types/OrgMembersAndDrivers.d.ts +0 -8
  1006. package/api/types/OrgPublicData2.d.ts +0 -11
  1007. package/api/types/PayablesInvoice1.d.ts +0 -22
  1008. package/api/types/Point.d.ts +0 -11
  1009. package/api/types/Polygon.d.ts +0 -11
  1010. package/api/types/PolygonCoordinatesItemItem.d.ts +0 -5
  1011. package/api/types/PolygonCoordinatesItemItem.js +0 -5
  1012. package/api/types/Properties.d.ts +0 -5
  1013. package/api/types/Properties.js +0 -5
  1014. package/api/types/ReceivablesInvoice1.d.ts +0 -22
  1015. package/api/types/ReceivablesInvoice1.js +0 -5
  1016. package/api/types/Shipper2.d.ts +0 -20
  1017. package/api/types/ShipperCourierConnection1.d.ts +0 -13
  1018. package/api/types/ShipperOrgConnectionInfo1.d.ts +0 -22
  1019. package/api/types/ShipperUserInfo1.d.ts +0 -23
  1020. package/api/types/ShipperUserInfo1.js +0 -5
  1021. package/api/types/Status.d.ts +0 -13
  1022. package/api/types/Status.js +0 -15
  1023. package/api/types/StreetAddress1.d.ts +0 -18
  1024. package/api/types/StripeConnectInvoice1.d.ts +0 -20
  1025. package/api/types/StripeConnectInvoice1.js +0 -5
  1026. package/api/types/Task1.d.ts +0 -29
  1027. package/api/types/TaskClientCreate1.d.ts +0 -15
  1028. package/api/types/TaskCreateBundle.d.ts +0 -13
  1029. package/api/types/TaskGroup1.d.ts +0 -24
  1030. package/api/types/TaskGroupDetailsResponse.d.ts +0 -8
  1031. package/api/types/TaskGroupWithDetails.d.ts +0 -8
  1032. package/api/types/TaskGroupWithTasks.d.ts +0 -8
  1033. package/api/types/TaskWithDetails.d.ts +0 -9
  1034. package/api/types/Tracker1.d.ts +0 -7
  1035. package/api/types/TrackerSession1.d.ts +0 -7
  1036. package/api/types/UserPublicData5.d.ts +0 -15
  1037. package/api/types/UserPublicData5.js +0 -5
  1038. package/api/types/ValidationError.d.ts +0 -9
  1039. package/api/types/ValidationErrorLocItem.d.ts +0 -4
  1040. package/api/types/ValidationErrorLocItem.js +0 -5
  1041. package/api/types/Vehicle1.d.ts +0 -7
  1042. package/api/types/index.d.ts +0 -93
  1043. package/api/types/index.js +0 -109
  1044. package/core/auth/BasicAuth.js +0 -26
  1045. package/core/auth/index.d.ts +0 -2
  1046. package/core/auth/index.js +0 -7
  1047. package/core/fetcher/APIResponse.d.ts +0 -10
  1048. package/core/fetcher/Fetcher.d.ts +0 -39
  1049. package/core/fetcher/Fetcher.js +0 -100
  1050. package/core/fetcher/createRequestUrl.d.ts +0 -1
  1051. package/core/fetcher/createRequestUrl.js +0 -12
  1052. package/core/fetcher/getFetchFn.d.ts +0 -4
  1053. package/core/fetcher/getFetchFn.js +0 -68
  1054. package/core/fetcher/getRequestBody.js +0 -23
  1055. package/core/fetcher/getResponseBody.js +0 -54
  1056. package/core/fetcher/index.d.ts +0 -5
  1057. package/core/fetcher/index.js +0 -9
  1058. package/core/fetcher/makeRequest.js +0 -42
  1059. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1060. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1061. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1062. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1063. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1064. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1065. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1066. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1067. package/core/form-data-utils/FormDataWrapper.d.ts +0 -60
  1068. package/core/form-data-utils/FormDataWrapper.js +0 -188
  1069. package/core/form-data-utils/index.d.ts +0 -1
  1070. package/core/form-data-utils/index.js +0 -17
  1071. package/core/index.d.ts +0 -4
  1072. package/core/index.js +0 -20
  1073. package/core/runtime/index.d.ts +0 -1
  1074. package/core/runtime/index.js +0 -5
  1075. package/core/runtime/runtime.js +0 -103
  1076. package/dist/Client.d.ts +0 -79
  1077. package/dist/Client.js +0 -97
  1078. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  1079. package/dist/api/errors/UnprocessableEntityError.js +0 -51
  1080. package/dist/api/errors/index.d.ts +0 -1
  1081. package/dist/api/errors/index.js +0 -17
  1082. package/dist/api/index.d.ts +0 -3
  1083. package/dist/api/index.js +0 -19
  1084. package/dist/api/resources/dev/client/Client.d.ts +0 -72
  1085. package/dist/api/resources/dev/client/Client.js +0 -299
  1086. package/dist/api/resources/dev/client/index.d.ts +0 -1
  1087. package/dist/api/resources/dev/client/index.js +0 -17
  1088. package/dist/api/resources/dev/client/requests/TemplateReq.js +0 -5
  1089. package/dist/api/resources/dev/client/requests/index.d.ts +0 -1
  1090. package/dist/api/resources/dev/index.d.ts +0 -1
  1091. package/dist/api/resources/dev/index.js +0 -17
  1092. package/dist/api/resources/directory/client/Client.d.ts +0 -42
  1093. package/dist/api/resources/directory/client/Client.js +0 -125
  1094. package/dist/api/resources/directory/client/index.d.ts +0 -1
  1095. package/dist/api/resources/directory/client/index.js +0 -17
  1096. package/dist/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
  1097. package/dist/api/resources/directory/client/requests/DbQueryParams.js +0 -5
  1098. package/dist/api/resources/directory/client/requests/index.d.ts +0 -1
  1099. package/dist/api/resources/directory/index.d.ts +0 -1
  1100. package/dist/api/resources/directory/index.js +0 -17
  1101. package/dist/api/resources/index.d.ts +0 -32
  1102. package/dist/api/resources/index.js +0 -71
  1103. package/dist/api/resources/mirror/client/Client.d.ts +0 -124
  1104. package/dist/api/resources/mirror/client/Client.js +0 -609
  1105. package/dist/api/resources/mirror/index.d.ts +0 -1
  1106. package/dist/api/resources/mirror/index.js +0 -17
  1107. package/dist/api/resources/oortConnections/client/Client.d.ts +0 -58
  1108. package/dist/api/resources/oortConnections/client/Client.js +0 -213
  1109. package/dist/api/resources/oortConnections/client/index.d.ts +0 -1
  1110. package/dist/api/resources/oortConnections/client/index.js +0 -17
  1111. package/dist/api/resources/oortConnections/client/requests/CreateConnectionReq.js +0 -5
  1112. package/dist/api/resources/oortConnections/client/requests/index.d.ts +0 -1
  1113. package/dist/api/resources/oortConnections/index.d.ts +0 -1
  1114. package/dist/api/resources/oortConnections/index.js +0 -17
  1115. package/dist/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -88
  1116. package/dist/api/resources/oortCourierPayDriverRate/client/Client.js +0 -284
  1117. package/dist/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
  1118. package/dist/api/resources/oortCourierPayDriverRate/client/index.js +0 -17
  1119. package/dist/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -50
  1120. package/dist/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
  1121. package/dist/api/resources/oortCourierPayDriverRate/index.d.ts +0 -1
  1122. package/dist/api/resources/oortCourierPayDriverRate/index.js +0 -17
  1123. package/dist/api/resources/oortDrivers/client/Client.d.ts +0 -136
  1124. package/dist/api/resources/oortDrivers/client/Client.js +0 -535
  1125. package/dist/api/resources/oortDrivers/client/index.d.ts +0 -1
  1126. package/dist/api/resources/oortDrivers/client/index.js +0 -17
  1127. package/dist/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
  1128. package/dist/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +0 -15
  1129. package/dist/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +0 -14
  1130. package/dist/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -18
  1131. package/dist/api/resources/oortDrivers/client/requests/index.d.ts +0 -4
  1132. package/dist/api/resources/oortDrivers/index.d.ts +0 -1
  1133. package/dist/api/resources/oortDrivers/index.js +0 -17
  1134. package/dist/api/resources/oortMilestones/client/Client.d.ts +0 -91
  1135. package/dist/api/resources/oortMilestones/client/Client.js +0 -346
  1136. package/dist/api/resources/oortMilestones/client/index.d.ts +0 -1
  1137. package/dist/api/resources/oortMilestones/client/index.js +0 -17
  1138. package/dist/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +0 -10
  1139. package/dist/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
  1140. package/dist/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
  1141. package/dist/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
  1142. package/dist/api/resources/oortMilestones/index.d.ts +0 -1
  1143. package/dist/api/resources/oortMilestones/index.js +0 -17
  1144. package/dist/api/resources/oortNotificationPreferences/client/Client.d.ts +0 -49
  1145. package/dist/api/resources/oortNotificationPreferences/client/Client.js +0 -168
  1146. package/dist/api/resources/oortNotificationPreferences/client/index.d.ts +0 -1
  1147. package/dist/api/resources/oortNotificationPreferences/client/index.js +0 -17
  1148. package/dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.d.ts +0 -18
  1149. package/dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js +0 -5
  1150. package/dist/api/resources/oortNotificationPreferences/client/requests/index.d.ts +0 -1
  1151. package/dist/api/resources/oortNotificationPreferences/client/requests/index.js +0 -2
  1152. package/dist/api/resources/oortNotificationPreferences/index.d.ts +0 -1
  1153. package/dist/api/resources/oortNotificationPreferences/index.js +0 -17
  1154. package/dist/api/resources/oortOrders/client/Client.d.ts +0 -119
  1155. package/dist/api/resources/oortOrders/client/Client.js +0 -433
  1156. package/dist/api/resources/oortOrders/client/index.d.ts +0 -1
  1157. package/dist/api/resources/oortOrders/client/index.js +0 -17
  1158. package/dist/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -43
  1159. package/dist/api/resources/oortOrders/client/requests/index.d.ts +0 -1
  1160. package/dist/api/resources/oortOrders/client/requests/index.js +0 -2
  1161. package/dist/api/resources/oortOrders/index.d.ts +0 -1
  1162. package/dist/api/resources/oortOrders/index.js +0 -17
  1163. package/dist/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
  1164. package/dist/api/resources/oortOrgConnectionInfos/client/Client.js +0 -383
  1165. package/dist/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -1
  1166. package/dist/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
  1167. package/dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
  1168. package/dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.d.ts +0 -18
  1169. package/dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.js +0 -5
  1170. package/dist/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
  1171. package/dist/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
  1172. package/dist/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
  1173. package/dist/api/resources/oortOrgConnectionInfos/client/requests/index.js +0 -2
  1174. package/dist/api/resources/oortOrgConnectionInfos/index.d.ts +0 -1
  1175. package/dist/api/resources/oortOrgConnectionInfos/index.js +0 -17
  1176. package/dist/api/resources/oortOrgProfiles/client/Client.d.ts +0 -74
  1177. package/dist/api/resources/oortOrgProfiles/client/Client.js +0 -279
  1178. package/dist/api/resources/oortOrgProfiles/client/index.d.ts +0 -1
  1179. package/dist/api/resources/oortOrgProfiles/client/index.js +0 -17
  1180. package/dist/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -18
  1181. package/dist/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.js +0 -5
  1182. package/dist/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
  1183. package/dist/api/resources/oortOrgProfiles/client/requests/index.js +0 -2
  1184. package/dist/api/resources/oortOrgProfiles/index.d.ts +0 -1
  1185. package/dist/api/resources/oortOrgProfiles/index.js +0 -17
  1186. package/dist/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
  1187. package/dist/api/resources/oortShipperUserInfo/client/Client.js +0 -275
  1188. package/dist/api/resources/oortShipperUserInfo/client/index.d.ts +0 -1
  1189. package/dist/api/resources/oortShipperUserInfo/client/index.js +0 -17
  1190. package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.d.ts +0 -24
  1191. package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js +0 -5
  1192. package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.d.ts +0 -21
  1193. package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js +0 -5
  1194. package/dist/api/resources/oortShipperUserInfo/client/requests/index.d.ts +0 -2
  1195. package/dist/api/resources/oortShipperUserInfo/client/requests/index.js +0 -2
  1196. package/dist/api/resources/oortShipperUserInfo/index.d.ts +0 -1
  1197. package/dist/api/resources/oortShipperUserInfo/index.js +0 -17
  1198. package/dist/api/resources/oortTaskGroups/client/Client.d.ts +0 -118
  1199. package/dist/api/resources/oortTaskGroups/client/Client.js +0 -479
  1200. package/dist/api/resources/oortTaskGroups/client/index.d.ts +0 -1
  1201. package/dist/api/resources/oortTaskGroups/client/index.js +0 -17
  1202. package/dist/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
  1203. package/dist/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js +0 -5
  1204. package/dist/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +0 -14
  1205. package/dist/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js +0 -5
  1206. package/dist/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
  1207. package/dist/api/resources/oortTaskGroups/client/requests/index.js +0 -2
  1208. package/dist/api/resources/oortTaskGroups/index.d.ts +0 -1
  1209. package/dist/api/resources/oortTaskGroups/index.js +0 -17
  1210. package/dist/api/resources/orgs/client/Client.d.ts +0 -106
  1211. package/dist/api/resources/orgs/client/Client.js +0 -421
  1212. package/dist/api/resources/orgs/client/index.d.ts +0 -1
  1213. package/dist/api/resources/orgs/client/index.js +0 -17
  1214. package/dist/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
  1215. package/dist/api/resources/orgs/client/requests/CreateOrgPublicDataReq.js +0 -5
  1216. package/dist/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +0 -11
  1217. package/dist/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.js +0 -5
  1218. package/dist/api/resources/orgs/client/requests/index.d.ts +0 -2
  1219. package/dist/api/resources/orgs/client/requests/index.js +0 -2
  1220. package/dist/api/resources/orgs/index.d.ts +0 -1
  1221. package/dist/api/resources/orgs/index.js +0 -17
  1222. package/dist/api/resources/payments/client/Client.d.ts +0 -64
  1223. package/dist/api/resources/payments/client/Client.js +0 -219
  1224. package/dist/api/resources/payments/client/index.d.ts +0 -1
  1225. package/dist/api/resources/payments/client/index.js +0 -17
  1226. package/dist/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +0 -13
  1227. package/dist/api/resources/payments/client/requests/CreateCheckoutSessionReq2.js +0 -5
  1228. package/dist/api/resources/payments/client/requests/index.d.ts +0 -1
  1229. package/dist/api/resources/payments/client/requests/index.js +0 -2
  1230. package/dist/api/resources/payments/index.d.ts +0 -1
  1231. package/dist/api/resources/payments/index.js +0 -17
  1232. package/dist/api/resources/root/client/Client.d.ts +0 -85
  1233. package/dist/api/resources/root/client/Client.js +0 -377
  1234. package/dist/api/resources/root/client/index.js +0 -2
  1235. package/dist/api/resources/root/index.d.ts +0 -2
  1236. package/dist/api/resources/root/index.js +0 -18
  1237. package/dist/api/resources/root/types/PydanticResponse.d.ts +0 -8
  1238. package/dist/api/resources/root/types/PydanticResponse.js +0 -5
  1239. package/dist/api/resources/root/types/index.d.ts +0 -1
  1240. package/dist/api/resources/root/types/index.js +0 -17
  1241. package/dist/api/resources/users/client/Client.d.ts +0 -37
  1242. package/dist/api/resources/users/client/Client.js +0 -113
  1243. package/dist/api/resources/users/client/index.js +0 -2
  1244. package/dist/api/resources/users/index.d.ts +0 -1
  1245. package/dist/api/resources/users/index.js +0 -17
  1246. package/dist/api/types/Action.d.ts +0 -5
  1247. package/dist/api/types/Action.js +0 -5
  1248. package/dist/api/types/BaseModel.js +0 -5
  1249. package/dist/api/types/Cargo1.d.ts +0 -16
  1250. package/dist/api/types/Cargo1.js +0 -5
  1251. package/dist/api/types/CargoClientCreate1.d.ts +0 -13
  1252. package/dist/api/types/CargoClientCreate1.js +0 -5
  1253. package/dist/api/types/CargoTypeEnum1.js +0 -27
  1254. package/dist/api/types/Coordinates.d.ts +0 -5
  1255. package/dist/api/types/Coordinates.js +0 -5
  1256. package/dist/api/types/CourierOrgConnectionInfo1.d.ts +0 -22
  1257. package/dist/api/types/CourierOrgConnectionInfo1.js +0 -5
  1258. package/dist/api/types/CourierOrgProfile3.d.ts +0 -12
  1259. package/dist/api/types/CourierOrgProfile3.js +0 -5
  1260. package/dist/api/types/CourierPayDriverRateSheet1.d.ts +0 -31
  1261. package/dist/api/types/CreateCheckoutSessionRes2.js +0 -5
  1262. package/dist/api/types/CreateOrderRes.js +0 -5
  1263. package/dist/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -28
  1264. package/dist/api/types/DecodedJwtWithOrgAndUserId.js +0 -5
  1265. package/dist/api/types/Driver1.d.ts +0 -23
  1266. package/dist/api/types/Driver1.js +0 -5
  1267. package/dist/api/types/DriverStatusEnum.js +0 -11
  1268. package/dist/api/types/EmailReq.js +0 -5
  1269. package/dist/api/types/EmailRes.d.ts +0 -7
  1270. package/dist/api/types/EmailRes.js +0 -5
  1271. package/dist/api/types/Expense1.d.ts +0 -13
  1272. package/dist/api/types/Expense1.js +0 -5
  1273. package/dist/api/types/Feature.d.ts +0 -14
  1274. package/dist/api/types/Feature.js +0 -5
  1275. package/dist/api/types/FeatureInputGeometry.d.ts +0 -28
  1276. package/dist/api/types/FeatureInputGeometry.js +0 -5
  1277. package/dist/api/types/FeatureOutputGeometry.d.ts +0 -28
  1278. package/dist/api/types/FeatureOutputGeometry.js +0 -5
  1279. package/dist/api/types/GeometryCollection.d.ts +0 -11
  1280. package/dist/api/types/GeometryCollection.js +0 -5
  1281. package/dist/api/types/GeometryCollectionInputGeometriesItem.d.ts +0 -28
  1282. package/dist/api/types/GeometryCollectionInputGeometriesItem.js +0 -5
  1283. package/dist/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
  1284. package/dist/api/types/GeometryCollectionOutputGeometriesItem.js +0 -5
  1285. package/dist/api/types/GetOrderFullRes.d.ts +0 -11
  1286. package/dist/api/types/GetOrderFullRes.js +0 -5
  1287. package/dist/api/types/GetOrderRes.d.ts +0 -7
  1288. package/dist/api/types/GetOrderRes.js +0 -5
  1289. package/dist/api/types/HttpValidationError.d.ts +0 -7
  1290. package/dist/api/types/HttpValidationError.js +0 -5
  1291. package/dist/api/types/Id.d.ts +0 -4
  1292. package/dist/api/types/Id.js +0 -5
  1293. package/dist/api/types/Incident1.d.ts +0 -7
  1294. package/dist/api/types/Incident1.js +0 -5
  1295. package/dist/api/types/IncidentEnum1.js +0 -14
  1296. package/dist/api/types/Insurance1.d.ts +0 -7
  1297. package/dist/api/types/Insurance1.js +0 -5
  1298. package/dist/api/types/LineItem1.d.ts +0 -11
  1299. package/dist/api/types/LineItem1.js +0 -5
  1300. package/dist/api/types/LineItemEnum1.js +0 -30
  1301. package/dist/api/types/LineString.d.ts +0 -11
  1302. package/dist/api/types/LineString.js +0 -5
  1303. package/dist/api/types/LineStringCoordinatesItem.d.ts +0 -5
  1304. package/dist/api/types/LineStringCoordinatesItem.js +0 -5
  1305. package/dist/api/types/Milestone1.d.ts +0 -27
  1306. package/dist/api/types/Milestone1.js +0 -5
  1307. package/dist/api/types/MilestoneClientCreate1.d.ts +0 -9
  1308. package/dist/api/types/MilestoneClientCreate1.js +0 -5
  1309. package/dist/api/types/MilestoneTypeEnum1.js +0 -16
  1310. package/dist/api/types/MultiLineString.d.ts +0 -11
  1311. package/dist/api/types/MultiLineString.js +0 -5
  1312. package/dist/api/types/MultiLineStringCoordinatesItemItem.d.ts +0 -5
  1313. package/dist/api/types/MultiLineStringCoordinatesItemItem.js +0 -5
  1314. package/dist/api/types/MultiPoint.d.ts +0 -11
  1315. package/dist/api/types/MultiPoint.js +0 -5
  1316. package/dist/api/types/MultiPointCoordinatesItem.d.ts +0 -5
  1317. package/dist/api/types/MultiPointCoordinatesItem.js +0 -5
  1318. package/dist/api/types/MultiPolygon.d.ts +0 -11
  1319. package/dist/api/types/MultiPolygon.js +0 -5
  1320. package/dist/api/types/MultiPolygonCoordinatesItemItemItem.d.ts +0 -5
  1321. package/dist/api/types/MultiPolygonCoordinatesItemItemItem.js +0 -5
  1322. package/dist/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
  1323. package/dist/api/types/MultipleTaskGroupsDetailsResponse.js +0 -5
  1324. package/dist/api/types/MultipleTaskGroupsWithTasks.d.ts +0 -7
  1325. package/dist/api/types/MultipleTaskGroupsWithTasks.js +0 -5
  1326. package/dist/api/types/NotificationChannelEnum.d.ts +0 -10
  1327. package/dist/api/types/NotificationChannelEnum.js +0 -12
  1328. package/dist/api/types/NotificationPreferences1.d.ts +0 -18
  1329. package/dist/api/types/NotificationPreferences1.js +0 -5
  1330. package/dist/api/types/ObcNfoTaskActionEnum.js +0 -40
  1331. package/dist/api/types/Order1.d.ts +0 -28
  1332. package/dist/api/types/Order1.js +0 -5
  1333. package/dist/api/types/OrderClientCreate1.js +0 -5
  1334. package/dist/api/types/OrderCreatedByTypeEnum.js +0 -11
  1335. package/dist/api/types/OrderDispatchTypeEnum.js +0 -11
  1336. package/dist/api/types/OrderStatusEnum1.js +0 -12
  1337. package/dist/api/types/OrgMemberDetails.d.ts +0 -11
  1338. package/dist/api/types/OrgMemberDetails.js +0 -5
  1339. package/dist/api/types/OrgMembersAndDrivers.d.ts +0 -8
  1340. package/dist/api/types/OrgMembersAndDrivers.js +0 -5
  1341. package/dist/api/types/OrgPublicData2.d.ts +0 -11
  1342. package/dist/api/types/OrgPublicData2.js +0 -5
  1343. package/dist/api/types/PayablesInvoice1.d.ts +0 -22
  1344. package/dist/api/types/PayablesInvoice1.js +0 -5
  1345. package/dist/api/types/Point.d.ts +0 -11
  1346. package/dist/api/types/Point.js +0 -5
  1347. package/dist/api/types/Polygon.d.ts +0 -11
  1348. package/dist/api/types/Polygon.js +0 -5
  1349. package/dist/api/types/PolygonCoordinatesItemItem.d.ts +0 -5
  1350. package/dist/api/types/PolygonCoordinatesItemItem.js +0 -5
  1351. package/dist/api/types/Position2D.js +0 -5
  1352. package/dist/api/types/Position3D.js +0 -5
  1353. package/dist/api/types/PriceNameEnum.js +0 -11
  1354. package/dist/api/types/Properties.d.ts +0 -5
  1355. package/dist/api/types/Properties.js +0 -5
  1356. package/dist/api/types/ReceivablesInvoice1.d.ts +0 -22
  1357. package/dist/api/types/ReceivablesInvoice1.js +0 -5
  1358. package/dist/api/types/RouteTypeEnum1.js +0 -10
  1359. package/dist/api/types/Shipper2.d.ts +0 -20
  1360. package/dist/api/types/Shipper2.js +0 -5
  1361. package/dist/api/types/ShipperCourierConnection1.d.ts +0 -13
  1362. package/dist/api/types/ShipperCourierConnection1.js +0 -5
  1363. package/dist/api/types/ShipperOrgConnectionInfo1.d.ts +0 -22
  1364. package/dist/api/types/ShipperOrgConnectionInfo1.js +0 -5
  1365. package/dist/api/types/ShipperUserInfo1.d.ts +0 -23
  1366. package/dist/api/types/ShipperUserInfo1.js +0 -5
  1367. package/dist/api/types/Status.d.ts +0 -13
  1368. package/dist/api/types/Status.js +0 -15
  1369. package/dist/api/types/StreetAddress1.d.ts +0 -18
  1370. package/dist/api/types/StreetAddress1.js +0 -5
  1371. package/dist/api/types/StripeConnectInvoice1.d.ts +0 -20
  1372. package/dist/api/types/StripeConnectInvoice1.js +0 -5
  1373. package/dist/api/types/Task1.d.ts +0 -29
  1374. package/dist/api/types/Task1.js +0 -5
  1375. package/dist/api/types/TaskActionEnum1.js +0 -16
  1376. package/dist/api/types/TaskClientCreate1.d.ts +0 -15
  1377. package/dist/api/types/TaskClientCreate1.js +0 -5
  1378. package/dist/api/types/TaskCreateBundle.d.ts +0 -13
  1379. package/dist/api/types/TaskCreateBundle.js +0 -5
  1380. package/dist/api/types/TaskGroup1.d.ts +0 -24
  1381. package/dist/api/types/TaskGroup1.js +0 -5
  1382. package/dist/api/types/TaskGroupDetailsResponse.d.ts +0 -8
  1383. package/dist/api/types/TaskGroupDetailsResponse.js +0 -5
  1384. package/dist/api/types/TaskGroupStatusEnum1.js +0 -11
  1385. package/dist/api/types/TaskGroupWithDetails.d.ts +0 -8
  1386. package/dist/api/types/TaskGroupWithDetails.js +0 -5
  1387. package/dist/api/types/TaskGroupWithTasks.d.ts +0 -8
  1388. package/dist/api/types/TaskGroupWithTasks.js +0 -5
  1389. package/dist/api/types/TaskWithDetails.d.ts +0 -9
  1390. package/dist/api/types/TaskWithDetails.js +0 -5
  1391. package/dist/api/types/TemplateRes.js +0 -5
  1392. package/dist/api/types/Tracker1.d.ts +0 -7
  1393. package/dist/api/types/Tracker1.js +0 -5
  1394. package/dist/api/types/TrackerSession1.d.ts +0 -7
  1395. package/dist/api/types/TrackerSession1.js +0 -5
  1396. package/dist/api/types/TransportTypeEnum.js +0 -13
  1397. package/dist/api/types/UpdateTaskGroupRes.js +0 -5
  1398. package/dist/api/types/UserPublicData5.d.ts +0 -15
  1399. package/dist/api/types/UserPublicData5.js +0 -5
  1400. package/dist/api/types/ValidationError.d.ts +0 -9
  1401. package/dist/api/types/ValidationError.js +0 -5
  1402. package/dist/api/types/ValidationErrorLocItem.d.ts +0 -4
  1403. package/dist/api/types/ValidationErrorLocItem.js +0 -5
  1404. package/dist/api/types/Vehicle1.d.ts +0 -7
  1405. package/dist/api/types/Vehicle1.js +0 -5
  1406. package/dist/api/types/VehicleTypeEnum.js +0 -14
  1407. package/dist/api/types/index.d.ts +0 -93
  1408. package/dist/api/types/index.js +0 -109
  1409. package/dist/core/auth/BasicAuth.js +0 -26
  1410. package/dist/core/auth/BearerToken.js +0 -15
  1411. package/dist/core/auth/index.d.ts +0 -2
  1412. package/dist/core/auth/index.js +0 -7
  1413. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  1414. package/dist/core/fetcher/APIResponse.js +0 -2
  1415. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  1416. package/dist/core/fetcher/Fetcher.js +0 -100
  1417. package/dist/core/fetcher/Supplier.js +0 -22
  1418. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  1419. package/dist/core/fetcher/createRequestUrl.js +0 -12
  1420. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  1421. package/dist/core/fetcher/getFetchFn.js +0 -68
  1422. package/dist/core/fetcher/getHeader.js +0 -11
  1423. package/dist/core/fetcher/getRequestBody.js +0 -23
  1424. package/dist/core/fetcher/getResponseBody.js +0 -54
  1425. package/dist/core/fetcher/index.d.ts +0 -5
  1426. package/dist/core/fetcher/index.js +0 -9
  1427. package/dist/core/fetcher/makeRequest.js +0 -42
  1428. package/dist/core/fetcher/requestWithRetries.js +0 -40
  1429. package/dist/core/fetcher/signals.js +0 -36
  1430. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  1431. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  1432. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  1433. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  1434. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  1435. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  1436. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  1437. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  1438. package/dist/core/form-data-utils/FormDataWrapper.d.ts +0 -60
  1439. package/dist/core/form-data-utils/FormDataWrapper.js +0 -188
  1440. package/dist/core/form-data-utils/index.d.ts +0 -1
  1441. package/dist/core/form-data-utils/index.js +0 -17
  1442. package/dist/core/index.d.ts +0 -4
  1443. package/dist/core/index.js +0 -20
  1444. package/dist/core/json.js +0 -24
  1445. package/dist/core/runtime/index.d.ts +0 -1
  1446. package/dist/core/runtime/index.js +0 -5
  1447. package/dist/core/runtime/runtime.js +0 -103
  1448. package/dist/errors/ChrtError.d.ts +0 -12
  1449. package/dist/errors/ChrtError.js +0 -33
  1450. package/dist/errors/index.d.ts +0 -2
  1451. package/dist/errors/index.js +0 -7
  1452. package/dist/index.d.ts +0 -4
  1453. package/dist/index.js +0 -44
  1454. package/dist/version.d.ts +0 -1
  1455. package/dist/version.js +0 -4
  1456. package/environments.js +0 -12
  1457. package/errors/ChrtError.d.ts +0 -12
  1458. package/errors/ChrtError.js +0 -33
  1459. package/errors/ChrtTimeoutError.js +0 -13
  1460. package/errors/index.d.ts +0 -2
  1461. package/errors/index.js +0 -7
  1462. package/index.d.ts +0 -4
  1463. package/index.js +0 -44
  1464. package/jest.config.mjs +0 -8
  1465. package/scripts/rename-to-esm-files.js +0 -115
  1466. package/version.d.ts +0 -1
  1467. package/version.js +0 -4
  1468. /package/{api → dist/cjs/api}/resources/dev/client/requests/TemplateReq.d.ts +0 -0
  1469. /package/{api → dist/cjs/api}/resources/dev/client/requests/TemplateReq.js +0 -0
  1470. /package/{api → dist/cjs/api}/resources/dev/client/requests/index.js +0 -0
  1471. /package/{api → dist/cjs/api}/resources/directory/client/requests/DbQueryParams.js +0 -0
  1472. /package/{api → dist/cjs/api}/resources/directory/client/requests/index.js +0 -0
  1473. /package/{api → dist/cjs/api}/resources/mirror/client/index.d.ts +0 -0
  1474. /package/{api → dist/cjs/api}/resources/mirror/client/index.js +0 -0
  1475. /package/{api/resources/oortConnections/client/requests/CreateConnectionReq.js → dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js} +0 -0
  1476. /package/{api/resources/oortConnections → dist/cjs/api/resources/notificationsCourierNotificationPreferences}/client/requests/index.js +0 -0
  1477. /package/{api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js} +0 -0
  1478. /package/{api/resources/oortCourierPayDriverRate → dist/cjs/api/resources/notificationsShipperNotificationPreferences}/client/requests/index.js +0 -0
  1479. /package/{api → dist/cjs/api}/resources/oortConnections/client/requests/CreateConnectionReq.d.ts +0 -0
  1480. /package/{api/resources/oortDrivers/client/requests/DriverCreateReq.js → dist/cjs/api/resources/oortConnections/client/requests/CreateConnectionReq.js} +0 -0
  1481. /package/{api/resources/oortDrivers → dist/cjs/api/resources/oortConnections}/client/requests/index.js +0 -0
  1482. /package/{api/resources/oortDrivers/client/requests/DriverLastSeenReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.js} +0 -0
  1483. /package/{api/resources/oortDrivers/client/requests/SetDriverActivationReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js} +0 -0
  1484. /package/{api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js} +0 -0
  1485. /package/{api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js} +0 -0
  1486. /package/{api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js} +0 -0
  1487. /package/{api/resources/oortMilestones/client/requests/MilestoneUpdateReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.js} +0 -0
  1488. /package/{api/resources/oortMilestones → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups}/client/requests/index.js +0 -0
  1489. /package/{api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js → dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js} +0 -0
  1490. /package/{api/resources/oortNotificationPreferences → dist/cjs/api/resources/oortCourierPayDriverPayouts}/client/requests/index.js +0 -0
  1491. /package/dist/{api → cjs/api}/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
  1492. /package/{api/resources/oortOrders → dist/cjs/api/resources/oortCourierPayDriverRate}/client/requests/index.js +0 -0
  1493. /package/{api/resources/oortOrders/client/requests/CreateOrderReq.js → dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.js} +0 -0
  1494. /package/{api/resources/oortOrgConnectionInfos → dist/cjs/api/resources/oortCourierPayDriverRateSheets}/client/requests/index.js +0 -0
  1495. /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/DriverCreateReq.js +0 -0
  1496. /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/DriverLastSeenReq.js +0 -0
  1497. /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/SetDriverActivationReq.js +0 -0
  1498. /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.js +0 -0
  1499. /package/{api/resources/oortOrgProfiles → dist/cjs/api/resources/oortDrivers}/client/requests/index.js +0 -0
  1500. /package/{api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.js} +0 -0
  1501. /package/{api/resources/oortShipperUserInfo → dist/cjs/api/resources/oortMilestoneNotificationPreferences}/client/requests/index.js +0 -0
  1502. /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js +0 -0
  1503. /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js +0 -0
  1504. /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/MilestoneUpdateReq.js +0 -0
  1505. /package/{api/resources/oortTaskGroups → dist/cjs/api/resources/oortMilestones}/client/requests/index.js +0 -0
  1506. /package/{api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.js → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js} +0 -0
  1507. /package/{api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js} +0 -0
  1508. /package/{api/resources/orgs → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo}/client/requests/index.js +0 -0
  1509. /package/dist/{api → cjs/api}/resources/oortOrders/client/requests/CreateOrderReq.js +0 -0
  1510. /package/{api/resources/payments → dist/cjs/api/resources/oortOrders}/client/requests/index.js +0 -0
  1511. /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js +0 -0
  1512. /package/{api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.js} +0 -0
  1513. /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js +0 -0
  1514. /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js +0 -0
  1515. /package/{api/resources/root/client → dist/cjs/api/resources/oortOrgConnectionInfos/client/requests}/index.js +0 -0
  1516. /package/{api → dist/cjs/api}/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.js +0 -0
  1517. /package/{api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js → dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.js} +0 -0
  1518. /package/{api → dist/cjs/api}/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts +0 -0
  1519. /package/dist/{api → cjs/api}/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js +0 -0
  1520. /package/{api/resources/users/client → dist/cjs/api/resources/oortOrgProfiles/client/requests}/index.js +0 -0
  1521. /package/{api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js → dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js} +0 -0
  1522. /package/dist/{api/resources/dev → cjs/api/resources/oortShipperContactInfo}/client/requests/index.js +0 -0
  1523. /package/{api → dist/cjs/api}/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js +0 -0
  1524. /package/{api → dist/cjs/api}/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js +0 -0
  1525. /package/dist/{api/resources/directory → cjs/api/resources/oortTaskGroups}/client/requests/index.js +0 -0
  1526. /package/{api → dist/cjs/api}/resources/orgs/client/requests/CreateOrgPublicDataReq.js +0 -0
  1527. /package/{api → dist/cjs/api}/resources/orgs/client/requests/UpdateOrgPublicDataReq.js +0 -0
  1528. /package/dist/{api/resources/mirror/client → cjs/api/resources/orgs/client/requests}/index.js +0 -0
  1529. /package/{api → dist/cjs/api}/resources/payments/client/requests/CreateCheckoutSessionReq2.js +0 -0
  1530. /package/dist/{api/resources/oortConnections → cjs/api/resources/payments}/client/requests/index.js +0 -0
  1531. /package/{api → dist/cjs/api}/resources/root/client/index.d.ts +0 -0
  1532. /package/dist/{api/resources/oortCourierPayDriverRate/client/requests → cjs/api/resources/root/client}/index.js +0 -0
  1533. /package/{api → dist/cjs/api}/resources/root/types/PydanticResponse.js +0 -0
  1534. /package/{api → dist/cjs/api}/resources/users/client/index.d.ts +0 -0
  1535. /package/dist/{api/resources/oortDrivers/client/requests → cjs/api/resources/users/client}/index.js +0 -0
  1536. /package/{api → dist/cjs/api}/types/BaseModel.d.ts +0 -0
  1537. /package/{api → dist/cjs/api}/types/BaseModel.js +0 -0
  1538. /package/{api → dist/cjs/api}/types/Cargo1.js +0 -0
  1539. /package/{api → dist/cjs/api}/types/CargoClientCreate1.js +0 -0
  1540. /package/{api → dist/cjs/api}/types/CargoTypeEnum1.d.ts +0 -0
  1541. /package/{api → dist/cjs/api}/types/CargoTypeEnum1.js +0 -0
  1542. /package/{api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js → dist/cjs/api/types/CourierNotificationEventEnum.js} +0 -0
  1543. /package/{api/types/Action.js → dist/cjs/api/types/CourierNotificationPreferences1.js} +0 -0
  1544. /package/{api → dist/cjs/api}/types/CourierOrgConnectionInfo1.js +0 -0
  1545. /package/{api → dist/cjs/api}/types/CourierOrgProfile3.js +0 -0
  1546. /package/{api/types/Coordinates.js → dist/cjs/api/types/CourierPayDriverLineItemGroup1.js} +0 -0
  1547. /package/{api/types/CourierPayDriverRateSheet1.js → dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.js} +0 -0
  1548. /package/dist/{api → cjs/api}/types/CourierPayDriverRateSheet1.js +0 -0
  1549. /package/{api → dist/cjs/api}/types/CreateCheckoutSessionRes2.d.ts +0 -0
  1550. /package/{api → dist/cjs/api}/types/CreateCheckoutSessionRes2.js +0 -0
  1551. /package/{api → dist/cjs/api}/types/CreateOrderRes.d.ts +0 -0
  1552. /package/{api → dist/cjs/api}/types/CreateOrderRes.js +0 -0
  1553. /package/{api → dist/cjs/api}/types/DecodedJwtWithOrgAndUserId.js +0 -0
  1554. /package/{api → dist/cjs/api}/types/Driver1.js +0 -0
  1555. /package/{api → dist/cjs/api}/types/DriverStatusEnum.d.ts +0 -0
  1556. /package/{api → dist/cjs/api}/types/DriverStatusEnum.js +0 -0
  1557. /package/{api → dist/cjs/api}/types/EmailReq.d.ts +0 -0
  1558. /package/{api → dist/cjs/api}/types/EmailReq.js +0 -0
  1559. /package/{api → dist/cjs/api}/types/EmailRes.js +0 -0
  1560. /package/{api → dist/cjs/api}/types/Expense1.js +0 -0
  1561. /package/{api → dist/cjs/api}/types/Feature.js +0 -0
  1562. /package/{api → dist/cjs/api}/types/FeatureInputGeometry.js +0 -0
  1563. /package/{api → dist/cjs/api}/types/FeatureOutputGeometry.js +0 -0
  1564. /package/{api → dist/cjs/api}/types/GeometryCollection.js +0 -0
  1565. /package/{api → dist/cjs/api}/types/GeometryCollectionInputGeometriesItem.js +0 -0
  1566. /package/{api → dist/cjs/api}/types/GeometryCollectionOutputGeometriesItem.js +0 -0
  1567. /package/{api → dist/cjs/api}/types/GetOrderFullRes.js +0 -0
  1568. /package/{api → dist/cjs/api}/types/GetOrderRes.js +0 -0
  1569. /package/{api → dist/cjs/api}/types/HttpValidationError.js +0 -0
  1570. /package/{api → dist/cjs/api}/types/Incident1.js +0 -0
  1571. /package/{api → dist/cjs/api}/types/IncidentEnum1.d.ts +0 -0
  1572. /package/{api → dist/cjs/api}/types/IncidentEnum1.js +0 -0
  1573. /package/{api → dist/cjs/api}/types/Insurance1.js +0 -0
  1574. /package/{api → dist/cjs/api}/types/LineItem1.js +0 -0
  1575. /package/{api → dist/cjs/api}/types/LineItemEnum1.d.ts +0 -0
  1576. /package/{api → dist/cjs/api}/types/LineItemEnum1.js +0 -0
  1577. /package/{api → dist/cjs/api}/types/LineString.js +0 -0
  1578. /package/{api → dist/cjs/api}/types/Milestone1.js +0 -0
  1579. /package/{api → dist/cjs/api}/types/MilestoneClientCreate1.js +0 -0
  1580. /package/{api/types/Id.js → dist/cjs/api/types/MilestoneNotificationPreferences1.js} +0 -0
  1581. /package/{api → dist/cjs/api}/types/MilestoneTypeEnum1.d.ts +0 -0
  1582. /package/{api → dist/cjs/api}/types/MilestoneTypeEnum1.js +0 -0
  1583. /package/{api → dist/cjs/api}/types/MultiLineString.js +0 -0
  1584. /package/{api → dist/cjs/api}/types/MultiPoint.js +0 -0
  1585. /package/{api → dist/cjs/api}/types/MultiPolygon.js +0 -0
  1586. /package/{api → dist/cjs/api}/types/MultipleTaskGroupsDetailsResponse.js +0 -0
  1587. /package/{api → dist/cjs/api}/types/MultipleTaskGroupsWithTasks.js +0 -0
  1588. /package/{api → dist/cjs/api}/types/NotificationChannelEnum.js +0 -0
  1589. /package/{api → dist/cjs/api}/types/ObcNfoTaskActionEnum.d.ts +0 -0
  1590. /package/{api → dist/cjs/api}/types/ObcNfoTaskActionEnum.js +0 -0
  1591. /package/{api/types/LineStringCoordinatesItem.js → dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.js} +0 -0
  1592. /package/{api → dist/cjs/api}/types/Order1.js +0 -0
  1593. /package/{api → dist/cjs/api}/types/OrderClientCreate1.d.ts +0 -0
  1594. /package/{api → dist/cjs/api}/types/OrderClientCreate1.js +0 -0
  1595. /package/{api → dist/cjs/api}/types/OrderCreatedByTypeEnum.d.ts +0 -0
  1596. /package/{api → dist/cjs/api}/types/OrderCreatedByTypeEnum.js +0 -0
  1597. /package/{api → dist/cjs/api}/types/OrderDispatchTypeEnum.d.ts +0 -0
  1598. /package/{api → dist/cjs/api}/types/OrderDispatchTypeEnum.js +0 -0
  1599. /package/{api → dist/cjs/api}/types/OrderStatusEnum1.d.ts +0 -0
  1600. /package/{api → dist/cjs/api}/types/OrderStatusEnum1.js +0 -0
  1601. /package/{api → dist/cjs/api}/types/OrgMemberDetails.js +0 -0
  1602. /package/{api → dist/cjs/api}/types/OrgMembersAndDrivers.js +0 -0
  1603. /package/{api → dist/cjs/api}/types/OrgPublicData2.js +0 -0
  1604. /package/{api → dist/cjs/api}/types/Point.js +0 -0
  1605. /package/{api → dist/cjs/api}/types/Polygon.js +0 -0
  1606. /package/{api → dist/cjs/api}/types/Position2D.d.ts +0 -0
  1607. /package/{api → dist/cjs/api}/types/Position2D.js +0 -0
  1608. /package/{api → dist/cjs/api}/types/Position3D.d.ts +0 -0
  1609. /package/{api → dist/cjs/api}/types/Position3D.js +0 -0
  1610. /package/{api → dist/cjs/api}/types/PriceNameEnum.d.ts +0 -0
  1611. /package/{api → dist/cjs/api}/types/PriceNameEnum.js +0 -0
  1612. /package/{api → dist/cjs/api}/types/RouteTypeEnum1.d.ts +0 -0
  1613. /package/{api → dist/cjs/api}/types/RouteTypeEnum1.js +0 -0
  1614. /package/{api → dist/cjs/api}/types/Shipper2.js +0 -0
  1615. /package/{api/types/MultiLineStringCoordinatesItemItem.js → dist/cjs/api/types/ShipperContactInfo1.js} +0 -0
  1616. /package/{api/types/MultiPointCoordinatesItem.js → dist/cjs/api/types/ShipperContactInfoClientCreate1.js} +0 -0
  1617. /package/{api → dist/cjs/api}/types/ShipperCourierConnection1.js +0 -0
  1618. /package/{api/types/MultiPolygonCoordinatesItemItemItem.js → dist/cjs/api/types/ShipperNotificationEventEnum.js} +0 -0
  1619. /package/{api/types/NotificationPreferences1.js → dist/cjs/api/types/ShipperNotificationPreferences1.js} +0 -0
  1620. /package/{api → dist/cjs/api}/types/ShipperOrgConnectionInfo1.js +0 -0
  1621. /package/{api → dist/cjs/api}/types/StreetAddress1.js +0 -0
  1622. /package/{api → dist/cjs/api}/types/Task1.js +0 -0
  1623. /package/{api → dist/cjs/api}/types/TaskActionEnum1.d.ts +0 -0
  1624. /package/{api → dist/cjs/api}/types/TaskActionEnum1.js +0 -0
  1625. /package/{api → dist/cjs/api}/types/TaskClientCreate1.js +0 -0
  1626. /package/{api → dist/cjs/api}/types/TaskCreateBundle.js +0 -0
  1627. /package/{api → dist/cjs/api}/types/TaskGroup1.js +0 -0
  1628. /package/{api → dist/cjs/api}/types/TaskGroupDetailsResponse.js +0 -0
  1629. /package/{api → dist/cjs/api}/types/TaskGroupStatusEnum1.d.ts +0 -0
  1630. /package/{api → dist/cjs/api}/types/TaskGroupStatusEnum1.js +0 -0
  1631. /package/{api → dist/cjs/api}/types/TaskGroupWithDetails.js +0 -0
  1632. /package/{api → dist/cjs/api}/types/TaskGroupWithTasks.js +0 -0
  1633. /package/{api → dist/cjs/api}/types/TaskWithDetails.js +0 -0
  1634. /package/{api → dist/cjs/api}/types/TemplateRes.d.ts +0 -0
  1635. /package/{api → dist/cjs/api}/types/TemplateRes.js +0 -0
  1636. /package/{api → dist/cjs/api}/types/Tracker1.js +0 -0
  1637. /package/{api → dist/cjs/api}/types/TrackerSession1.js +0 -0
  1638. /package/{api → dist/cjs/api}/types/TransportTypeEnum.d.ts +0 -0
  1639. /package/{api → dist/cjs/api}/types/TransportTypeEnum.js +0 -0
  1640. /package/{api → dist/cjs/api}/types/UpdateTaskGroupRes.d.ts +0 -0
  1641. /package/{api → dist/cjs/api}/types/UpdateTaskGroupRes.js +0 -0
  1642. /package/{api/types/PayablesInvoice1.js → dist/cjs/api/types/UserPublicData6.js} +0 -0
  1643. /package/{api → dist/cjs/api}/types/ValidationError.js +0 -0
  1644. /package/{api → dist/cjs/api}/types/Vehicle1.js +0 -0
  1645. /package/{api → dist/cjs/api}/types/VehicleTypeEnum.d.ts +0 -0
  1646. /package/{api → dist/cjs/api}/types/VehicleTypeEnum.js +0 -0
  1647. /package/{core → dist/cjs/core}/auth/BasicAuth.d.ts +0 -0
  1648. /package/{core → dist/cjs/core}/auth/BearerToken.d.ts +0 -0
  1649. /package/{core → dist/cjs/core}/auth/BearerToken.js +0 -0
  1650. /package/{core → dist/cjs/core}/fetcher/APIResponse.js +0 -0
  1651. /package/{core → dist/cjs/core}/fetcher/Supplier.d.ts +0 -0
  1652. /package/{core → dist/cjs/core}/fetcher/Supplier.js +0 -0
  1653. /package/{core → dist/cjs/core}/fetcher/getHeader.d.ts +0 -0
  1654. /package/{core → dist/cjs/core}/fetcher/getHeader.js +0 -0
  1655. /package/{core → dist/cjs/core}/fetcher/getRequestBody.d.ts +0 -0
  1656. /package/{core → dist/cjs/core}/fetcher/getResponseBody.d.ts +0 -0
  1657. /package/{core → dist/cjs/core}/fetcher/makeRequest.d.ts +0 -0
  1658. /package/{core → dist/cjs/core}/fetcher/requestWithRetries.d.ts +0 -0
  1659. /package/{core → dist/cjs/core}/fetcher/requestWithRetries.js +0 -0
  1660. /package/{core → dist/cjs/core}/fetcher/signals.d.ts +0 -0
  1661. /package/{core → dist/cjs/core}/fetcher/signals.js +0 -0
  1662. /package/dist/{api/resources/oortMilestones/client/requests/index.js → cjs/core/file.js} +0 -0
  1663. /package/{core → dist/cjs/core}/json.d.ts +0 -0
  1664. /package/{core → dist/cjs/core}/json.js +0 -0
  1665. /package/{core → dist/cjs/core}/runtime/runtime.d.ts +0 -0
  1666. /package/dist/{environments.d.ts → cjs/environments.d.ts} +0 -0
  1667. /package/dist/{environments.js → cjs/environments.js} +0 -0
  1668. /package/dist/{errors → cjs/errors}/ChrtTimeoutError.d.ts +0 -0
  1669. /package/dist/{errors → cjs/errors}/ChrtTimeoutError.js +0 -0
  1670. /package/dist/{api/resources/dev/client/requests/TemplateReq.d.ts → esm/api/resources/dev/client/requests/TemplateReq.d.mts} +0 -0
  1671. /package/dist/{api/resources/mirror/client/index.d.ts → esm/api/resources/dev/client/requests/index.mjs} +0 -0
  1672. /package/dist/{api/resources/root/client/index.d.ts → esm/api/resources/directory/client/requests/index.mjs} +0 -0
  1673. /package/dist/{api/resources/users/client/index.d.ts → esm/api/resources/mirror/client/index.d.mts} +0 -0
  1674. /package/dist/{api/resources/oortConnections/client/requests/CreateConnectionReq.d.ts → esm/api/resources/oortConnections/client/requests/CreateConnectionReq.d.mts} +0 -0
  1675. /package/dist/{api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.mts} +0 -0
  1676. /package/dist/{api/types/BaseModel.d.ts → esm/api/types/BaseModel.d.mts} +0 -0
  1677. /package/dist/{api/types/CargoTypeEnum1.d.ts → esm/api/types/CargoTypeEnum1.d.mts} +0 -0
  1678. /package/dist/{api/types/CreateCheckoutSessionRes2.d.ts → esm/api/types/CreateCheckoutSessionRes2.d.mts} +0 -0
  1679. /package/dist/{api/types/CreateOrderRes.d.ts → esm/api/types/CreateOrderRes.d.mts} +0 -0
  1680. /package/dist/{api/types/DriverStatusEnum.d.ts → esm/api/types/DriverStatusEnum.d.mts} +0 -0
  1681. /package/dist/{api/types/EmailReq.d.ts → esm/api/types/EmailReq.d.mts} +0 -0
  1682. /package/dist/{api/types/IncidentEnum1.d.ts → esm/api/types/IncidentEnum1.d.mts} +0 -0
  1683. /package/dist/{api/types/LineItemEnum1.d.ts → esm/api/types/LineItemEnum1.d.mts} +0 -0
  1684. /package/dist/{api/types/MilestoneTypeEnum1.d.ts → esm/api/types/MilestoneTypeEnum1.d.mts} +0 -0
  1685. /package/dist/{api/types/ObcNfoTaskActionEnum.d.ts → esm/api/types/ObcNfoTaskActionEnum.d.mts} +0 -0
  1686. /package/dist/{api/types/OrderClientCreate1.d.ts → esm/api/types/OrderClientCreate1.d.mts} +0 -0
  1687. /package/dist/{api/types/OrderCreatedByTypeEnum.d.ts → esm/api/types/OrderCreatedByTypeEnum.d.mts} +0 -0
  1688. /package/dist/{api/types/OrderDispatchTypeEnum.d.ts → esm/api/types/OrderDispatchTypeEnum.d.mts} +0 -0
  1689. /package/dist/{api/types/OrderStatusEnum1.d.ts → esm/api/types/OrderStatusEnum1.d.mts} +0 -0
  1690. /package/dist/{api/types/Position2D.d.ts → esm/api/types/Position2D.d.mts} +0 -0
  1691. /package/dist/{api/types/Position3D.d.ts → esm/api/types/Position3D.d.mts} +0 -0
  1692. /package/dist/{api/types/PriceNameEnum.d.ts → esm/api/types/PriceNameEnum.d.mts} +0 -0
  1693. /package/dist/{api/types/RouteTypeEnum1.d.ts → esm/api/types/RouteTypeEnum1.d.mts} +0 -0
  1694. /package/dist/{api/types/TaskActionEnum1.d.ts → esm/api/types/TaskActionEnum1.d.mts} +0 -0
  1695. /package/dist/{api/types/TaskGroupStatusEnum1.d.ts → esm/api/types/TaskGroupStatusEnum1.d.mts} +0 -0
  1696. /package/dist/{api/types/TemplateRes.d.ts → esm/api/types/TemplateRes.d.mts} +0 -0
  1697. /package/dist/{api/types/TransportTypeEnum.d.ts → esm/api/types/TransportTypeEnum.d.mts} +0 -0
  1698. /package/dist/{api/types/UpdateTaskGroupRes.d.ts → esm/api/types/UpdateTaskGroupRes.d.mts} +0 -0
  1699. /package/dist/{api/types/VehicleTypeEnum.d.ts → esm/api/types/VehicleTypeEnum.d.mts} +0 -0
  1700. /package/dist/{core/auth/BasicAuth.d.ts → esm/core/auth/BasicAuth.d.mts} +0 -0
  1701. /package/dist/{core/auth/BearerToken.d.ts → esm/core/auth/BearerToken.d.mts} +0 -0
  1702. /package/dist/{core/fetcher/Supplier.d.ts → esm/core/fetcher/Supplier.d.mts} +0 -0
  1703. /package/dist/{core/fetcher/getHeader.d.ts → esm/core/fetcher/getHeader.d.mts} +0 -0
  1704. /package/dist/{core/fetcher/getRequestBody.d.ts → esm/core/fetcher/getRequestBody.d.mts} +0 -0
  1705. /package/dist/{core/fetcher/getResponseBody.d.ts → esm/core/fetcher/getResponseBody.d.mts} +0 -0
  1706. /package/dist/{core/fetcher/makeRequest.d.ts → esm/core/fetcher/makeRequest.d.mts} +0 -0
  1707. /package/dist/{core/fetcher/requestWithRetries.d.ts → esm/core/fetcher/requestWithRetries.d.mts} +0 -0
  1708. /package/dist/{core/fetcher/signals.d.ts → esm/core/fetcher/signals.d.mts} +0 -0
  1709. /package/dist/{core/json.d.ts → esm/core/json.d.mts} +0 -0
  1710. /package/dist/{core/runtime/runtime.d.ts → esm/core/runtime/runtime.d.mts} +0 -0
  1711. /package/{environments.d.ts → dist/esm/environments.d.mts} +0 -0
  1712. /package/{errors/ChrtTimeoutError.d.ts → dist/esm/errors/ChrtTimeoutError.d.mts} +0 -0
@@ -0,0 +1,90 @@
1
+ export * from "./BaseModel.mjs";
2
+ export * from "./Cargo1.mjs";
3
+ export * from "./CargoClientCreate1.mjs";
4
+ export * from "./CargoTypeEnum1.mjs";
5
+ export * from "./CourierNotificationEventEnum.mjs";
6
+ export * from "./CourierNotificationPreferences1.mjs";
7
+ export * from "./CourierOrgConnectionInfo1.mjs";
8
+ export * from "./CourierOrgProfile3.mjs";
9
+ export * from "./CourierPayDriverLineItemGroup1.mjs";
10
+ export * from "./CourierPayDriverLineItemGroupClientCreate1.mjs";
11
+ export * from "./CourierPayDriverRateSheet1.mjs";
12
+ export * from "./CreateCheckoutSessionRes2.mjs";
13
+ export * from "./CreateOrderRes.mjs";
14
+ export * from "./DecodedJwtWithOrgAndUserId.mjs";
15
+ export * from "./Driver1.mjs";
16
+ export * from "./DriverStatusEnum.mjs";
17
+ export * from "./EmailReq.mjs";
18
+ export * from "./EmailRes.mjs";
19
+ export * from "./Expense1.mjs";
20
+ export * from "./FeatureInputGeometry.mjs";
21
+ export * from "./Feature.mjs";
22
+ export * from "./FeatureOutputGeometry.mjs";
23
+ export * from "./GeometryCollectionInputGeometriesItem.mjs";
24
+ export * from "./GeometryCollection.mjs";
25
+ export * from "./GeometryCollectionOutputGeometriesItem.mjs";
26
+ export * from "./GetOrderFullRes.mjs";
27
+ export * from "./GetOrderRes.mjs";
28
+ export * from "./HttpValidationError.mjs";
29
+ export * from "./Incident1.mjs";
30
+ export * from "./IncidentEnum1.mjs";
31
+ export * from "./Insurance1.mjs";
32
+ export * from "./LineItem1.mjs";
33
+ export * from "./LineItemEnum1.mjs";
34
+ export * from "./LineString.mjs";
35
+ export * from "./Milestone1.mjs";
36
+ export * from "./MilestoneClientCreate1.mjs";
37
+ export * from "./MilestoneNotificationPreferences1.mjs";
38
+ export * from "./MilestoneTypeEnum1.mjs";
39
+ export * from "./MultiLineString.mjs";
40
+ export * from "./MultiPoint.mjs";
41
+ export * from "./MultiPolygon.mjs";
42
+ export * from "./MultipleTaskGroupsDetailsResponse.mjs";
43
+ export * from "./MultipleTaskGroupsWithTasks.mjs";
44
+ export * from "./NotificationChannelEnum.mjs";
45
+ export * from "./ObcNfoTaskActionEnum.mjs";
46
+ export * from "./OffChrtShipperOrgConnectionInfo1.mjs";
47
+ export * from "./Order1.mjs";
48
+ export * from "./OrderClientCreate1.mjs";
49
+ export * from "./OrderCreatedByTypeEnum.mjs";
50
+ export * from "./OrderDispatchTypeEnum.mjs";
51
+ export * from "./OrderStatusEnum1.mjs";
52
+ export * from "./OrgMemberDetails.mjs";
53
+ export * from "./OrgMembersAndDrivers.mjs";
54
+ export * from "./OrgPublicData2.mjs";
55
+ export * from "./PayablesInvoice1.mjs";
56
+ export * from "./Point.mjs";
57
+ export * from "./Polygon.mjs";
58
+ export * from "./Position2D.mjs";
59
+ export * from "./Position3D.mjs";
60
+ export * from "./PriceNameEnum.mjs";
61
+ export * from "./ReceivablesInvoice1.mjs";
62
+ export * from "./RouteTypeEnum1.mjs";
63
+ export * from "./Shipper2.mjs";
64
+ export * from "./ShipperContactInfo1.mjs";
65
+ export * from "./ShipperContactInfoClientCreate1.mjs";
66
+ export * from "./ShipperCourierConnection1.mjs";
67
+ export * from "./ShipperNotificationEventEnum.mjs";
68
+ export * from "./ShipperNotificationPreferences1.mjs";
69
+ export * from "./ShipperOrgConnectionInfo1.mjs";
70
+ export * from "./StreetAddress1.mjs";
71
+ export * from "./StripeConnectInvoice1.mjs";
72
+ export * from "./Task1.mjs";
73
+ export * from "./TaskActionEnum1.mjs";
74
+ export * from "./TaskClientCreate1.mjs";
75
+ export * from "./TaskCreateBundle.mjs";
76
+ export * from "./TaskGroup1.mjs";
77
+ export * from "./TaskGroupDetailsResponse.mjs";
78
+ export * from "./TaskGroupStatusEnum1.mjs";
79
+ export * from "./TaskGroupWithDetails.mjs";
80
+ export * from "./TaskGroupWithTasks.mjs";
81
+ export * from "./TaskWithDetails.mjs";
82
+ export * from "./TemplateRes.mjs";
83
+ export * from "./Tracker1.mjs";
84
+ export * from "./TrackerSession1.mjs";
85
+ export * from "./TransportTypeEnum.mjs";
86
+ export * from "./UpdateTaskGroupRes.mjs";
87
+ export * from "./UserPublicData6.mjs";
88
+ export * from "./ValidationError.mjs";
89
+ export * from "./Vehicle1.mjs";
90
+ export * from "./VehicleTypeEnum.mjs";
@@ -0,0 +1,23 @@
1
+ import { base64Decode, base64Encode } from "../base64.mjs";
2
+ const BASIC_AUTH_HEADER_PREFIX = /^Basic /i;
3
+ export const BasicAuth = {
4
+ toAuthorizationHeader: (basicAuth) => {
5
+ if (basicAuth == null) {
6
+ return undefined;
7
+ }
8
+ const token = base64Encode(`${basicAuth.username}:${basicAuth.password}`);
9
+ return `Basic ${token}`;
10
+ },
11
+ fromAuthorizationHeader: (header) => {
12
+ const credentials = header.replace(BASIC_AUTH_HEADER_PREFIX, "");
13
+ const decoded = base64Decode(credentials);
14
+ const [username, password] = decoded.split(":", 2);
15
+ if (username == null || password == null) {
16
+ throw new Error("Invalid basic auth");
17
+ }
18
+ return {
19
+ username,
20
+ password,
21
+ };
22
+ },
23
+ };
@@ -0,0 +1,12 @@
1
+ const BEARER_AUTH_HEADER_PREFIX = /^Bearer /i;
2
+ export const BearerToken = {
3
+ toAuthorizationHeader: (token) => {
4
+ if (token == null) {
5
+ return undefined;
6
+ }
7
+ return `Bearer ${token}`;
8
+ },
9
+ fromAuthorizationHeader: (header) => {
10
+ return header.replace(BEARER_AUTH_HEADER_PREFIX, "").trim();
11
+ },
12
+ };
@@ -0,0 +1,2 @@
1
+ export { BasicAuth } from "./BasicAuth.mjs";
2
+ export { BearerToken } from "./BearerToken.mjs";
@@ -0,0 +1,2 @@
1
+ export { BasicAuth } from "./BasicAuth.mjs";
2
+ export { BearerToken } from "./BearerToken.mjs";
@@ -0,0 +1,2 @@
1
+ export declare function base64Encode(input: string): string;
2
+ export declare function base64Decode(input: string): string;
@@ -0,0 +1,22 @@
1
+ function base64ToBytes(base64) {
2
+ const binString = atob(base64);
3
+ return Uint8Array.from(binString, (m) => m.codePointAt(0));
4
+ }
5
+ function bytesToBase64(bytes) {
6
+ const binString = String.fromCodePoint(...bytes);
7
+ return btoa(binString);
8
+ }
9
+ export function base64Encode(input) {
10
+ if (typeof Buffer !== "undefined") {
11
+ return Buffer.from(input, "utf8").toString("base64");
12
+ }
13
+ const bytes = new TextEncoder().encode(input);
14
+ return bytesToBase64(bytes);
15
+ }
16
+ export function base64Decode(input) {
17
+ if (typeof Buffer !== "undefined") {
18
+ return Buffer.from(input, "base64").toString("utf8");
19
+ }
20
+ const bytes = base64ToBytes(input);
21
+ return new TextDecoder().decode(bytes);
22
+ }
@@ -0,0 +1,20 @@
1
+ import { RawResponse } from "./RawResponse.mjs";
2
+ /**
3
+ * The response of an API call.
4
+ * It is a successful response or a failed response.
5
+ */
6
+ export type APIResponse<Success, Failure> = SuccessfulResponse<Success> | FailedResponse<Failure>;
7
+ export interface SuccessfulResponse<T> {
8
+ ok: true;
9
+ body: T;
10
+ /**
11
+ * @deprecated Use `rawResponse` instead
12
+ */
13
+ headers?: Record<string, any>;
14
+ rawResponse: RawResponse;
15
+ }
16
+ export interface FailedResponse<T> {
17
+ ok: false;
18
+ error: T;
19
+ rawResponse: RawResponse;
20
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ import { ResponseWithBody } from "./ResponseWithBody.mjs";
2
+ export type BinaryResponse = {
3
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */
4
+ bodyUsed: boolean;
5
+ /**
6
+ * Returns a ReadableStream of the response body.
7
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
8
+ */
9
+ stream: () => ReadableStream<Uint8Array>;
10
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */
11
+ arrayBuffer: () => Promise<ArrayBuffer>;
12
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
13
+ blob: () => Promise<Blob>;
14
+ /**
15
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
16
+ * Some versions of the Fetch API may not support this method.
17
+ */
18
+ bytes?(): Promise<Uint8Array>;
19
+ };
20
+ export declare function getBinaryResponse(response: ResponseWithBody): BinaryResponse;
@@ -0,0 +1,14 @@
1
+ export function getBinaryResponse(response) {
2
+ const binaryResponse = {
3
+ get bodyUsed() {
4
+ return response.bodyUsed;
5
+ },
6
+ stream: () => response.body,
7
+ arrayBuffer: response.arrayBuffer.bind(response),
8
+ blob: response.blob.bind(response),
9
+ };
10
+ if ("bytes" in response && typeof response.bytes === "function") {
11
+ binaryResponse.bytes = response.bytes.bind(response);
12
+ }
13
+ return binaryResponse;
14
+ }
@@ -0,0 +1,40 @@
1
+ import { APIResponse } from "./APIResponse.mjs";
2
+ import { Supplier } from "./Supplier.mjs";
3
+ export type FetchFunction = <R = unknown>(args: Fetcher.Args) => Promise<APIResponse<R, Fetcher.Error>>;
4
+ export declare namespace Fetcher {
5
+ interface Args {
6
+ url: string;
7
+ method: string;
8
+ contentType?: string;
9
+ headers?: Record<string, string | Supplier<string | undefined> | undefined>;
10
+ queryParameters?: Record<string, string | string[] | object | object[] | null>;
11
+ body?: unknown;
12
+ timeoutMs?: number;
13
+ maxRetries?: number;
14
+ withCredentials?: boolean;
15
+ abortSignal?: AbortSignal;
16
+ requestType?: "json" | "file" | "bytes";
17
+ responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer" | "binary-response";
18
+ duplex?: "half";
19
+ }
20
+ type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError;
21
+ interface FailedStatusCodeError {
22
+ reason: "status-code";
23
+ statusCode: number;
24
+ body: unknown;
25
+ }
26
+ interface NonJsonError {
27
+ reason: "non-json";
28
+ statusCode: number;
29
+ rawBody: string;
30
+ }
31
+ interface TimeoutError {
32
+ reason: "timeout";
33
+ }
34
+ interface UnknownError {
35
+ reason: "unknown";
36
+ errorMessage: string;
37
+ }
38
+ }
39
+ export declare function fetcherImpl<R = unknown>(args: Fetcher.Args): Promise<APIResponse<R, Fetcher.Error>>;
40
+ export declare const fetcher: FetchFunction;
@@ -0,0 +1,116 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { toJson } from "../json.mjs";
11
+ import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.mjs";
12
+ import { Supplier } from "./Supplier.mjs";
13
+ import { createRequestUrl } from "./createRequestUrl.mjs";
14
+ import { getErrorResponseBody } from "./getErrorResponseBody.mjs";
15
+ import { getFetchFn } from "./getFetchFn.mjs";
16
+ import { getRequestBody } from "./getRequestBody.mjs";
17
+ import { getResponseBody } from "./getResponseBody.mjs";
18
+ import { makeRequest } from "./makeRequest.mjs";
19
+ import { requestWithRetries } from "./requestWithRetries.mjs";
20
+ function getHeaders(args) {
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const newHeaders = {};
23
+ if (args.body !== undefined && args.contentType != null) {
24
+ newHeaders["Content-Type"] = args.contentType;
25
+ }
26
+ if (args.headers == null) {
27
+ return newHeaders;
28
+ }
29
+ for (const [key, value] of Object.entries(args.headers)) {
30
+ const result = yield Supplier.get(value);
31
+ if (typeof result === "string") {
32
+ newHeaders[key] = result;
33
+ continue;
34
+ }
35
+ if (result == null) {
36
+ continue;
37
+ }
38
+ newHeaders[key] = `${result}`;
39
+ }
40
+ return newHeaders;
41
+ });
42
+ }
43
+ export function fetcherImpl(args) {
44
+ return __awaiter(this, void 0, void 0, function* () {
45
+ const url = createRequestUrl(args.url, args.queryParameters);
46
+ const requestBody = yield getRequestBody({
47
+ body: args.body,
48
+ type: args.requestType === "json" ? "json" : "other",
49
+ });
50
+ const fetchFn = yield getFetchFn();
51
+ try {
52
+ const response = yield requestWithRetries(() => __awaiter(this, void 0, void 0, function* () {
53
+ return makeRequest(fetchFn, url, args.method, yield getHeaders(args), requestBody, args.timeoutMs, args.abortSignal, args.withCredentials, args.duplex);
54
+ }), args.maxRetries);
55
+ if (response.status >= 200 && response.status < 400) {
56
+ return {
57
+ ok: true,
58
+ body: (yield getResponseBody(response, args.responseType)),
59
+ headers: response.headers,
60
+ rawResponse: toRawResponse(response),
61
+ };
62
+ }
63
+ else {
64
+ return {
65
+ ok: false,
66
+ error: {
67
+ reason: "status-code",
68
+ statusCode: response.status,
69
+ body: yield getErrorResponseBody(response),
70
+ },
71
+ rawResponse: toRawResponse(response),
72
+ };
73
+ }
74
+ }
75
+ catch (error) {
76
+ if (args.abortSignal != null && args.abortSignal.aborted) {
77
+ return {
78
+ ok: false,
79
+ error: {
80
+ reason: "unknown",
81
+ errorMessage: "The user aborted a request",
82
+ },
83
+ rawResponse: abortRawResponse,
84
+ };
85
+ }
86
+ else if (error instanceof Error && error.name === "AbortError") {
87
+ return {
88
+ ok: false,
89
+ error: {
90
+ reason: "timeout",
91
+ },
92
+ rawResponse: abortRawResponse,
93
+ };
94
+ }
95
+ else if (error instanceof Error) {
96
+ return {
97
+ ok: false,
98
+ error: {
99
+ reason: "unknown",
100
+ errorMessage: error.message,
101
+ },
102
+ rawResponse: unknownRawResponse,
103
+ };
104
+ }
105
+ return {
106
+ ok: false,
107
+ error: {
108
+ reason: "unknown",
109
+ errorMessage: toJson(error),
110
+ },
111
+ rawResponse: unknownRawResponse,
112
+ };
113
+ }
114
+ });
115
+ }
116
+ export const fetcher = fetcherImpl;
@@ -0,0 +1,2 @@
1
+ declare let Headers: typeof globalThis.Headers;
2
+ export { Headers };
@@ -0,0 +1,82 @@
1
+ let Headers;
2
+ if (typeof globalThis.Headers !== "undefined") {
3
+ Headers = globalThis.Headers;
4
+ }
5
+ else {
6
+ Headers = class Headers {
7
+ constructor(init) {
8
+ this.headers = new Map();
9
+ if (init) {
10
+ if (init instanceof Headers) {
11
+ init.forEach((value, key) => this.append(key, value));
12
+ }
13
+ else if (Array.isArray(init)) {
14
+ for (const [key, value] of init) {
15
+ if (typeof key === "string" && typeof value === "string") {
16
+ this.append(key, value);
17
+ }
18
+ else {
19
+ throw new TypeError("Each header entry must be a [string, string] tuple");
20
+ }
21
+ }
22
+ }
23
+ else {
24
+ for (const [key, value] of Object.entries(init)) {
25
+ if (typeof value === "string") {
26
+ this.append(key, value);
27
+ }
28
+ else {
29
+ throw new TypeError("Header values must be strings");
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ append(name, value) {
36
+ const key = name.toLowerCase();
37
+ const existing = this.headers.get(key) || [];
38
+ this.headers.set(key, [...existing, value]);
39
+ }
40
+ delete(name) {
41
+ const key = name.toLowerCase();
42
+ this.headers.delete(key);
43
+ }
44
+ get(name) {
45
+ const key = name.toLowerCase();
46
+ const values = this.headers.get(key);
47
+ return values ? values.join(", ") : null;
48
+ }
49
+ has(name) {
50
+ const key = name.toLowerCase();
51
+ return this.headers.has(key);
52
+ }
53
+ set(name, value) {
54
+ const key = name.toLowerCase();
55
+ this.headers.set(key, [value]);
56
+ }
57
+ forEach(callbackfn, thisArg) {
58
+ const boundCallback = thisArg ? callbackfn.bind(thisArg) : callbackfn;
59
+ this.headers.forEach((values, key) => boundCallback(values.join(", "), key, this));
60
+ }
61
+ getSetCookie() {
62
+ return this.headers.get("set-cookie") || [];
63
+ }
64
+ *entries() {
65
+ for (const [key, values] of this.headers.entries()) {
66
+ yield [key, values.join(", ")];
67
+ }
68
+ }
69
+ *keys() {
70
+ yield* this.headers.keys();
71
+ }
72
+ *values() {
73
+ for (const values of this.headers.values()) {
74
+ yield values.join(", ");
75
+ }
76
+ }
77
+ [Symbol.iterator]() {
78
+ return this.entries();
79
+ }
80
+ };
81
+ }
82
+ export { Headers };
@@ -0,0 +1,58 @@
1
+ import { WithRawResponse } from "./RawResponse.mjs";
2
+ /**
3
+ * A promise that returns the parsed response and lets you retrieve the raw response too.
4
+ */
5
+ export declare class HttpResponsePromise<T> extends Promise<T> {
6
+ private innerPromise;
7
+ private unwrappedPromise;
8
+ private constructor();
9
+ /**
10
+ * Creates an `HttpResponsePromise` from a function that returns a promise.
11
+ *
12
+ * @param fn - A function that returns a promise resolving to a `WithRawResponse` object.
13
+ * @param args - Arguments to pass to the function.
14
+ * @returns An `HttpResponsePromise` instance.
15
+ */
16
+ static fromFunction<F extends (...args: never[]) => Promise<WithRawResponse<T>>, T>(fn: F, ...args: Parameters<F>): HttpResponsePromise<T>;
17
+ /**
18
+ * Creates a function that returns an `HttpResponsePromise` from a function that returns a promise.
19
+ *
20
+ * @param fn - A function that returns a promise resolving to a `WithRawResponse` object.
21
+ * @returns A function that returns an `HttpResponsePromise` instance.
22
+ */
23
+ static interceptFunction<F extends (...args: never[]) => Promise<WithRawResponse<T>>, T = Awaited<ReturnType<F>>["data"]>(fn: F): (...args: Parameters<F>) => HttpResponsePromise<T>;
24
+ /**
25
+ * Creates an `HttpResponsePromise` from an existing promise.
26
+ *
27
+ * @param promise - A promise resolving to a `WithRawResponse` object.
28
+ * @returns An `HttpResponsePromise` instance.
29
+ */
30
+ static fromPromise<T>(promise: Promise<WithRawResponse<T>>): HttpResponsePromise<T>;
31
+ /**
32
+ * Creates an `HttpResponsePromise` from an executor function.
33
+ *
34
+ * @param executor - A function that takes resolve and reject callbacks to create a promise.
35
+ * @returns An `HttpResponsePromise` instance.
36
+ */
37
+ static fromExecutor<T>(executor: (resolve: (value: WithRawResponse<T>) => void, reject: (reason?: unknown) => void) => void): HttpResponsePromise<T>;
38
+ /**
39
+ * Creates an `HttpResponsePromise` from a resolved result.
40
+ *
41
+ * @param result - A `WithRawResponse` object to resolve immediately.
42
+ * @returns An `HttpResponsePromise` instance.
43
+ */
44
+ static fromResult<T>(result: WithRawResponse<T>): HttpResponsePromise<T>;
45
+ private unwrap;
46
+ /** @inheritdoc */
47
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
48
+ /** @inheritdoc */
49
+ catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
50
+ /** @inheritdoc */
51
+ finally(onfinally?: (() => void) | null): Promise<T>;
52
+ /**
53
+ * Retrieves the data and raw response.
54
+ *
55
+ * @returns A promise resolving to a `WithRawResponse` object.
56
+ */
57
+ withRawResponse(): Promise<WithRawResponse<T>>;
58
+ }
@@ -0,0 +1,99 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ /**
11
+ * A promise that returns the parsed response and lets you retrieve the raw response too.
12
+ */
13
+ export class HttpResponsePromise extends Promise {
14
+ constructor(promise) {
15
+ // Initialize with a no-op to avoid premature parsing
16
+ super((resolve) => {
17
+ resolve(undefined);
18
+ });
19
+ this.innerPromise = promise;
20
+ }
21
+ /**
22
+ * Creates an `HttpResponsePromise` from a function that returns a promise.
23
+ *
24
+ * @param fn - A function that returns a promise resolving to a `WithRawResponse` object.
25
+ * @param args - Arguments to pass to the function.
26
+ * @returns An `HttpResponsePromise` instance.
27
+ */
28
+ static fromFunction(fn, ...args) {
29
+ return new HttpResponsePromise(fn(...args));
30
+ }
31
+ /**
32
+ * Creates a function that returns an `HttpResponsePromise` from a function that returns a promise.
33
+ *
34
+ * @param fn - A function that returns a promise resolving to a `WithRawResponse` object.
35
+ * @returns A function that returns an `HttpResponsePromise` instance.
36
+ */
37
+ static interceptFunction(fn) {
38
+ return (...args) => {
39
+ return HttpResponsePromise.fromPromise(fn(...args));
40
+ };
41
+ }
42
+ /**
43
+ * Creates an `HttpResponsePromise` from an existing promise.
44
+ *
45
+ * @param promise - A promise resolving to a `WithRawResponse` object.
46
+ * @returns An `HttpResponsePromise` instance.
47
+ */
48
+ static fromPromise(promise) {
49
+ return new HttpResponsePromise(promise);
50
+ }
51
+ /**
52
+ * Creates an `HttpResponsePromise` from an executor function.
53
+ *
54
+ * @param executor - A function that takes resolve and reject callbacks to create a promise.
55
+ * @returns An `HttpResponsePromise` instance.
56
+ */
57
+ static fromExecutor(executor) {
58
+ const promise = new Promise(executor);
59
+ return new HttpResponsePromise(promise);
60
+ }
61
+ /**
62
+ * Creates an `HttpResponsePromise` from a resolved result.
63
+ *
64
+ * @param result - A `WithRawResponse` object to resolve immediately.
65
+ * @returns An `HttpResponsePromise` instance.
66
+ */
67
+ static fromResult(result) {
68
+ const promise = Promise.resolve(result);
69
+ return new HttpResponsePromise(promise);
70
+ }
71
+ unwrap() {
72
+ if (!this.unwrappedPromise) {
73
+ this.unwrappedPromise = this.innerPromise.then(({ data }) => data);
74
+ }
75
+ return this.unwrappedPromise;
76
+ }
77
+ /** @inheritdoc */
78
+ then(onfulfilled, onrejected) {
79
+ return this.unwrap().then(onfulfilled, onrejected);
80
+ }
81
+ /** @inheritdoc */
82
+ catch(onrejected) {
83
+ return this.unwrap().catch(onrejected);
84
+ }
85
+ /** @inheritdoc */
86
+ finally(onfinally) {
87
+ return this.unwrap().finally(onfinally);
88
+ }
89
+ /**
90
+ * Retrieves the data and raw response.
91
+ *
92
+ * @returns A promise resolving to a `WithRawResponse` object.
93
+ */
94
+ withRawResponse() {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ return yield this.innerPromise;
97
+ });
98
+ }
99
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The raw response from the fetch call excluding the body.
3
+ */
4
+ export type RawResponse = Omit<{
5
+ [K in keyof Response as Response[K] extends Function ? never : K]: Response[K];
6
+ }, "ok" | "body" | "bodyUsed">;
7
+ /**
8
+ * A raw response indicating that the request was aborted.
9
+ */
10
+ export declare const abortRawResponse: RawResponse;
11
+ /**
12
+ * A raw response indicating an unknown error.
13
+ */
14
+ export declare const unknownRawResponse: RawResponse;
15
+ /**
16
+ * Converts a `RawResponse` object into a `RawResponse` by extracting its properties,
17
+ * excluding the `body` and `bodyUsed` fields.
18
+ *
19
+ * @param response - The `RawResponse` object to convert.
20
+ * @returns A `RawResponse` object containing the extracted properties of the input response.
21
+ */
22
+ export declare function toRawResponse(response: Response): RawResponse;
23
+ /**
24
+ * Creates a `RawResponse` from a standard `Response` object.
25
+ */
26
+ export interface WithRawResponse<T> {
27
+ readonly data: T;
28
+ readonly rawResponse: RawResponse;
29
+ }