@chrt-inc/typescript-sdk 0.0.170 → 0.0.179

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 (672) hide show
  1. package/README.md +7 -7
  2. package/dist/cjs/Client.d.ts +42 -54
  3. package/dist/cjs/Client.js +56 -76
  4. package/dist/cjs/api/index.d.ts +1 -1
  5. package/dist/cjs/api/index.js +1 -1
  6. package/dist/cjs/api/resources/connections/client/Client.d.ts +55 -0
  7. package/dist/cjs/api/resources/connections/client/Client.js +170 -0
  8. package/dist/cjs/api/resources/connections/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/connections/index.js +18 -0
  10. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +47 -0
  11. package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/Client.js +20 -18
  12. package/dist/cjs/api/resources/connections/resources/index.d.ts +2 -0
  13. package/dist/cjs/api/resources/connections/resources/index.js +41 -0
  14. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +96 -0
  15. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup}/client/Client.js +47 -185
  16. package/dist/{esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts → cjs/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.ts} +1 -1
  17. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.ts} +1 -1
  18. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.js +18 -0
  21. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +53 -0
  22. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +136 -0
  23. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.d.ts +1 -1
  24. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/index.d.ts +4 -0
  26. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/index.js +43 -0
  27. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +53 -0
  28. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +136 -0
  29. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.d.ts +1 -1
  30. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.d.ts +22 -18
  32. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.js +28 -24
  33. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +124 -0
  34. package/dist/cjs/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.js +90 -77
  35. package/dist/cjs/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/dev/client/Client.d.ts +13 -3
  37. package/dist/cjs/api/resources/dev/client/Client.js +14 -4
  38. package/dist/cjs/api/resources/drivers/client/Client.d.ts +154 -0
  39. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/Client.js +141 -134
  40. package/dist/cjs/api/resources/index.d.ts +26 -37
  41. package/dist/cjs/api/resources/index.js +27 -38
  42. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.d.ts +16 -12
  43. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.js +21 -17
  44. package/dist/cjs/api/resources/milestones/client/Client.d.ts +69 -0
  45. package/dist/cjs/api/resources/milestones/client/Client.js +203 -0
  46. package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/milestones/index.d.ts +2 -0
  48. package/dist/cjs/api/resources/milestones/index.js +18 -0
  49. package/dist/cjs/api/resources/{directory → milestones/resources/blurhash}/client/Client.d.ts +12 -13
  50. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +125 -0
  51. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +74 -0
  52. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/client/Client.js +53 -43
  53. package/dist/cjs/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts} +2 -2
  54. package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/milestones/resources/index.d.ts +3 -0
  56. package/dist/cjs/api/resources/milestones/resources/index.js +42 -0
  57. package/dist/cjs/api/resources/notifications/client/Client.d.ts +26 -0
  58. package/dist/cjs/api/resources/notifications/client/Client.js +22 -0
  59. package/dist/cjs/api/resources/notifications/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/notifications/index.js +18 -0
  61. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +57 -0
  62. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/courierPreferences}/client/Client.js +25 -25
  63. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +1 -1
  64. package/dist/cjs/api/resources/notifications/resources/index.d.ts +4 -0
  65. package/dist/cjs/api/resources/notifications/resources/index.js +43 -0
  66. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +57 -0
  67. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/shipper}/client/Client.js +25 -25
  68. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +1 -1
  69. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +85 -0
  70. package/dist/cjs/api/resources/{oortCourierPayDriverRate → offChrtShipperOrgConnectionInfo}/client/Client.js +82 -77
  71. package/dist/cjs/api/resources/orders/client/Client.d.ts +112 -0
  72. package/dist/cjs/api/resources/orders/client/Client.js +363 -0
  73. package/dist/cjs/api/resources/orders/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/orders/index.js +18 -0
  75. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +65 -0
  76. package/dist/cjs/api/resources/{oortConnections → orders/resources/full}/client/Client.js +53 -54
  77. package/dist/cjs/api/resources/orders/resources/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/orders/resources/index.js +37 -0
  79. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +26 -0
  80. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +22 -0
  81. package/dist/cjs/api/resources/orgConnectionInfos/client/index.js +2 -0
  82. package/dist/cjs/api/resources/orgConnectionInfos/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/orgConnectionInfos/index.js +18 -0
  84. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +71 -0
  85. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → orgConnectionInfos/resources/courier}/client/Client.js +49 -61
  86. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +1 -1
  87. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +1 -1
  88. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/index.d.ts +0 -2
  89. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/index.js +2 -0
  90. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +4 -0
  91. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +43 -0
  92. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +71 -0
  93. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +240 -0
  94. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +1 -1
  95. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +1 -1
  96. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.ts +2 -0
  97. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.js +2 -0
  98. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +99 -0
  99. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.js +43 -43
  100. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.ts +0 -1
  101. package/dist/cjs/api/resources/orgProfiles/client/requests/index.js +2 -0
  102. package/dist/cjs/api/resources/orgs/client/Client.d.ts +48 -36
  103. package/dist/cjs/api/resources/orgs/client/Client.js +134 -83
  104. package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -15
  105. package/dist/cjs/api/resources/payments/client/Client.js +3 -54
  106. package/dist/cjs/api/resources/root/client/Client.d.ts +19 -32
  107. package/dist/cjs/api/resources/root/client/Client.js +25 -115
  108. package/dist/cjs/api/resources/root/index.d.ts +0 -1
  109. package/dist/cjs/api/resources/root/index.js +0 -1
  110. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +148 -0
  111. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.js +73 -73
  112. package/dist/cjs/api/resources/shipperContactInfo/client/index.d.ts +2 -0
  113. package/dist/cjs/api/resources/shipperContactInfo/client/index.js +17 -0
  114. package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.js +2 -0
  115. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +102 -0
  116. package/dist/cjs/api/resources/{oortMilestones → taskGroups}/client/Client.js +72 -143
  117. package/dist/cjs/api/resources/taskGroups/client/index.d.ts +2 -0
  118. package/dist/cjs/api/resources/taskGroups/client/index.js +17 -0
  119. package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/taskGroups/client/requests/index.js +2 -0
  121. package/dist/cjs/api/resources/taskGroups/index.d.ts +2 -0
  122. package/dist/cjs/api/resources/taskGroups/index.js +18 -0
  123. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +55 -0
  124. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +177 -0
  125. package/dist/cjs/api/resources/taskGroups/resources/full/client/index.js +2 -0
  126. package/dist/cjs/api/resources/taskGroups/resources/index.d.ts +3 -0
  127. package/dist/cjs/api/resources/taskGroups/resources/index.js +42 -0
  128. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +49 -0
  129. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +132 -0
  130. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/index.d.ts +2 -0
  131. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/index.js +17 -0
  132. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/index.d.ts +0 -1
  133. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/index.js +2 -0
  134. package/dist/cjs/api/resources/taskGroups/resources/togglePause/index.d.ts +1 -0
  135. package/dist/cjs/api/resources/taskGroups/resources/togglePause/index.js +17 -0
  136. package/dist/cjs/api/resources/users/client/Client.d.ts +5 -3
  137. package/dist/cjs/api/resources/users/client/Client.js +6 -4
  138. package/dist/cjs/api/types/index.d.ts +0 -4
  139. package/dist/cjs/api/types/index.js +0 -4
  140. package/dist/cjs/version.d.ts +1 -1
  141. package/dist/cjs/version.js +1 -1
  142. package/dist/esm/Client.d.mts +42 -54
  143. package/dist/esm/Client.mjs +48 -68
  144. package/dist/esm/api/index.d.mts +1 -1
  145. package/dist/esm/api/index.mjs +1 -1
  146. package/dist/esm/api/resources/connections/client/Client.d.mts +55 -0
  147. package/dist/esm/api/resources/connections/client/Client.mjs +133 -0
  148. package/dist/esm/api/resources/connections/index.d.mts +2 -0
  149. package/dist/esm/api/resources/connections/index.mjs +2 -0
  150. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +47 -0
  151. package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/Client.mjs +18 -16
  152. package/dist/esm/api/resources/connections/resources/index.d.mts +2 -0
  153. package/dist/esm/api/resources/connections/resources/index.mjs +2 -0
  154. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +96 -0
  155. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup}/client/Client.mjs +45 -183
  156. package/dist/{cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts → esm/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.mts} +1 -1
  157. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.mts} +1 -1
  158. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +2 -0
  159. package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.d.mts +2 -0
  160. package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.mjs +2 -0
  161. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +53 -0
  162. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +99 -0
  163. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.d.mts +1 -1
  164. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/index.d.mts +1 -0
  165. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/index.d.mts +4 -0
  166. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/index.mjs +4 -0
  167. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +53 -0
  168. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +99 -0
  169. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.d.mts +1 -1
  170. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
  171. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.d.mts +22 -18
  172. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.mjs +26 -22
  173. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +124 -0
  174. package/dist/esm/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.mjs +88 -75
  175. package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/index.d.mts +1 -0
  176. package/dist/esm/api/resources/dev/client/Client.d.mts +13 -3
  177. package/dist/esm/api/resources/dev/client/Client.mjs +14 -4
  178. package/dist/esm/api/resources/drivers/client/Client.d.mts +154 -0
  179. package/dist/esm/api/resources/{oortDrivers → drivers}/client/Client.mjs +139 -132
  180. package/dist/esm/api/resources/index.d.mts +26 -37
  181. package/dist/esm/api/resources/index.mjs +26 -37
  182. package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.d.mts +16 -12
  183. package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.mjs +19 -15
  184. package/dist/esm/api/resources/milestones/client/Client.d.mts +69 -0
  185. package/dist/esm/api/resources/milestones/client/Client.mjs +166 -0
  186. package/dist/esm/api/resources/milestones/client/requests/index.d.mts +2 -0
  187. package/dist/esm/api/resources/milestones/index.d.mts +2 -0
  188. package/dist/esm/api/resources/milestones/index.mjs +2 -0
  189. package/dist/esm/api/resources/{directory → milestones/resources/blurhash}/client/Client.d.mts +12 -13
  190. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +88 -0
  191. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +74 -0
  192. package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/client/Client.mjs +51 -41
  193. package/dist/esm/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.mts → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts} +2 -2
  194. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +1 -0
  195. package/dist/esm/api/resources/milestones/resources/index.d.mts +3 -0
  196. package/dist/esm/api/resources/milestones/resources/index.mjs +3 -0
  197. package/dist/esm/api/resources/notifications/client/Client.d.mts +26 -0
  198. package/dist/esm/api/resources/notifications/client/Client.mjs +18 -0
  199. package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
  200. package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
  201. package/dist/esm/api/resources/notifications/index.d.mts +2 -0
  202. package/dist/esm/api/resources/notifications/index.mjs +2 -0
  203. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +57 -0
  204. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/Client.mjs +23 -23
  205. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +1 -1
  206. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/index.mjs +1 -0
  207. package/dist/esm/api/resources/notifications/resources/index.d.mts +4 -0
  208. package/dist/esm/api/resources/notifications/resources/index.mjs +4 -0
  209. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +57 -0
  210. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/Client.mjs +23 -23
  211. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +1 -1
  212. package/dist/esm/api/resources/notifications/resources/shipper/client/requests/index.mjs +1 -0
  213. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +85 -0
  214. package/dist/esm/api/resources/{oortCourierPayDriverRate → offChrtShipperOrgConnectionInfo}/client/Client.mjs +80 -75
  215. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs +1 -0
  216. package/dist/esm/api/resources/orders/client/Client.d.mts +112 -0
  217. package/dist/esm/api/resources/orders/client/Client.mjs +326 -0
  218. package/dist/esm/api/resources/orders/client/requests/index.mjs +1 -0
  219. package/dist/esm/api/resources/orders/index.d.mts +2 -0
  220. package/dist/esm/api/resources/orders/index.mjs +2 -0
  221. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +65 -0
  222. package/dist/esm/api/resources/{oortConnections → orders/resources/full}/client/Client.mjs +51 -52
  223. package/dist/esm/api/resources/orders/resources/full/client/index.d.mts +1 -0
  224. package/dist/esm/api/resources/orders/resources/full/client/index.mjs +1 -0
  225. package/dist/esm/api/resources/orders/resources/index.d.mts +1 -0
  226. package/dist/esm/api/resources/orders/resources/index.mjs +1 -0
  227. package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +26 -0
  228. package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +18 -0
  229. package/dist/esm/api/resources/orgConnectionInfos/client/index.d.mts +1 -0
  230. package/dist/esm/api/resources/orgConnectionInfos/client/index.mjs +1 -0
  231. package/dist/esm/api/resources/orgConnectionInfos/index.d.mts +2 -0
  232. package/dist/esm/api/resources/orgConnectionInfos/index.mjs +2 -0
  233. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +71 -0
  234. package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → orgConnectionInfos/resources/courier}/client/Client.mjs +47 -59
  235. package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +1 -1
  236. package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +1 -1
  237. package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/index.d.mts +0 -2
  238. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/index.mjs +1 -0
  239. package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +4 -0
  240. package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +4 -0
  241. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +71 -0
  242. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +203 -0
  243. package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +1 -1
  244. package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +1 -1
  245. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.mts +2 -0
  246. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.mjs +1 -0
  247. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +99 -0
  248. package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.mjs +41 -41
  249. package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.mts +0 -1
  250. package/dist/esm/api/resources/orgProfiles/client/requests/index.mjs +1 -0
  251. package/dist/esm/api/resources/orgs/client/Client.d.mts +48 -36
  252. package/dist/esm/api/resources/orgs/client/Client.mjs +134 -83
  253. package/dist/esm/api/resources/payments/client/Client.d.mts +3 -15
  254. package/dist/esm/api/resources/payments/client/Client.mjs +3 -54
  255. package/dist/esm/api/resources/root/client/Client.d.mts +19 -32
  256. package/dist/esm/api/resources/root/client/Client.mjs +25 -115
  257. package/dist/esm/api/resources/root/index.d.mts +0 -1
  258. package/dist/esm/api/resources/root/index.mjs +0 -1
  259. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +148 -0
  260. package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.mjs +71 -71
  261. package/dist/esm/api/resources/shipperContactInfo/client/index.d.mts +2 -0
  262. package/dist/esm/api/resources/shipperContactInfo/client/index.mjs +1 -0
  263. package/dist/esm/api/resources/shipperContactInfo/client/requests/index.mjs +1 -0
  264. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +102 -0
  265. package/dist/esm/api/resources/taskGroups/client/Client.mjs +323 -0
  266. package/dist/esm/api/resources/taskGroups/client/index.d.mts +2 -0
  267. package/dist/esm/api/resources/taskGroups/client/index.mjs +1 -0
  268. package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +1 -0
  269. package/dist/esm/api/resources/taskGroups/client/requests/index.mjs +1 -0
  270. package/dist/esm/api/resources/taskGroups/index.d.mts +2 -0
  271. package/dist/esm/api/resources/taskGroups/index.mjs +2 -0
  272. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +55 -0
  273. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +140 -0
  274. package/dist/esm/api/resources/taskGroups/resources/full/client/index.d.mts +1 -0
  275. package/dist/esm/api/resources/taskGroups/resources/full/client/index.mjs +1 -0
  276. package/dist/esm/api/resources/taskGroups/resources/index.d.mts +3 -0
  277. package/dist/esm/api/resources/taskGroups/resources/index.mjs +3 -0
  278. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +49 -0
  279. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +95 -0
  280. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/index.d.mts +2 -0
  281. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/index.mjs +1 -0
  282. package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/index.d.mts +0 -1
  283. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/index.mjs +1 -0
  284. package/dist/esm/api/resources/taskGroups/resources/togglePause/index.d.mts +1 -0
  285. package/dist/esm/api/resources/taskGroups/resources/togglePause/index.mjs +1 -0
  286. package/dist/esm/api/resources/users/client/Client.d.mts +5 -3
  287. package/dist/esm/api/resources/users/client/Client.mjs +6 -4
  288. package/dist/esm/api/types/index.d.mts +0 -4
  289. package/dist/esm/api/types/index.mjs +0 -4
  290. package/dist/esm/version.d.mts +1 -1
  291. package/dist/esm/version.mjs +1 -1
  292. package/package.json +1 -1
  293. package/reference.md +1098 -1210
  294. package/dist/cjs/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
  295. package/dist/cjs/api/resources/directory/client/requests/index.d.ts +0 -1
  296. package/dist/cjs/api/resources/mirror/client/Client.d.ts +0 -138
  297. package/dist/cjs/api/resources/mirror/client/Client.js +0 -658
  298. package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +0 -57
  299. package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +0 -57
  300. package/dist/cjs/api/resources/oortConnections/client/Client.d.ts +0 -63
  301. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +0 -136
  302. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +0 -12
  303. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js +0 -5
  304. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +0 -12
  305. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js +0 -5
  306. package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +0 -6
  307. package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -94
  308. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +0 -72
  309. package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +0 -1
  310. package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +0 -147
  311. package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +0 -114
  312. package/dist/cjs/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js +0 -5
  313. package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
  314. package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +0 -75
  315. package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +0 -138
  316. package/dist/cjs/api/resources/oortOrders/client/Client.js +0 -509
  317. package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -110
  318. package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +0 -95
  319. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts +0 -12
  320. package/dist/cjs/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js +0 -5
  321. package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +0 -148
  322. package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +0 -128
  323. package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +0 -515
  324. package/dist/cjs/api/resources/root/types/PydanticResponse.d.ts +0 -8
  325. package/dist/cjs/api/resources/root/types/PydanticResponse.js +0 -5
  326. package/dist/cjs/api/resources/root/types/index.d.ts +0 -1
  327. package/dist/cjs/api/resources/root/types/index.js +0 -17
  328. package/dist/cjs/api/types/EmailReq.d.ts +0 -6
  329. package/dist/cjs/api/types/EmailReq.js +0 -5
  330. package/dist/cjs/api/types/EmailRes.d.ts +0 -7
  331. package/dist/cjs/api/types/EmailRes.js +0 -5
  332. package/dist/cjs/api/types/Shipper2.d.ts +0 -20
  333. package/dist/cjs/api/types/Shipper2.js +0 -5
  334. package/dist/cjs/api/types/StreetAddress1.d.ts +0 -18
  335. package/dist/cjs/api/types/StreetAddress1.js +0 -5
  336. package/dist/esm/api/resources/directory/client/requests/DbQueryParams.d.mts +0 -12
  337. package/dist/esm/api/resources/directory/client/requests/index.d.mts +0 -1
  338. package/dist/esm/api/resources/mirror/client/Client.d.mts +0 -138
  339. package/dist/esm/api/resources/mirror/client/Client.mjs +0 -621
  340. package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +0 -57
  341. package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +0 -57
  342. package/dist/esm/api/resources/oortConnections/client/Client.d.mts +0 -63
  343. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +0 -136
  344. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +0 -12
  345. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs +0 -4
  346. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +0 -12
  347. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs +0 -4
  348. package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +0 -6
  349. package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +0 -94
  350. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +0 -72
  351. package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +0 -1
  352. package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +0 -147
  353. package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +0 -114
  354. package/dist/esm/api/resources/oortMilestones/client/Client.mjs +0 -394
  355. package/dist/esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.mjs +0 -4
  356. package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +0 -3
  357. package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +0 -75
  358. package/dist/esm/api/resources/oortOrders/client/Client.d.mts +0 -138
  359. package/dist/esm/api/resources/oortOrders/client/Client.mjs +0 -472
  360. package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +0 -110
  361. package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +0 -95
  362. package/dist/esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.mts +0 -12
  363. package/dist/esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs +0 -4
  364. package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +0 -148
  365. package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +0 -128
  366. package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +0 -478
  367. package/dist/esm/api/resources/root/types/PydanticResponse.d.mts +0 -8
  368. package/dist/esm/api/resources/root/types/PydanticResponse.mjs +0 -4
  369. package/dist/esm/api/resources/root/types/index.d.mts +0 -1
  370. package/dist/esm/api/resources/root/types/index.mjs +0 -1
  371. package/dist/esm/api/types/EmailReq.d.mts +0 -6
  372. package/dist/esm/api/types/EmailReq.mjs +0 -4
  373. package/dist/esm/api/types/EmailRes.d.mts +0 -7
  374. package/dist/esm/api/types/EmailRes.mjs +0 -4
  375. package/dist/esm/api/types/Shipper2.d.mts +0 -20
  376. package/dist/esm/api/types/Shipper2.mjs +0 -4
  377. package/dist/esm/api/types/StreetAddress1.d.mts +0 -18
  378. package/dist/esm/api/types/StreetAddress1.mjs +0 -4
  379. package/dist/cjs/api/resources/{mirror → connections}/client/index.d.ts +0 -0
  380. package/dist/cjs/api/resources/{directory/client/requests → connections/client}/index.js +0 -0
  381. package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/index.d.ts +0 -0
  382. package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/index.js +0 -0
  383. package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.d.ts +0 -0
  384. package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.js +0 -0
  385. package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/index.d.ts +0 -0
  386. package/dist/cjs/api/resources/{mirror/client → connections/resources/connectionToCourier/client/requests}/index.js +0 -0
  387. package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/index.d.ts +0 -0
  388. package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/index.js +0 -0
  389. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.d.ts +0 -0
  390. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.js +0 -0
  391. package/dist/cjs/api/resources/{directory/client/requests/DbQueryParams.js → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.js} +0 -0
  392. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.js} +0 -0
  393. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/requests/index.js +0 -0
  394. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.ts +0 -0
  395. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.js +0 -0
  396. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.js +0 -0
  397. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.js +0 -0
  398. package/dist/cjs/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.ts +0 -0
  399. package/dist/cjs/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.js +0 -0
  400. package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.ts +0 -0
  401. package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.js +0 -0
  402. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.js +0 -0
  403. package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.js +0 -0
  404. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.ts +0 -0
  405. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.js +0 -0
  406. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.d.ts +0 -0
  407. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.js +0 -0
  408. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -0
  409. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.js +0 -0
  410. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/index.d.ts +0 -0
  411. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/requests/index.js +0 -0
  412. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.d.ts +0 -0
  413. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.js +0 -0
  414. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.d.ts +0 -0
  415. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.js +0 -0
  416. package/dist/cjs/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -0
  417. package/dist/cjs/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
  418. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +0 -0
  419. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.js +0 -0
  420. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/requests/index.js +0 -0
  421. package/dist/cjs/api/resources/{oortConnections → courierPayDriverRateSheets}/index.d.ts +0 -0
  422. package/dist/cjs/api/resources/{oortConnections → courierPayDriverRateSheets}/index.js +0 -0
  423. package/dist/cjs/api/resources/{oortCourierPayDriverRate → drivers}/client/index.d.ts +0 -0
  424. package/dist/cjs/api/resources/{oortCourierPayDriverRate → drivers}/client/index.js +0 -0
  425. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.d.ts +0 -0
  426. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.js +0 -0
  427. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.d.ts +0 -0
  428. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.js +0 -0
  429. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.d.ts +0 -0
  430. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.js +0 -0
  431. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.d.ts +0 -0
  432. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.js +0 -0
  433. package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/index.d.ts +1 -1
  434. package/dist/cjs/api/resources/{oortCourierPayDriverRate → drivers}/client/requests/index.js +0 -0
  435. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.d.ts +0 -0
  436. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.js +0 -0
  437. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.d.ts +0 -0
  438. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.js +0 -0
  439. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +0 -0
  440. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.js +0 -0
  441. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/index.d.ts +0 -0
  442. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/requests/index.js +0 -0
  443. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.d.ts +0 -0
  444. package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.js +0 -0
  445. package/dist/cjs/api/resources/{oortDrivers → milestones}/client/index.d.ts +0 -0
  446. package/dist/cjs/api/resources/{oortDrivers → milestones}/client/index.js +0 -0
  447. package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.d.ts +0 -0
  448. package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.js +0 -0
  449. package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.d.ts +0 -0
  450. package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.js +0 -0
  451. package/dist/cjs/api/resources/{oortDrivers → milestones}/client/requests/index.js +0 -0
  452. package/dist/{esm/api/resources/directory/client/requests/index.mjs → cjs/api/resources/milestones/resources/blurhash/client/index.d.ts} +0 -0
  453. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences/client/requests → milestones/resources/blurhash/client}/index.js +0 -0
  454. package/dist/cjs/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.d.ts +0 -0
  455. package/dist/cjs/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.js +0 -0
  456. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.d.ts +0 -0
  457. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.js +0 -0
  458. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js} +0 -0
  459. package/dist/cjs/api/resources/{oortMilestones → milestones/resources/images}/client/requests/index.js +0 -0
  460. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.d.ts +0 -0
  461. package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.js +0 -0
  462. package/dist/{esm/api/resources/mirror/client/index.d.mts → cjs/api/resources/notifications/client/index.d.ts} +0 -0
  463. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests → notifications/client}/index.js +0 -0
  464. package/dist/cjs/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.d.ts +0 -0
  465. package/dist/cjs/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.js +0 -0
  466. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js} +0 -0
  467. package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/index.d.ts +0 -0
  468. package/dist/cjs/api/resources/{oortOrders → notifications/resources/courierPreferences}/client/requests/index.js +0 -0
  469. package/dist/cjs/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.d.ts +0 -0
  470. package/dist/cjs/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.js +0 -0
  471. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.d.ts +0 -0
  472. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.js +0 -0
  473. package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js → notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.js} +0 -0
  474. package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/index.d.ts +0 -0
  475. package/dist/cjs/api/resources/{oortOrgConnectionInfos → notifications/resources/shipper}/client/requests/index.js +0 -0
  476. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.d.ts +0 -0
  477. package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.js +0 -0
  478. package/dist/cjs/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.d.ts +0 -0
  479. package/dist/cjs/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.js +0 -0
  480. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +0 -0
  481. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js +0 -0
  482. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +0 -0
  483. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js +0 -0
  484. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/index.d.ts +0 -0
  485. package/dist/cjs/api/resources/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/requests/index.js +0 -0
  486. package/dist/cjs/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.d.ts +0 -0
  487. package/dist/cjs/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.js +0 -0
  488. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orders}/client/index.d.ts +0 -0
  489. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orders}/client/index.js +0 -0
  490. package/dist/cjs/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.d.ts +0 -0
  491. package/dist/cjs/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.js +0 -0
  492. package/dist/cjs/api/resources/{oortOrders → orders}/client/requests/index.d.ts +0 -0
  493. package/dist/cjs/api/resources/{oortShipperContactInfo → orders}/client/requests/index.js +0 -0
  494. package/dist/{esm/api/resources/mirror/client/index.mjs → cjs/api/resources/orders/resources/full/client/index.d.ts} +0 -0
  495. package/dist/cjs/api/resources/{oortTaskGroups/client/requests → orders/resources/full/client}/index.js +0 -0
  496. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.d.ts +0 -0
  497. package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.js +0 -0
  498. package/dist/{esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs → cjs/api/resources/orgConnectionInfos/client/index.d.ts} +0 -0
  499. package/dist/cjs/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.d.ts +0 -0
  500. package/dist/cjs/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.js +0 -0
  501. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.js +0 -0
  502. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.js +0 -0
  503. package/dist/cjs/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.d.ts +0 -0
  504. package/dist/cjs/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.js +0 -0
  505. package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.d.ts +0 -0
  506. package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.js +0 -0
  507. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.js +0 -0
  508. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.js +0 -0
  509. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.d.ts +0 -0
  510. package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.js +0 -0
  511. package/dist/cjs/api/resources/{oortTaskGroups → orgProfiles}/client/index.d.ts +0 -0
  512. package/dist/cjs/api/resources/{oortTaskGroups → orgProfiles}/client/index.js +0 -0
  513. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -0
  514. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.js +0 -0
  515. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.d.ts +0 -0
  516. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.js +0 -0
  517. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/index.d.ts +0 -0
  518. package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/index.js +0 -0
  519. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.ts +0 -0
  520. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.js +0 -0
  521. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/index.d.ts +0 -0
  522. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.d.ts +0 -0
  523. package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.js +0 -0
  524. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.ts +0 -0
  525. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.js +0 -0
  526. package/dist/{esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.mjs → cjs/api/resources/taskGroups/resources/full/client/index.d.ts} +0 -0
  527. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.d.ts +0 -0
  528. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.js +0 -0
  529. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.ts +0 -0
  530. package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.js +0 -0
  531. package/dist/esm/api/resources/{oortConnections/client/requests/index.mjs → connections/client/index.d.mts} +0 -0
  532. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests → connections/client}/index.mjs +0 -0
  533. package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/index.d.mts +0 -0
  534. package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/index.mjs +0 -0
  535. package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.d.mts +0 -0
  536. package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.mjs +0 -0
  537. package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/index.d.mts +0 -0
  538. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → connections/resources/connectionToCourier}/client/requests/index.mjs +0 -0
  539. package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/index.d.mts +0 -0
  540. package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/index.mjs +0 -0
  541. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.d.mts +0 -0
  542. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.mjs +0 -0
  543. package/dist/esm/api/resources/{directory/client/requests/DbQueryParams.mjs → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.mjs} +0 -0
  544. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.mjs} +0 -0
  545. package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverLineItemGroup}/client/requests/index.mjs +0 -0
  546. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.mts +0 -0
  547. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.mjs +0 -0
  548. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.mjs +0 -0
  549. package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.mjs +0 -0
  550. package/dist/esm/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.mts +0 -0
  551. package/dist/esm/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.mjs +0 -0
  552. package/dist/esm/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.mts +0 -0
  553. package/dist/esm/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.mjs +0 -0
  554. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.mjs +0 -0
  555. package/dist/esm/api/resources/{oortDrivers → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.mjs +0 -0
  556. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.mts +0 -0
  557. package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.mjs +0 -0
  558. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.d.mts +0 -0
  559. package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.mjs +0 -0
  560. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -0
  561. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.mjs +0 -0
  562. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/index.d.mts +0 -0
  563. package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → courierPayDriverPayouts}/client/requests/index.mjs +0 -0
  564. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.d.mts +0 -0
  565. package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.mjs +0 -0
  566. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.d.mts +0 -0
  567. package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.mjs +0 -0
  568. package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +0 -0
  569. package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.mjs +0 -0
  570. package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +0 -0
  571. package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs +0 -0
  572. package/dist/esm/api/resources/{oortMilestones → courierPayDriverRateSheets}/client/requests/index.mjs +0 -0
  573. package/dist/esm/api/resources/{oortConnections → courierPayDriverRateSheets}/index.d.mts +0 -0
  574. package/dist/esm/api/resources/{oortConnections → courierPayDriverRateSheets}/index.mjs +0 -0
  575. package/dist/esm/api/resources/{oortCourierPayDriverRate → drivers}/client/index.d.mts +0 -0
  576. package/dist/esm/api/resources/{oortCourierPayDriverRate → drivers}/client/index.mjs +0 -0
  577. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.d.mts +0 -0
  578. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.mjs +0 -0
  579. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.d.mts +0 -0
  580. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.mjs +0 -0
  581. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.d.mts +0 -0
  582. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.mjs +0 -0
  583. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.d.mts +0 -0
  584. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.mjs +0 -0
  585. package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/index.d.mts +1 -1
  586. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → drivers}/client/requests/index.mjs +0 -0
  587. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.d.mts +0 -0
  588. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.mjs +0 -0
  589. /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.d.mts +0 -0
  590. /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.mjs +0 -0
  591. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +0 -0
  592. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs +0 -0
  593. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/index.d.mts +0 -0
  594. /package/dist/esm/api/resources/{oortOrders → milestoneNotifications}/client/requests/index.mjs +0 -0
  595. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.d.mts +0 -0
  596. /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.mjs +0 -0
  597. /package/dist/esm/api/resources/{oortDrivers → milestones}/client/index.d.mts +0 -0
  598. /package/dist/esm/api/resources/{oortDrivers → milestones}/client/index.mjs +0 -0
  599. /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.d.mts +0 -0
  600. /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.mjs +0 -0
  601. /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.d.mts +0 -0
  602. /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.mjs +0 -0
  603. /package/dist/esm/api/resources/{oortOrgConnectionInfos → milestones}/client/requests/index.mjs +0 -0
  604. /package/dist/esm/api/resources/{oortOrgProfiles/client/requests/index.mjs → milestones/resources/blurhash/client/index.d.mts} +0 -0
  605. /package/dist/esm/api/resources/{oortShipperContactInfo/client/requests → milestones/resources/blurhash/client}/index.mjs +0 -0
  606. /package/dist/esm/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.d.mts +0 -0
  607. /package/dist/esm/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.mjs +0 -0
  608. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.d.mts +0 -0
  609. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.mjs +0 -0
  610. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs} +0 -0
  611. /package/dist/esm/api/resources/{oortTaskGroups → milestones/resources/images}/client/requests/index.mjs +0 -0
  612. /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.d.mts +0 -0
  613. /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.mjs +0 -0
  614. /package/dist/esm/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.d.mts +0 -0
  615. /package/dist/esm/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.mjs +0 -0
  616. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs} +0 -0
  617. /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/index.d.mts +0 -0
  618. /package/dist/esm/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.d.mts +0 -0
  619. /package/dist/esm/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.mjs +0 -0
  620. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.d.mts +0 -0
  621. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.mjs +0 -0
  622. /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs → notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.mjs} +0 -0
  623. /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/index.d.mts +0 -0
  624. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.d.mts +0 -0
  625. /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.mjs +0 -0
  626. /package/dist/esm/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.d.mts +0 -0
  627. /package/dist/esm/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.mjs +0 -0
  628. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +0 -0
  629. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs +0 -0
  630. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +0 -0
  631. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs +0 -0
  632. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/index.d.mts +0 -0
  633. /package/dist/esm/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.d.mts +0 -0
  634. /package/dist/esm/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.mjs +0 -0
  635. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orders}/client/index.d.mts +0 -0
  636. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orders}/client/index.mjs +0 -0
  637. /package/dist/esm/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.d.mts +0 -0
  638. /package/dist/esm/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.mjs +0 -0
  639. /package/dist/esm/api/resources/{oortOrders → orders}/client/requests/index.d.mts +0 -0
  640. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.d.mts +0 -0
  641. /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.mjs +0 -0
  642. /package/dist/esm/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.d.mts +0 -0
  643. /package/dist/esm/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.mjs +0 -0
  644. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.mjs +0 -0
  645. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs +0 -0
  646. /package/dist/esm/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.d.mts +0 -0
  647. /package/dist/esm/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.mjs +0 -0
  648. /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.d.mts +0 -0
  649. /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.mjs +0 -0
  650. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs +0 -0
  651. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs +0 -0
  652. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.d.mts +0 -0
  653. /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.mjs +0 -0
  654. /package/dist/esm/api/resources/{oortTaskGroups → orgProfiles}/client/index.d.mts +0 -0
  655. /package/dist/esm/api/resources/{oortTaskGroups → orgProfiles}/client/index.mjs +0 -0
  656. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.mts +0 -0
  657. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.mjs +0 -0
  658. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.d.mts +0 -0
  659. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.mjs +0 -0
  660. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/index.d.mts +0 -0
  661. /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/index.mjs +0 -0
  662. /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.mts +0 -0
  663. /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.mjs +0 -0
  664. /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/index.d.mts +0 -0
  665. /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.d.mts +0 -0
  666. /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.mjs +0 -0
  667. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.mts +0 -0
  668. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.mjs +0 -0
  669. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.d.mts +0 -0
  670. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.mjs +0 -0
  671. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.mts +0 -0
  672. /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.mjs +0 -0
@@ -15,28 +15,38 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
- export class OortCourierPayDriverLineItemGroups {
18
+ import { AddLineItems } from "../resources/addLineItems/client/Client.mjs";
19
+ import { RemoveLineItems } from "../resources/removeLineItems/client/Client.mjs";
20
+ export class CourierPayDriverLineItemGroup {
19
21
  constructor(_options = {}) {
20
22
  this._options = _options;
21
23
  }
24
+ get addLineItems() {
25
+ var _a;
26
+ return ((_a = this._addLineItems) !== null && _a !== void 0 ? _a : (this._addLineItems = new AddLineItems(this._options)));
27
+ }
28
+ get removeLineItems() {
29
+ var _a;
30
+ return ((_a = this._removeLineItems) !== null && _a !== void 0 ? _a : (this._removeLineItems = new RemoveLineItems(this._options)));
31
+ }
22
32
  /**
23
- * Calculate a courier pay driver line item group
33
+ * Previews calculated line items for a driver based on rate sheet and task group without creating the group.
24
34
  *
25
- * @param {Chrt.GetCalculateCourierPayDriverLineItemGroupRequest} request
26
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
35
+ * @param {Chrt.CourierPayDriverLineItemGroupPreviewRequest} request
36
+ * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
27
37
  *
28
38
  * @throws {@link Chrt.UnprocessableEntityError}
29
39
  *
30
40
  * @example
31
- * await client.oortCourierPayDriverLineItemGroups.getCalculateCourierPayDriverLineItemGroup({
41
+ * await client.courierPayDriverLineItemGroup.preview({
32
42
  * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
33
43
  * task_group_id: "task_group_id"
34
44
  * })
35
45
  */
36
- getCalculateCourierPayDriverLineItemGroup(request, requestOptions) {
37
- return core.HttpResponsePromise.fromPromise(this.__getCalculateCourierPayDriverLineItemGroup(request, requestOptions));
46
+ preview(request, requestOptions) {
47
+ return core.HttpResponsePromise.fromPromise(this.__preview(request, requestOptions));
38
48
  }
39
- __getCalculateCourierPayDriverLineItemGroup(request, requestOptions) {
49
+ __preview(request, requestOptions) {
40
50
  return __awaiter(this, void 0, void 0, function* () {
41
51
  var _a, _b, _c, _d;
42
52
  const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
@@ -56,7 +66,7 @@ export class OortCourierPayDriverLineItemGroups {
56
66
  _queryParams["after_hours"] = afterHours.toString();
57
67
  }
58
68
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
59
- 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_line_item_groups/calculate"),
69
+ 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_line_item_groups/preview"),
60
70
  method: "GET",
61
71
  headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
62
72
  queryParameters: _queryParams,
@@ -90,7 +100,7 @@ export class OortCourierPayDriverLineItemGroups {
90
100
  rawResponse: _response.rawResponse,
91
101
  });
92
102
  case "timeout":
93
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/calculate.");
103
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/preview.");
94
104
  case "unknown":
95
105
  throw new errors.ChrtError({
96
106
  message: _response.error.errorMessage,
@@ -100,32 +110,26 @@ export class OortCourierPayDriverLineItemGroups {
100
110
  });
101
111
  }
102
112
  /**
103
- * Get a courier pay driver line item group by ID
113
+ * Retrieves a courier driver line item group by its ID.
104
114
  *
105
- * @param {Chrt.GetCourierPayDriverLineItemGroupByIdRequest} request
106
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
115
+ * @param {string} id
116
+ * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
107
117
  *
108
118
  * @throws {@link Chrt.UnprocessableEntityError}
109
119
  *
110
120
  * @example
111
- * await client.oortCourierPayDriverLineItemGroups.getCourierPayDriverLineItemGroupById({
112
- * courier_pay_driver_line_item_group_id: "courier_pay_driver_line_item_group_id"
113
- * })
121
+ * await client.courierPayDriverLineItemGroup.getById("id")
114
122
  */
115
- getCourierPayDriverLineItemGroupById(request, requestOptions) {
116
- return core.HttpResponsePromise.fromPromise(this.__getCourierPayDriverLineItemGroupById(request, requestOptions));
123
+ getById(id, requestOptions) {
124
+ return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
117
125
  }
118
- __getCourierPayDriverLineItemGroupById(request, requestOptions) {
126
+ __getById(id, requestOptions) {
119
127
  return __awaiter(this, void 0, void 0, function* () {
120
128
  var _a, _b, _c, _d;
121
- const { courier_pay_driver_line_item_group_id: courierPayDriverLineItemGroupId } = request;
122
- const _queryParams = {};
123
- _queryParams["courier_pay_driver_line_item_group_id"] = courierPayDriverLineItemGroupId;
124
129
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
125
- 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_line_item_groups/by_id"),
130
+ 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_line_item_groups/${encodeURIComponent(id)}`),
126
131
  method: "GET",
127
132
  headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
- queryParameters: _queryParams,
129
133
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
130
134
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
131
135
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -153,7 +157,7 @@ export class OortCourierPayDriverLineItemGroups {
153
157
  rawResponse: _response.rawResponse,
154
158
  });
155
159
  case "timeout":
156
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/by_id.");
160
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/{id}.");
157
161
  case "unknown":
158
162
  throw new errors.ChrtError({
159
163
  message: _response.error.errorMessage,
@@ -163,32 +167,26 @@ export class OortCourierPayDriverLineItemGroups {
163
167
  });
164
168
  }
165
169
  /**
166
- * Get a courier pay driver line item group by task group ID
170
+ * Retrieves a courier driver line item group by its associated task group ID.
167
171
  *
168
- * @param {Chrt.GetCourierPayDriverLineItemGroupByTaskGroupIdRequest} request
169
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
172
+ * @param {string} taskGroupId
173
+ * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
170
174
  *
171
175
  * @throws {@link Chrt.UnprocessableEntityError}
172
176
  *
173
177
  * @example
174
- * await client.oortCourierPayDriverLineItemGroups.getCourierPayDriverLineItemGroupByTaskGroupId({
175
- * task_group_id: "task_group_id"
176
- * })
178
+ * await client.courierPayDriverLineItemGroup.byTaskGroupId("task_group_id")
177
179
  */
178
- getCourierPayDriverLineItemGroupByTaskGroupId(request, requestOptions) {
179
- return core.HttpResponsePromise.fromPromise(this.__getCourierPayDriverLineItemGroupByTaskGroupId(request, requestOptions));
180
+ byTaskGroupId(taskGroupId, requestOptions) {
181
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
180
182
  }
181
- __getCourierPayDriverLineItemGroupByTaskGroupId(request, requestOptions) {
183
+ __byTaskGroupId(taskGroupId, requestOptions) {
182
184
  return __awaiter(this, void 0, void 0, function* () {
183
185
  var _a, _b, _c, _d;
184
- const { task_group_id: taskGroupId } = request;
185
- const _queryParams = {};
186
- _queryParams["task_group_id"] = taskGroupId;
187
186
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
188
- 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_line_item_groups/by_task_group_id"),
187
+ 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_line_item_groups/by_task_group/${encodeURIComponent(taskGroupId)}`),
189
188
  method: "GET",
190
189
  headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
- queryParameters: _queryParams,
192
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
193
191
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
194
192
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -216,7 +214,7 @@ export class OortCourierPayDriverLineItemGroups {
216
214
  rawResponse: _response.rawResponse,
217
215
  });
218
216
  case "timeout":
219
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/by_task_group_id.");
217
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/by_task_group/{task_group_id}.");
220
218
  case "unknown":
221
219
  throw new errors.ChrtError({
222
220
  message: _response.error.errorMessage,
@@ -226,23 +224,23 @@ export class OortCourierPayDriverLineItemGroups {
226
224
  });
227
225
  }
228
226
  /**
229
- * Create a courier pay driver line item group by calculating line items from rate sheet and task group
227
+ * Creates a courier driver line item group by calculating items from rate sheet and task group.
230
228
  *
231
- * @param {Chrt.CreateCourierPayDriverLineItemGroupRequest} request
232
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
229
+ * @param {Chrt.CourierPayDriverLineItemGroupCreateRequest} request
230
+ * @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
233
231
  *
234
232
  * @throws {@link Chrt.UnprocessableEntityError}
235
233
  *
236
234
  * @example
237
- * await client.oortCourierPayDriverLineItemGroups.createCourierPayDriverLineItemGroup({
235
+ * await client.courierPayDriverLineItemGroup.create({
238
236
  * courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
239
237
  * task_group_id: "task_group_id"
240
238
  * })
241
239
  */
242
- createCourierPayDriverLineItemGroup(request, requestOptions) {
243
- return core.HttpResponsePromise.fromPromise(this.__createCourierPayDriverLineItemGroup(request, requestOptions));
240
+ create(request, requestOptions) {
241
+ return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
244
242
  }
245
- __createCourierPayDriverLineItemGroup(request, requestOptions) {
243
+ __create(request, requestOptions) {
246
244
  return __awaiter(this, void 0, void 0, function* () {
247
245
  var _a, _b, _c, _d;
248
246
  const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
@@ -302,142 +300,6 @@ export class OortCourierPayDriverLineItemGroups {
302
300
  }
303
301
  });
304
302
  }
305
- /**
306
- * Add line items to a courier pay driver line item group
307
- *
308
- * @param {string} courierPayDriverLineItemGroupId
309
- * @param {Chrt.AddLineItemsReq} request
310
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
311
- *
312
- * @throws {@link Chrt.UnprocessableEntityError}
313
- *
314
- * @example
315
- * await client.oortCourierPayDriverLineItemGroups.patchAddLineItems("courier_pay_driver_line_item_group_id", {
316
- * line_items: [{
317
- * created_at: "2024-01-15T09:30:00Z",
318
- * item: "base_rate",
319
- * quantity: 1.1,
320
- * rate: 1.1
321
- * }]
322
- * })
323
- */
324
- patchAddLineItems(courierPayDriverLineItemGroupId, request, requestOptions) {
325
- return core.HttpResponsePromise.fromPromise(this.__patchAddLineItems(courierPayDriverLineItemGroupId, request, requestOptions));
326
- }
327
- __patchAddLineItems(courierPayDriverLineItemGroupId, request, requestOptions) {
328
- return __awaiter(this, void 0, void 0, function* () {
329
- var _a, _b, _c, _d;
330
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
331
- 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_line_item_groups/${encodeURIComponent(courierPayDriverLineItemGroupId)}/add_line_items`),
332
- method: "PATCH",
333
- headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
- contentType: "application/json",
335
- requestType: "json",
336
- body: request,
337
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
338
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
339
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
340
- });
341
- if (_response.ok) {
342
- return { data: _response.body, rawResponse: _response.rawResponse };
343
- }
344
- if (_response.error.reason === "status-code") {
345
- switch (_response.error.statusCode) {
346
- case 422:
347
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
348
- default:
349
- throw new errors.ChrtError({
350
- statusCode: _response.error.statusCode,
351
- body: _response.error.body,
352
- rawResponse: _response.rawResponse,
353
- });
354
- }
355
- }
356
- switch (_response.error.reason) {
357
- case "non-json":
358
- throw new errors.ChrtError({
359
- statusCode: _response.error.statusCode,
360
- body: _response.error.rawBody,
361
- rawResponse: _response.rawResponse,
362
- });
363
- case "timeout":
364
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/courier_pay_driver_line_item_groups/{courier_pay_driver_line_item_group_id}/add_line_items.");
365
- case "unknown":
366
- throw new errors.ChrtError({
367
- message: _response.error.errorMessage,
368
- rawResponse: _response.rawResponse,
369
- });
370
- }
371
- });
372
- }
373
- /**
374
- * Remove line items from a courier pay driver line item group by exact match
375
- *
376
- * @param {string} courierPayDriverLineItemGroupId
377
- * @param {Chrt.RemoveLineItemsReq} request
378
- * @param {OortCourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
379
- *
380
- * @throws {@link Chrt.UnprocessableEntityError}
381
- *
382
- * @example
383
- * await client.oortCourierPayDriverLineItemGroups.patchRemoveLineItems("courier_pay_driver_line_item_group_id", {
384
- * line_items: [{
385
- * created_at: "2024-01-15T09:30:00Z",
386
- * item: "base_rate",
387
- * quantity: 1.1,
388
- * rate: 1.1
389
- * }]
390
- * })
391
- */
392
- patchRemoveLineItems(courierPayDriverLineItemGroupId, request, requestOptions) {
393
- return core.HttpResponsePromise.fromPromise(this.__patchRemoveLineItems(courierPayDriverLineItemGroupId, request, requestOptions));
394
- }
395
- __patchRemoveLineItems(courierPayDriverLineItemGroupId, request, requestOptions) {
396
- return __awaiter(this, void 0, void 0, function* () {
397
- var _a, _b, _c, _d;
398
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
399
- 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_line_item_groups/${encodeURIComponent(courierPayDriverLineItemGroupId)}/remove_line_items`),
400
- method: "PATCH",
401
- headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
- contentType: "application/json",
403
- requestType: "json",
404
- body: request,
405
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
406
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
407
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
408
- });
409
- if (_response.ok) {
410
- return { data: _response.body, rawResponse: _response.rawResponse };
411
- }
412
- if (_response.error.reason === "status-code") {
413
- switch (_response.error.statusCode) {
414
- case 422:
415
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
416
- default:
417
- throw new errors.ChrtError({
418
- statusCode: _response.error.statusCode,
419
- body: _response.error.body,
420
- rawResponse: _response.rawResponse,
421
- });
422
- }
423
- }
424
- switch (_response.error.reason) {
425
- case "non-json":
426
- throw new errors.ChrtError({
427
- statusCode: _response.error.statusCode,
428
- body: _response.error.rawBody,
429
- rawResponse: _response.rawResponse,
430
- });
431
- case "timeout":
432
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/courier_pay_driver_line_item_groups/{courier_pay_driver_line_item_group_id}/remove_line_items.");
433
- case "unknown":
434
- throw new errors.ChrtError({
435
- message: _response.error.errorMessage,
436
- rawResponse: _response.rawResponse,
437
- });
438
- }
439
- });
440
- }
441
303
  _getAuthorizationHeader() {
442
304
  return __awaiter(this, void 0, void 0, function* () {
443
305
  const bearer = yield core.Supplier.get(this._options.token);
@@ -8,7 +8,7 @@
8
8
  * task_group_id: "task_group_id"
9
9
  * }
10
10
  */
11
- export interface CreateCourierPayDriverLineItemGroupRequest {
11
+ export interface CourierPayDriverLineItemGroupCreateRequest {
12
12
  courier_pay_driver_rate_sheet_id: string;
13
13
  task_group_id: string;
14
14
  dangerous_goods?: boolean;
@@ -8,7 +8,7 @@
8
8
  * task_group_id: "task_group_id"
9
9
  * }
10
10
  */
11
- export interface GetCalculateCourierPayDriverLineItemGroupRequest {
11
+ export interface CourierPayDriverLineItemGroupPreviewRequest {
12
12
  courier_pay_driver_rate_sheet_id: string;
13
13
  task_group_id: string;
14
14
  dangerous_goods?: boolean;
@@ -0,0 +1,2 @@
1
+ export { type CourierPayDriverLineItemGroupPreviewRequest } from "./CourierPayDriverLineItemGroupPreviewRequest.mjs";
2
+ export { type CourierPayDriverLineItemGroupCreateRequest } from "./CourierPayDriverLineItemGroupCreateRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,53 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace AddLineItems {
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 AddLineItems {
29
+ protected readonly _options: AddLineItems.Options;
30
+ constructor(_options?: AddLineItems.Options);
31
+ /**
32
+ * Adds additional line items to an existing courier driver line item group.
33
+ *
34
+ * @param {string} id
35
+ * @param {Chrt.courierPayDriverLineItemGroup.AddLineItemsReq} request
36
+ * @param {AddLineItems.RequestOptions} requestOptions - Request-specific configuration.
37
+ *
38
+ * @throws {@link Chrt.UnprocessableEntityError}
39
+ *
40
+ * @example
41
+ * await client.courierPayDriverLineItemGroup.addLineItems.byId("id", {
42
+ * line_items: [{
43
+ * created_at: "2024-01-15T09:30:00Z",
44
+ * item: "base_rate",
45
+ * quantity: 1.1,
46
+ * rate: 1.1
47
+ * }]
48
+ * })
49
+ */
50
+ byId(id: string, request: Chrt.courierPayDriverLineItemGroup.AddLineItemsReq, requestOptions?: AddLineItems.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
51
+ private __byId;
52
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
53
+ }
@@ -0,0 +1,99 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../errors/index.mjs";
18
+ export class AddLineItems {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * Adds additional line items to an existing courier driver line item group.
24
+ *
25
+ * @param {string} id
26
+ * @param {Chrt.courierPayDriverLineItemGroup.AddLineItemsReq} request
27
+ * @param {AddLineItems.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @throws {@link Chrt.UnprocessableEntityError}
30
+ *
31
+ * @example
32
+ * await client.courierPayDriverLineItemGroup.addLineItems.byId("id", {
33
+ * line_items: [{
34
+ * created_at: "2024-01-15T09:30:00Z",
35
+ * item: "base_rate",
36
+ * quantity: 1.1,
37
+ * rate: 1.1
38
+ * }]
39
+ * })
40
+ */
41
+ byId(id, request, requestOptions) {
42
+ return core.HttpResponsePromise.fromPromise(this.__byId(id, request, requestOptions));
43
+ }
44
+ __byId(id, request, requestOptions) {
45
+ return __awaiter(this, void 0, void 0, function* () {
46
+ var _a, _b, _c, _d;
47
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
48
+ 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_line_item_groups/add_line_items/${encodeURIComponent(id)}`),
49
+ method: "PATCH",
50
+ headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
51
+ contentType: "application/json",
52
+ requestType: "json",
53
+ body: request,
54
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
55
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
56
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
57
+ });
58
+ if (_response.ok) {
59
+ return { data: _response.body, rawResponse: _response.rawResponse };
60
+ }
61
+ if (_response.error.reason === "status-code") {
62
+ switch (_response.error.statusCode) {
63
+ case 422:
64
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
65
+ default:
66
+ throw new errors.ChrtError({
67
+ statusCode: _response.error.statusCode,
68
+ body: _response.error.body,
69
+ rawResponse: _response.rawResponse,
70
+ });
71
+ }
72
+ }
73
+ switch (_response.error.reason) {
74
+ case "non-json":
75
+ throw new errors.ChrtError({
76
+ statusCode: _response.error.statusCode,
77
+ body: _response.error.rawBody,
78
+ rawResponse: _response.rawResponse,
79
+ });
80
+ case "timeout":
81
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/courier_pay_driver_line_item_groups/add_line_items/{id}.");
82
+ case "unknown":
83
+ throw new errors.ChrtError({
84
+ message: _response.error.errorMessage,
85
+ rawResponse: _response.rawResponse,
86
+ });
87
+ }
88
+ });
89
+ }
90
+ _getAuthorizationHeader() {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ const bearer = yield core.Supplier.get(this._options.token);
93
+ if (bearer != null) {
94
+ return `Bearer ${bearer}`;
95
+ }
96
+ return undefined;
97
+ });
98
+ }
99
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../index.mjs";
4
+ import * as Chrt from "../../../../../../index.mjs";
5
5
  /**
6
6
  * @example
7
7
  * {
@@ -0,0 +1 @@
1
+ export { type AddLineItemsReq } from "./AddLineItemsReq.mjs";
@@ -0,0 +1,4 @@
1
+ export * as addLineItems from "./addLineItems/index.mjs";
2
+ export * as removeLineItems from "./removeLineItems/index.mjs";
3
+ export * from "./addLineItems/client/requests/index.mjs";
4
+ export * from "./removeLineItems/client/requests/index.mjs";
@@ -0,0 +1,4 @@
1
+ export * as addLineItems from "./addLineItems/index.mjs";
2
+ export * as removeLineItems from "./removeLineItems/index.mjs";
3
+ export * from "./addLineItems/client/requests/index.mjs";
4
+ export * from "./removeLineItems/client/requests/index.mjs";
@@ -0,0 +1,53 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace RemoveLineItems {
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 RemoveLineItems {
29
+ protected readonly _options: RemoveLineItems.Options;
30
+ constructor(_options?: RemoveLineItems.Options);
31
+ /**
32
+ * Removes specific line items from a courier driver line item group by exact match.
33
+ *
34
+ * @param {string} id
35
+ * @param {Chrt.courierPayDriverLineItemGroup.RemoveLineItemsReq} request
36
+ * @param {RemoveLineItems.RequestOptions} requestOptions - Request-specific configuration.
37
+ *
38
+ * @throws {@link Chrt.UnprocessableEntityError}
39
+ *
40
+ * @example
41
+ * await client.courierPayDriverLineItemGroup.removeLineItems.byId("id", {
42
+ * line_items: [{
43
+ * created_at: "2024-01-15T09:30:00Z",
44
+ * item: "base_rate",
45
+ * quantity: 1.1,
46
+ * rate: 1.1
47
+ * }]
48
+ * })
49
+ */
50
+ byId(id: string, request: Chrt.courierPayDriverLineItemGroup.RemoveLineItemsReq, requestOptions?: RemoveLineItems.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
51
+ private __byId;
52
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
53
+ }