@chrt-inc/typescript-sdk 0.0.170 → 0.1.0-beta1

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 (579) hide show
  1. package/dist/cjs/Client.d.ts +24 -36
  2. package/dist/cjs/Client.js +50 -70
  3. package/dist/cjs/api/resources/index.d.ts +14 -24
  4. package/dist/cjs/api/resources/index.js +15 -25
  5. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → messages}/client/Client.d.ts +22 -14
  6. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → messages}/client/Client.js +42 -23
  7. package/dist/cjs/api/resources/messages/client/requests/ShipperToCourierCreate1.d.ts +27 -0
  8. package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/mirror/client/Client.d.ts +0 -27
  10. package/dist/cjs/api/resources/mirror/client/Client.js +0 -121
  11. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +12 -42
  12. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.js +36 -79
  13. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
  14. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.js +0 -15
  15. package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +4 -17
  16. package/dist/cjs/api/resources/oortDrivers/client/Client.js +3 -60
  17. package/dist/cjs/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -2
  18. package/dist/cjs/api/resources/oortDrivers/client/requests/index.d.ts +0 -1
  19. package/dist/cjs/api/resources/{oortConnections → oortHandles}/client/Client.d.ts +25 -18
  20. package/dist/cjs/api/resources/{oortConnections → oortHandles}/client/Client.js +44 -32
  21. package/dist/cjs/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → oortHandles/client/requests/HandlesReq.d.ts} +1 -1
  22. package/dist/cjs/api/resources/oortHandles/client/requests/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +0 -31
  24. package/dist/cjs/api/resources/oortMilestones/client/Client.js +0 -122
  25. package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +0 -1
  26. package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +1 -22
  27. package/dist/cjs/api/resources/oortOrders/client/Client.js +1 -105
  28. package/dist/cjs/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -2
  29. package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +14 -42
  30. package/dist/cjs/api/resources/oortOrgProfiles/client/Client.js +34 -157
  31. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +5 -4
  32. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
  33. package/dist/cjs/api/resources/oortRateSheets/client/Client.d.ts +70 -0
  34. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → oortRateSheets}/client/Client.js +57 -44
  35. package/dist/cjs/api/resources/{oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts → oortRateSheets/client/requests/RateSheetClientCreate1.d.ts} +7 -8
  36. package/dist/cjs/api/resources/oortRateSheets/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/oortRoutes/client/Client.d.ts +112 -0
  38. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/Client.js +130 -142
  39. package/dist/cjs/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.ts +29 -0
  40. package/dist/{esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts → cjs/api/resources/oortRoutes/client/requests/RouteCreateReq.d.ts} +3 -3
  41. package/dist/cjs/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts → oortRoutes/client/requests/UpdateRouteReq.d.ts} +5 -3
  42. package/dist/cjs/api/resources/oortRoutes/client/requests/index.d.ts +3 -0
  43. package/dist/cjs/api/resources/oortShippers/client/Client.d.ts +48 -0
  44. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → oortShippers}/client/Client.js +24 -41
  45. package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +6 -60
  46. package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +2 -238
  47. package/dist/cjs/api/resources/oortTaskGroups/client/index.d.ts +0 -1
  48. package/dist/cjs/api/resources/oortTaskGroups/client/index.js +0 -15
  49. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -57
  50. package/dist/cjs/api/resources/orgs/client/Client.js +2 -230
  51. package/dist/{esm/api/resources/oortConnections/client/requests/CreateConnectionReq.d.mts → cjs/api/resources/orgs/client/requests/PostOrgPublicDataReq.d.ts} +1 -1
  52. package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -2
  53. package/dist/cjs/api/resources/profiles/client/Client.d.ts +72 -0
  54. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/Client.js +52 -37
  55. package/dist/cjs/api/resources/profiles/client/requests/CourierProfileCreate2.d.ts +32 -0
  56. package/dist/cjs/api/resources/profiles/client/requests/GetCourierProfileRequest.d.ts +12 -0
  57. package/dist/cjs/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.ts +15 -0
  58. package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +3 -0
  59. package/dist/cjs/api/resources/profiles/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/profiles/index.js +18 -0
  61. package/dist/cjs/api/resources/profiles/types/Type.d.ts +8 -0
  62. package/dist/cjs/api/resources/profiles/types/Type.js +10 -0
  63. package/dist/cjs/api/resources/profiles/types/index.d.ts +1 -0
  64. package/dist/cjs/api/resources/profiles/types/index.js +17 -0
  65. package/dist/cjs/api/resources/root/types/PydanticResponse.d.ts +1 -1
  66. package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
  67. package/dist/{esm/api/types/Vehicle1.d.mts → cjs/api/types/AppModelsDbOortVehicle1Vehicle1.d.ts} +1 -1
  68. package/dist/cjs/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.ts +10 -0
  69. package/dist/cjs/api/types/CourierAvailabilityEnum.d.ts +9 -0
  70. package/dist/cjs/api/types/CourierAvailabilityEnum.js +11 -0
  71. package/dist/cjs/api/types/{MultipleTaskGroupsDetailsResponse.d.ts → CourierCity.d.ts} +4 -2
  72. package/dist/cjs/api/types/{CourierOrgConnectionInfo1.d.ts → CourierOrgInfo1.d.ts} +2 -1
  73. package/dist/cjs/api/types/CourierOrgProfile3.d.ts +1 -2
  74. package/dist/cjs/api/types/CourierProfile2.d.ts +28 -0
  75. package/dist/cjs/api/types/{MultipleTaskGroupsWithTasks.d.ts → CourierProfileRes2.d.ts} +3 -2
  76. package/dist/cjs/api/types/CourierServiceEnum.d.ts +20 -0
  77. package/dist/cjs/api/types/CourierServiceEnum.js +22 -0
  78. package/dist/cjs/api/types/CourierState.d.ts +8 -0
  79. package/dist/cjs/api/types/Driver1.d.ts +4 -6
  80. package/dist/cjs/api/types/EmailAddress1.d.ts +8 -0
  81. package/dist/cjs/api/types/{TaskGroupWithDetails.d.ts → GetTaskGroupWithFullTaskInfoRes.d.ts} +2 -2
  82. package/dist/cjs/api/types/{TaskGroupWithTasks.d.ts → GetTaskGroupWithTasksRes.d.ts} +1 -1
  83. package/dist/cjs/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.ts +7 -0
  84. package/dist/cjs/api/types/GetTaskGroupsWithTasksListRes.d.ts +7 -0
  85. package/dist/cjs/api/types/{TaskGroupDetailsResponse.d.ts → GetTaskInfoListRes.d.ts} +2 -2
  86. package/dist/cjs/api/types/IndustryEnum.d.ts +21 -0
  87. package/dist/cjs/api/types/IndustryEnum.js +23 -0
  88. package/dist/cjs/api/types/Milestone1.d.ts +1 -5
  89. package/dist/cjs/api/types/MilestoneTypeEnum1.d.ts +2 -3
  90. package/dist/cjs/api/types/MilestoneTypeEnum1.js +1 -2
  91. package/dist/cjs/api/types/Order1.d.ts +1 -4
  92. package/dist/cjs/api/types/OrgPublicData2.d.ts +0 -1
  93. package/dist/cjs/api/types/PhoneNumber1.d.ts +8 -0
  94. package/dist/cjs/api/types/{CourierPayDriverRateSheet1.d.ts → RateSheet1.d.ts} +7 -7
  95. package/dist/cjs/api/types/Route1.d.ts +13 -0
  96. package/dist/cjs/api/types/RouteByIdEnum.d.ts +8 -0
  97. package/dist/cjs/api/types/RouteByIdEnum.js +10 -0
  98. package/dist/cjs/api/types/RouteDetailRes.d.ts +9 -0
  99. package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfo1.d.ts} +2 -1
  100. package/dist/cjs/api/types/ShipperToCourier1.d.ts +16 -0
  101. package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.d.ts → ShipperUserInfo1.d.ts} +3 -3
  102. package/dist/cjs/api/types/SocialLinks.d.ts +8 -0
  103. package/dist/cjs/api/types/Task1.d.ts +4 -4
  104. package/dist/cjs/api/types/TaskClientCreate1.d.ts +3 -3
  105. package/dist/cjs/api/types/TaskCreateBundle.d.ts +0 -2
  106. package/dist/cjs/api/types/TaskDetailRes.d.ts +9 -0
  107. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -7
  108. package/dist/cjs/api/types/TaskGroupDetailRes.d.ts +8 -0
  109. package/dist/cjs/api/types/{TaskWithDetails.d.ts → TaskInfo.d.ts} +1 -1
  110. package/dist/cjs/api/types/{UpdateTaskGroupRes.d.ts → UpdateRouteRes.d.ts} +1 -1
  111. package/dist/cjs/api/types/UsStatesEnum.d.ts +58 -0
  112. package/dist/cjs/api/types/UsStatesEnum.js +60 -0
  113. package/dist/cjs/api/types/{UserPublicData6.d.ts → UserPublicData5.d.ts} +2 -1
  114. package/dist/cjs/api/types/Vehicle1Input.d.ts +10 -0
  115. package/dist/cjs/api/types/VehicleRate1.d.ts +9 -0
  116. package/dist/cjs/api/types/index.d.ts +33 -28
  117. package/dist/cjs/api/types/index.js +33 -28
  118. package/dist/cjs/version.d.ts +1 -1
  119. package/dist/cjs/version.js +1 -1
  120. package/dist/esm/Client.d.mts +24 -36
  121. package/dist/esm/Client.mjs +34 -54
  122. package/dist/esm/api/resources/index.d.mts +14 -24
  123. package/dist/esm/api/resources/index.mjs +14 -24
  124. package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → messages}/client/Client.d.mts +22 -14
  125. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → messages}/client/Client.mjs +40 -21
  126. package/dist/esm/api/resources/messages/client/requests/ShipperToCourierCreate1.d.mts +27 -0
  127. package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -0
  128. package/dist/esm/api/resources/mirror/client/Client.d.mts +0 -27
  129. package/dist/esm/api/resources/mirror/client/Client.mjs +0 -121
  130. package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +12 -42
  131. package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.mjs +36 -79
  132. package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.d.mts +0 -1
  133. package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.mjs +1 -1
  134. package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +4 -17
  135. package/dist/esm/api/resources/oortDrivers/client/Client.mjs +3 -60
  136. package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.mts +0 -2
  137. package/dist/esm/api/resources/oortDrivers/client/requests/index.d.mts +0 -1
  138. package/dist/esm/api/resources/{oortConnections → oortHandles}/client/Client.d.mts +25 -18
  139. package/dist/esm/api/resources/{oortConnections → oortHandles}/client/Client.mjs +42 -30
  140. package/dist/esm/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.mts → oortHandles/client/requests/HandlesReq.d.mts} +1 -1
  141. package/dist/esm/api/resources/oortHandles/client/requests/index.d.mts +1 -0
  142. package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +0 -31
  143. package/dist/esm/api/resources/oortMilestones/client/Client.mjs +0 -122
  144. package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +0 -1
  145. package/dist/esm/api/resources/oortOrders/client/Client.d.mts +1 -22
  146. package/dist/esm/api/resources/oortOrders/client/Client.mjs +1 -105
  147. package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.d.mts +0 -2
  148. package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +14 -42
  149. package/dist/esm/api/resources/oortOrgProfiles/client/Client.mjs +34 -157
  150. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +5 -4
  151. package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.d.mts +0 -2
  152. package/dist/esm/api/resources/oortRateSheets/client/Client.d.mts +70 -0
  153. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → oortRateSheets}/client/Client.mjs +55 -42
  154. package/dist/esm/api/resources/{oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts → oortRateSheets/client/requests/RateSheetClientCreate1.d.mts} +7 -8
  155. package/dist/esm/api/resources/oortRateSheets/client/requests/index.d.mts +1 -0
  156. package/dist/esm/api/resources/oortRoutes/client/Client.d.mts +112 -0
  157. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/Client.mjs +128 -140
  158. package/dist/esm/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.mts +29 -0
  159. package/dist/{cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts → esm/api/resources/oortRoutes/client/requests/RouteCreateReq.d.mts} +3 -3
  160. package/dist/esm/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.d.mts → oortRoutes/client/requests/UpdateRouteReq.d.mts} +5 -3
  161. package/dist/esm/api/resources/oortRoutes/client/requests/index.d.mts +3 -0
  162. package/dist/esm/api/resources/oortShippers/client/Client.d.mts +48 -0
  163. package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → oortShippers}/client/Client.mjs +22 -39
  164. package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +6 -60
  165. package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +2 -238
  166. package/dist/esm/api/resources/oortTaskGroups/client/index.d.mts +0 -1
  167. package/dist/esm/api/resources/oortTaskGroups/client/index.mjs +1 -1
  168. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -57
  169. package/dist/esm/api/resources/orgs/client/Client.mjs +2 -230
  170. package/dist/{cjs/api/resources/oortConnections/client/requests/CreateConnectionReq.d.ts → esm/api/resources/orgs/client/requests/PostOrgPublicDataReq.d.mts} +1 -1
  171. package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -2
  172. package/dist/esm/api/resources/profiles/client/Client.d.mts +72 -0
  173. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/Client.mjs +50 -35
  174. package/dist/esm/api/resources/profiles/client/requests/CourierProfileCreate2.d.mts +32 -0
  175. package/dist/esm/api/resources/profiles/client/requests/GetCourierProfileRequest.d.mts +12 -0
  176. package/dist/esm/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.mts +15 -0
  177. package/dist/esm/api/resources/profiles/client/requests/index.d.mts +3 -0
  178. package/dist/esm/api/resources/profiles/index.d.mts +2 -0
  179. package/dist/esm/api/resources/profiles/index.mjs +2 -0
  180. package/dist/esm/api/resources/profiles/types/Type.d.mts +8 -0
  181. package/dist/{cjs/api/types/EmailReq.d.ts → esm/api/resources/profiles/types/Type.mjs} +4 -3
  182. package/dist/esm/api/resources/profiles/types/index.d.mts +1 -0
  183. package/dist/esm/api/resources/profiles/types/index.mjs +1 -0
  184. package/dist/esm/api/resources/root/types/PydanticResponse.d.mts +1 -1
  185. package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
  186. package/dist/{cjs/api/types/Vehicle1.d.ts → esm/api/types/AppModelsDbOortVehicle1Vehicle1.d.mts} +1 -1
  187. package/dist/esm/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.mts +10 -0
  188. package/dist/esm/api/types/CourierAvailabilityEnum.d.mts +9 -0
  189. package/dist/esm/api/types/CourierAvailabilityEnum.mjs +8 -0
  190. package/dist/esm/api/types/CourierCity.d.mts +9 -0
  191. package/dist/esm/api/types/{CourierOrgConnectionInfo1.d.mts → CourierOrgInfo1.d.mts} +2 -1
  192. package/dist/esm/api/types/CourierOrgProfile3.d.mts +1 -2
  193. package/dist/esm/api/types/CourierProfile2.d.mts +28 -0
  194. package/dist/esm/api/types/{MultipleTaskGroupsWithTasks.d.mts → CourierProfileRes2.d.mts} +3 -2
  195. package/dist/esm/api/types/CourierServiceEnum.d.mts +20 -0
  196. package/dist/esm/api/types/CourierServiceEnum.mjs +19 -0
  197. package/dist/esm/api/types/CourierState.d.mts +8 -0
  198. package/dist/esm/api/types/Driver1.d.mts +4 -6
  199. package/dist/esm/api/types/EmailAddress1.d.mts +8 -0
  200. package/dist/esm/api/types/{TaskGroupWithDetails.d.mts → GetTaskGroupWithFullTaskInfoRes.d.mts} +2 -2
  201. package/dist/esm/api/types/{TaskGroupWithTasks.d.mts → GetTaskGroupWithTasksRes.d.mts} +1 -1
  202. package/dist/esm/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.mts +7 -0
  203. package/dist/esm/api/types/GetTaskGroupsWithTasksListRes.d.mts +7 -0
  204. package/dist/esm/api/types/{TaskGroupDetailsResponse.d.mts → GetTaskInfoListRes.d.mts} +2 -2
  205. package/dist/esm/api/types/IndustryEnum.d.mts +21 -0
  206. package/dist/esm/api/types/IndustryEnum.mjs +20 -0
  207. package/dist/esm/api/types/Milestone1.d.mts +1 -5
  208. package/dist/esm/api/types/MilestoneTypeEnum1.d.mts +2 -3
  209. package/dist/esm/api/types/MilestoneTypeEnum1.mjs +1 -2
  210. package/dist/esm/api/types/Order1.d.mts +1 -4
  211. package/dist/esm/api/types/OrgPublicData2.d.mts +0 -1
  212. package/dist/esm/api/types/PhoneNumber1.d.mts +8 -0
  213. package/dist/esm/api/types/{CourierPayDriverRateSheet1.d.mts → RateSheet1.d.mts} +7 -7
  214. package/dist/esm/api/types/Route1.d.mts +13 -0
  215. package/dist/esm/api/types/RouteByIdEnum.d.mts +8 -0
  216. package/dist/esm/api/types/RouteByIdEnum.mjs +7 -0
  217. package/dist/esm/api/types/RouteDetailRes.d.mts +9 -0
  218. package/dist/esm/api/types/{ShipperOrgConnectionInfo1.d.mts → ShipperOrgInfo1.d.mts} +2 -1
  219. package/dist/esm/api/types/ShipperToCourier1.d.mts +16 -0
  220. package/dist/esm/api/types/{ShipperContactInfoClientCreate1.d.mts → ShipperUserInfo1.d.mts} +3 -3
  221. package/dist/esm/api/types/SocialLinks.d.mts +8 -0
  222. package/dist/esm/api/types/Task1.d.mts +4 -4
  223. package/dist/esm/api/types/TaskClientCreate1.d.mts +3 -3
  224. package/dist/esm/api/types/TaskCreateBundle.d.mts +0 -2
  225. package/dist/esm/api/types/TaskDetailRes.d.mts +9 -0
  226. package/dist/esm/api/types/TaskGroup1.d.mts +1 -7
  227. package/dist/esm/api/types/{MultipleTaskGroupsDetailsResponse.d.mts → TaskGroupDetailRes.d.mts} +3 -2
  228. package/dist/esm/api/types/{TaskWithDetails.d.mts → TaskInfo.d.mts} +1 -1
  229. package/dist/esm/api/types/{UpdateTaskGroupRes.d.mts → UpdateRouteRes.d.mts} +1 -1
  230. package/dist/esm/api/types/UsStatesEnum.d.mts +58 -0
  231. package/dist/esm/api/types/UsStatesEnum.mjs +57 -0
  232. package/dist/esm/api/types/{UserPublicData6.d.mts → UserPublicData5.d.mts} +2 -1
  233. package/dist/esm/api/types/Vehicle1Input.d.mts +10 -0
  234. package/dist/esm/api/types/VehicleRate1.d.mts +9 -0
  235. package/dist/esm/api/types/index.d.mts +33 -28
  236. package/dist/esm/api/types/index.mjs +33 -28
  237. package/dist/esm/version.d.mts +1 -1
  238. package/dist/esm/version.mjs +1 -1
  239. package/package.json +1 -1
  240. package/reference.md +604 -3034
  241. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +0 -57
  242. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +0 -18
  243. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.ts +0 -1
  244. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +0 -57
  245. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +0 -18
  246. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.ts +0 -1
  247. package/dist/cjs/api/resources/oortConnections/client/requests/index.d.ts +0 -1
  248. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +0 -136
  249. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.ts +0 -19
  250. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts +0 -18
  251. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts +0 -18
  252. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +0 -12
  253. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +0 -12
  254. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.ts +0 -19
  255. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +0 -6
  256. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.d.ts +0 -70
  257. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -14
  258. package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.ts +0 -1
  259. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
  260. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +0 -72
  261. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.js +0 -243
  262. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.d.ts +0 -2
  263. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.js +0 -17
  264. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +0 -29
  265. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +0 -1
  266. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.js +0 -2
  267. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.d.ts +0 -1
  268. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.js +0 -17
  269. package/dist/cjs/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
  270. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.d.ts +0 -2
  271. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.js +0 -17
  272. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +0 -18
  273. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.ts +0 -1
  274. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.js +0 -2
  275. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.d.ts +0 -1
  276. package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.js +0 -17
  277. package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
  278. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +0 -75
  279. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js +0 -252
  280. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.ts +0 -2
  281. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.js +0 -17
  282. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +0 -25
  283. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
  284. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.ts +0 -2
  285. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.js +0 -2
  286. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.ts +0 -1
  287. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.js +0 -17
  288. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -110
  289. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.js +0 -412
  290. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -2
  291. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
  292. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
  293. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +0 -20
  294. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
  295. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
  296. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
  297. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.js +0 -2
  298. package/dist/cjs/api/resources/oortOrgConnectionInfos/index.d.ts +0 -1
  299. package/dist/cjs/api/resources/oortOrgConnectionInfos/index.js +0 -17
  300. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts +0 -12
  301. package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +0 -148
  302. package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.js +0 -579
  303. package/dist/cjs/api/resources/oortShipperContactInfo/client/index.d.ts +0 -2
  304. package/dist/cjs/api/resources/oortShipperContactInfo/client/index.js +0 -17
  305. package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +0 -21
  306. package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.d.ts +0 -1
  307. package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.js +0 -2
  308. package/dist/cjs/api/resources/oortShipperContactInfo/index.d.ts +0 -1
  309. package/dist/cjs/api/resources/oortShipperContactInfo/index.js +0 -17
  310. package/dist/cjs/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
  311. package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
  312. package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.js +0 -2
  313. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
  314. package/dist/cjs/api/types/CourierNotificationEventEnum.d.ts +0 -7
  315. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +0 -18
  316. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +0 -14
  317. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +0 -10
  318. package/dist/cjs/api/types/DriverStatusEnum.d.ts +0 -9
  319. package/dist/cjs/api/types/DriverStatusEnum.js +0 -11
  320. package/dist/cjs/api/types/EmailRes.d.ts +0 -7
  321. package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +0 -18
  322. package/dist/cjs/api/types/MultipleTaskGroupsWithTasks.js +0 -5
  323. package/dist/cjs/api/types/NotificationChannelEnum.d.ts +0 -13
  324. package/dist/cjs/api/types/NotificationChannelEnum.js +0 -12
  325. package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +0 -23
  326. package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.js +0 -5
  327. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +0 -10
  328. package/dist/cjs/api/types/OrderStatusEnum1.js +0 -12
  329. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +0 -28
  330. package/dist/cjs/api/types/ShipperContactInfo1.js +0 -5
  331. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.js +0 -5
  332. package/dist/cjs/api/types/ShipperNotificationEventEnum.d.ts +0 -7
  333. package/dist/cjs/api/types/ShipperNotificationEventEnum.js +0 -5
  334. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +0 -18
  335. package/dist/cjs/api/types/ShipperNotificationPreferences1.js +0 -5
  336. package/dist/cjs/api/types/ShipperOrgConnectionInfo1.js +0 -5
  337. package/dist/cjs/api/types/TaskGroupDetailsResponse.js +0 -5
  338. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +0 -9
  339. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +0 -11
  340. package/dist/cjs/api/types/TaskGroupWithDetails.js +0 -5
  341. package/dist/cjs/api/types/TaskGroupWithTasks.js +0 -5
  342. package/dist/cjs/api/types/TaskWithDetails.js +0 -5
  343. package/dist/cjs/api/types/UpdateTaskGroupRes.js +0 -5
  344. package/dist/cjs/api/types/UserPublicData6.js +0 -5
  345. package/dist/cjs/api/types/Vehicle1.js +0 -5
  346. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +0 -57
  347. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +0 -18
  348. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.mts +0 -1
  349. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +0 -57
  350. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +0 -18
  351. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.mts +0 -1
  352. package/dist/esm/api/resources/oortConnections/client/requests/index.d.mts +0 -1
  353. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +0 -136
  354. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.mts +0 -19
  355. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts +0 -18
  356. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts +0 -18
  357. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +0 -12
  358. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +0 -12
  359. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.mts +0 -19
  360. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +0 -6
  361. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.d.mts +0 -70
  362. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -14
  363. package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.mts +0 -1
  364. package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.d.mts +0 -1
  365. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +0 -72
  366. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.mjs +0 -206
  367. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.d.mts +0 -2
  368. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.mjs +0 -1
  369. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +0 -29
  370. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +0 -1
  371. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.d.mts +0 -1
  372. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.mjs +0 -1
  373. package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.d.mts +0 -17
  374. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.d.mts +0 -2
  375. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.mjs +0 -1
  376. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +0 -18
  377. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.mts +0 -1
  378. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.d.mts +0 -1
  379. package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.mjs +0 -1
  380. package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.mts +0 -16
  381. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +0 -75
  382. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.mjs +0 -215
  383. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.mts +0 -2
  384. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.mjs +0 -1
  385. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +0 -25
  386. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +0 -20
  387. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.mts +0 -2
  388. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.mjs +0 -1
  389. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.mts +0 -1
  390. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.mjs +0 -1
  391. package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +0 -110
  392. package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.mjs +0 -375
  393. package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.d.mts +0 -2
  394. package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.mjs +0 -1
  395. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +0 -24
  396. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +0 -20
  397. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +0 -24
  398. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +0 -20
  399. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.d.mts +0 -4
  400. package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.mjs +0 -1
  401. package/dist/esm/api/resources/oortOrgConnectionInfos/index.d.mts +0 -1
  402. package/dist/esm/api/resources/oortOrgConnectionInfos/index.mjs +0 -1
  403. package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts +0 -12
  404. package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +0 -148
  405. package/dist/esm/api/resources/oortShipperContactInfo/client/Client.mjs +0 -542
  406. package/dist/esm/api/resources/oortShipperContactInfo/client/index.d.mts +0 -2
  407. package/dist/esm/api/resources/oortShipperContactInfo/client/index.mjs +0 -1
  408. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +0 -21
  409. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.d.mts +0 -1
  410. package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.mjs +0 -1
  411. package/dist/esm/api/resources/oortShipperContactInfo/index.d.mts +0 -1
  412. package/dist/esm/api/resources/oortShipperContactInfo/index.mjs +0 -1
  413. package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.mts +0 -14
  414. package/dist/esm/api/resources/oortTaskGroups/client/requests/index.d.mts +0 -2
  415. package/dist/esm/api/resources/oortTaskGroups/client/requests/index.mjs +0 -1
  416. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +0 -14
  417. package/dist/esm/api/types/CourierNotificationEventEnum.d.mts +0 -7
  418. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +0 -18
  419. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +0 -14
  420. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +0 -10
  421. package/dist/esm/api/types/DriverStatusEnum.d.mts +0 -9
  422. package/dist/esm/api/types/DriverStatusEnum.mjs +0 -8
  423. package/dist/esm/api/types/EmailReq.d.mts +0 -6
  424. package/dist/esm/api/types/EmailRes.d.mts +0 -7
  425. package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +0 -18
  426. package/dist/esm/api/types/MultipleTaskGroupsWithTasks.mjs +0 -4
  427. package/dist/esm/api/types/NotificationChannelEnum.d.mts +0 -13
  428. package/dist/esm/api/types/NotificationChannelEnum.mjs +0 -9
  429. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +0 -23
  430. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.mjs +0 -4
  431. package/dist/esm/api/types/OrderStatusEnum1.d.mts +0 -10
  432. package/dist/esm/api/types/OrderStatusEnum1.mjs +0 -9
  433. package/dist/esm/api/types/ShipperContactInfo1.d.mts +0 -28
  434. package/dist/esm/api/types/ShipperContactInfo1.mjs +0 -4
  435. package/dist/esm/api/types/ShipperContactInfoClientCreate1.mjs +0 -4
  436. package/dist/esm/api/types/ShipperNotificationEventEnum.d.mts +0 -7
  437. package/dist/esm/api/types/ShipperNotificationEventEnum.mjs +0 -4
  438. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +0 -18
  439. package/dist/esm/api/types/ShipperNotificationPreferences1.mjs +0 -4
  440. package/dist/esm/api/types/ShipperOrgConnectionInfo1.mjs +0 -4
  441. package/dist/esm/api/types/TaskGroupDetailsResponse.mjs +0 -4
  442. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +0 -9
  443. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +0 -8
  444. package/dist/esm/api/types/TaskGroupWithDetails.mjs +0 -4
  445. package/dist/esm/api/types/TaskGroupWithTasks.mjs +0 -4
  446. package/dist/esm/api/types/TaskWithDetails.mjs +0 -4
  447. package/dist/esm/api/types/UpdateTaskGroupRes.mjs +0 -4
  448. package/dist/esm/api/types/UserPublicData6.mjs +0 -4
  449. package/dist/esm/api/types/Vehicle1.mjs +0 -4
  450. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.d.ts +0 -0
  451. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.js +0 -0
  452. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js → messages/client/requests/ShipperToCourierCreate1.js} +0 -0
  453. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/requests/index.js +0 -0
  454. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/index.d.ts +0 -0
  455. /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/index.js +0 -0
  456. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.d.ts +0 -0
  457. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.js +0 -0
  458. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js → oortHandles/client/requests/HandlesReq.js} +0 -0
  459. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/requests/index.js +0 -0
  460. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.d.ts +0 -0
  461. /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.js +0 -0
  462. /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/index.d.ts +0 -0
  463. /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/index.js +0 -0
  464. /package/dist/cjs/api/resources/{oortConnections/client/requests/CreateConnectionReq.js → oortRateSheets/client/requests/RateSheetClientCreate1.js} +0 -0
  465. /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/requests/index.js +0 -0
  466. /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/index.d.ts +0 -0
  467. /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/index.js +0 -0
  468. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.d.ts +0 -0
  469. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.js +0 -0
  470. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.js → oortRoutes/client/requests/GetOortRoutesByIdRequest.js} +0 -0
  471. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js → oortRoutes/client/requests/RouteCreateReq.js} +0 -0
  472. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js → oortRoutes/client/requests/UpdateRouteReq.js} +0 -0
  473. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/requests/index.js +0 -0
  474. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.d.ts +0 -0
  475. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.js +0 -0
  476. /package/dist/{esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs → cjs/api/resources/oortShippers/client/index.d.ts} +0 -0
  477. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts/client/requests → oortShippers/client}/index.js +0 -0
  478. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.d.ts +0 -0
  479. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.js +0 -0
  480. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js → orgs/client/requests/PostOrgPublicDataReq.js} +0 -0
  481. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.d.ts +0 -0
  482. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.js +0 -0
  483. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js → profiles/client/requests/CourierProfileCreate2.js} +0 -0
  484. /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.js → profiles/client/requests/GetCourierProfileRequest.js} +0 -0
  485. /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js → profiles/client/requests/GetHandleIsAvailableRequest.js} +0 -0
  486. /package/dist/cjs/api/resources/{oortCourierPayDriverRate → profiles}/client/requests/index.js +0 -0
  487. /package/dist/cjs/api/{resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → types/AppModelsDbOortVehicle1Vehicle1.js} +0 -0
  488. /package/dist/cjs/api/{resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.js → types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.js} +0 -0
  489. /package/dist/cjs/api/{resources/oortDrivers/client/requests/DriverCreateReq.js → types/CourierCity.js} +0 -0
  490. /package/dist/cjs/api/{resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.js → types/CourierOrgInfo1.js} +0 -0
  491. /package/dist/cjs/api/{resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js → types/CourierProfile2.js} +0 -0
  492. /package/dist/cjs/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → types/CourierProfileRes2.js} +0 -0
  493. /package/dist/cjs/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → types/CourierState.js} +0 -0
  494. /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → types/EmailAddress1.js} +0 -0
  495. /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.js → types/GetTaskGroupWithFullTaskInfoRes.js} +0 -0
  496. /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → types/GetTaskGroupWithTasksRes.js} +0 -0
  497. /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → types/GetTaskGroupsWithFullTaskInfoListRes.js} +0 -0
  498. /package/dist/cjs/api/{resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → types/GetTaskGroupsWithTasksListRes.js} +0 -0
  499. /package/dist/cjs/api/{resources/oortOrgProfiles/client/requests/GetAvatarRequest.js → types/GetTaskInfoListRes.js} +0 -0
  500. /package/dist/cjs/api/{resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → types/PhoneNumber1.js} +0 -0
  501. /package/dist/cjs/api/{resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js → types/RateSheet1.js} +0 -0
  502. /package/dist/cjs/api/{resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js → types/Route1.js} +0 -0
  503. /package/dist/cjs/api/{resources/orgs/client/requests/CreateOrgPublicDataReq.js → types/RouteDetailRes.js} +0 -0
  504. /package/dist/cjs/api/{resources/orgs/client/requests/UpdateOrgPublicDataReq.js → types/ShipperOrgInfo1.js} +0 -0
  505. /package/dist/cjs/api/types/{CourierNotificationEventEnum.js → ShipperToCourier1.js} +0 -0
  506. /package/dist/cjs/api/types/{CourierNotificationPreferences1.js → ShipperUserInfo1.js} +0 -0
  507. /package/dist/cjs/api/types/{CourierOrgConnectionInfo1.js → SocialLinks.js} +0 -0
  508. /package/dist/cjs/api/types/{CourierPayDriverLineItemGroup1.js → TaskDetailRes.js} +0 -0
  509. /package/dist/cjs/api/types/{CourierPayDriverLineItemGroupClientCreate1.js → TaskGroupDetailRes.js} +0 -0
  510. /package/dist/cjs/api/types/{CourierPayDriverRateSheet1.js → TaskInfo.js} +0 -0
  511. /package/dist/cjs/api/types/{EmailReq.js → UpdateRouteRes.js} +0 -0
  512. /package/dist/cjs/api/types/{EmailRes.js → UserPublicData5.js} +0 -0
  513. /package/dist/cjs/api/types/{MilestoneNotificationPreferences1.js → Vehicle1Input.js} +0 -0
  514. /package/dist/cjs/api/types/{MultipleTaskGroupsDetailsResponse.js → VehicleRate1.js} +0 -0
  515. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.d.mts +0 -0
  516. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.mjs +0 -0
  517. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs → messages/client/requests/ShipperToCourierCreate1.mjs} +0 -0
  518. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → messages}/client/requests/index.mjs +0 -0
  519. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/index.d.mts +0 -0
  520. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/index.mjs +0 -0
  521. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.d.mts +0 -0
  522. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.mjs +0 -0
  523. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs → oortHandles/client/requests/HandlesReq.mjs} +0 -0
  524. /package/dist/esm/api/resources/{oortConnections → oortHandles}/client/requests/index.mjs +0 -0
  525. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.d.mts +0 -0
  526. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.mjs +0 -0
  527. /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/client/index.d.mts +0 -0
  528. /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/client/index.mjs +0 -0
  529. /package/dist/esm/api/resources/{oortConnections/client/requests/CreateConnectionReq.mjs → oortRateSheets/client/requests/RateSheetClientCreate1.mjs} +0 -0
  530. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRateSheets}/client/requests/index.mjs +0 -0
  531. /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/index.d.mts +0 -0
  532. /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/index.mjs +0 -0
  533. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.d.mts +0 -0
  534. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.mjs +0 -0
  535. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.mjs → oortRoutes/client/requests/GetOortRoutesByIdRequest.mjs} +0 -0
  536. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs → oortRoutes/client/requests/RouteCreateReq.mjs} +0 -0
  537. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs → oortRoutes/client/requests/UpdateRouteReq.mjs} +0 -0
  538. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortRoutes}/client/requests/index.mjs +0 -0
  539. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.d.mts +0 -0
  540. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.mjs +0 -0
  541. /package/dist/esm/api/resources/{oortCourierPayDriverRate/client/requests/index.mjs → oortShippers/client/index.d.mts} +0 -0
  542. /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets/client/requests → oortShippers/client}/index.mjs +0 -0
  543. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.d.mts +0 -0
  544. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.mjs +0 -0
  545. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs → orgs/client/requests/PostOrgPublicDataReq.mjs} +0 -0
  546. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.d.mts +0 -0
  547. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.mjs +0 -0
  548. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs → profiles/client/requests/CourierProfileCreate2.mjs} +0 -0
  549. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.mjs → profiles/client/requests/GetCourierProfileRequest.mjs} +0 -0
  550. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs → profiles/client/requests/GetHandleIsAvailableRequest.mjs} +0 -0
  551. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → profiles}/client/requests/index.mjs +0 -0
  552. /package/dist/esm/api/{resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.mjs → types/AppModelsDbOortVehicle1Vehicle1.mjs} +0 -0
  553. /package/dist/esm/api/{resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs → types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.mjs} +0 -0
  554. /package/dist/esm/api/{resources/oortDrivers/client/requests/DriverCreateReq.mjs → types/CourierCity.mjs} +0 -0
  555. /package/dist/esm/api/{resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → types/CourierOrgInfo1.mjs} +0 -0
  556. /package/dist/esm/api/{resources/oortMilestones/client/requests/MilestoneAddToTaskReq.mjs → types/CourierProfile2.mjs} +0 -0
  557. /package/dist/esm/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → types/CourierProfileRes2.mjs} +0 -0
  558. /package/dist/esm/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → types/CourierState.mjs} +0 -0
  559. /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → types/EmailAddress1.mjs} +0 -0
  560. /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → types/GetTaskGroupWithFullTaskInfoRes.mjs} +0 -0
  561. /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → types/GetTaskGroupWithTasksRes.mjs} +0 -0
  562. /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → types/GetTaskGroupsWithFullTaskInfoListRes.mjs} +0 -0
  563. /package/dist/esm/api/{resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → types/GetTaskGroupsWithTasksListRes.mjs} +0 -0
  564. /package/dist/esm/api/{resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs → types/GetTaskInfoListRes.mjs} +0 -0
  565. /package/dist/esm/api/{resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → types/PhoneNumber1.mjs} +0 -0
  566. /package/dist/esm/api/{resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.mjs → types/RateSheet1.mjs} +0 -0
  567. /package/dist/esm/api/{resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.mjs → types/Route1.mjs} +0 -0
  568. /package/dist/esm/api/{resources/orgs/client/requests/CreateOrgPublicDataReq.mjs → types/RouteDetailRes.mjs} +0 -0
  569. /package/dist/esm/api/{resources/orgs/client/requests/UpdateOrgPublicDataReq.mjs → types/ShipperOrgInfo1.mjs} +0 -0
  570. /package/dist/esm/api/types/{CourierNotificationEventEnum.mjs → ShipperToCourier1.mjs} +0 -0
  571. /package/dist/esm/api/types/{CourierNotificationPreferences1.mjs → ShipperUserInfo1.mjs} +0 -0
  572. /package/dist/esm/api/types/{CourierOrgConnectionInfo1.mjs → SocialLinks.mjs} +0 -0
  573. /package/dist/esm/api/types/{CourierPayDriverLineItemGroup1.mjs → TaskDetailRes.mjs} +0 -0
  574. /package/dist/esm/api/types/{CourierPayDriverLineItemGroupClientCreate1.mjs → TaskGroupDetailRes.mjs} +0 -0
  575. /package/dist/esm/api/types/{CourierPayDriverRateSheet1.mjs → TaskInfo.mjs} +0 -0
  576. /package/dist/esm/api/types/{EmailReq.mjs → UpdateRouteRes.mjs} +0 -0
  577. /package/dist/esm/api/types/{EmailRes.mjs → UserPublicData5.mjs} +0 -0
  578. /package/dist/esm/api/types/{MilestoneNotificationPreferences1.mjs → Vehicle1Input.mjs} +0 -0
  579. /package/dist/esm/api/types/{MultipleTaskGroupsDetailsResponse.mjs → VehicleRate1.mjs} +0 -0
@@ -37,8 +37,6 @@ export declare class Orgs {
37
37
  getOrgMembers(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgMemberDetails[]>;
38
38
  private __getOrgMembers;
39
39
  /**
40
- * Get the org public data for the org from JWT
41
- *
42
40
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
43
41
  *
44
42
  * @example
@@ -47,69 +45,17 @@ export declare class Orgs {
47
45
  getOrgsPublicData(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData2>;
48
46
  private __getOrgsPublicData;
49
47
  /**
50
- * Create org public data with handle and company name
51
- *
52
- * @param {Chrt.CreateOrgPublicDataReq} request
48
+ * @param {Chrt.PostOrgPublicDataReq} request
53
49
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
54
50
  *
55
51
  * @throws {@link Chrt.UnprocessableEntityError}
56
52
  *
57
53
  * @example
58
54
  * await client.orgs.postOrgsPublicData({
59
- * handle: "handle",
60
- * company_name: "company_name"
55
+ * handle: "handle"
61
56
  * })
62
57
  */
63
- postOrgsPublicData(request: Chrt.CreateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
58
+ postOrgsPublicData(request: Chrt.PostOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
64
59
  private __postOrgsPublicData;
65
- /**
66
- * Update handle or company_name for an org
67
- *
68
- * @param {Chrt.UpdateOrgPublicDataReq} request
69
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
70
- *
71
- * @throws {@link Chrt.UnprocessableEntityError}
72
- *
73
- * @example
74
- * await client.orgs.patchOrgsPublicData()
75
- */
76
- patchOrgsPublicData(request?: Chrt.UpdateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
77
- private __patchOrgsPublicData;
78
- /**
79
- * Get the org public data for the org from org_id
80
- *
81
- * @param {string} orgId
82
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
83
- *
84
- * @throws {@link Chrt.UnprocessableEntityError}
85
- *
86
- * @example
87
- * await client.orgs.getOrgsPublicDataByOrgId("org_id")
88
- */
89
- getOrgsPublicDataByOrgId(orgId: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData2>;
90
- private __getOrgsPublicDataByOrgId;
91
- /**
92
- * Get the handle for the org from JWT
93
- *
94
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
95
- *
96
- * @example
97
- * await client.orgs.getOrgsHandle()
98
- */
99
- getOrgsHandle(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<string>;
100
- private __getOrgsHandle;
101
- /**
102
- * Check if a handle is available, returns true if it is, false if it is not
103
- *
104
- * @param {string} handle
105
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
106
- *
107
- * @throws {@link Chrt.UnprocessableEntityError}
108
- *
109
- * @example
110
- * await client.orgs.getHandleAvailability("handle")
111
- */
112
- getHandleAvailability(handle: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
113
- private __getHandleAvailability;
114
60
  protected _getAuthorizationHeader(): Promise<string | undefined>;
115
61
  }
@@ -103,8 +103,6 @@ class Orgs {
103
103
  });
104
104
  }
105
105
  /**
106
- * Get the org public data for the org from JWT
107
- *
108
106
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
109
107
  *
110
108
  * @example
@@ -152,17 +150,14 @@ class Orgs {
152
150
  });
153
151
  }
154
152
  /**
155
- * Create org public data with handle and company name
156
- *
157
- * @param {Chrt.CreateOrgPublicDataReq} request
153
+ * @param {Chrt.PostOrgPublicDataReq} request
158
154
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
159
155
  *
160
156
  * @throws {@link Chrt.UnprocessableEntityError}
161
157
  *
162
158
  * @example
163
159
  * await client.orgs.postOrgsPublicData({
164
- * handle: "handle",
165
- * company_name: "company_name"
160
+ * handle: "handle"
166
161
  * })
167
162
  */
168
163
  postOrgsPublicData(request, requestOptions) {
@@ -214,229 +209,6 @@ class Orgs {
214
209
  }
215
210
  });
216
211
  }
217
- /**
218
- * Update handle or company_name for an org
219
- *
220
- * @param {Chrt.UpdateOrgPublicDataReq} request
221
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
222
- *
223
- * @throws {@link Chrt.UnprocessableEntityError}
224
- *
225
- * @example
226
- * await client.orgs.patchOrgsPublicData()
227
- */
228
- patchOrgsPublicData(request = {}, requestOptions) {
229
- return core.HttpResponsePromise.fromPromise(this.__patchOrgsPublicData(request, requestOptions));
230
- }
231
- __patchOrgsPublicData() {
232
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
233
- var _a, _b, _c, _d;
234
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
235
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "orgs/public_data"),
236
- method: "PATCH",
237
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
- contentType: "application/json",
239
- requestType: "json",
240
- body: request,
241
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
242
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
243
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
244
- });
245
- if (_response.ok) {
246
- return { data: _response.body, rawResponse: _response.rawResponse };
247
- }
248
- if (_response.error.reason === "status-code") {
249
- switch (_response.error.statusCode) {
250
- case 422:
251
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
252
- default:
253
- throw new errors.ChrtError({
254
- statusCode: _response.error.statusCode,
255
- body: _response.error.body,
256
- rawResponse: _response.rawResponse,
257
- });
258
- }
259
- }
260
- switch (_response.error.reason) {
261
- case "non-json":
262
- throw new errors.ChrtError({
263
- statusCode: _response.error.statusCode,
264
- body: _response.error.rawBody,
265
- rawResponse: _response.rawResponse,
266
- });
267
- case "timeout":
268
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/public_data.");
269
- case "unknown":
270
- throw new errors.ChrtError({
271
- message: _response.error.errorMessage,
272
- rawResponse: _response.rawResponse,
273
- });
274
- }
275
- });
276
- }
277
- /**
278
- * Get the org public data for the org from org_id
279
- *
280
- * @param {string} orgId
281
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
282
- *
283
- * @throws {@link Chrt.UnprocessableEntityError}
284
- *
285
- * @example
286
- * await client.orgs.getOrgsPublicDataByOrgId("org_id")
287
- */
288
- getOrgsPublicDataByOrgId(orgId, requestOptions) {
289
- return core.HttpResponsePromise.fromPromise(this.__getOrgsPublicDataByOrgId(orgId, requestOptions));
290
- }
291
- __getOrgsPublicDataByOrgId(orgId, requestOptions) {
292
- return __awaiter(this, void 0, void 0, function* () {
293
- var _a, _b, _c, _d;
294
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
295
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `orgs/public_data/${encodeURIComponent(orgId)}`),
296
- method: "GET",
297
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
300
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
301
- });
302
- if (_response.ok) {
303
- return { data: _response.body, rawResponse: _response.rawResponse };
304
- }
305
- if (_response.error.reason === "status-code") {
306
- switch (_response.error.statusCode) {
307
- case 422:
308
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
309
- default:
310
- throw new errors.ChrtError({
311
- statusCode: _response.error.statusCode,
312
- body: _response.error.body,
313
- rawResponse: _response.rawResponse,
314
- });
315
- }
316
- }
317
- switch (_response.error.reason) {
318
- case "non-json":
319
- throw new errors.ChrtError({
320
- statusCode: _response.error.statusCode,
321
- body: _response.error.rawBody,
322
- rawResponse: _response.rawResponse,
323
- });
324
- case "timeout":
325
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/public_data/{org_id}.");
326
- case "unknown":
327
- throw new errors.ChrtError({
328
- message: _response.error.errorMessage,
329
- rawResponse: _response.rawResponse,
330
- });
331
- }
332
- });
333
- }
334
- /**
335
- * Get the handle for the org from JWT
336
- *
337
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
338
- *
339
- * @example
340
- * await client.orgs.getOrgsHandle()
341
- */
342
- getOrgsHandle(requestOptions) {
343
- return core.HttpResponsePromise.fromPromise(this.__getOrgsHandle(requestOptions));
344
- }
345
- __getOrgsHandle(requestOptions) {
346
- return __awaiter(this, void 0, void 0, function* () {
347
- var _a, _b, _c, _d;
348
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
349
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "orgs/handle"),
350
- method: "GET",
351
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
352
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
353
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
354
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
355
- });
356
- if (_response.ok) {
357
- return { data: _response.body, rawResponse: _response.rawResponse };
358
- }
359
- if (_response.error.reason === "status-code") {
360
- throw new errors.ChrtError({
361
- statusCode: _response.error.statusCode,
362
- body: _response.error.body,
363
- rawResponse: _response.rawResponse,
364
- });
365
- }
366
- switch (_response.error.reason) {
367
- case "non-json":
368
- throw new errors.ChrtError({
369
- statusCode: _response.error.statusCode,
370
- body: _response.error.rawBody,
371
- rawResponse: _response.rawResponse,
372
- });
373
- case "timeout":
374
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/handle.");
375
- case "unknown":
376
- throw new errors.ChrtError({
377
- message: _response.error.errorMessage,
378
- rawResponse: _response.rawResponse,
379
- });
380
- }
381
- });
382
- }
383
- /**
384
- * Check if a handle is available, returns true if it is, false if it is not
385
- *
386
- * @param {string} handle
387
- * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
388
- *
389
- * @throws {@link Chrt.UnprocessableEntityError}
390
- *
391
- * @example
392
- * await client.orgs.getHandleAvailability("handle")
393
- */
394
- getHandleAvailability(handle, requestOptions) {
395
- return core.HttpResponsePromise.fromPromise(this.__getHandleAvailability(handle, requestOptions));
396
- }
397
- __getHandleAvailability(handle, requestOptions) {
398
- return __awaiter(this, void 0, void 0, function* () {
399
- var _a, _b, _c, _d;
400
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
401
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `orgs/handle/availability/${encodeURIComponent(handle)}`),
402
- method: "GET",
403
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
405
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
406
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
407
- });
408
- if (_response.ok) {
409
- return { data: _response.body, rawResponse: _response.rawResponse };
410
- }
411
- if (_response.error.reason === "status-code") {
412
- switch (_response.error.statusCode) {
413
- case 422:
414
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
415
- default:
416
- throw new errors.ChrtError({
417
- statusCode: _response.error.statusCode,
418
- body: _response.error.body,
419
- rawResponse: _response.rawResponse,
420
- });
421
- }
422
- }
423
- switch (_response.error.reason) {
424
- case "non-json":
425
- throw new errors.ChrtError({
426
- statusCode: _response.error.statusCode,
427
- body: _response.error.rawBody,
428
- rawResponse: _response.rawResponse,
429
- });
430
- case "timeout":
431
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/handle/availability/{handle}.");
432
- case "unknown":
433
- throw new errors.ChrtError({
434
- message: _response.error.errorMessage,
435
- rawResponse: _response.rawResponse,
436
- });
437
- }
438
- });
439
- }
440
212
  _getAuthorizationHeader() {
441
213
  return __awaiter(this, void 0, void 0, function* () {
442
214
  const bearer = yield core.Supplier.get(this._options.token);
@@ -7,6 +7,6 @@
7
7
  * handle: "handle"
8
8
  * }
9
9
  */
10
- export interface CreateConnectionReq {
10
+ export interface PostOrgPublicDataReq {
11
11
  handle: string;
12
12
  }
@@ -1,2 +1 @@
1
- export { type CreateOrgPublicDataReq } from "./CreateOrgPublicDataReq.js";
2
- export { type UpdateOrgPublicDataReq } from "./UpdateOrgPublicDataReq.js";
1
+ export { type PostOrgPublicDataReq } from "./PostOrgPublicDataReq.js";
@@ -0,0 +1,72 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.js";
5
+ import * as core from "../../../../core/index.js";
6
+ import * as Chrt from "../../../index.js";
7
+ export declare namespace Profiles {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional headers to include in the request. */
25
+ headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ }
27
+ }
28
+ export declare class Profiles {
29
+ protected readonly _options: Profiles.Options;
30
+ constructor(_options?: Profiles.Options);
31
+ /**
32
+ * ...
33
+ *
34
+ * @param {Chrt.GetCourierProfileRequest} request
35
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
36
+ *
37
+ * @throws {@link Chrt.UnprocessableEntityError}
38
+ *
39
+ * @example
40
+ * await client.profiles.getCourierProfile()
41
+ */
42
+ getCourierProfile(request?: Chrt.GetCourierProfileRequest, requestOptions?: Profiles.RequestOptions): core.HttpResponsePromise<Chrt.CourierProfileRes2>;
43
+ private __getCourierProfile;
44
+ /**
45
+ * @param {Chrt.CourierProfileCreate2} request
46
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
47
+ *
48
+ * @throws {@link Chrt.UnprocessableEntityError}
49
+ *
50
+ * @example
51
+ * await client.profiles.postCourierProfile({
52
+ * schema_version: 1,
53
+ * owner_name: "owner_name"
54
+ * })
55
+ */
56
+ postCourierProfile(request: Chrt.CourierProfileCreate2, requestOptions?: Profiles.RequestOptions): core.HttpResponsePromise<string>;
57
+ private __postCourierProfile;
58
+ /**
59
+ * @param {Chrt.GetHandleIsAvailableRequest} request
60
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @throws {@link Chrt.UnprocessableEntityError}
63
+ *
64
+ * @example
65
+ * await client.profiles.getHandleIsAvailable({
66
+ * handle: "handle"
67
+ * })
68
+ */
69
+ getHandleIsAvailable(request: Chrt.GetHandleIsAvailableRequest, requestOptions?: Profiles.RequestOptions): core.HttpResponsePromise<boolean>;
70
+ private __getHandleIsAvailable;
71
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
72
+ }
@@ -45,35 +45,46 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
45
45
  });
46
46
  };
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.OortCourierPayDriverPayouts = void 0;
48
+ exports.Profiles = void 0;
49
49
  const environments = __importStar(require("../../../../environments.js"));
50
50
  const core = __importStar(require("../../../../core/index.js"));
51
51
  const Chrt = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
- class OortCourierPayDriverPayouts {
54
+ class Profiles {
55
55
  constructor(_options = {}) {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * @param {string} courierPayDriverPayoutId
60
- * @param {OortCourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
59
+ * ...
60
+ *
61
+ * @param {Chrt.GetCourierProfileRequest} request
62
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
61
63
  *
62
64
  * @throws {@link Chrt.UnprocessableEntityError}
63
65
  *
64
66
  * @example
65
- * await client.oortCourierPayDriverPayouts.getCourierPayDriverPayout("courier_pay_driver_payout_id")
67
+ * await client.profiles.getCourierProfile()
66
68
  */
67
- getCourierPayDriverPayout(courierPayDriverPayoutId, requestOptions) {
68
- return core.HttpResponsePromise.fromPromise(this.__getCourierPayDriverPayout(courierPayDriverPayoutId, requestOptions));
69
+ getCourierProfile(request = {}, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__getCourierProfile(request, requestOptions));
69
71
  }
70
- __getCourierPayDriverPayout(courierPayDriverPayoutId, requestOptions) {
71
- return __awaiter(this, void 0, void 0, function* () {
72
+ __getCourierProfile() {
73
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
72
74
  var _a, _b, _c, _d;
75
+ const { handle, type: type_ } = request;
76
+ const _queryParams = {};
77
+ if (handle != null) {
78
+ _queryParams["handle"] = handle;
79
+ }
80
+ if (type_ != null) {
81
+ _queryParams["type"] = type_;
82
+ }
73
83
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
74
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_payouts/${encodeURIComponent(courierPayDriverPayoutId)}`),
84
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "profiles/courier_profile"),
75
85
  method: "GET",
76
86
  headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ queryParameters: _queryParams,
77
88
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
78
89
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
79
90
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -101,7 +112,7 @@ class OortCourierPayDriverPayouts {
101
112
  rawResponse: _response.rawResponse,
102
113
  });
103
114
  case "timeout":
104
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_payouts/{courier_pay_driver_payout_id}.");
115
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /profiles/courier_profile.");
105
116
  case "unknown":
106
117
  throw new errors.ChrtError({
107
118
  message: _response.error.errorMessage,
@@ -111,24 +122,30 @@ class OortCourierPayDriverPayouts {
111
122
  });
112
123
  }
113
124
  /**
114
- * @param {string} driverId
115
- * @param {OortCourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
125
+ * @param {Chrt.CourierProfileCreate2} request
126
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
116
127
  *
117
128
  * @throws {@link Chrt.UnprocessableEntityError}
118
129
  *
119
130
  * @example
120
- * await client.oortCourierPayDriverPayouts.getCourierPayDriverPayoutsByDriverId("driver_id")
131
+ * await client.profiles.postCourierProfile({
132
+ * schema_version: 1,
133
+ * owner_name: "owner_name"
134
+ * })
121
135
  */
122
- getCourierPayDriverPayoutsByDriverId(driverId, requestOptions) {
123
- return core.HttpResponsePromise.fromPromise(this.__getCourierPayDriverPayoutsByDriverId(driverId, requestOptions));
136
+ postCourierProfile(request, requestOptions) {
137
+ return core.HttpResponsePromise.fromPromise(this.__postCourierProfile(request, requestOptions));
124
138
  }
125
- __getCourierPayDriverPayoutsByDriverId(driverId, requestOptions) {
139
+ __postCourierProfile(request, requestOptions) {
126
140
  return __awaiter(this, void 0, void 0, function* () {
127
141
  var _a, _b, _c, _d;
128
142
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
129
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_payouts/by_driver_id/${encodeURIComponent(driverId)}`),
130
- method: "GET",
143
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "profiles/courier_profile"),
144
+ method: "POST",
131
145
  headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ contentType: "application/json",
147
+ requestType: "json",
148
+ body: request,
132
149
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
133
150
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
134
151
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -156,7 +173,7 @@ class OortCourierPayDriverPayouts {
156
173
  rawResponse: _response.rawResponse,
157
174
  });
158
175
  case "timeout":
159
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_payouts/by_driver_id/{driver_id}.");
176
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /profiles/courier_profile.");
160
177
  case "unknown":
161
178
  throw new errors.ChrtError({
162
179
  message: _response.error.errorMessage,
@@ -166,32 +183,30 @@ class OortCourierPayDriverPayouts {
166
183
  });
167
184
  }
168
185
  /**
169
- * Create a new courier pay driver payout from selected line item groups
170
- *
171
- * @param {Chrt.CourierPayDriverPayoutClientCreate1} request
172
- * @param {OortCourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
186
+ * @param {Chrt.GetHandleIsAvailableRequest} request
187
+ * @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
173
188
  *
174
189
  * @throws {@link Chrt.UnprocessableEntityError}
175
190
  *
176
191
  * @example
177
- * await client.oortCourierPayDriverPayouts.postCreateCourierPayDriverPayout({
178
- * schema_version: 1,
179
- * line_item_group_ids: ["line_item_group_ids"]
192
+ * await client.profiles.getHandleIsAvailable({
193
+ * handle: "handle"
180
194
  * })
181
195
  */
182
- postCreateCourierPayDriverPayout(request, requestOptions) {
183
- return core.HttpResponsePromise.fromPromise(this.__postCreateCourierPayDriverPayout(request, requestOptions));
196
+ getHandleIsAvailable(request, requestOptions) {
197
+ return core.HttpResponsePromise.fromPromise(this.__getHandleIsAvailable(request, requestOptions));
184
198
  }
185
- __postCreateCourierPayDriverPayout(request, requestOptions) {
199
+ __getHandleIsAvailable(request, requestOptions) {
186
200
  return __awaiter(this, void 0, void 0, function* () {
187
201
  var _a, _b, _c, _d;
202
+ const { handle } = request;
203
+ const _queryParams = {};
204
+ _queryParams["handle"] = handle;
188
205
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
189
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_payouts/create"),
190
- method: "POST",
206
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "profiles/handle_is_available"),
207
+ method: "GET",
191
208
  headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
- contentType: "application/json",
193
- requestType: "json",
194
- body: request,
209
+ queryParameters: _queryParams,
195
210
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
196
211
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
197
212
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -219,7 +234,7 @@ class OortCourierPayDriverPayouts {
219
234
  rawResponse: _response.rawResponse,
220
235
  });
221
236
  case "timeout":
222
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/courier_pay_driver_payouts/create.");
237
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /profiles/handle_is_available.");
223
238
  case "unknown":
224
239
  throw new errors.ChrtError({
225
240
  message: _response.error.errorMessage,
@@ -238,4 +253,4 @@ class OortCourierPayDriverPayouts {
238
253
  });
239
254
  }
240
255
  }
241
- exports.OortCourierPayDriverPayouts = OortCourierPayDriverPayouts;
256
+ exports.Profiles = Profiles;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * schema_version: 1,
9
+ * owner_name: "owner_name"
10
+ * }
11
+ */
12
+ export interface CourierProfileCreate2 {
13
+ schema_version: number;
14
+ /** Must be a string starting with `user_` */
15
+ user_id?: string;
16
+ /** Must be a string starting with `org_` */
17
+ org_id?: string;
18
+ owner_name: string;
19
+ org_name?: string;
20
+ email_address?: Chrt.EmailAddress1[];
21
+ phone_number?: Chrt.PhoneNumber1[];
22
+ year_founded?: number;
23
+ owner_bio?: string;
24
+ org_bio?: string;
25
+ tagline?: string;
26
+ social_links?: Chrt.SocialLinks;
27
+ services?: Chrt.CourierServiceEnum[];
28
+ vehicles?: Chrt.Vehicle1Input[];
29
+ industries?: Record<string, string | undefined>;
30
+ states?: Chrt.CourierState[];
31
+ cities?: Chrt.CourierCity[];
32
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface GetCourierProfileRequest {
10
+ handle?: string;
11
+ type?: Chrt.Type;
12
+ }