@chrt-inc/typescript-sdk 1.282.0 → 1.288.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/README.md +29 -29
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/connections/client/Client.d.ts +6 -6
  4. package/dist/cjs/api/resources/connections/client/Client.js +12 -12
  5. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +4 -4
  6. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.d.ts +12 -12
  8. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.js +24 -24
  9. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.ts +3 -3
  10. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.js +6 -6
  11. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.ts +4 -4
  12. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.js +7 -7
  13. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +14 -14
  14. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +26 -26
  15. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +18 -18
  16. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +36 -36
  17. package/dist/cjs/api/resources/dev/client/Client.d.ts +34 -27
  18. package/dist/cjs/api/resources/dev/client/Client.js +96 -50
  19. package/dist/cjs/api/resources/dev/index.d.ts +0 -1
  20. package/dist/cjs/api/resources/dev/index.js +0 -1
  21. package/dist/cjs/api/resources/drivers/client/Client.d.ts +30 -30
  22. package/dist/cjs/api/resources/drivers/client/Client.js +60 -60
  23. package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +6 -6
  24. package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +12 -12
  25. package/dist/cjs/api/resources/milestones/client/Client.d.ts +6 -6
  26. package/dist/cjs/api/resources/milestones/client/Client.js +12 -12
  27. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +3 -3
  28. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +6 -6
  29. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +9 -9
  30. package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +18 -18
  31. package/dist/cjs/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.ts} +1 -1
  32. package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +1 -1
  33. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +6 -6
  34. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +12 -12
  35. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +6 -6
  36. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +12 -12
  37. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +15 -15
  38. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.js +30 -30
  39. package/dist/cjs/api/resources/orders/client/Client.d.ts +15 -15
  40. package/dist/cjs/api/resources/orders/client/Client.js +30 -30
  41. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +9 -9
  42. package/dist/cjs/api/resources/orders/resources/full/client/Client.js +18 -18
  43. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +9 -9
  44. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +18 -18
  45. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +9 -9
  46. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +18 -18
  47. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +20 -20
  48. package/dist/cjs/api/resources/orgProfiles/client/Client.js +35 -35
  49. package/dist/cjs/api/resources/orgs/client/Client.d.ts +24 -24
  50. package/dist/cjs/api/resources/orgs/client/Client.js +48 -48
  51. package/dist/cjs/api/resources/payments/client/Client.d.ts +19 -19
  52. package/dist/cjs/api/resources/payments/client/Client.js +34 -34
  53. package/dist/cjs/api/resources/root/client/Client.d.ts +2 -2
  54. package/dist/cjs/api/resources/root/client/Client.js +2 -2
  55. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +27 -27
  56. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +54 -54
  57. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +16 -16
  58. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +31 -31
  59. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.ts +3 -3
  60. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.js +6 -6
  61. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +3 -3
  62. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +6 -6
  63. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.ts +4 -4
  64. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.js +7 -7
  65. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +9 -9
  66. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +18 -18
  67. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +28 -28
  68. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +49 -49
  69. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +15 -15
  70. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +30 -30
  71. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +19 -19
  72. package/dist/cjs/api/resources/taskGroups/client/Client.js +37 -37
  73. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +6 -6
  74. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +12 -12
  75. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +3 -3
  76. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +6 -6
  77. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +5 -5
  78. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +8 -8
  79. package/dist/{esm/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.d.mts → cjs/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.d.ts} +1 -1
  80. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.ts +1 -1
  81. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +5 -5
  82. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +8 -8
  83. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.d.ts → CargoByDriverLastSeenV1Request.d.ts} +1 -1
  84. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.ts +1 -1
  85. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +32 -32
  86. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +53 -53
  87. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.d.ts → DevicesDeleteV1Request.d.ts} +1 -1
  88. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.d.ts → DevicesGetV1Request.d.ts} +1 -1
  89. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.d.ts → DevicesLinkToCargoV1Request.d.ts} +1 -1
  90. package/dist/{esm/api/resources/tracking/resources/devices/client/requests/DevicesUnlinkFromCargoRequest.d.mts → cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnlinkFromCargoV1Request.d.ts} +1 -1
  91. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +4 -4
  92. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +4 -4
  93. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +7 -7
  94. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +66 -66
  95. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +108 -108
  96. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.d.ts → SessionByDeviceDataPointsPublicV1Request.d.ts} +1 -1
  97. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.d.ts → SessionByDeviceDataPointsV1Request.d.ts} +1 -1
  98. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.d.ts → SessionByDeviceDeleteV1Request.d.ts} +1 -1
  99. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.d.ts → SessionByDeviceGetV1Request.d.ts} +1 -1
  100. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.d.ts → SessionByDeviceLastSeenPublicV1Request.d.ts} +1 -1
  101. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.d.ts +12 -0
  102. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.ts +12 -0
  103. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.ts +12 -0
  104. package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDeleteRequest.d.mts → cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.ts} +1 -1
  105. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.ts +12 -0
  106. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +10 -10
  107. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +5 -5
  108. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +8 -8
  109. package/dist/{esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenRequest.d.mts → cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.d.ts} +1 -1
  110. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.ts +1 -1
  111. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
  112. package/dist/cjs/api/resources/users/client/Client.js +7 -7
  113. package/dist/cjs/api/resources/utils/client/Client.d.ts +4 -4
  114. package/dist/cjs/api/resources/utils/client/Client.js +7 -7
  115. package/dist/cjs/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.d.ts → UtilsGetTimezoneV1Request.d.ts} +1 -1
  116. package/dist/cjs/api/resources/utils/client/requests/index.d.ts +1 -1
  117. package/dist/cjs/api/types/CreateConnectAccountRes.d.ts +6 -0
  118. package/dist/cjs/api/types/CreateConnectAccountRes.js +5 -0
  119. package/dist/cjs/api/types/TrackingCargoByDeviceDataPointMetadata1.d.ts +1 -0
  120. package/dist/cjs/api/types/TrackingCargoByDriverDataPointMetadata1.d.ts +1 -0
  121. package/dist/cjs/api/types/TrackingSessionByDeviceDataPointMetadata1.d.ts +1 -0
  122. package/dist/cjs/api/types/TrackingTaskGroupByDriverDataPointMetadata1.d.ts +1 -0
  123. package/dist/cjs/api/types/TrackingWebhookResponse.d.ts +7 -0
  124. package/dist/cjs/api/types/TrackingWebhookResponse.js +5 -0
  125. package/dist/cjs/api/types/index.d.ts +2 -0
  126. package/dist/cjs/api/types/index.js +2 -0
  127. package/dist/cjs/version.d.ts +1 -1
  128. package/dist/cjs/version.js +1 -1
  129. package/dist/esm/Client.mjs +2 -2
  130. package/dist/esm/api/resources/connections/client/Client.d.mts +6 -6
  131. package/dist/esm/api/resources/connections/client/Client.mjs +12 -12
  132. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +4 -4
  133. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +7 -7
  134. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +12 -12
  135. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +24 -24
  136. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  137. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  138. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  139. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  140. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +14 -14
  141. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +26 -26
  142. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +18 -18
  143. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +36 -36
  144. package/dist/esm/api/resources/dev/client/Client.d.mts +34 -27
  145. package/dist/esm/api/resources/dev/client/Client.mjs +96 -50
  146. package/dist/esm/api/resources/dev/index.d.mts +0 -1
  147. package/dist/esm/api/resources/dev/index.mjs +0 -1
  148. package/dist/esm/api/resources/drivers/client/Client.d.mts +30 -30
  149. package/dist/esm/api/resources/drivers/client/Client.mjs +60 -60
  150. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +6 -6
  151. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +12 -12
  152. package/dist/esm/api/resources/milestones/client/Client.d.mts +6 -6
  153. package/dist/esm/api/resources/milestones/client/Client.mjs +12 -12
  154. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +3 -3
  155. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +6 -6
  156. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +9 -9
  157. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +18 -18
  158. package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts} +1 -1
  159. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +1 -1
  160. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +6 -6
  161. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +12 -12
  162. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +6 -6
  163. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +12 -12
  164. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +15 -15
  165. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.mjs +30 -30
  166. package/dist/esm/api/resources/orders/client/Client.d.mts +15 -15
  167. package/dist/esm/api/resources/orders/client/Client.mjs +30 -30
  168. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +9 -9
  169. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +18 -18
  170. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +9 -9
  171. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +18 -18
  172. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +9 -9
  173. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +18 -18
  174. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +20 -20
  175. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +35 -35
  176. package/dist/esm/api/resources/orgs/client/Client.d.mts +24 -24
  177. package/dist/esm/api/resources/orgs/client/Client.mjs +48 -48
  178. package/dist/esm/api/resources/payments/client/Client.d.mts +19 -19
  179. package/dist/esm/api/resources/payments/client/Client.mjs +34 -34
  180. package/dist/esm/api/resources/root/client/Client.d.mts +2 -2
  181. package/dist/esm/api/resources/root/client/Client.mjs +2 -2
  182. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +27 -27
  183. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +54 -54
  184. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +16 -16
  185. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +31 -31
  186. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  187. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  188. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +3 -3
  189. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +6 -6
  190. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  191. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  192. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +9 -9
  193. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +18 -18
  194. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +28 -28
  195. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +49 -49
  196. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +15 -15
  197. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +30 -30
  198. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +19 -19
  199. package/dist/esm/api/resources/taskGroups/client/Client.mjs +37 -37
  200. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +6 -6
  201. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +12 -12
  202. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +3 -3
  203. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +6 -6
  204. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +5 -5
  205. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +8 -8
  206. package/dist/{cjs/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.d.ts → esm/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.d.mts} +1 -1
  207. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +1 -1
  208. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +5 -5
  209. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +8 -8
  210. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.d.mts → CargoByDriverLastSeenV1Request.d.mts} +1 -1
  211. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +1 -1
  212. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +32 -32
  213. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +53 -53
  214. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.d.mts → DevicesDeleteV1Request.d.mts} +1 -1
  215. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.d.mts → DevicesGetV1Request.d.mts} +1 -1
  216. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.d.mts → DevicesLinkToCargoV1Request.d.mts} +1 -1
  217. package/dist/{cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnlinkFromCargoRequest.d.ts → esm/api/resources/tracking/resources/devices/client/requests/DevicesUnlinkFromCargoV1Request.d.mts} +1 -1
  218. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +4 -4
  219. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +4 -4
  220. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +7 -7
  221. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +66 -66
  222. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +108 -108
  223. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.d.mts → SessionByDeviceDataPointsPublicV1Request.d.mts} +1 -1
  224. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.d.mts → SessionByDeviceDataPointsV1Request.d.mts} +1 -1
  225. package/dist/{cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDeleteRequest.d.ts → esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.d.mts} +1 -1
  226. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.d.mts → SessionByDeviceGetV1Request.d.mts} +1 -1
  227. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.d.mts +12 -0
  228. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.d.mts +12 -0
  229. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.mts +12 -0
  230. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.mts +12 -0
  231. package/dist/{cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.d.ts → esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.mts} +1 -1
  232. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.mts +12 -0
  233. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +10 -10
  234. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +5 -5
  235. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +8 -8
  236. package/dist/{cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenRequest.d.ts → esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.d.mts} +1 -1
  237. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +1 -1
  238. package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
  239. package/dist/esm/api/resources/users/client/Client.mjs +7 -7
  240. package/dist/esm/api/resources/utils/client/Client.d.mts +4 -4
  241. package/dist/esm/api/resources/utils/client/Client.mjs +7 -7
  242. package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.d.mts → UtilsGetTimezoneV1Request.d.mts} +1 -1
  243. package/dist/esm/api/resources/utils/client/requests/index.d.mts +1 -1
  244. package/dist/esm/api/types/CreateConnectAccountRes.d.mts +6 -0
  245. package/dist/esm/api/types/CreateConnectAccountRes.mjs +4 -0
  246. package/dist/esm/api/types/TrackingCargoByDeviceDataPointMetadata1.d.mts +1 -0
  247. package/dist/esm/api/types/TrackingCargoByDriverDataPointMetadata1.d.mts +1 -0
  248. package/dist/esm/api/types/TrackingSessionByDeviceDataPointMetadata1.d.mts +1 -0
  249. package/dist/esm/api/types/TrackingTaskGroupByDriverDataPointMetadata1.d.mts +1 -0
  250. package/dist/esm/api/types/TrackingWebhookResponse.d.mts +7 -0
  251. package/dist/esm/api/types/TrackingWebhookResponse.mjs +4 -0
  252. package/dist/esm/api/types/index.d.mts +2 -0
  253. package/dist/esm/api/types/index.mjs +2 -0
  254. package/dist/esm/version.d.mts +1 -1
  255. package/dist/esm/version.mjs +1 -1
  256. package/package.json +1 -1
  257. package/reference.md +434 -436
  258. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.d.ts +0 -43
  259. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.js +0 -118
  260. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.d.ts +0 -1
  261. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.js +0 -2
  262. package/dist/cjs/api/resources/dev/resources/getUserId/index.d.ts +0 -1
  263. package/dist/cjs/api/resources/dev/resources/getUserId/index.js +0 -17
  264. package/dist/cjs/api/resources/dev/resources/index.d.ts +0 -1
  265. package/dist/cjs/api/resources/dev/resources/index.js +0 -37
  266. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.ts +0 -12
  267. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.ts +0 -12
  268. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.ts +0 -12
  269. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.d.mts +0 -43
  270. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.mjs +0 -81
  271. package/dist/esm/api/resources/dev/resources/getUserId/client/index.d.mts +0 -1
  272. package/dist/esm/api/resources/dev/resources/getUserId/client/index.mjs +0 -1
  273. package/dist/esm/api/resources/dev/resources/getUserId/index.d.mts +0 -1
  274. package/dist/esm/api/resources/dev/resources/getUserId/index.mjs +0 -1
  275. package/dist/esm/api/resources/dev/resources/index.d.mts +0 -1
  276. package/dist/esm/api/resources/dev/resources/index.mjs +0 -1
  277. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.d.mts +0 -12
  278. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenRequest.d.mts +0 -12
  279. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.mts +0 -12
  280. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.mts +0 -12
  281. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.d.mts +0 -12
  282. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.mts +0 -12
  283. /package/dist/cjs/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js} +0 -0
  284. /package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.js → CargoByDeviceLastSeenV1Request.js} +0 -0
  285. /package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.js → CargoByDriverLastSeenV1Request.js} +0 -0
  286. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.js → DevicesDeleteV1Request.js} +0 -0
  287. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.js → DevicesGetV1Request.js} +0 -0
  288. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.js → DevicesLinkToCargoV1Request.js} +0 -0
  289. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.js → DevicesUnlinkFromCargoV1Request.js} +0 -0
  290. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.js → SessionByDeviceDataPointsPublicV1Request.js} +0 -0
  291. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.js → SessionByDeviceDataPointsV1Request.js} +0 -0
  292. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.js → SessionByDeviceDeleteV1Request.js} +0 -0
  293. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.js → SessionByDeviceGetV1Request.js} +0 -0
  294. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.js → SessionByDeviceLastSeenPublicV1Request.js} +0 -0
  295. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.js → SessionByDeviceLastSeenV1Request.js} +0 -0
  296. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.js → SessionByDevicePauseRecordingV1Request.js} +0 -0
  297. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.js → SessionByDeviceResumeRecordingV1Request.js} +0 -0
  298. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.js → SessionByDeviceStartV1Request.js} +0 -0
  299. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.js → SessionByDeviceTerminateV1Request.js} +0 -0
  300. /package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.js → TaskGroupByDriverLastSeenV1Request.js} +0 -0
  301. /package/dist/cjs/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.js → UtilsGetTimezoneV1Request.js} +0 -0
  302. /package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs} +0 -0
  303. /package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.mjs → CargoByDeviceLastSeenV1Request.mjs} +0 -0
  304. /package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.mjs → CargoByDriverLastSeenV1Request.mjs} +0 -0
  305. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.mjs → DevicesDeleteV1Request.mjs} +0 -0
  306. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.mjs → DevicesGetV1Request.mjs} +0 -0
  307. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.mjs → DevicesLinkToCargoV1Request.mjs} +0 -0
  308. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.mjs → DevicesUnlinkFromCargoV1Request.mjs} +0 -0
  309. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.mjs → SessionByDeviceDataPointsPublicV1Request.mjs} +0 -0
  310. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.mjs → SessionByDeviceDataPointsV1Request.mjs} +0 -0
  311. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.mjs → SessionByDeviceDeleteV1Request.mjs} +0 -0
  312. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.mjs → SessionByDeviceGetV1Request.mjs} +0 -0
  313. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.mjs → SessionByDeviceLastSeenPublicV1Request.mjs} +0 -0
  314. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.mjs → SessionByDeviceLastSeenV1Request.mjs} +0 -0
  315. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.mjs → SessionByDevicePauseRecordingV1Request.mjs} +0 -0
  316. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.mjs → SessionByDeviceResumeRecordingV1Request.mjs} +0 -0
  317. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.mjs → SessionByDeviceStartV1Request.mjs} +0 -0
  318. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.mjs → SessionByDeviceTerminateV1Request.mjs} +0 -0
  319. /package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.mjs → TaskGroupByDriverLastSeenV1Request.mjs} +0 -0
  320. /package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.mjs → UtilsGetTimezoneV1Request.mjs} +0 -0
@@ -84,17 +84,17 @@ class ShipperPayCourierLineItemGroups {
84
84
  * @throws {@link Chrt.UnprocessableEntityError}
85
85
  *
86
86
  * @example
87
- * await client.shipperPayCourierLineItemGroups.getById("id")
87
+ * await client.shipperPayCourierLineItemGroups.getByIdV1("id")
88
88
  */
89
- getById(id, requestOptions) {
90
- return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
89
+ getByIdV1(id, requestOptions) {
90
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
91
91
  }
92
- __getById(id, requestOptions) {
92
+ __getByIdV1(id, requestOptions) {
93
93
  return __awaiter(this, void 0, void 0, function* () {
94
94
  var _a, _b, _c, _d;
95
95
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
96
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
97
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
97
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/v1/${encodeURIComponent(id)}`),
98
98
  method: "GET",
99
99
  headers: _headers,
100
100
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -125,7 +125,7 @@ class ShipperPayCourierLineItemGroups {
125
125
  rawResponse: _response.rawResponse,
126
126
  });
127
127
  case "timeout":
128
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/{id}.");
128
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/v1/{id}.");
129
129
  case "unknown":
130
130
  throw new errors.ChrtError({
131
131
  message: _response.error.errorMessage,
@@ -135,7 +135,7 @@ class ShipperPayCourierLineItemGroups {
135
135
  });
136
136
  }
137
137
  /**
138
- * Deletes a shipper pay courier line item group by its ID.
138
+ * Deletes a shipper pay courier line item group by its ID if not referenced by any payment.
139
139
  *
140
140
  * @param {string} id
141
141
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -143,17 +143,17 @@ class ShipperPayCourierLineItemGroups {
143
143
  * @throws {@link Chrt.UnprocessableEntityError}
144
144
  *
145
145
  * @example
146
- * await client.shipperPayCourierLineItemGroups.deleteById("id")
146
+ * await client.shipperPayCourierLineItemGroups.deleteByIdV1("id")
147
147
  */
148
- deleteById(id, requestOptions) {
149
- return core.HttpResponsePromise.fromPromise(this.__deleteById(id, requestOptions));
148
+ deleteByIdV1(id, requestOptions) {
149
+ return core.HttpResponsePromise.fromPromise(this.__deleteByIdV1(id, requestOptions));
150
150
  }
151
- __deleteById(id, requestOptions) {
151
+ __deleteByIdV1(id, requestOptions) {
152
152
  return __awaiter(this, void 0, void 0, function* () {
153
153
  var _a, _b, _c, _d;
154
154
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
155
155
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
156
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
156
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/v1/${encodeURIComponent(id)}`),
157
157
  method: "DELETE",
158
158
  headers: _headers,
159
159
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -184,7 +184,7 @@ class ShipperPayCourierLineItemGroups {
184
184
  rawResponse: _response.rawResponse,
185
185
  });
186
186
  case "timeout":
187
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_pay_courier_line_item_groups/{id}.");
187
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_pay_courier_line_item_groups/v1/{id}.");
188
188
  case "unknown":
189
189
  throw new errors.ChrtError({
190
190
  message: _response.error.errorMessage,
@@ -202,17 +202,17 @@ class ShipperPayCourierLineItemGroups {
202
202
  * @throws {@link Chrt.UnprocessableEntityError}
203
203
  *
204
204
  * @example
205
- * await client.shipperPayCourierLineItemGroups.byTaskGroupId("task_group_id")
205
+ * await client.shipperPayCourierLineItemGroups.byTaskGroupIdV1("task_group_id")
206
206
  */
207
- byTaskGroupId(taskGroupId, requestOptions) {
208
- return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
207
+ byTaskGroupIdV1(taskGroupId, requestOptions) {
208
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupIdV1(taskGroupId, requestOptions));
209
209
  }
210
- __byTaskGroupId(taskGroupId, requestOptions) {
210
+ __byTaskGroupIdV1(taskGroupId, requestOptions) {
211
211
  return __awaiter(this, void 0, void 0, function* () {
212
212
  var _a, _b, _c, _d;
213
213
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
214
214
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
215
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/by_task_group/${encodeURIComponent(taskGroupId)}`),
215
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/by_task_group/v1/${encodeURIComponent(taskGroupId)}`),
216
216
  method: "GET",
217
217
  headers: _headers,
218
218
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -243,7 +243,7 @@ class ShipperPayCourierLineItemGroups {
243
243
  rawResponse: _response.rawResponse,
244
244
  });
245
245
  case "timeout":
246
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/by_task_group/{task_group_id}.");
246
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/by_task_group/v1/{task_group_id}.");
247
247
  case "unknown":
248
248
  throw new errors.ChrtError({
249
249
  message: _response.error.errorMessage,
@@ -261,20 +261,20 @@ class ShipperPayCourierLineItemGroups {
261
261
  * @throws {@link Chrt.UnprocessableEntityError}
262
262
  *
263
263
  * @example
264
- * await client.shipperPayCourierLineItemGroups.preview({
264
+ * await client.shipperPayCourierLineItemGroups.previewV1({
265
265
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
266
266
  * task_group_id: "task_group_id"
267
267
  * })
268
268
  */
269
- preview(request, requestOptions) {
270
- return core.HttpResponsePromise.fromPromise(this.__preview(request, requestOptions));
269
+ previewV1(request, requestOptions) {
270
+ return core.HttpResponsePromise.fromPromise(this.__previewV1(request, requestOptions));
271
271
  }
272
- __preview(request, requestOptions) {
272
+ __previewV1(request, requestOptions) {
273
273
  return __awaiter(this, void 0, void 0, function* () {
274
274
  var _a, _b, _c, _d;
275
275
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
276
276
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
277
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/preview"),
277
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/preview/v1"),
278
278
  method: "POST",
279
279
  headers: _headers,
280
280
  contentType: "application/json",
@@ -311,7 +311,7 @@ class ShipperPayCourierLineItemGroups {
311
311
  rawResponse: _response.rawResponse,
312
312
  });
313
313
  case "timeout":
314
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/preview.");
314
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/preview/v1.");
315
315
  case "unknown":
316
316
  throw new errors.ChrtError({
317
317
  message: _response.error.errorMessage,
@@ -329,20 +329,20 @@ class ShipperPayCourierLineItemGroups {
329
329
  * @throws {@link Chrt.UnprocessableEntityError}
330
330
  *
331
331
  * @example
332
- * await client.shipperPayCourierLineItemGroups.create({
332
+ * await client.shipperPayCourierLineItemGroups.createV1({
333
333
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
334
334
  * task_group_id: "task_group_id"
335
335
  * })
336
336
  */
337
- create(request, requestOptions) {
338
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
337
+ createV1(request, requestOptions) {
338
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
339
339
  }
340
- __create(request, requestOptions) {
340
+ __createV1(request, requestOptions) {
341
341
  return __awaiter(this, void 0, void 0, function* () {
342
342
  var _a, _b, _c, _d;
343
343
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
344
344
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
345
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/create"),
345
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/create/v1"),
346
346
  method: "POST",
347
347
  headers: _headers,
348
348
  contentType: "application/json",
@@ -376,7 +376,7 @@ class ShipperPayCourierLineItemGroups {
376
376
  rawResponse: _response.rawResponse,
377
377
  });
378
378
  case "timeout":
379
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/create.");
379
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/create/v1.");
380
380
  case "unknown":
381
381
  throw new errors.ChrtError({
382
382
  message: _response.error.errorMessage,
@@ -40,7 +40,7 @@ export declare class AddLineItems {
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shipperPayCourierLineItemGroups.addLineItems.byId("id", {
43
+ * await client.shipperPayCourierLineItemGroups.addLineItems.byIdV1("id", {
44
44
  * line_items: [{
45
45
  * schema_version: 1,
46
46
  * item: "base_rate",
@@ -49,7 +49,7 @@ export declare class AddLineItems {
49
49
  * }]
50
50
  * })
51
51
  */
52
- byId(id: string, request: Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupAddLineItemsReq, requestOptions?: AddLineItems.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
53
- private __byId;
52
+ byIdV1(id: string, request: Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupAddLineItemsReq, requestOptions?: AddLineItems.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
53
+ private __byIdV1;
54
54
  protected _getAuthorizationHeader(): Promise<string | undefined>;
55
55
  }
@@ -65,7 +65,7 @@ class AddLineItems {
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shipperPayCourierLineItemGroups.addLineItems.byId("id", {
68
+ * await client.shipperPayCourierLineItemGroups.addLineItems.byIdV1("id", {
69
69
  * line_items: [{
70
70
  * schema_version: 1,
71
71
  * item: "base_rate",
@@ -74,15 +74,15 @@ class AddLineItems {
74
74
  * }]
75
75
  * })
76
76
  */
77
- byId(id, request, requestOptions) {
78
- return core.HttpResponsePromise.fromPromise(this.__byId(id, request, requestOptions));
77
+ byIdV1(id, request, requestOptions) {
78
+ return core.HttpResponsePromise.fromPromise(this.__byIdV1(id, request, requestOptions));
79
79
  }
80
- __byId(id, request, requestOptions) {
80
+ __byIdV1(id, request, requestOptions) {
81
81
  return __awaiter(this, void 0, void 0, function* () {
82
82
  var _a, _b, _c, _d;
83
83
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
84
84
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
85
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/add_line_items/${encodeURIComponent(id)}`),
85
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/add_line_items/v1/${encodeURIComponent(id)}`),
86
86
  method: "PATCH",
87
87
  headers: _headers,
88
88
  contentType: "application/json",
@@ -116,7 +116,7 @@ class AddLineItems {
116
116
  rawResponse: _response.rawResponse,
117
117
  });
118
118
  case "timeout":
119
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/add_line_items/{id}.");
119
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/add_line_items/v1/{id}.");
120
120
  case "unknown":
121
121
  throw new errors.ChrtError({
122
122
  message: _response.error.errorMessage,
@@ -36,9 +36,9 @@ export declare class Courier {
36
36
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.shipperPayCourierLineItemGroups.courier.list()
39
+ * await client.shipperPayCourierLineItemGroups.courier.listV1()
40
40
  */
41
- list(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1[]>;
42
- private __list;
41
+ listV1(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1[]>;
42
+ private __listV1;
43
43
  protected _getAuthorizationHeader(): Promise<string | undefined>;
44
44
  }
@@ -60,17 +60,17 @@ class Courier {
60
60
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @example
63
- * await client.shipperPayCourierLineItemGroups.courier.list()
63
+ * await client.shipperPayCourierLineItemGroups.courier.listV1()
64
64
  */
65
- list(requestOptions) {
66
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
65
+ listV1(requestOptions) {
66
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
67
67
  }
68
- __list(requestOptions) {
68
+ __listV1(requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
70
  var _a, _b, _c, _d;
71
71
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
72
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
73
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/courier/list"),
73
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/courier/list/v1"),
74
74
  method: "GET",
75
75
  headers: _headers,
76
76
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -99,7 +99,7 @@ class Courier {
99
99
  rawResponse: _response.rawResponse,
100
100
  });
101
101
  case "timeout":
102
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/courier/list.");
102
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/courier/list/v1.");
103
103
  case "unknown":
104
104
  throw new errors.ChrtError({
105
105
  message: _response.error.errorMessage,
@@ -31,7 +31,7 @@ export declare class RemoveLineItems {
31
31
  protected readonly _options: RemoveLineItems.Options;
32
32
  constructor(_options?: RemoveLineItems.Options);
33
33
  /**
34
- * Removes specific line items from a shipper pay courier line item group by exact match.
34
+ * Removes specific line items from a shipper pay courier line item group by their UUID identifiers.
35
35
  *
36
36
  * @param {string} id
37
37
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq} request
@@ -40,11 +40,11 @@ export declare class RemoveLineItems {
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shipperPayCourierLineItemGroups.removeLineItems.byId("id", {
43
+ * await client.shipperPayCourierLineItemGroups.removeLineItems.byIdV1("id", {
44
44
  * line_item_uuid_strs: ["line_item_uuid_strs"]
45
45
  * })
46
46
  */
47
- byId(id: string, request: Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq, requestOptions?: RemoveLineItems.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
48
- private __byId;
47
+ byIdV1(id: string, request: Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq, requestOptions?: RemoveLineItems.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
48
+ private __byIdV1;
49
49
  protected _getAuthorizationHeader(): Promise<string | undefined>;
50
50
  }
@@ -56,7 +56,7 @@ class RemoveLineItems {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Removes specific line items from a shipper pay courier line item group by exact match.
59
+ * Removes specific line items from a shipper pay courier line item group by their UUID identifiers.
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq} request
@@ -65,19 +65,19 @@ class RemoveLineItems {
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shipperPayCourierLineItemGroups.removeLineItems.byId("id", {
68
+ * await client.shipperPayCourierLineItemGroups.removeLineItems.byIdV1("id", {
69
69
  * line_item_uuid_strs: ["line_item_uuid_strs"]
70
70
  * })
71
71
  */
72
- byId(id, request, requestOptions) {
73
- return core.HttpResponsePromise.fromPromise(this.__byId(id, request, requestOptions));
72
+ byIdV1(id, request, requestOptions) {
73
+ return core.HttpResponsePromise.fromPromise(this.__byIdV1(id, request, requestOptions));
74
74
  }
75
- __byId(id, request, requestOptions) {
75
+ __byIdV1(id, request, requestOptions) {
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  var _a, _b, _c, _d;
78
78
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
79
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
80
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/remove_line_items/${encodeURIComponent(id)}`),
80
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/remove_line_items/v1/${encodeURIComponent(id)}`),
81
81
  method: "PATCH",
82
82
  headers: _headers,
83
83
  contentType: "application/json",
@@ -111,7 +111,7 @@ class RemoveLineItems {
111
111
  rawResponse: _response.rawResponse,
112
112
  });
113
113
  case "timeout":
114
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/remove_line_items/{id}.");
114
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/remove_line_items/v1/{id}.");
115
115
  case "unknown":
116
116
  throw new errors.ChrtError({
117
117
  message: _response.error.errorMessage,
@@ -36,10 +36,10 @@ export declare class Shipper {
36
36
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.shipperPayCourierLineItemGroups.shipper.list()
39
+ * await client.shipperPayCourierLineItemGroups.shipper.listV1()
40
40
  */
41
- list(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1[]>;
42
- private __list;
41
+ listV1(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1[]>;
42
+ private __listV1;
43
43
  /**
44
44
  * Retrieves a shipper pay courier line item group by its ID for the authenticated shipper organization.
45
45
  *
@@ -49,10 +49,10 @@ export declare class Shipper {
49
49
  * @throws {@link Chrt.UnprocessableEntityError}
50
50
  *
51
51
  * @example
52
- * await client.shipperPayCourierLineItemGroups.shipper.getById("id")
52
+ * await client.shipperPayCourierLineItemGroups.shipper.getByIdV1("id")
53
53
  */
54
- getById(id: string, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
55
- private __getById;
54
+ getByIdV1(id: string, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
55
+ private __getByIdV1;
56
56
  /**
57
57
  * Retrieves a shipper pay courier line item group by its associated task group ID for the authenticated shipper organization.
58
58
  *
@@ -62,9 +62,9 @@ export declare class Shipper {
62
62
  * @throws {@link Chrt.UnprocessableEntityError}
63
63
  *
64
64
  * @example
65
- * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupId("task_group_id")
65
+ * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupIdV1("task_group_id")
66
66
  */
67
- byTaskGroupId(taskGroupId: string, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
68
- private __byTaskGroupId;
67
+ byTaskGroupIdV1(taskGroupId: string, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
68
+ private __byTaskGroupIdV1;
69
69
  protected _getAuthorizationHeader(): Promise<string | undefined>;
70
70
  }
@@ -61,17 +61,17 @@ class Shipper {
61
61
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.shipperPayCourierLineItemGroups.shipper.list()
64
+ * await client.shipperPayCourierLineItemGroups.shipper.listV1()
65
65
  */
66
- list(requestOptions) {
67
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
66
+ listV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
68
68
  }
69
- __list(requestOptions) {
69
+ __listV1(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
71
  var _a, _b, _c, _d;
72
72
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
73
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/shipper/list"),
74
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/shipper/list/v1"),
75
75
  method: "GET",
76
76
  headers: _headers,
77
77
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -100,7 +100,7 @@ class Shipper {
100
100
  rawResponse: _response.rawResponse,
101
101
  });
102
102
  case "timeout":
103
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/list.");
103
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/list/v1.");
104
104
  case "unknown":
105
105
  throw new errors.ChrtError({
106
106
  message: _response.error.errorMessage,
@@ -118,17 +118,17 @@ class Shipper {
118
118
  * @throws {@link Chrt.UnprocessableEntityError}
119
119
  *
120
120
  * @example
121
- * await client.shipperPayCourierLineItemGroups.shipper.getById("id")
121
+ * await client.shipperPayCourierLineItemGroups.shipper.getByIdV1("id")
122
122
  */
123
- getById(id, requestOptions) {
124
- return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
123
+ getByIdV1(id, requestOptions) {
124
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
125
125
  }
126
- __getById(id, requestOptions) {
126
+ __getByIdV1(id, requestOptions) {
127
127
  return __awaiter(this, void 0, void 0, function* () {
128
128
  var _a, _b, _c, _d;
129
129
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
130
130
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
131
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/shipper/${encodeURIComponent(id)}`),
131
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/shipper/v1/${encodeURIComponent(id)}`),
132
132
  method: "GET",
133
133
  headers: _headers,
134
134
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -159,7 +159,7 @@ class Shipper {
159
159
  rawResponse: _response.rawResponse,
160
160
  });
161
161
  case "timeout":
162
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/{id}.");
162
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/v1/{id}.");
163
163
  case "unknown":
164
164
  throw new errors.ChrtError({
165
165
  message: _response.error.errorMessage,
@@ -177,17 +177,17 @@ class Shipper {
177
177
  * @throws {@link Chrt.UnprocessableEntityError}
178
178
  *
179
179
  * @example
180
- * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupId("task_group_id")
180
+ * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupIdV1("task_group_id")
181
181
  */
182
- byTaskGroupId(taskGroupId, requestOptions) {
183
- return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
182
+ byTaskGroupIdV1(taskGroupId, requestOptions) {
183
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupIdV1(taskGroupId, requestOptions));
184
184
  }
185
- __byTaskGroupId(taskGroupId, requestOptions) {
185
+ __byTaskGroupIdV1(taskGroupId, requestOptions) {
186
186
  return __awaiter(this, void 0, void 0, function* () {
187
187
  var _a, _b, _c, _d;
188
188
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
189
189
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
190
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/${encodeURIComponent(taskGroupId)}`),
190
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/v1/${encodeURIComponent(taskGroupId)}`),
191
191
  method: "GET",
192
192
  headers: _headers,
193
193
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -218,7 +218,7 @@ class Shipper {
218
218
  rawResponse: _response.rawResponse,
219
219
  });
220
220
  case "timeout":
221
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/{task_group_id}.");
221
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/v1/{task_group_id}.");
222
222
  case "unknown":
223
223
  throw new errors.ChrtError({
224
224
  message: _response.error.errorMessage,
@@ -31,7 +31,7 @@ export declare class ShipperPayCourierPayments {
31
31
  protected readonly _options: ShipperPayCourierPayments.Options;
32
32
  constructor(_options?: ShipperPayCourierPayments.Options);
33
33
  /**
34
- * Get a shipper pay courier payment by its ID
34
+ * Retrieves a shipper pay courier payment by its ID with Stripe invoice sync.
35
35
  *
36
36
  * @param {string} shipperPayCourierPaymentId
37
37
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -39,12 +39,12 @@ export declare class ShipperPayCourierPayments {
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.shipperPayCourierPayments.getById("shipper_pay_courier_payment_id")
42
+ * await client.shipperPayCourierPayments.getByIdV1("shipper_pay_courier_payment_id")
43
43
  */
44
- getById(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierPayment1>;
45
- private __getById;
44
+ getByIdV1(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierPayment1>;
45
+ private __getByIdV1;
46
46
  /**
47
- * Deletes a shipper-to-courier payment record. Only allowed if the `StripeConnectInvoiceStatusEnum` === "not_started".
47
+ * Deletes a shipper-to-courier payment record if invoice not yet created.
48
48
  *
49
49
  * @param {string} shipperPayCourierPaymentId
50
50
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -52,12 +52,12 @@ export declare class ShipperPayCourierPayments {
52
52
  * @throws {@link Chrt.UnprocessableEntityError}
53
53
  *
54
54
  * @example
55
- * await client.shipperPayCourierPayments.delete("shipper_pay_courier_payment_id")
55
+ * await client.shipperPayCourierPayments.deleteV1("shipper_pay_courier_payment_id")
56
56
  */
57
- delete(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<boolean>;
58
- private __delete;
57
+ deleteV1(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<boolean>;
58
+ private __deleteV1;
59
59
  /**
60
- * Get a shipper pay courier payment by order ID or short ID
60
+ * Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync.
61
61
  *
62
62
  * @param {string} orderIdOrShortId
63
63
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -65,12 +65,12 @@ export declare class ShipperPayCourierPayments {
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shipperPayCourierPayments.getByOrderIdOrShortId("order_id_or_short_id")
68
+ * await client.shipperPayCourierPayments.getByOrderIdOrShortIdV1("order_id_or_short_id")
69
69
  */
70
- getByOrderIdOrShortId(orderIdOrShortId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierPayment1>;
71
- private __getByOrderIdOrShortId;
70
+ getByOrderIdOrShortIdV1(orderIdOrShortId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierPayment1>;
71
+ private __getByOrderIdOrShortIdV1;
72
72
  /**
73
- * List shipper pay courier payments by shipper org ID with status filtering
73
+ * Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync.
74
74
  *
75
75
  * @param {Chrt.ListPaymentsByShipperReq} request
76
76
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -78,14 +78,14 @@ export declare class ShipperPayCourierPayments {
78
78
  * @throws {@link Chrt.UnprocessableEntityError}
79
79
  *
80
80
  * @example
81
- * await client.shipperPayCourierPayments.listByShipperOrgId({
81
+ * await client.shipperPayCourierPayments.listByShipperOrgIdV1({
82
82
  * statuses: ["invoice_not_yet_created"]
83
83
  * })
84
84
  */
85
- listByShipperOrgId(request: Chrt.ListPaymentsByShipperReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
86
- private __listByShipperOrgId;
85
+ listByShipperOrgIdV1(request: Chrt.ListPaymentsByShipperReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
86
+ private __listByShipperOrgIdV1;
87
87
  /**
88
- * List shipper pay courier payments by courier org ID with status filtering
88
+ * Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync.
89
89
  *
90
90
  * @param {Chrt.ListPaymentsByCourierReq} request
91
91
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -93,14 +93,14 @@ export declare class ShipperPayCourierPayments {
93
93
  * @throws {@link Chrt.UnprocessableEntityError}
94
94
  *
95
95
  * @example
96
- * await client.shipperPayCourierPayments.listByCourierOrgId({
96
+ * await client.shipperPayCourierPayments.listByCourierOrgIdV1({
97
97
  * statuses: ["invoice_not_yet_created"]
98
98
  * })
99
99
  */
100
- listByCourierOrgId(request: Chrt.ListPaymentsByCourierReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
101
- private __listByCourierOrgId;
100
+ listByCourierOrgIdV1(request: Chrt.ListPaymentsByCourierReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
101
+ private __listByCourierOrgIdV1;
102
102
  /**
103
- * Create a shipper-to-courier payment record based on all task groups in an order
103
+ * Creates a shipper-to-courier payment record based on all task groups in an order.
104
104
  *
105
105
  * @param {Chrt.CreateShipperPayCourierPaymentReq} request
106
106
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -108,14 +108,14 @@ export declare class ShipperPayCourierPayments {
108
108
  * @throws {@link Chrt.UnprocessableEntityError}
109
109
  *
110
110
  * @example
111
- * await client.shipperPayCourierPayments.create({
111
+ * await client.shipperPayCourierPayments.createV1({
112
112
  * order_id_or_short_id: "order_id_or_short_id"
113
113
  * })
114
114
  */
115
- create(request: Chrt.CreateShipperPayCourierPaymentReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<string>;
116
- private __create;
115
+ createV1(request: Chrt.CreateShipperPayCourierPaymentReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<string>;
116
+ private __createV1;
117
117
  /**
118
- * Preview a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status
118
+ * Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.
119
119
  *
120
120
  * @param {Chrt.CreateShipperPayCourierPaymentReq} request
121
121
  * @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
@@ -123,11 +123,11 @@ export declare class ShipperPayCourierPayments {
123
123
  * @throws {@link Chrt.UnprocessableEntityError}
124
124
  *
125
125
  * @example
126
- * await client.shipperPayCourierPayments.preview({
126
+ * await client.shipperPayCourierPayments.previewV1({
127
127
  * order_id_or_short_id: "order_id_or_short_id"
128
128
  * })
129
129
  */
130
- preview(request: Chrt.CreateShipperPayCourierPaymentReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.PaymentPreviewResponse>;
131
- private __preview;
130
+ previewV1(request: Chrt.CreateShipperPayCourierPaymentReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.PaymentPreviewResponse>;
131
+ private __previewV1;
132
132
  protected _getAuthorizationHeader(): Promise<string | undefined>;
133
133
  }