@chrt-inc/typescript-sdk 1.282.0 → 1.285.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 (300) 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 +12 -12
  40. package/dist/cjs/api/resources/orders/client/Client.js +24 -24
  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 +14 -14
  54. package/dist/cjs/api/resources/root/client/Client.js +26 -26
  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/version.d.ts +1 -1
  118. package/dist/cjs/version.js +1 -1
  119. package/dist/esm/Client.mjs +2 -2
  120. package/dist/esm/api/resources/connections/client/Client.d.mts +6 -6
  121. package/dist/esm/api/resources/connections/client/Client.mjs +12 -12
  122. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +4 -4
  123. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +7 -7
  124. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +12 -12
  125. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +24 -24
  126. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  127. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  128. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  129. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  130. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +14 -14
  131. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +26 -26
  132. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +18 -18
  133. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +36 -36
  134. package/dist/esm/api/resources/dev/client/Client.d.mts +34 -27
  135. package/dist/esm/api/resources/dev/client/Client.mjs +96 -50
  136. package/dist/esm/api/resources/dev/index.d.mts +0 -1
  137. package/dist/esm/api/resources/dev/index.mjs +0 -1
  138. package/dist/esm/api/resources/drivers/client/Client.d.mts +30 -30
  139. package/dist/esm/api/resources/drivers/client/Client.mjs +60 -60
  140. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +6 -6
  141. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +12 -12
  142. package/dist/esm/api/resources/milestones/client/Client.d.mts +6 -6
  143. package/dist/esm/api/resources/milestones/client/Client.mjs +12 -12
  144. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +3 -3
  145. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +6 -6
  146. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +9 -9
  147. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +18 -18
  148. package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts} +1 -1
  149. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +1 -1
  150. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +6 -6
  151. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +12 -12
  152. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +6 -6
  153. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +12 -12
  154. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +15 -15
  155. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.mjs +30 -30
  156. package/dist/esm/api/resources/orders/client/Client.d.mts +12 -12
  157. package/dist/esm/api/resources/orders/client/Client.mjs +24 -24
  158. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +9 -9
  159. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +18 -18
  160. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +9 -9
  161. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +18 -18
  162. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +9 -9
  163. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +18 -18
  164. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +20 -20
  165. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +35 -35
  166. package/dist/esm/api/resources/orgs/client/Client.d.mts +24 -24
  167. package/dist/esm/api/resources/orgs/client/Client.mjs +48 -48
  168. package/dist/esm/api/resources/payments/client/Client.d.mts +19 -19
  169. package/dist/esm/api/resources/payments/client/Client.mjs +34 -34
  170. package/dist/esm/api/resources/root/client/Client.d.mts +14 -14
  171. package/dist/esm/api/resources/root/client/Client.mjs +26 -26
  172. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +27 -27
  173. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +54 -54
  174. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +16 -16
  175. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +31 -31
  176. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  177. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  178. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +3 -3
  179. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +6 -6
  180. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  181. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  182. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +9 -9
  183. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +18 -18
  184. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +28 -28
  185. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +49 -49
  186. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +15 -15
  187. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +30 -30
  188. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +19 -19
  189. package/dist/esm/api/resources/taskGroups/client/Client.mjs +37 -37
  190. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +6 -6
  191. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +12 -12
  192. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +3 -3
  193. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +6 -6
  194. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +5 -5
  195. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +8 -8
  196. 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
  197. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +1 -1
  198. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +5 -5
  199. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +8 -8
  200. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.d.mts → CargoByDriverLastSeenV1Request.d.mts} +1 -1
  201. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +1 -1
  202. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +32 -32
  203. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +53 -53
  204. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.d.mts → DevicesDeleteV1Request.d.mts} +1 -1
  205. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.d.mts → DevicesGetV1Request.d.mts} +1 -1
  206. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.d.mts → DevicesLinkToCargoV1Request.d.mts} +1 -1
  207. 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
  208. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +4 -4
  209. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +4 -4
  210. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +7 -7
  211. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +66 -66
  212. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +108 -108
  213. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.d.mts → SessionByDeviceDataPointsPublicV1Request.d.mts} +1 -1
  214. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.d.mts → SessionByDeviceDataPointsV1Request.d.mts} +1 -1
  215. 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
  216. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.d.mts → SessionByDeviceGetV1Request.d.mts} +1 -1
  217. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.d.mts +12 -0
  218. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.d.mts +12 -0
  219. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.mts +12 -0
  220. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.mts +12 -0
  221. 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
  222. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.mts +12 -0
  223. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +10 -10
  224. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +5 -5
  225. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +8 -8
  226. 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
  227. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +1 -1
  228. package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
  229. package/dist/esm/api/resources/users/client/Client.mjs +7 -7
  230. package/dist/esm/api/resources/utils/client/Client.d.mts +4 -4
  231. package/dist/esm/api/resources/utils/client/Client.mjs +7 -7
  232. package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.d.mts → UtilsGetTimezoneV1Request.d.mts} +1 -1
  233. package/dist/esm/api/resources/utils/client/requests/index.d.mts +1 -1
  234. package/dist/esm/version.d.mts +1 -1
  235. package/dist/esm/version.mjs +1 -1
  236. package/package.json +1 -1
  237. package/reference.md +440 -442
  238. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.d.ts +0 -43
  239. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.js +0 -118
  240. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.d.ts +0 -1
  241. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.js +0 -2
  242. package/dist/cjs/api/resources/dev/resources/getUserId/index.d.ts +0 -1
  243. package/dist/cjs/api/resources/dev/resources/getUserId/index.js +0 -17
  244. package/dist/cjs/api/resources/dev/resources/index.d.ts +0 -1
  245. package/dist/cjs/api/resources/dev/resources/index.js +0 -37
  246. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.ts +0 -12
  247. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.ts +0 -12
  248. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.ts +0 -12
  249. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.d.mts +0 -43
  250. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.mjs +0 -81
  251. package/dist/esm/api/resources/dev/resources/getUserId/client/index.d.mts +0 -1
  252. package/dist/esm/api/resources/dev/resources/getUserId/client/index.mjs +0 -1
  253. package/dist/esm/api/resources/dev/resources/getUserId/index.d.mts +0 -1
  254. package/dist/esm/api/resources/dev/resources/getUserId/index.mjs +0 -1
  255. package/dist/esm/api/resources/dev/resources/index.d.mts +0 -1
  256. package/dist/esm/api/resources/dev/resources/index.mjs +0 -1
  257. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.d.mts +0 -12
  258. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenRequest.d.mts +0 -12
  259. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.mts +0 -12
  260. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.mts +0 -12
  261. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.d.mts +0 -12
  262. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.mts +0 -12
  263. /package/dist/cjs/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js} +0 -0
  264. /package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.js → CargoByDeviceLastSeenV1Request.js} +0 -0
  265. /package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.js → CargoByDriverLastSeenV1Request.js} +0 -0
  266. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.js → DevicesDeleteV1Request.js} +0 -0
  267. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.js → DevicesGetV1Request.js} +0 -0
  268. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.js → DevicesLinkToCargoV1Request.js} +0 -0
  269. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.js → DevicesUnlinkFromCargoV1Request.js} +0 -0
  270. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.js → SessionByDeviceDataPointsPublicV1Request.js} +0 -0
  271. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.js → SessionByDeviceDataPointsV1Request.js} +0 -0
  272. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.js → SessionByDeviceDeleteV1Request.js} +0 -0
  273. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.js → SessionByDeviceGetV1Request.js} +0 -0
  274. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.js → SessionByDeviceLastSeenPublicV1Request.js} +0 -0
  275. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.js → SessionByDeviceLastSeenV1Request.js} +0 -0
  276. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.js → SessionByDevicePauseRecordingV1Request.js} +0 -0
  277. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.js → SessionByDeviceResumeRecordingV1Request.js} +0 -0
  278. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.js → SessionByDeviceStartV1Request.js} +0 -0
  279. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.js → SessionByDeviceTerminateV1Request.js} +0 -0
  280. /package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.js → TaskGroupByDriverLastSeenV1Request.js} +0 -0
  281. /package/dist/cjs/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.js → UtilsGetTimezoneV1Request.js} +0 -0
  282. /package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs} +0 -0
  283. /package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.mjs → CargoByDeviceLastSeenV1Request.mjs} +0 -0
  284. /package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.mjs → CargoByDriverLastSeenV1Request.mjs} +0 -0
  285. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.mjs → DevicesDeleteV1Request.mjs} +0 -0
  286. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.mjs → DevicesGetV1Request.mjs} +0 -0
  287. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.mjs → DevicesLinkToCargoV1Request.mjs} +0 -0
  288. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.mjs → DevicesUnlinkFromCargoV1Request.mjs} +0 -0
  289. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.mjs → SessionByDeviceDataPointsPublicV1Request.mjs} +0 -0
  290. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.mjs → SessionByDeviceDataPointsV1Request.mjs} +0 -0
  291. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.mjs → SessionByDeviceDeleteV1Request.mjs} +0 -0
  292. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.mjs → SessionByDeviceGetV1Request.mjs} +0 -0
  293. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.mjs → SessionByDeviceLastSeenPublicV1Request.mjs} +0 -0
  294. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.mjs → SessionByDeviceLastSeenV1Request.mjs} +0 -0
  295. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.mjs → SessionByDevicePauseRecordingV1Request.mjs} +0 -0
  296. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.mjs → SessionByDeviceResumeRecordingV1Request.mjs} +0 -0
  297. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.mjs → SessionByDeviceStartV1Request.mjs} +0 -0
  298. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.mjs → SessionByDeviceTerminateV1Request.mjs} +0 -0
  299. /package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.mjs → TaskGroupByDriverLastSeenV1Request.mjs} +0 -0
  300. /package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.mjs → UtilsGetTimezoneV1Request.mjs} +0 -0
@@ -51,12 +51,12 @@ export declare class ShipperPayCourierLineItemGroups {
51
51
  * @throws {@link Chrt.UnprocessableEntityError}
52
52
  *
53
53
  * @example
54
- * await client.shipperPayCourierLineItemGroups.getById("id")
54
+ * await client.shipperPayCourierLineItemGroups.getByIdV1("id")
55
55
  */
56
- getById(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
57
- private __getById;
56
+ getByIdV1(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
57
+ private __getByIdV1;
58
58
  /**
59
- * Deletes a shipper pay courier line item group by its ID.
59
+ * Deletes a shipper pay courier line item group by its ID if not referenced by any payment.
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -64,10 +64,10 @@ export declare class ShipperPayCourierLineItemGroups {
64
64
  * @throws {@link Chrt.UnprocessableEntityError}
65
65
  *
66
66
  * @example
67
- * await client.shipperPayCourierLineItemGroups.deleteById("id")
67
+ * await client.shipperPayCourierLineItemGroups.deleteByIdV1("id")
68
68
  */
69
- deleteById(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<boolean>;
70
- private __deleteById;
69
+ deleteByIdV1(id: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<boolean>;
70
+ private __deleteByIdV1;
71
71
  /**
72
72
  * Retrieves a shipper pay courier line item group by its associated task group ID for the authenticated courier organization.
73
73
  *
@@ -77,10 +77,10 @@ export declare class ShipperPayCourierLineItemGroups {
77
77
  * @throws {@link Chrt.UnprocessableEntityError}
78
78
  *
79
79
  * @example
80
- * await client.shipperPayCourierLineItemGroups.byTaskGroupId("task_group_id")
80
+ * await client.shipperPayCourierLineItemGroups.byTaskGroupIdV1("task_group_id")
81
81
  */
82
- byTaskGroupId(taskGroupId: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
83
- private __byTaskGroupId;
82
+ byTaskGroupIdV1(taskGroupId: string, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroup1>;
83
+ private __byTaskGroupIdV1;
84
84
  /**
85
85
  * Previews calculated line items for a shipper pay courier based on rate sheet and task group without creating the group.
86
86
  *
@@ -90,13 +90,13 @@ export declare class ShipperPayCourierLineItemGroups {
90
90
  * @throws {@link Chrt.UnprocessableEntityError}
91
91
  *
92
92
  * @example
93
- * await client.shipperPayCourierLineItemGroups.preview({
93
+ * await client.shipperPayCourierLineItemGroups.previewV1({
94
94
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
95
95
  * task_group_id: "task_group_id"
96
96
  * })
97
97
  */
98
- preview(request: Chrt.ShipperPayCourierLineItemGroupCreateReq, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroupServerCreate1>;
99
- private __preview;
98
+ previewV1(request: Chrt.ShipperPayCourierLineItemGroupCreateReq, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierLineItemGroupServerCreate1>;
99
+ private __previewV1;
100
100
  /**
101
101
  * Creates a shipper pay courier line item group by calculating items from rate sheet and task group.
102
102
  *
@@ -106,12 +106,12 @@ export declare class ShipperPayCourierLineItemGroups {
106
106
  * @throws {@link Chrt.UnprocessableEntityError}
107
107
  *
108
108
  * @example
109
- * await client.shipperPayCourierLineItemGroups.create({
109
+ * await client.shipperPayCourierLineItemGroups.createV1({
110
110
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
111
111
  * task_group_id: "task_group_id"
112
112
  * })
113
113
  */
114
- create(request: Chrt.ShipperPayCourierLineItemGroupCreateReq, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<string>;
115
- private __create;
114
+ createV1(request: Chrt.ShipperPayCourierLineItemGroupCreateReq, requestOptions?: ShipperPayCourierLineItemGroups.RequestOptions): core.HttpResponsePromise<string>;
115
+ private __createV1;
116
116
  protected _getAuthorizationHeader(): Promise<string | undefined>;
117
117
  }
@@ -48,17 +48,17 @@ export class ShipperPayCourierLineItemGroups {
48
48
  * @throws {@link Chrt.UnprocessableEntityError}
49
49
  *
50
50
  * @example
51
- * await client.shipperPayCourierLineItemGroups.getById("id")
51
+ * await client.shipperPayCourierLineItemGroups.getByIdV1("id")
52
52
  */
53
- getById(id, requestOptions) {
54
- return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
53
+ getByIdV1(id, requestOptions) {
54
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
55
55
  }
56
- __getById(id, requestOptions) {
56
+ __getByIdV1(id, requestOptions) {
57
57
  return __awaiter(this, void 0, void 0, function* () {
58
58
  var _a, _b, _c, _d;
59
59
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
60
60
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
61
- 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)}`),
61
+ 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)}`),
62
62
  method: "GET",
63
63
  headers: _headers,
64
64
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -89,7 +89,7 @@ export class ShipperPayCourierLineItemGroups {
89
89
  rawResponse: _response.rawResponse,
90
90
  });
91
91
  case "timeout":
92
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/{id}.");
92
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/v1/{id}.");
93
93
  case "unknown":
94
94
  throw new errors.ChrtError({
95
95
  message: _response.error.errorMessage,
@@ -99,7 +99,7 @@ export class ShipperPayCourierLineItemGroups {
99
99
  });
100
100
  }
101
101
  /**
102
- * Deletes a shipper pay courier line item group by its ID.
102
+ * Deletes a shipper pay courier line item group by its ID if not referenced by any payment.
103
103
  *
104
104
  * @param {string} id
105
105
  * @param {ShipperPayCourierLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -107,17 +107,17 @@ export class ShipperPayCourierLineItemGroups {
107
107
  * @throws {@link Chrt.UnprocessableEntityError}
108
108
  *
109
109
  * @example
110
- * await client.shipperPayCourierLineItemGroups.deleteById("id")
110
+ * await client.shipperPayCourierLineItemGroups.deleteByIdV1("id")
111
111
  */
112
- deleteById(id, requestOptions) {
113
- return core.HttpResponsePromise.fromPromise(this.__deleteById(id, requestOptions));
112
+ deleteByIdV1(id, requestOptions) {
113
+ return core.HttpResponsePromise.fromPromise(this.__deleteByIdV1(id, requestOptions));
114
114
  }
115
- __deleteById(id, requestOptions) {
115
+ __deleteByIdV1(id, requestOptions) {
116
116
  return __awaiter(this, void 0, void 0, function* () {
117
117
  var _a, _b, _c, _d;
118
118
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
119
119
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
120
- 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)}`),
120
+ 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)}`),
121
121
  method: "DELETE",
122
122
  headers: _headers,
123
123
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -148,7 +148,7 @@ export class ShipperPayCourierLineItemGroups {
148
148
  rawResponse: _response.rawResponse,
149
149
  });
150
150
  case "timeout":
151
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_pay_courier_line_item_groups/{id}.");
151
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_pay_courier_line_item_groups/v1/{id}.");
152
152
  case "unknown":
153
153
  throw new errors.ChrtError({
154
154
  message: _response.error.errorMessage,
@@ -166,17 +166,17 @@ export class ShipperPayCourierLineItemGroups {
166
166
  * @throws {@link Chrt.UnprocessableEntityError}
167
167
  *
168
168
  * @example
169
- * await client.shipperPayCourierLineItemGroups.byTaskGroupId("task_group_id")
169
+ * await client.shipperPayCourierLineItemGroups.byTaskGroupIdV1("task_group_id")
170
170
  */
171
- byTaskGroupId(taskGroupId, requestOptions) {
172
- return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
171
+ byTaskGroupIdV1(taskGroupId, requestOptions) {
172
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupIdV1(taskGroupId, requestOptions));
173
173
  }
174
- __byTaskGroupId(taskGroupId, requestOptions) {
174
+ __byTaskGroupIdV1(taskGroupId, requestOptions) {
175
175
  return __awaiter(this, void 0, void 0, function* () {
176
176
  var _a, _b, _c, _d;
177
177
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
178
178
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
179
- 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)}`),
179
+ 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)}`),
180
180
  method: "GET",
181
181
  headers: _headers,
182
182
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -207,7 +207,7 @@ export class ShipperPayCourierLineItemGroups {
207
207
  rawResponse: _response.rawResponse,
208
208
  });
209
209
  case "timeout":
210
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/by_task_group/{task_group_id}.");
210
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/by_task_group/v1/{task_group_id}.");
211
211
  case "unknown":
212
212
  throw new errors.ChrtError({
213
213
  message: _response.error.errorMessage,
@@ -225,20 +225,20 @@ export class ShipperPayCourierLineItemGroups {
225
225
  * @throws {@link Chrt.UnprocessableEntityError}
226
226
  *
227
227
  * @example
228
- * await client.shipperPayCourierLineItemGroups.preview({
228
+ * await client.shipperPayCourierLineItemGroups.previewV1({
229
229
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
230
230
  * task_group_id: "task_group_id"
231
231
  * })
232
232
  */
233
- preview(request, requestOptions) {
234
- return core.HttpResponsePromise.fromPromise(this.__preview(request, requestOptions));
233
+ previewV1(request, requestOptions) {
234
+ return core.HttpResponsePromise.fromPromise(this.__previewV1(request, requestOptions));
235
235
  }
236
- __preview(request, requestOptions) {
236
+ __previewV1(request, requestOptions) {
237
237
  return __awaiter(this, void 0, void 0, function* () {
238
238
  var _a, _b, _c, _d;
239
239
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
240
240
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
241
- 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"),
241
+ 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"),
242
242
  method: "POST",
243
243
  headers: _headers,
244
244
  contentType: "application/json",
@@ -275,7 +275,7 @@ export class ShipperPayCourierLineItemGroups {
275
275
  rawResponse: _response.rawResponse,
276
276
  });
277
277
  case "timeout":
278
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/preview.");
278
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/preview/v1.");
279
279
  case "unknown":
280
280
  throw new errors.ChrtError({
281
281
  message: _response.error.errorMessage,
@@ -293,20 +293,20 @@ export class ShipperPayCourierLineItemGroups {
293
293
  * @throws {@link Chrt.UnprocessableEntityError}
294
294
  *
295
295
  * @example
296
- * await client.shipperPayCourierLineItemGroups.create({
296
+ * await client.shipperPayCourierLineItemGroups.createV1({
297
297
  * shipper_pay_courier_rate_sheet_id: "shipper_pay_courier_rate_sheet_id",
298
298
  * task_group_id: "task_group_id"
299
299
  * })
300
300
  */
301
- create(request, requestOptions) {
302
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
301
+ createV1(request, requestOptions) {
302
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
303
303
  }
304
- __create(request, requestOptions) {
304
+ __createV1(request, requestOptions) {
305
305
  return __awaiter(this, void 0, void 0, function* () {
306
306
  var _a, _b, _c, _d;
307
307
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
308
308
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
309
- 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"),
309
+ 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"),
310
310
  method: "POST",
311
311
  headers: _headers,
312
312
  contentType: "application/json",
@@ -340,7 +340,7 @@ export class ShipperPayCourierLineItemGroups {
340
340
  rawResponse: _response.rawResponse,
341
341
  });
342
342
  case "timeout":
343
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/create.");
343
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_pay_courier_line_item_groups/create/v1.");
344
344
  case "unknown":
345
345
  throw new errors.ChrtError({
346
346
  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
  }
@@ -29,7 +29,7 @@ export class AddLineItems {
29
29
  * @throws {@link Chrt.UnprocessableEntityError}
30
30
  *
31
31
  * @example
32
- * await client.shipperPayCourierLineItemGroups.addLineItems.byId("id", {
32
+ * await client.shipperPayCourierLineItemGroups.addLineItems.byIdV1("id", {
33
33
  * line_items: [{
34
34
  * schema_version: 1,
35
35
  * item: "base_rate",
@@ -38,15 +38,15 @@ export class AddLineItems {
38
38
  * }]
39
39
  * })
40
40
  */
41
- byId(id, request, requestOptions) {
42
- return core.HttpResponsePromise.fromPromise(this.__byId(id, request, requestOptions));
41
+ byIdV1(id, request, requestOptions) {
42
+ return core.HttpResponsePromise.fromPromise(this.__byIdV1(id, request, requestOptions));
43
43
  }
44
- __byId(id, request, requestOptions) {
44
+ __byIdV1(id, request, requestOptions) {
45
45
  return __awaiter(this, void 0, void 0, function* () {
46
46
  var _a, _b, _c, _d;
47
47
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
48
48
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
49
- 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)}`),
49
+ 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)}`),
50
50
  method: "PATCH",
51
51
  headers: _headers,
52
52
  contentType: "application/json",
@@ -80,7 +80,7 @@ export class AddLineItems {
80
80
  rawResponse: _response.rawResponse,
81
81
  });
82
82
  case "timeout":
83
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/add_line_items/{id}.");
83
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/add_line_items/v1/{id}.");
84
84
  case "unknown":
85
85
  throw new errors.ChrtError({
86
86
  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
  }
@@ -24,17 +24,17 @@ export class Courier {
24
24
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await client.shipperPayCourierLineItemGroups.courier.list()
27
+ * await client.shipperPayCourierLineItemGroups.courier.listV1()
28
28
  */
29
- list(requestOptions) {
30
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
29
+ listV1(requestOptions) {
30
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
31
31
  }
32
- __list(requestOptions) {
32
+ __listV1(requestOptions) {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
34
  var _a, _b, _c, _d;
35
35
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
36
36
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
37
- 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"),
37
+ 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"),
38
38
  method: "GET",
39
39
  headers: _headers,
40
40
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -63,7 +63,7 @@ export class Courier {
63
63
  rawResponse: _response.rawResponse,
64
64
  });
65
65
  case "timeout":
66
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/courier/list.");
66
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/courier/list/v1.");
67
67
  case "unknown":
68
68
  throw new errors.ChrtError({
69
69
  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
  }
@@ -20,7 +20,7 @@ export class RemoveLineItems {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Removes specific line items from a shipper pay courier line item group by exact match.
23
+ * Removes specific line items from a shipper pay courier line item group by their UUID identifiers.
24
24
  *
25
25
  * @param {string} id
26
26
  * @param {Chrt.shipperPayCourierLineItemGroups.ShipperPayCourierLineItemGroupRemoveLineItemsReq} request
@@ -29,19 +29,19 @@ export class RemoveLineItems {
29
29
  * @throws {@link Chrt.UnprocessableEntityError}
30
30
  *
31
31
  * @example
32
- * await client.shipperPayCourierLineItemGroups.removeLineItems.byId("id", {
32
+ * await client.shipperPayCourierLineItemGroups.removeLineItems.byIdV1("id", {
33
33
  * line_item_uuid_strs: ["line_item_uuid_strs"]
34
34
  * })
35
35
  */
36
- byId(id, request, requestOptions) {
37
- return core.HttpResponsePromise.fromPromise(this.__byId(id, request, requestOptions));
36
+ byIdV1(id, request, requestOptions) {
37
+ return core.HttpResponsePromise.fromPromise(this.__byIdV1(id, request, requestOptions));
38
38
  }
39
- __byId(id, request, requestOptions) {
39
+ __byIdV1(id, request, requestOptions) {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  var _a, _b, _c, _d;
42
42
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
43
43
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
44
- 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)}`),
44
+ 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)}`),
45
45
  method: "PATCH",
46
46
  headers: _headers,
47
47
  contentType: "application/json",
@@ -75,7 +75,7 @@ export class RemoveLineItems {
75
75
  rawResponse: _response.rawResponse,
76
76
  });
77
77
  case "timeout":
78
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/remove_line_items/{id}.");
78
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_pay_courier_line_item_groups/remove_line_items/v1/{id}.");
79
79
  case "unknown":
80
80
  throw new errors.ChrtError({
81
81
  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
  }
@@ -25,17 +25,17 @@ export class Shipper {
25
25
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
26
26
  *
27
27
  * @example
28
- * await client.shipperPayCourierLineItemGroups.shipper.list()
28
+ * await client.shipperPayCourierLineItemGroups.shipper.listV1()
29
29
  */
30
- list(requestOptions) {
31
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
30
+ listV1(requestOptions) {
31
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
32
32
  }
33
- __list(requestOptions) {
33
+ __listV1(requestOptions) {
34
34
  return __awaiter(this, void 0, void 0, function* () {
35
35
  var _a, _b, _c, _d;
36
36
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
37
37
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
38
- 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"),
38
+ 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"),
39
39
  method: "GET",
40
40
  headers: _headers,
41
41
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -64,7 +64,7 @@ export class Shipper {
64
64
  rawResponse: _response.rawResponse,
65
65
  });
66
66
  case "timeout":
67
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/list.");
67
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/list/v1.");
68
68
  case "unknown":
69
69
  throw new errors.ChrtError({
70
70
  message: _response.error.errorMessage,
@@ -82,17 +82,17 @@ export class Shipper {
82
82
  * @throws {@link Chrt.UnprocessableEntityError}
83
83
  *
84
84
  * @example
85
- * await client.shipperPayCourierLineItemGroups.shipper.getById("id")
85
+ * await client.shipperPayCourierLineItemGroups.shipper.getByIdV1("id")
86
86
  */
87
- getById(id, requestOptions) {
88
- return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
87
+ getByIdV1(id, requestOptions) {
88
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
89
89
  }
90
- __getById(id, requestOptions) {
90
+ __getByIdV1(id, requestOptions) {
91
91
  return __awaiter(this, void 0, void 0, function* () {
92
92
  var _a, _b, _c, _d;
93
93
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
94
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
95
- 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)}`),
95
+ 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)}`),
96
96
  method: "GET",
97
97
  headers: _headers,
98
98
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -123,7 +123,7 @@ export class Shipper {
123
123
  rawResponse: _response.rawResponse,
124
124
  });
125
125
  case "timeout":
126
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/{id}.");
126
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/v1/{id}.");
127
127
  case "unknown":
128
128
  throw new errors.ChrtError({
129
129
  message: _response.error.errorMessage,
@@ -141,17 +141,17 @@ export class Shipper {
141
141
  * @throws {@link Chrt.UnprocessableEntityError}
142
142
  *
143
143
  * @example
144
- * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupId("task_group_id")
144
+ * await client.shipperPayCourierLineItemGroups.shipper.byTaskGroupIdV1("task_group_id")
145
145
  */
146
- byTaskGroupId(taskGroupId, requestOptions) {
147
- return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
146
+ byTaskGroupIdV1(taskGroupId, requestOptions) {
147
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupIdV1(taskGroupId, requestOptions));
148
148
  }
149
- __byTaskGroupId(taskGroupId, requestOptions) {
149
+ __byTaskGroupIdV1(taskGroupId, requestOptions) {
150
150
  return __awaiter(this, void 0, void 0, function* () {
151
151
  var _a, _b, _c, _d;
152
152
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
153
153
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
154
- 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)}`),
154
+ 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)}`),
155
155
  method: "GET",
156
156
  headers: _headers,
157
157
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -182,7 +182,7 @@ export class Shipper {
182
182
  rawResponse: _response.rawResponse,
183
183
  });
184
184
  case "timeout":
185
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/{task_group_id}.");
185
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_pay_courier_line_item_groups/shipper/by_task_group/v1/{task_group_id}.");
186
186
  case "unknown":
187
187
  throw new errors.ChrtError({
188
188
  message: _response.error.errorMessage,