@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
@@ -69,17 +69,17 @@ class Orders {
69
69
  * @throws {@link Chrt.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.orders.getByOrderIdOrShortId("order_id_or_short_id")
72
+ * await client.orders.getByOrderIdOrShortIdV1("order_id_or_short_id")
73
73
  */
74
- getByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
75
- return core.HttpResponsePromise.fromPromise(this.__getByOrderIdOrShortId(orderIdOrShortId, requestOptions));
74
+ getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions));
76
76
  }
77
- __getByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
77
+ __getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
78
78
  return __awaiter(this, void 0, void 0, function* () {
79
79
  var _a, _b, _c, _d;
80
80
  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);
81
81
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
82
- 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/orders/${encodeURIComponent(orderIdOrShortId)}`),
82
+ 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/orders/v1/${encodeURIComponent(orderIdOrShortId)}`),
83
83
  method: "GET",
84
84
  headers: _headers,
85
85
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -110,7 +110,7 @@ class Orders {
110
110
  rawResponse: _response.rawResponse,
111
111
  });
112
112
  case "timeout":
113
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/{order_id_or_short_id}.");
113
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/v1/{order_id_or_short_id}.");
114
114
  case "unknown":
115
115
  throw new errors.ChrtError({
116
116
  message: _response.error.errorMessage,
@@ -128,17 +128,17 @@ class Orders {
128
128
  * @throws {@link Chrt.UnprocessableEntityError}
129
129
  *
130
130
  * @example
131
- * await client.orders.cancelByOrderIdOrShortId("order_id_or_short_id")
131
+ * await client.orders.cancelByOrderIdOrShortIdV1("order_id_or_short_id")
132
132
  */
133
- cancelByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
134
- return core.HttpResponsePromise.fromPromise(this.__cancelByOrderIdOrShortId(orderIdOrShortId, requestOptions));
133
+ cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
134
+ return core.HttpResponsePromise.fromPromise(this.__cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions));
135
135
  }
136
- __cancelByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
136
+ __cancelByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
137
137
  return __awaiter(this, void 0, void 0, function* () {
138
138
  var _a, _b, _c, _d;
139
139
  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);
140
140
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
141
- 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/orders/cancel/${encodeURIComponent(orderIdOrShortId)}`),
141
+ 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/orders/cancel/v1/${encodeURIComponent(orderIdOrShortId)}`),
142
142
  method: "PATCH",
143
143
  headers: _headers,
144
144
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -169,7 +169,7 @@ class Orders {
169
169
  rawResponse: _response.rawResponse,
170
170
  });
171
171
  case "timeout":
172
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/orders/cancel/{order_id_or_short_id}.");
172
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/orders/cancel/v1/{order_id_or_short_id}.");
173
173
  case "unknown":
174
174
  throw new errors.ChrtError({
175
175
  message: _response.error.errorMessage,
@@ -264,17 +264,17 @@ class Orders {
264
264
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
265
265
  *
266
266
  * @example
267
- * await client.orders.listByShipperOrgId()
267
+ * await client.orders.listByShipperOrgIdV1()
268
268
  */
269
- listByShipperOrgId(requestOptions) {
270
- return core.HttpResponsePromise.fromPromise(this.__listByShipperOrgId(requestOptions));
269
+ listByShipperOrgIdV1(requestOptions) {
270
+ return core.HttpResponsePromise.fromPromise(this.__listByShipperOrgIdV1(requestOptions));
271
271
  }
272
- __listByShipperOrgId(requestOptions) {
272
+ __listByShipperOrgIdV1(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/orders/list/by_shipper_org_id"),
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/orders/list/by_shipper_org_id/v1"),
278
278
  method: "GET",
279
279
  headers: _headers,
280
280
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -300,7 +300,7 @@ class Orders {
300
300
  rawResponse: _response.rawResponse,
301
301
  });
302
302
  case "timeout":
303
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_shipper_org_id.");
303
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_shipper_org_id/v1.");
304
304
  case "unknown":
305
305
  throw new errors.ChrtError({
306
306
  message: _response.error.errorMessage,
@@ -315,17 +315,17 @@ class Orders {
315
315
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
316
316
  *
317
317
  * @example
318
- * await client.orders.listByCourierOrgId()
318
+ * await client.orders.listByCourierOrgIdV1()
319
319
  */
320
- listByCourierOrgId(requestOptions) {
321
- return core.HttpResponsePromise.fromPromise(this.__listByCourierOrgId(requestOptions));
320
+ listByCourierOrgIdV1(requestOptions) {
321
+ return core.HttpResponsePromise.fromPromise(this.__listByCourierOrgIdV1(requestOptions));
322
322
  }
323
- __listByCourierOrgId(requestOptions) {
323
+ __listByCourierOrgIdV1(requestOptions) {
324
324
  return __awaiter(this, void 0, void 0, function* () {
325
325
  var _a, _b, _c, _d;
326
326
  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);
327
327
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
328
- 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/orders/list/by_courier_org_id"),
328
+ 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/orders/list/by_courier_org_id/v1"),
329
329
  method: "GET",
330
330
  headers: _headers,
331
331
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -351,7 +351,7 @@ class Orders {
351
351
  rawResponse: _response.rawResponse,
352
352
  });
353
353
  case "timeout":
354
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_courier_org_id.");
354
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_courier_org_id/v1.");
355
355
  case "unknown":
356
356
  throw new errors.ChrtError({
357
357
  message: _response.error.errorMessage,
@@ -39,29 +39,29 @@ export declare class Full {
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.orders.full.getByOrderIdOrShortId("order_id_or_short_id")
42
+ * await client.orders.full.getByOrderIdOrShortIdV1("order_id_or_short_id")
43
43
  */
44
- getByOrderIdOrShortId(orderIdOrShortId: string, requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes>;
45
- private __getByOrderIdOrShortId;
44
+ getByOrderIdOrShortIdV1(orderIdOrShortId: string, requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes>;
45
+ private __getByOrderIdOrShortIdV1;
46
46
  /**
47
47
  * Lists all orders for the authenticated shipper organization with complete task groups, tasks, milestones, and cargo details.
48
48
  *
49
49
  * @param {Full.RequestOptions} requestOptions - Request-specific configuration.
50
50
  *
51
51
  * @example
52
- * await client.orders.full.listByShipperOrgId()
52
+ * await client.orders.full.listByShipperOrgIdV1()
53
53
  */
54
- listByShipperOrgId(requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes[]>;
55
- private __listByShipperOrgId;
54
+ listByShipperOrgIdV1(requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes[]>;
55
+ private __listByShipperOrgIdV1;
56
56
  /**
57
57
  * Lists all orders assigned to the authenticated courier organization with complete task groups, tasks, milestones, and cargo details.
58
58
  *
59
59
  * @param {Full.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
61
61
  * @example
62
- * await client.orders.full.listByCourierOrgId()
62
+ * await client.orders.full.listByCourierOrgIdV1()
63
63
  */
64
- listByCourierOrgId(requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes[]>;
65
- private __listByCourierOrgId;
64
+ listByCourierOrgIdV1(requestOptions?: Full.RequestOptions): core.HttpResponsePromise<Chrt.GetOrderFullRes[]>;
65
+ private __listByCourierOrgIdV1;
66
66
  protected _getAuthorizationHeader(): Promise<string | undefined>;
67
67
  }
@@ -64,17 +64,17 @@ class Full {
64
64
  * @throws {@link Chrt.UnprocessableEntityError}
65
65
  *
66
66
  * @example
67
- * await client.orders.full.getByOrderIdOrShortId("order_id_or_short_id")
67
+ * await client.orders.full.getByOrderIdOrShortIdV1("order_id_or_short_id")
68
68
  */
69
- getByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
70
- return core.HttpResponsePromise.fromPromise(this.__getByOrderIdOrShortId(orderIdOrShortId, requestOptions));
69
+ getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions));
71
71
  }
72
- __getByOrderIdOrShortId(orderIdOrShortId, requestOptions) {
72
+ __getByOrderIdOrShortIdV1(orderIdOrShortId, requestOptions) {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
74
  var _a, _b, _c, _d;
75
75
  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);
76
76
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
77
- 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/orders/${encodeURIComponent(orderIdOrShortId)}/full`),
77
+ 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/orders/v1/${encodeURIComponent(orderIdOrShortId)}/full`),
78
78
  method: "GET",
79
79
  headers: _headers,
80
80
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -105,7 +105,7 @@ class Full {
105
105
  rawResponse: _response.rawResponse,
106
106
  });
107
107
  case "timeout":
108
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/{order_id_or_short_id}/full.");
108
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/v1/{order_id_or_short_id}/full.");
109
109
  case "unknown":
110
110
  throw new errors.ChrtError({
111
111
  message: _response.error.errorMessage,
@@ -120,17 +120,17 @@ class Full {
120
120
  * @param {Full.RequestOptions} requestOptions - Request-specific configuration.
121
121
  *
122
122
  * @example
123
- * await client.orders.full.listByShipperOrgId()
123
+ * await client.orders.full.listByShipperOrgIdV1()
124
124
  */
125
- listByShipperOrgId(requestOptions) {
126
- return core.HttpResponsePromise.fromPromise(this.__listByShipperOrgId(requestOptions));
125
+ listByShipperOrgIdV1(requestOptions) {
126
+ return core.HttpResponsePromise.fromPromise(this.__listByShipperOrgIdV1(requestOptions));
127
127
  }
128
- __listByShipperOrgId(requestOptions) {
128
+ __listByShipperOrgIdV1(requestOptions) {
129
129
  return __awaiter(this, void 0, void 0, function* () {
130
130
  var _a, _b, _c, _d;
131
131
  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);
132
132
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
133
- 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/orders/list/by_shipper_org_id/full"),
133
+ 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/orders/list/by_shipper_org_id/full/v1"),
134
134
  method: "GET",
135
135
  headers: _headers,
136
136
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -156,7 +156,7 @@ class Full {
156
156
  rawResponse: _response.rawResponse,
157
157
  });
158
158
  case "timeout":
159
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_shipper_org_id/full.");
159
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_shipper_org_id/full/v1.");
160
160
  case "unknown":
161
161
  throw new errors.ChrtError({
162
162
  message: _response.error.errorMessage,
@@ -171,17 +171,17 @@ class Full {
171
171
  * @param {Full.RequestOptions} requestOptions - Request-specific configuration.
172
172
  *
173
173
  * @example
174
- * await client.orders.full.listByCourierOrgId()
174
+ * await client.orders.full.listByCourierOrgIdV1()
175
175
  */
176
- listByCourierOrgId(requestOptions) {
177
- return core.HttpResponsePromise.fromPromise(this.__listByCourierOrgId(requestOptions));
176
+ listByCourierOrgIdV1(requestOptions) {
177
+ return core.HttpResponsePromise.fromPromise(this.__listByCourierOrgIdV1(requestOptions));
178
178
  }
179
- __listByCourierOrgId(requestOptions) {
179
+ __listByCourierOrgIdV1(requestOptions) {
180
180
  return __awaiter(this, void 0, void 0, function* () {
181
181
  var _a, _b, _c, _d;
182
182
  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);
183
183
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
184
- 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/orders/list/by_courier_org_id/full"),
184
+ 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/orders/list/by_courier_org_id/full/v1"),
185
185
  method: "GET",
186
186
  headers: _headers,
187
187
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -207,7 +207,7 @@ class Full {
207
207
  rawResponse: _response.rawResponse,
208
208
  });
209
209
  case "timeout":
210
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_courier_org_id/full.");
210
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/orders/list/by_courier_org_id/full/v1.");
211
211
  case "unknown":
212
212
  throw new errors.ChrtError({
213
213
  message: _response.error.errorMessage,
@@ -36,10 +36,10 @@ export declare class Courier {
36
36
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.orgConnectionInfos.courier.get()
39
+ * await client.orgConnectionInfos.courier.getV1()
40
40
  */
41
- get(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1>;
42
- private __get;
41
+ getV1(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1>;
42
+ private __getV1;
43
43
  /**
44
44
  * Creates courier organization connection information. Fails if already exists.
45
45
  *
@@ -49,13 +49,13 @@ export declare class Courier {
49
49
  * @throws {@link Chrt.UnprocessableEntityError}
50
50
  *
51
51
  * @example
52
- * await client.orgConnectionInfos.courier.create({
52
+ * await client.orgConnectionInfos.courier.createV1({
53
53
  * schema_version: 1,
54
54
  * email_address_primary: "email_address_primary"
55
55
  * })
56
56
  */
57
- create(request: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientCreate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<string>;
58
- private __create;
57
+ createV1(request: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientCreate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<string>;
58
+ private __createV1;
59
59
  /**
60
60
  * Updates existing courier organization connection information.
61
61
  *
@@ -65,9 +65,9 @@ export declare class Courier {
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.orgConnectionInfos.courier.update()
68
+ * await client.orgConnectionInfos.courier.updateV1()
69
69
  */
70
- update(request?: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientUpdate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<boolean>;
71
- private __update;
70
+ updateV1(request?: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientUpdate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<boolean>;
71
+ private __updateV1;
72
72
  protected _getAuthorizationHeader(): Promise<string | undefined>;
73
73
  }
@@ -61,17 +61,17 @@ class Courier {
61
61
  * @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.orgConnectionInfos.courier.get()
64
+ * await client.orgConnectionInfos.courier.getV1()
65
65
  */
66
- get(requestOptions) {
67
- return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
66
+ getV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
68
68
  }
69
- __get(requestOptions) {
69
+ __getV1(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/org_connection_infos/courier"),
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/org_connection_infos/courier/v1"),
75
75
  method: "GET",
76
76
  headers: _headers,
77
77
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -97,7 +97,7 @@ class Courier {
97
97
  rawResponse: _response.rawResponse,
98
98
  });
99
99
  case "timeout":
100
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/courier.");
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/courier/v1.");
101
101
  case "unknown":
102
102
  throw new errors.ChrtError({
103
103
  message: _response.error.errorMessage,
@@ -115,20 +115,20 @@ class Courier {
115
115
  * @throws {@link Chrt.UnprocessableEntityError}
116
116
  *
117
117
  * @example
118
- * await client.orgConnectionInfos.courier.create({
118
+ * await client.orgConnectionInfos.courier.createV1({
119
119
  * schema_version: 1,
120
120
  * email_address_primary: "email_address_primary"
121
121
  * })
122
122
  */
123
- create(request, requestOptions) {
124
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
123
+ createV1(request, requestOptions) {
124
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
125
125
  }
126
- __create(request, requestOptions) {
126
+ __createV1(request, 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/org_connection_infos/courier/create"),
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/org_connection_infos/courier/create/v1"),
132
132
  method: "POST",
133
133
  headers: _headers,
134
134
  contentType: "application/json",
@@ -162,7 +162,7 @@ class Courier {
162
162
  rawResponse: _response.rawResponse,
163
163
  });
164
164
  case "timeout":
165
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/courier/create.");
165
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/courier/create/v1.");
166
166
  case "unknown":
167
167
  throw new errors.ChrtError({
168
168
  message: _response.error.errorMessage,
@@ -180,17 +180,17 @@ class Courier {
180
180
  * @throws {@link Chrt.UnprocessableEntityError}
181
181
  *
182
182
  * @example
183
- * await client.orgConnectionInfos.courier.update()
183
+ * await client.orgConnectionInfos.courier.updateV1()
184
184
  */
185
- update(request = {}, requestOptions) {
186
- return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
185
+ updateV1(request = {}, requestOptions) {
186
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
187
187
  }
188
- __update() {
188
+ __updateV1() {
189
189
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
190
190
  var _a, _b, _c, _d;
191
191
  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);
192
192
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
193
- 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/org_connection_infos/courier/update"),
193
+ 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/org_connection_infos/courier/update/v1"),
194
194
  method: "PATCH",
195
195
  headers: _headers,
196
196
  contentType: "application/json",
@@ -224,7 +224,7 @@ class Courier {
224
224
  rawResponse: _response.rawResponse,
225
225
  });
226
226
  case "timeout":
227
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/courier/update.");
227
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/courier/update/v1.");
228
228
  case "unknown":
229
229
  throw new errors.ChrtError({
230
230
  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.orgConnectionInfos.shipper.get()
39
+ * await client.orgConnectionInfos.shipper.getV1()
40
40
  */
41
- get(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1>;
42
- private __get;
41
+ getV1(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1>;
42
+ private __getV1;
43
43
  /**
44
44
  * Creates shipper organization connection information. Fails if already exists.
45
45
  *
@@ -49,13 +49,13 @@ export declare class Shipper {
49
49
  * @throws {@link Chrt.UnprocessableEntityError}
50
50
  *
51
51
  * @example
52
- * await client.orgConnectionInfos.shipper.create({
52
+ * await client.orgConnectionInfos.shipper.createV1({
53
53
  * schema_version: 1,
54
54
  * email_address_primary: "email_address_primary"
55
55
  * })
56
56
  */
57
- create(request: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
58
- private __create;
57
+ createV1(request: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
58
+ private __createV1;
59
59
  /**
60
60
  * Updates existing shipper organization connection information.
61
61
  *
@@ -65,9 +65,9 @@ export declare class Shipper {
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.orgConnectionInfos.shipper.update()
68
+ * await client.orgConnectionInfos.shipper.updateV1()
69
69
  */
70
- update(request?: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientUpdate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<boolean>;
71
- private __update;
70
+ updateV1(request?: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientUpdate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<boolean>;
71
+ private __updateV1;
72
72
  protected _getAuthorizationHeader(): Promise<string | undefined>;
73
73
  }
@@ -61,17 +61,17 @@ class Shipper {
61
61
  * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.orgConnectionInfos.shipper.get()
64
+ * await client.orgConnectionInfos.shipper.getV1()
65
65
  */
66
- get(requestOptions) {
67
- return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
66
+ getV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
68
68
  }
69
- __get(requestOptions) {
69
+ __getV1(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/org_connection_infos/shipper"),
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/org_connection_infos/shipper/v1"),
75
75
  method: "GET",
76
76
  headers: _headers,
77
77
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -97,7 +97,7 @@ class Shipper {
97
97
  rawResponse: _response.rawResponse,
98
98
  });
99
99
  case "timeout":
100
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/shipper.");
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/shipper/v1.");
101
101
  case "unknown":
102
102
  throw new errors.ChrtError({
103
103
  message: _response.error.errorMessage,
@@ -115,20 +115,20 @@ class Shipper {
115
115
  * @throws {@link Chrt.UnprocessableEntityError}
116
116
  *
117
117
  * @example
118
- * await client.orgConnectionInfos.shipper.create({
118
+ * await client.orgConnectionInfos.shipper.createV1({
119
119
  * schema_version: 1,
120
120
  * email_address_primary: "email_address_primary"
121
121
  * })
122
122
  */
123
- create(request, requestOptions) {
124
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
123
+ createV1(request, requestOptions) {
124
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
125
125
  }
126
- __create(request, requestOptions) {
126
+ __createV1(request, 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/org_connection_infos/shipper/create"),
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/org_connection_infos/shipper/create/v1"),
132
132
  method: "POST",
133
133
  headers: _headers,
134
134
  contentType: "application/json",
@@ -162,7 +162,7 @@ class Shipper {
162
162
  rawResponse: _response.rawResponse,
163
163
  });
164
164
  case "timeout":
165
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/shipper/create.");
165
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/shipper/create/v1.");
166
166
  case "unknown":
167
167
  throw new errors.ChrtError({
168
168
  message: _response.error.errorMessage,
@@ -180,17 +180,17 @@ class Shipper {
180
180
  * @throws {@link Chrt.UnprocessableEntityError}
181
181
  *
182
182
  * @example
183
- * await client.orgConnectionInfos.shipper.update()
183
+ * await client.orgConnectionInfos.shipper.updateV1()
184
184
  */
185
- update(request = {}, requestOptions) {
186
- return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
185
+ updateV1(request = {}, requestOptions) {
186
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
187
187
  }
188
- __update() {
188
+ __updateV1() {
189
189
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
190
190
  var _a, _b, _c, _d;
191
191
  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);
192
192
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
193
- 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/org_connection_infos/shipper/update"),
193
+ 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/org_connection_infos/shipper/update/v1"),
194
194
  method: "PATCH",
195
195
  headers: _headers,
196
196
  contentType: "application/json",
@@ -224,7 +224,7 @@ class Shipper {
224
224
  rawResponse: _response.rawResponse,
225
225
  });
226
226
  case "timeout":
227
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/shipper/update.");
227
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/shipper/update/v1.");
228
228
  case "unknown":
229
229
  throw new errors.ChrtError({
230
230
  message: _response.error.errorMessage,