@chrt-inc/typescript-sdk 0.0.174 → 0.0.183

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 (310) hide show
  1. package/dist/cjs/Client.d.ts +24 -24
  2. package/dist/cjs/Client.js +48 -48
  3. package/dist/cjs/api/index.d.ts +1 -1
  4. package/dist/cjs/api/index.js +1 -1
  5. package/dist/cjs/api/resources/connections/client/Client.d.ts +8 -8
  6. package/dist/cjs/api/resources/connections/client/Client.js +14 -14
  7. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +26 -26
  10. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.js +79 -79
  11. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +1 -1
  12. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +1 -1
  13. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +1 -1
  14. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +1 -1
  15. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -1
  16. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +16 -12
  17. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +27 -23
  18. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +3 -3
  19. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +39 -26
  20. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +112 -67
  21. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +24 -24
  22. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +12 -12
  23. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/index.d.ts +0 -1
  24. package/dist/cjs/api/resources/courierPayDriverRateSheets/index.d.ts +0 -1
  25. package/dist/cjs/api/resources/courierPayDriverRateSheets/index.js +0 -1
  26. package/dist/cjs/api/resources/dev/client/Client.d.ts +28 -10
  27. package/dist/cjs/api/resources/dev/client/Client.js +103 -46
  28. package/dist/cjs/api/resources/drivers/client/Client.d.ts +52 -50
  29. package/dist/cjs/api/resources/drivers/client/Client.js +109 -107
  30. package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +3 -3
  31. package/dist/cjs/api/resources/drivers/client/requests/index.d.ts +1 -1
  32. package/dist/cjs/api/resources/index.d.ts +14 -15
  33. package/dist/cjs/api/resources/index.js +15 -16
  34. package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +2 -2
  36. package/dist/cjs/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +3 -3
  37. package/dist/cjs/api/resources/milestones/client/Client.d.ts +16 -16
  38. package/dist/cjs/api/resources/milestones/client/Client.js +25 -25
  39. package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +1 -1
  40. package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
  41. package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +1 -1
  42. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +1 -5
  43. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +1 -5
  44. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +14 -14
  45. package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +35 -35
  46. package/dist/cjs/api/resources/milestones/resources/index.d.ts +1 -1
  47. package/dist/cjs/api/resources/milestones/resources/index.js +2 -2
  48. package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/notifications/client/Client.js +6 -6
  50. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +2 -2
  51. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.js +2 -2
  52. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +3 -3
  53. package/dist/cjs/api/resources/notifications/resources/index.d.ts +2 -2
  54. package/dist/cjs/api/resources/notifications/resources/index.js +3 -3
  55. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
  56. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
  57. package/dist/cjs/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +3 -3
  58. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +6 -6
  59. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.js +6 -6
  60. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +8 -8
  61. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
  62. package/dist/cjs/api/resources/orders/client/Client.d.ts +30 -26
  63. package/dist/cjs/api/resources/orders/client/Client.js +74 -70
  64. package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +16 -16
  65. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +12 -12
  66. package/dist/cjs/api/resources/orders/resources/full/client/Client.js +33 -33
  67. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +3 -3
  68. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +6 -6
  69. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
  70. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +5 -5
  71. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +7 -7
  72. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +4 -4
  73. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +2 -2
  74. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +3 -3
  75. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
  76. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +5 -5
  77. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +7 -7
  78. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
  79. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +15 -17
  80. package/dist/cjs/api/resources/orgProfiles/client/Client.js +43 -49
  81. package/dist/cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +3 -3
  82. package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +0 -1
  83. package/dist/cjs/api/resources/orgs/client/Client.d.ts +41 -37
  84. package/dist/cjs/api/resources/orgs/client/Client.js +90 -86
  85. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +3 -3
  86. package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
  87. package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -7
  88. package/dist/cjs/api/resources/payments/client/Client.js +3 -7
  89. package/dist/cjs/api/resources/root/client/Client.d.ts +19 -13
  90. package/dist/cjs/api/resources/root/client/Client.js +31 -25
  91. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +42 -42
  92. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +90 -90
  93. package/dist/cjs/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +4 -4
  94. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +24 -18
  95. package/dist/cjs/api/resources/taskGroups/client/Client.js +43 -37
  96. package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.ts +2 -2
  97. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +2 -2
  98. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +2 -2
  99. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
  100. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +4 -2
  101. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.ts +3 -3
  102. package/dist/cjs/api/resources/users/client/Client.d.ts +2 -0
  103. package/dist/cjs/api/resources/users/client/Client.js +2 -0
  104. package/dist/cjs/api/types/Cargo1.d.ts +6 -6
  105. package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -3
  106. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +9 -9
  107. package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +10 -10
  108. package/dist/cjs/api/types/CourierOrgProfile3.d.ts +3 -3
  109. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +5 -5
  110. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +1 -1
  111. package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +16 -16
  112. package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
  113. package/dist/cjs/api/types/Driver1.d.ts +6 -6
  114. package/dist/cjs/api/types/Expense1.d.ts +3 -3
  115. package/dist/cjs/api/types/Feature.d.ts +3 -3
  116. package/dist/cjs/api/types/GetOrderFullRes.d.ts +2 -2
  117. package/dist/cjs/api/types/Incident1.d.ts +1 -1
  118. package/dist/cjs/api/types/Insurance1.d.ts +1 -1
  119. package/dist/cjs/api/types/LineItem1.d.ts +1 -1
  120. package/dist/cjs/api/types/Milestone1.d.ts +13 -13
  121. package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +1 -1
  122. package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +9 -9
  123. package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +11 -11
  124. package/dist/cjs/api/types/Order1.d.ts +11 -11
  125. package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
  126. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
  127. package/dist/cjs/api/types/OrgPublicData2.d.ts +4 -4
  128. package/dist/cjs/api/types/PayablesInvoice1.d.ts +11 -11
  129. package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +7 -7
  130. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +11 -11
  131. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +6 -6
  132. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +4 -4
  133. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +9 -9
  134. package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +6 -6
  135. package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +5 -5
  136. package/dist/cjs/api/types/Task1.d.ts +13 -13
  137. package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
  138. package/dist/cjs/api/types/TaskCreateBundle.d.ts +2 -2
  139. package/dist/cjs/api/types/TaskGroup1.d.ts +11 -11
  140. package/dist/cjs/api/types/TaskWithDetails.d.ts +2 -2
  141. package/dist/cjs/api/types/Tracker1.d.ts +1 -1
  142. package/dist/cjs/api/types/TrackerSession1.d.ts +1 -1
  143. package/dist/cjs/api/types/UserPublicData6.d.ts +6 -6
  144. package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
  145. package/dist/cjs/version.d.ts +1 -1
  146. package/dist/cjs/version.js +1 -1
  147. package/dist/esm/Client.d.mts +24 -24
  148. package/dist/esm/Client.mjs +36 -36
  149. package/dist/esm/api/index.d.mts +1 -1
  150. package/dist/esm/api/index.mjs +1 -1
  151. package/dist/esm/api/resources/connections/client/Client.d.mts +8 -8
  152. package/dist/esm/api/resources/connections/client/Client.mjs +14 -14
  153. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
  154. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
  155. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +26 -26
  156. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.mjs +79 -79
  157. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +1 -1
  158. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
  159. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
  160. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -1
  161. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -1
  162. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +16 -12
  163. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +27 -23
  164. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +3 -3
  165. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +39 -26
  166. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +112 -67
  167. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +24 -24
  168. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +12 -12
  169. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/index.d.mts +0 -1
  170. package/dist/esm/api/resources/courierPayDriverRateSheets/index.d.mts +0 -1
  171. package/dist/esm/api/resources/courierPayDriverRateSheets/index.mjs +0 -1
  172. package/dist/esm/api/resources/dev/client/Client.d.mts +28 -10
  173. package/dist/esm/api/resources/dev/client/Client.mjs +103 -46
  174. package/dist/esm/api/resources/drivers/client/Client.d.mts +52 -50
  175. package/dist/esm/api/resources/drivers/client/Client.mjs +109 -107
  176. package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +3 -3
  177. package/dist/esm/api/resources/drivers/client/requests/index.d.mts +1 -1
  178. package/dist/esm/api/resources/index.d.mts +14 -15
  179. package/dist/esm/api/resources/index.mjs +14 -15
  180. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +2 -2
  181. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +2 -2
  182. package/dist/esm/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +3 -3
  183. package/dist/esm/api/resources/milestones/client/Client.d.mts +16 -16
  184. package/dist/esm/api/resources/milestones/client/Client.mjs +24 -24
  185. package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +1 -1
  186. package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +1 -1
  187. package/dist/esm/api/resources/milestones/client/requests/index.d.mts +1 -1
  188. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +1 -5
  189. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +1 -5
  190. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +14 -14
  191. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +35 -35
  192. package/dist/esm/api/resources/milestones/resources/index.d.mts +1 -1
  193. package/dist/esm/api/resources/milestones/resources/index.mjs +1 -1
  194. package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -3
  195. package/dist/esm/api/resources/notifications/client/Client.mjs +5 -5
  196. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +2 -2
  197. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.mjs +2 -2
  198. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +3 -3
  199. package/dist/esm/api/resources/notifications/resources/index.d.mts +2 -2
  200. package/dist/esm/api/resources/notifications/resources/index.mjs +2 -2
  201. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
  202. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
  203. package/dist/esm/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +3 -3
  204. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +6 -6
  205. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.mjs +6 -6
  206. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +8 -8
  207. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
  208. package/dist/esm/api/resources/orders/client/Client.d.mts +30 -26
  209. package/dist/esm/api/resources/orders/client/Client.mjs +74 -70
  210. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +16 -16
  211. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +12 -12
  212. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +33 -33
  213. package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +3 -3
  214. package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +5 -5
  215. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
  216. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +5 -5
  217. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +7 -7
  218. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +4 -4
  219. package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +2 -2
  220. package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +2 -2
  221. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
  222. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +5 -5
  223. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +7 -7
  224. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
  225. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +15 -17
  226. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +43 -49
  227. package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +3 -3
  228. package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +0 -1
  229. package/dist/esm/api/resources/orgs/client/Client.d.mts +41 -37
  230. package/dist/esm/api/resources/orgs/client/Client.mjs +90 -86
  231. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +3 -3
  232. package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
  233. package/dist/esm/api/resources/payments/client/Client.d.mts +3 -7
  234. package/dist/esm/api/resources/payments/client/Client.mjs +3 -7
  235. package/dist/esm/api/resources/root/client/Client.d.mts +19 -13
  236. package/dist/esm/api/resources/root/client/Client.mjs +31 -25
  237. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +42 -42
  238. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +90 -90
  239. package/dist/esm/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +4 -4
  240. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +24 -18
  241. package/dist/esm/api/resources/taskGroups/client/Client.mjs +43 -37
  242. package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.mts +2 -2
  243. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +2 -2
  244. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +2 -2
  245. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
  246. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +4 -2
  247. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.mts +3 -3
  248. package/dist/esm/api/resources/users/client/Client.d.mts +2 -0
  249. package/dist/esm/api/resources/users/client/Client.mjs +2 -0
  250. package/dist/esm/api/types/Cargo1.d.mts +6 -6
  251. package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -3
  252. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +9 -9
  253. package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +10 -10
  254. package/dist/esm/api/types/CourierOrgProfile3.d.mts +3 -3
  255. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +5 -5
  256. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +1 -1
  257. package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +16 -16
  258. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +8 -8
  259. package/dist/esm/api/types/Driver1.d.mts +6 -6
  260. package/dist/esm/api/types/Expense1.d.mts +3 -3
  261. package/dist/esm/api/types/Feature.d.mts +3 -3
  262. package/dist/esm/api/types/GetOrderFullRes.d.mts +2 -2
  263. package/dist/esm/api/types/Incident1.d.mts +1 -1
  264. package/dist/esm/api/types/Insurance1.d.mts +1 -1
  265. package/dist/esm/api/types/LineItem1.d.mts +1 -1
  266. package/dist/esm/api/types/Milestone1.d.mts +13 -13
  267. package/dist/esm/api/types/MilestoneClientCreate1.d.mts +1 -1
  268. package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +9 -9
  269. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +11 -11
  270. package/dist/esm/api/types/Order1.d.mts +11 -11
  271. package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
  272. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
  273. package/dist/esm/api/types/OrgPublicData2.d.mts +4 -4
  274. package/dist/esm/api/types/PayablesInvoice1.d.mts +11 -11
  275. package/dist/esm/api/types/ReceivablesInvoice1.d.mts +7 -7
  276. package/dist/esm/api/types/ShipperContactInfo1.d.mts +11 -11
  277. package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +6 -6
  278. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +4 -4
  279. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +9 -9
  280. package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +6 -6
  281. package/dist/esm/api/types/StripeConnectInvoice1.d.mts +5 -5
  282. package/dist/esm/api/types/Task1.d.mts +13 -13
  283. package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
  284. package/dist/esm/api/types/TaskCreateBundle.d.mts +2 -2
  285. package/dist/esm/api/types/TaskGroup1.d.mts +11 -11
  286. package/dist/esm/api/types/TaskWithDetails.d.mts +2 -2
  287. package/dist/esm/api/types/Tracker1.d.mts +1 -1
  288. package/dist/esm/api/types/TrackerSession1.d.mts +1 -1
  289. package/dist/esm/api/types/UserPublicData6.d.mts +6 -6
  290. package/dist/esm/api/types/Vehicle1.d.mts +1 -1
  291. package/dist/esm/version.d.mts +1 -1
  292. package/dist/esm/version.mjs +1 -1
  293. package/package.json +1 -1
  294. package/reference.md +1196 -764
  295. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.ts +0 -11
  296. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.js +0 -5
  297. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.ts +0 -5
  298. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.js +0 -5
  299. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.d.ts +0 -1
  300. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.js +0 -17
  301. package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.ts +0 -12
  302. package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.js +0 -5
  303. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.mts +0 -11
  304. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.mjs +0 -4
  305. package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.mts +0 -5
  306. package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.mjs +0 -4
  307. package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.d.mts +0 -1
  308. package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.mjs +0 -1
  309. package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.mts +0 -12
  310. package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.mjs +0 -4
@@ -3,22 +3,22 @@
3
3
  */
4
4
  import * as environments from "./environments.js";
5
5
  import * as core from "./core/index.js";
6
- import { Root } from "./api/resources/root/client/Client.js";
7
6
  import { Dev } from "./api/resources/dev/client/Client.js";
8
- import { Connections } from "./api/resources/connections/client/Client.js";
9
- import { CourierPayDriverLineItemGroup } from "./api/resources/courierPayDriverLineItemGroup/client/Client.js";
10
- import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.js";
11
- import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.js";
12
7
  import { Drivers } from "./api/resources/drivers/client/Client.js";
13
- import { MilestoneNotifications } from "./api/resources/milestoneNotifications/client/Client.js";
14
8
  import { Milestones } from "./api/resources/milestones/client/Client.js";
15
9
  import { OffChrtShipperOrgConnectionInfo } from "./api/resources/offChrtShipperOrgConnectionInfo/client/Client.js";
16
- import { Orders } from "./api/resources/orders/client/Client.js";
17
10
  import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
18
- import { ShipperContactInfo } from "./api/resources/shipperContactInfo/client/Client.js";
11
+ import { Orders } from "./api/resources/orders/client/Client.js";
12
+ import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.js";
13
+ import { CourierPayDriverLineItemGroup } from "./api/resources/courierPayDriverLineItemGroup/client/Client.js";
14
+ import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.js";
15
+ import { Connections } from "./api/resources/connections/client/Client.js";
19
16
  import { TaskGroups } from "./api/resources/taskGroups/client/Client.js";
17
+ import { ShipperContactInfo } from "./api/resources/shipperContactInfo/client/Client.js";
18
+ import { MilestoneNotifications } from "./api/resources/milestoneNotifications/client/Client.js";
20
19
  import { Orgs } from "./api/resources/orgs/client/Client.js";
21
20
  import { Payments } from "./api/resources/payments/client/Client.js";
21
+ import { Root } from "./api/resources/root/client/Client.js";
22
22
  import { Users } from "./api/resources/users/client/Client.js";
23
23
  import { Notifications } from "./api/resources/notifications/client/Client.js";
24
24
  import { OrgConnectionInfos } from "./api/resources/orgConnectionInfos/client/Client.js";
@@ -45,42 +45,42 @@ export declare namespace ChrtClient {
45
45
  }
46
46
  export declare class ChrtClient {
47
47
  protected readonly _options: ChrtClient.Options;
48
- protected _root: Root | undefined;
49
48
  protected _dev: Dev | undefined;
50
- protected _connections: Connections | undefined;
51
- protected _courierPayDriverLineItemGroup: CourierPayDriverLineItemGroup | undefined;
52
- protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
53
- protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
54
49
  protected _drivers: Drivers | undefined;
55
- protected _milestoneNotifications: MilestoneNotifications | undefined;
56
50
  protected _milestones: Milestones | undefined;
57
51
  protected _offChrtShipperOrgConnectionInfo: OffChrtShipperOrgConnectionInfo | undefined;
58
- protected _orders: Orders | undefined;
59
52
  protected _orgProfiles: OrgProfiles | undefined;
60
- protected _shipperContactInfo: ShipperContactInfo | undefined;
53
+ protected _orders: Orders | undefined;
54
+ protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
55
+ protected _courierPayDriverLineItemGroup: CourierPayDriverLineItemGroup | undefined;
56
+ protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
57
+ protected _connections: Connections | undefined;
61
58
  protected _taskGroups: TaskGroups | undefined;
59
+ protected _shipperContactInfo: ShipperContactInfo | undefined;
60
+ protected _milestoneNotifications: MilestoneNotifications | undefined;
62
61
  protected _orgs: Orgs | undefined;
63
62
  protected _payments: Payments | undefined;
63
+ protected _root: Root | undefined;
64
64
  protected _users: Users | undefined;
65
65
  protected _notifications: Notifications | undefined;
66
66
  protected _orgConnectionInfos: OrgConnectionInfos | undefined;
67
67
  constructor(_options?: ChrtClient.Options);
68
- get root(): Root;
69
68
  get dev(): Dev;
70
- get connections(): Connections;
71
- get courierPayDriverLineItemGroup(): CourierPayDriverLineItemGroup;
72
- get courierPayDriverPayouts(): CourierPayDriverPayouts;
73
- get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
74
69
  get drivers(): Drivers;
75
- get milestoneNotifications(): MilestoneNotifications;
76
70
  get milestones(): Milestones;
77
71
  get offChrtShipperOrgConnectionInfo(): OffChrtShipperOrgConnectionInfo;
78
- get orders(): Orders;
79
72
  get orgProfiles(): OrgProfiles;
80
- get shipperContactInfo(): ShipperContactInfo;
73
+ get orders(): Orders;
74
+ get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
75
+ get courierPayDriverLineItemGroup(): CourierPayDriverLineItemGroup;
76
+ get courierPayDriverPayouts(): CourierPayDriverPayouts;
77
+ get connections(): Connections;
81
78
  get taskGroups(): TaskGroups;
79
+ get shipperContactInfo(): ShipperContactInfo;
80
+ get milestoneNotifications(): MilestoneNotifications;
82
81
  get orgs(): Orgs;
83
82
  get payments(): Payments;
83
+ get root(): Root;
84
84
  get users(): Users;
85
85
  get notifications(): Notifications;
86
86
  get orgConnectionInfos(): OrgConnectionInfos;
@@ -39,22 +39,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChrtClient = void 0;
40
40
  const core = __importStar(require("./core/index.js"));
41
41
  const headers_js_1 = require("./core/headers.js");
42
- const Client_js_1 = require("./api/resources/root/client/Client.js");
43
- const Client_js_2 = require("./api/resources/dev/client/Client.js");
44
- const Client_js_3 = require("./api/resources/connections/client/Client.js");
45
- const Client_js_4 = require("./api/resources/courierPayDriverLineItemGroup/client/Client.js");
46
- const Client_js_5 = require("./api/resources/courierPayDriverPayouts/client/Client.js");
47
- const Client_js_6 = require("./api/resources/courierPayDriverRateSheets/client/Client.js");
48
- const Client_js_7 = require("./api/resources/drivers/client/Client.js");
49
- const Client_js_8 = require("./api/resources/milestoneNotifications/client/Client.js");
50
- const Client_js_9 = require("./api/resources/milestones/client/Client.js");
51
- const Client_js_10 = require("./api/resources/offChrtShipperOrgConnectionInfo/client/Client.js");
52
- const Client_js_11 = require("./api/resources/orders/client/Client.js");
53
- const Client_js_12 = require("./api/resources/orgProfiles/client/Client.js");
54
- const Client_js_13 = require("./api/resources/shipperContactInfo/client/Client.js");
55
- const Client_js_14 = require("./api/resources/taskGroups/client/Client.js");
56
- const Client_js_15 = require("./api/resources/orgs/client/Client.js");
57
- const Client_js_16 = require("./api/resources/payments/client/Client.js");
42
+ const Client_js_1 = require("./api/resources/dev/client/Client.js");
43
+ const Client_js_2 = require("./api/resources/drivers/client/Client.js");
44
+ const Client_js_3 = require("./api/resources/milestones/client/Client.js");
45
+ const Client_js_4 = require("./api/resources/offChrtShipperOrgConnectionInfo/client/Client.js");
46
+ const Client_js_5 = require("./api/resources/orgProfiles/client/Client.js");
47
+ const Client_js_6 = require("./api/resources/orders/client/Client.js");
48
+ const Client_js_7 = require("./api/resources/courierPayDriverRateSheets/client/Client.js");
49
+ const Client_js_8 = require("./api/resources/courierPayDriverLineItemGroup/client/Client.js");
50
+ const Client_js_9 = require("./api/resources/courierPayDriverPayouts/client/Client.js");
51
+ const Client_js_10 = require("./api/resources/connections/client/Client.js");
52
+ const Client_js_11 = require("./api/resources/taskGroups/client/Client.js");
53
+ const Client_js_12 = require("./api/resources/shipperContactInfo/client/Client.js");
54
+ const Client_js_13 = require("./api/resources/milestoneNotifications/client/Client.js");
55
+ const Client_js_14 = require("./api/resources/orgs/client/Client.js");
56
+ const Client_js_15 = require("./api/resources/payments/client/Client.js");
57
+ const Client_js_16 = require("./api/resources/root/client/Client.js");
58
58
  const Client_js_17 = require("./api/resources/users/client/Client.js");
59
59
  const Client_js_18 = require("./api/resources/notifications/client/Client.js");
60
60
  const Client_js_19 = require("./api/resources/orgConnectionInfos/client/Client.js");
@@ -63,75 +63,75 @@ class ChrtClient {
63
63
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
66
- "X-Fern-SDK-Version": "0.0.174",
67
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.174",
66
+ "X-Fern-SDK-Version": "0.0.183",
67
+ "User-Agent": "@chrt-inc/typescript-sdk/0.0.183",
68
68
  "X-Fern-Runtime": core.RUNTIME.type,
69
69
  "X-Fern-Runtime-Version": core.RUNTIME.version,
70
70
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
71
71
  }
72
- get root() {
73
- var _a;
74
- return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_1.Root(this._options)));
75
- }
76
72
  get dev() {
77
73
  var _a;
78
- return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Client_js_2.Dev(this._options)));
74
+ return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Client_js_1.Dev(this._options)));
79
75
  }
80
- get connections() {
76
+ get drivers() {
81
77
  var _a;
82
- return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_3.Connections(this._options)));
78
+ return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_2.Drivers(this._options)));
83
79
  }
84
- get courierPayDriverLineItemGroup() {
80
+ get milestones() {
85
81
  var _a;
86
- return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_4.CourierPayDriverLineItemGroup(this._options)));
82
+ return ((_a = this._milestones) !== null && _a !== void 0 ? _a : (this._milestones = new Client_js_3.Milestones(this._options)));
87
83
  }
88
- get courierPayDriverPayouts() {
84
+ get offChrtShipperOrgConnectionInfo() {
89
85
  var _a;
90
- return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_5.CourierPayDriverPayouts(this._options)));
86
+ return ((_a = this._offChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgConnectionInfo = new Client_js_4.OffChrtShipperOrgConnectionInfo(this._options)));
91
87
  }
92
- get courierPayDriverRateSheets() {
88
+ get orgProfiles() {
93
89
  var _a;
94
- return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new Client_js_6.CourierPayDriverRateSheets(this._options)));
90
+ return ((_a = this._orgProfiles) !== null && _a !== void 0 ? _a : (this._orgProfiles = new Client_js_5.OrgProfiles(this._options)));
95
91
  }
96
- get drivers() {
92
+ get orders() {
97
93
  var _a;
98
- return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_7.Drivers(this._options)));
94
+ return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_6.Orders(this._options)));
99
95
  }
100
- get milestoneNotifications() {
96
+ get courierPayDriverRateSheets() {
101
97
  var _a;
102
- return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_8.MilestoneNotifications(this._options)));
98
+ return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new Client_js_7.CourierPayDriverRateSheets(this._options)));
103
99
  }
104
- get milestones() {
100
+ get courierPayDriverLineItemGroup() {
105
101
  var _a;
106
- return ((_a = this._milestones) !== null && _a !== void 0 ? _a : (this._milestones = new Client_js_9.Milestones(this._options)));
102
+ return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_8.CourierPayDriverLineItemGroup(this._options)));
107
103
  }
108
- get offChrtShipperOrgConnectionInfo() {
104
+ get courierPayDriverPayouts() {
109
105
  var _a;
110
- return ((_a = this._offChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgConnectionInfo = new Client_js_10.OffChrtShipperOrgConnectionInfo(this._options)));
106
+ return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_9.CourierPayDriverPayouts(this._options)));
111
107
  }
112
- get orders() {
108
+ get connections() {
113
109
  var _a;
114
- return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_11.Orders(this._options)));
110
+ return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_10.Connections(this._options)));
115
111
  }
116
- get orgProfiles() {
112
+ get taskGroups() {
117
113
  var _a;
118
- return ((_a = this._orgProfiles) !== null && _a !== void 0 ? _a : (this._orgProfiles = new Client_js_12.OrgProfiles(this._options)));
114
+ return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_11.TaskGroups(this._options)));
119
115
  }
120
116
  get shipperContactInfo() {
121
117
  var _a;
122
- return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_13.ShipperContactInfo(this._options)));
118
+ return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_12.ShipperContactInfo(this._options)));
123
119
  }
124
- get taskGroups() {
120
+ get milestoneNotifications() {
125
121
  var _a;
126
- return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_14.TaskGroups(this._options)));
122
+ return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_13.MilestoneNotifications(this._options)));
127
123
  }
128
124
  get orgs() {
129
125
  var _a;
130
- return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_15.Orgs(this._options)));
126
+ return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_14.Orgs(this._options)));
131
127
  }
132
128
  get payments() {
133
129
  var _a;
134
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_16.Payments(this._options)));
130
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_15.Payments(this._options)));
131
+ }
132
+ get root() {
133
+ var _a;
134
+ return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_16.Root(this._options)));
135
135
  }
136
136
  get users() {
137
137
  var _a;
@@ -1,3 +1,3 @@
1
- export * from "./resources/index.js";
2
1
  export * from "./types/index.js";
3
2
  export * from "./errors/index.js";
3
+ export * from "./resources/index.js";
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./resources/index.js"), exports);
18
17
  __exportStar(require("./types/index.js"), exports);
19
18
  __exportStar(require("./errors/index.js"), exports);
19
+ __exportStar(require("./resources/index.js"), exports);
@@ -32,24 +32,24 @@ export declare class Connections {
32
32
  constructor(_options?: Connections.Options);
33
33
  get connectionToCourier(): ConnectionToCourier;
34
34
  /**
35
- * List all couriers connected to the current org
35
+ * Lists all shipper organizations connected to the authenticated courier organization.
36
36
  *
37
37
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @example
40
- * await client.connections.listCouriers()
40
+ * await client.connections.listShippers()
41
41
  */
42
- listCouriers(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1[]>;
43
- private __listCouriers;
42
+ listShippers(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1[]>;
43
+ private __listShippers;
44
44
  /**
45
- * List all shippers connected to the current org
45
+ * Lists all courier organizations connected to the authenticated shipper organization.
46
46
  *
47
47
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
48
48
  *
49
49
  * @example
50
- * await client.connections.listShippers()
50
+ * await client.connections.listCouriers()
51
51
  */
52
- listShippers(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1[]>;
53
- private __listShippers;
52
+ listCouriers(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1[]>;
53
+ private __listCouriers;
54
54
  protected _getAuthorizationHeader(): Promise<string | undefined>;
55
55
  }
@@ -60,21 +60,21 @@ class Connections {
60
60
  return ((_a = this._connectionToCourier) !== null && _a !== void 0 ? _a : (this._connectionToCourier = new Client_js_1.ConnectionToCourier(this._options)));
61
61
  }
62
62
  /**
63
- * List all couriers connected to the current org
63
+ * Lists all shipper organizations connected to the authenticated courier organization.
64
64
  *
65
65
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @example
68
- * await client.connections.listCouriers()
68
+ * await client.connections.listShippers()
69
69
  */
70
- listCouriers(requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__listCouriers(requestOptions));
70
+ listShippers(requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__listShippers(requestOptions));
72
72
  }
73
- __listCouriers(requestOptions) {
73
+ __listShippers(requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
- 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/connections/couriers/list"),
77
+ 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/connections/shippers/list"),
78
78
  method: "GET",
79
79
  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),
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -99,7 +99,7 @@ class Connections {
99
99
  rawResponse: _response.rawResponse,
100
100
  });
101
101
  case "timeout":
102
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/couriers/list.");
102
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/shippers/list.");
103
103
  case "unknown":
104
104
  throw new errors.ChrtError({
105
105
  message: _response.error.errorMessage,
@@ -109,21 +109,21 @@ class Connections {
109
109
  });
110
110
  }
111
111
  /**
112
- * List all shippers connected to the current org
112
+ * Lists all courier organizations connected to the authenticated shipper organization.
113
113
  *
114
114
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @example
117
- * await client.connections.listShippers()
117
+ * await client.connections.listCouriers()
118
118
  */
119
- listShippers(requestOptions) {
120
- return core.HttpResponsePromise.fromPromise(this.__listShippers(requestOptions));
119
+ listCouriers(requestOptions) {
120
+ return core.HttpResponsePromise.fromPromise(this.__listCouriers(requestOptions));
121
121
  }
122
- __listShippers(requestOptions) {
122
+ __listCouriers(requestOptions) {
123
123
  return __awaiter(this, void 0, void 0, function* () {
124
124
  var _a, _b, _c, _d;
125
125
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
126
- 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/connections/shippers/list"),
126
+ 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/connections/couriers/list"),
127
127
  method: "GET",
128
128
  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),
129
129
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -148,7 +148,7 @@ class Connections {
148
148
  rawResponse: _response.rawResponse,
149
149
  });
150
150
  case "timeout":
151
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/shippers/list.");
151
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/connections/couriers/list.");
152
152
  case "unknown":
153
153
  throw new errors.ChrtError({
154
154
  message: _response.error.errorMessage,
@@ -29,7 +29,7 @@ export declare class ConnectionToCourier {
29
29
  protected readonly _options: ConnectionToCourier.Options;
30
30
  constructor(_options?: ConnectionToCourier.Options);
31
31
  /**
32
- * Body: Courier Handle, Shipper Org Id from JWT
32
+ * Creates a new connection between a shipper and courier organization using the courier's handle.
33
33
  *
34
34
  * @param {Chrt.connections.CreateConnectionReq} request
35
35
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class ConnectionToCourier {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Body: Courier Handle, Shipper Org Id from JWT
59
+ * Creates a new connection between a shipper and courier organization using the courier's handle.
60
60
  *
61
61
  * @param {Chrt.connections.CreateConnectionReq} request
62
62
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
@@ -35,62 +35,62 @@ export declare class CourierPayDriverLineItemGroup {
35
35
  get addLineItems(): AddLineItems;
36
36
  get removeLineItems(): RemoveLineItems;
37
37
  /**
38
- * Get a courier pay driver line item group by task group ID
38
+ * Previews calculated line items for a driver based on rate sheet and task group without creating the group.
39
39
  *
40
- * @param {string} taskGroupId
40
+ * @param {Chrt.CourierPayDriverLineItemGroupPreviewRequest} request
41
41
  * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
42
42
  *
43
43
  * @throws {@link Chrt.UnprocessableEntityError}
44
44
  *
45
45
  * @example
46
- * await client.courierPayDriverLineItemGroup.byTaskGroupId("task_group_id")
46
+ * await client.courierPayDriverLineItemGroup.preview({
47
+ * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
48
+ * task_group_id: "task_group_id"
49
+ * })
47
50
  */
48
- byTaskGroupId(taskGroupId: string, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
49
- private __byTaskGroupId;
51
+ preview(request: Chrt.CourierPayDriverLineItemGroupPreviewRequest, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroupClientCreate1>;
52
+ private __preview;
50
53
  /**
51
- * Create a courier pay driver line item group by calculating line items from rate sheet and task group
54
+ * Retrieves a courier driver line item group by its ID.
52
55
  *
53
- * @param {Chrt.CourierPayDriverLineItemGroupCreateRequest} request
56
+ * @param {string} id
54
57
  * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
55
58
  *
56
59
  * @throws {@link Chrt.UnprocessableEntityError}
57
60
  *
58
61
  * @example
59
- * await client.courierPayDriverLineItemGroup.create({
60
- * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
61
- * task_group_id: "task_group_id"
62
- * })
62
+ * await client.courierPayDriverLineItemGroup.getById("id")
63
63
  */
64
- create(request: Chrt.CourierPayDriverLineItemGroupCreateRequest, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<string>;
65
- private __create;
64
+ getById(id: string, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
65
+ private __getById;
66
66
  /**
67
- * Calculate a courier pay driver line item group
67
+ * Retrieves a courier driver line item group by its associated task group ID.
68
68
  *
69
- * @param {Chrt.CourierPayDriverLineItemGroupPreviewRequest} request
69
+ * @param {string} taskGroupId
70
70
  * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
71
71
  *
72
72
  * @throws {@link Chrt.UnprocessableEntityError}
73
73
  *
74
74
  * @example
75
- * await client.courierPayDriverLineItemGroup.preview({
76
- * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
77
- * task_group_id: "task_group_id"
78
- * })
75
+ * await client.courierPayDriverLineItemGroup.byTaskGroupId("task_group_id")
79
76
  */
80
- preview(request: Chrt.CourierPayDriverLineItemGroupPreviewRequest, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroupClientCreate1>;
81
- private __preview;
77
+ byTaskGroupId(taskGroupId: string, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
78
+ private __byTaskGroupId;
82
79
  /**
83
- * Get a courier pay driver line item group by ID
80
+ * Creates a courier driver line item group by calculating items from rate sheet and task group.
84
81
  *
85
- * @param {string} id
82
+ * @param {Chrt.CourierPayDriverLineItemGroupCreateRequest} request
86
83
  * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
87
84
  *
88
85
  * @throws {@link Chrt.UnprocessableEntityError}
89
86
  *
90
87
  * @example
91
- * await client.courierPayDriverLineItemGroup.getById("id")
88
+ * await client.courierPayDriverLineItemGroup.create({
89
+ * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
90
+ * task_group_id: "task_group_id"
91
+ * })
92
92
  */
93
- getById(id: string, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
94
- private __getById;
93
+ create(request: Chrt.CourierPayDriverLineItemGroupCreateRequest, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<string>;
94
+ private __create;
95
95
  protected _getAuthorizationHeader(): Promise<string | undefined>;
96
96
  }