@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
@@ -60,17 +60,17 @@ class Root {
60
60
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @example
63
- * await client.root.pingAuthd()
63
+ * await client.root.pingAuthdV1()
64
64
  */
65
- pingAuthd(requestOptions) {
66
- return core.HttpResponsePromise.fromPromise(this.__pingAuthd(requestOptions));
65
+ pingAuthdV1(requestOptions) {
66
+ return core.HttpResponsePromise.fromPromise(this.__pingAuthdV1(requestOptions));
67
67
  }
68
- __pingAuthd(requestOptions) {
68
+ __pingAuthdV1(requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
70
  var _a, _b, _c, _d;
71
71
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
72
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
73
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "authd"),
73
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "authd/v1"),
74
74
  method: "GET",
75
75
  headers: _headers,
76
76
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -96,7 +96,7 @@ class Root {
96
96
  rawResponse: _response.rawResponse,
97
97
  });
98
98
  case "timeout":
99
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /authd.");
99
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /authd/v1.");
100
100
  case "unknown":
101
101
  throw new errors.ChrtError({
102
102
  message: _response.error.errorMessage,
@@ -111,17 +111,17 @@ class Root {
111
111
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
112
112
  *
113
113
  * @example
114
- * await client.root.pingOptionallyAuthd()
114
+ * await client.root.pingOptionallyAuthdV1()
115
115
  */
116
- pingOptionallyAuthd(requestOptions) {
117
- return core.HttpResponsePromise.fromPromise(this.__pingOptionallyAuthd(requestOptions));
116
+ pingOptionallyAuthdV1(requestOptions) {
117
+ return core.HttpResponsePromise.fromPromise(this.__pingOptionallyAuthdV1(requestOptions));
118
118
  }
119
- __pingOptionallyAuthd(requestOptions) {
119
+ __pingOptionallyAuthdV1(requestOptions) {
120
120
  return __awaiter(this, void 0, void 0, function* () {
121
121
  var _a, _b, _c, _d;
122
122
  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);
123
123
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
124
- 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, "optionally_authd"),
124
+ 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, "optionally_authd/v1"),
125
125
  method: "GET",
126
126
  headers: _headers,
127
127
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -147,7 +147,7 @@ class Root {
147
147
  rawResponse: _response.rawResponse,
148
148
  });
149
149
  case "timeout":
150
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /optionally_authd.");
150
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /optionally_authd/v1.");
151
151
  case "unknown":
152
152
  throw new errors.ChrtError({
153
153
  message: _response.error.errorMessage,
@@ -157,22 +157,22 @@ class Root {
157
157
  });
158
158
  }
159
159
  /**
160
- * Returns a greeting message
160
+ * Returns a greeting message to verify the API is accessible.
161
161
  *
162
162
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
163
163
  *
164
164
  * @example
165
- * await client.root.pingUnauthd()
165
+ * await client.root.pingUnauthdV1()
166
166
  */
167
- pingUnauthd(requestOptions) {
168
- return core.HttpResponsePromise.fromPromise(this.__pingUnauthd(requestOptions));
167
+ pingUnauthdV1(requestOptions) {
168
+ return core.HttpResponsePromise.fromPromise(this.__pingUnauthdV1(requestOptions));
169
169
  }
170
- __pingUnauthd(requestOptions) {
170
+ __pingUnauthdV1(requestOptions) {
171
171
  return __awaiter(this, void 0, void 0, function* () {
172
172
  var _a, _b, _c, _d;
173
173
  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);
174
174
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
175
- url: (_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,
175
+ 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, "v1"),
176
176
  method: "GET",
177
177
  headers: _headers,
178
178
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -198,7 +198,7 @@ class Root {
198
198
  rawResponse: _response.rawResponse,
199
199
  });
200
200
  case "timeout":
201
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /.");
201
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /v1.");
202
202
  case "unknown":
203
203
  throw new errors.ChrtError({
204
204
  message: _response.error.errorMessage,
@@ -208,7 +208,7 @@ class Root {
208
208
  });
209
209
  }
210
210
  /**
211
- * Used for monitoring system health
211
+ * Returns a health status message used for monitoring system availability and uptime.
212
212
  *
213
213
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
214
214
  *
@@ -264,17 +264,17 @@ class Root {
264
264
  * @param {Root.RequestOptions} requestOptions - Request-specific configuration.
265
265
  *
266
266
  * @example
267
- * await client.root.failure()
267
+ * await client.root.failureV1()
268
268
  */
269
- failure(requestOptions) {
270
- return core.HttpResponsePromise.fromPromise(this.__failure(requestOptions));
269
+ failureV1(requestOptions) {
270
+ return core.HttpResponsePromise.fromPromise(this.__failureV1(requestOptions));
271
271
  }
272
- __failure(requestOptions) {
272
+ __failureV1(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, "failure"),
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, "failure/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 Root {
300
300
  rawResponse: _response.rawResponse,
301
301
  });
302
302
  case "timeout":
303
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure.");
303
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure/v1.");
304
304
  case "unknown":
305
305
  throw new errors.ChrtError({
306
306
  message: _response.error.errorMessage,
@@ -36,20 +36,20 @@ export declare class ShipperContactInfo {
36
36
  * @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.shipperContactInfo.getByJwtUserId()
39
+ * await client.shipperContactInfo.getByJwtUserIdV1()
40
40
  */
41
- getByJwtUserId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
42
- private __getByJwtUserId;
41
+ getByJwtUserIdV1(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
42
+ private __getByJwtUserIdV1;
43
43
  /**
44
44
  * Lists all shipper contacts created by the authenticated organization.
45
45
  *
46
46
  * @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
48
48
  * @example
49
- * await client.shipperContactInfo.listByJwtOrgId()
49
+ * await client.shipperContactInfo.listByJwtOrgIdV1()
50
50
  */
51
- listByJwtOrgId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
52
- private __listByJwtOrgId;
51
+ listByJwtOrgIdV1(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
52
+ private __listByJwtOrgIdV1;
53
53
  /**
54
54
  * Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.
55
55
  *
@@ -59,10 +59,10 @@ export declare class ShipperContactInfo {
59
59
  * @throws {@link Chrt.UnprocessableEntityError}
60
60
  *
61
61
  * @example
62
- * await client.shipperContactInfo.listCourierContactsByShipperOrgId("shipper_org_id")
62
+ * await client.shipperContactInfo.listCourierContactsByShipperOrgIdV1("shipper_org_id")
63
63
  */
64
- listCourierContactsByShipperOrgId(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
65
- private __listCourierContactsByShipperOrgId;
64
+ listCourierContactsByShipperOrgIdV1(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
65
+ private __listCourierContactsByShipperOrgIdV1;
66
66
  /**
67
67
  * Lists all shipper contacts for a specific off-platform shipper connection.
68
68
  *
@@ -72,10 +72,10 @@ export declare class ShipperContactInfo {
72
72
  * @throws {@link Chrt.UnprocessableEntityError}
73
73
  *
74
74
  * @example
75
- * await client.shipperContactInfo.listByOffChrtShipperOrgInfoId("off_chrt_shipper_org_info_id")
75
+ * await client.shipperContactInfo.listByOffChrtShipperOrgInfoIdV1("off_chrt_shipper_org_info_id")
76
76
  */
77
- listByOffChrtShipperOrgInfoId(offChrtShipperOrgInfoId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
78
- private __listByOffChrtShipperOrgInfoId;
77
+ listByOffChrtShipperOrgInfoIdV1(offChrtShipperOrgInfoId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
78
+ private __listByOffChrtShipperOrgInfoIdV1;
79
79
  /**
80
80
  * Retrieves a specific shipper contact by ID if authorized to access it.
81
81
  *
@@ -85,10 +85,10 @@ export declare class ShipperContactInfo {
85
85
  * @throws {@link Chrt.UnprocessableEntityError}
86
86
  *
87
87
  * @example
88
- * await client.shipperContactInfo.getById("id")
88
+ * await client.shipperContactInfo.getByIdV1("id")
89
89
  */
90
- getById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
91
- private __getById;
90
+ getByIdV1(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
91
+ private __getByIdV1;
92
92
  /**
93
93
  * Creates contact information for an on-platform shipper organization or user.
94
94
  *
@@ -98,12 +98,12 @@ export declare class ShipperContactInfo {
98
98
  * @throws {@link Chrt.UnprocessableEntityError}
99
99
  *
100
100
  * @example
101
- * await client.shipperContactInfo.createOnPlatform({
101
+ * await client.shipperContactInfo.createOnPlatformV1({
102
102
  * schema_version: 1
103
103
  * })
104
104
  */
105
- createOnPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
106
- private __createOnPlatform;
105
+ createOnPlatformV1(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
106
+ private __createOnPlatformV1;
107
107
  /**
108
108
  * Creates contact information for an off-platform shipper using connection info.
109
109
  *
@@ -113,12 +113,12 @@ export declare class ShipperContactInfo {
113
113
  * @throws {@link Chrt.UnprocessableEntityError}
114
114
  *
115
115
  * @example
116
- * await client.shipperContactInfo.createOffPlatform({
116
+ * await client.shipperContactInfo.createOffPlatformV1({
117
117
  * schema_version: 1
118
118
  * })
119
119
  */
120
- createOffPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
121
- private __createOffPlatform;
120
+ createOffPlatformV1(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
121
+ private __createOffPlatformV1;
122
122
  /**
123
123
  * Updates existing shipper contact information owned by the authenticated organization.
124
124
  *
@@ -129,10 +129,10 @@ export declare class ShipperContactInfo {
129
129
  * @throws {@link Chrt.UnprocessableEntityError}
130
130
  *
131
131
  * @example
132
- * await client.shipperContactInfo.update("shipper_contact_info_id")
132
+ * await client.shipperContactInfo.updateV1("shipper_contact_info_id")
133
133
  */
134
- update(shipperContactInfoId: string, request?: Chrt.ShipperContactInfoClientUpdate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
135
- private __update;
134
+ updateV1(shipperContactInfoId: string, request?: Chrt.ShipperContactInfoClientUpdate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
135
+ private __updateV1;
136
136
  /**
137
137
  * Deletes shipper contact information owned by the authenticated organization.
138
138
  *
@@ -142,9 +142,9 @@ export declare class ShipperContactInfo {
142
142
  * @throws {@link Chrt.UnprocessableEntityError}
143
143
  *
144
144
  * @example
145
- * await client.shipperContactInfo.deleteById("id")
145
+ * await client.shipperContactInfo.deleteByIdV1("id")
146
146
  */
147
- deleteById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
148
- private __deleteById;
147
+ deleteByIdV1(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
148
+ private __deleteByIdV1;
149
149
  protected _getAuthorizationHeader(): Promise<string | undefined>;
150
150
  }
@@ -61,17 +61,17 @@ class ShipperContactInfo {
61
61
  * @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.shipperContactInfo.getByJwtUserId()
64
+ * await client.shipperContactInfo.getByJwtUserIdV1()
65
65
  */
66
- getByJwtUserId(requestOptions) {
67
- return core.HttpResponsePromise.fromPromise(this.__getByJwtUserId(requestOptions));
66
+ getByJwtUserIdV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__getByJwtUserIdV1(requestOptions));
68
68
  }
69
- __getByJwtUserId(requestOptions) {
69
+ __getByJwtUserIdV1(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
71
  var _a, _b, _c, _d;
72
72
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
73
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/by_jwt_user_id"),
74
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/by_jwt_user_id/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 ShipperContactInfo {
97
97
  rawResponse: _response.rawResponse,
98
98
  });
99
99
  case "timeout":
100
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/by_jwt_user_id.");
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/by_jwt_user_id/v1.");
101
101
  case "unknown":
102
102
  throw new errors.ChrtError({
103
103
  message: _response.error.errorMessage,
@@ -112,17 +112,17 @@ class ShipperContactInfo {
112
112
  * @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
113
113
  *
114
114
  * @example
115
- * await client.shipperContactInfo.listByJwtOrgId()
115
+ * await client.shipperContactInfo.listByJwtOrgIdV1()
116
116
  */
117
- listByJwtOrgId(requestOptions) {
118
- return core.HttpResponsePromise.fromPromise(this.__listByJwtOrgId(requestOptions));
117
+ listByJwtOrgIdV1(requestOptions) {
118
+ return core.HttpResponsePromise.fromPromise(this.__listByJwtOrgIdV1(requestOptions));
119
119
  }
120
- __listByJwtOrgId(requestOptions) {
120
+ __listByJwtOrgIdV1(requestOptions) {
121
121
  return __awaiter(this, void 0, void 0, function* () {
122
122
  var _a, _b, _c, _d;
123
123
  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);
124
124
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
125
- 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_contact_info/list/by_jwt_org_id"),
125
+ 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_contact_info/list/by_jwt_org_id/v1"),
126
126
  method: "GET",
127
127
  headers: _headers,
128
128
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -148,7 +148,7 @@ class ShipperContactInfo {
148
148
  rawResponse: _response.rawResponse,
149
149
  });
150
150
  case "timeout":
151
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/list/by_jwt_org_id.");
151
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/list/by_jwt_org_id/v1.");
152
152
  case "unknown":
153
153
  throw new errors.ChrtError({
154
154
  message: _response.error.errorMessage,
@@ -166,17 +166,17 @@ class ShipperContactInfo {
166
166
  * @throws {@link Chrt.UnprocessableEntityError}
167
167
  *
168
168
  * @example
169
- * await client.shipperContactInfo.listCourierContactsByShipperOrgId("shipper_org_id")
169
+ * await client.shipperContactInfo.listCourierContactsByShipperOrgIdV1("shipper_org_id")
170
170
  */
171
- listCourierContactsByShipperOrgId(shipperOrgId, requestOptions) {
172
- return core.HttpResponsePromise.fromPromise(this.__listCourierContactsByShipperOrgId(shipperOrgId, requestOptions));
171
+ listCourierContactsByShipperOrgIdV1(shipperOrgId, requestOptions) {
172
+ return core.HttpResponsePromise.fromPromise(this.__listCourierContactsByShipperOrgIdV1(shipperOrgId, requestOptions));
173
173
  }
174
- __listCourierContactsByShipperOrgId(shipperOrgId, requestOptions) {
174
+ __listCourierContactsByShipperOrgIdV1(shipperOrgId, requestOptions) {
175
175
  return __awaiter(this, void 0, void 0, function* () {
176
176
  var _a, _b, _c, _d;
177
177
  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);
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_contact_info/courier_contacts/list/${encodeURIComponent(shipperOrgId)}`),
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_contact_info/courier_contacts/list/v1/${encodeURIComponent(shipperOrgId)}`),
180
180
  method: "GET",
181
181
  headers: _headers,
182
182
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -207,7 +207,7 @@ class ShipperContactInfo {
207
207
  rawResponse: _response.rawResponse,
208
208
  });
209
209
  case "timeout":
210
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/courier_contacts/list/{shipper_org_id}.");
210
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/courier_contacts/list/v1/{shipper_org_id}.");
211
211
  case "unknown":
212
212
  throw new errors.ChrtError({
213
213
  message: _response.error.errorMessage,
@@ -225,17 +225,17 @@ class ShipperContactInfo {
225
225
  * @throws {@link Chrt.UnprocessableEntityError}
226
226
  *
227
227
  * @example
228
- * await client.shipperContactInfo.listByOffChrtShipperOrgInfoId("off_chrt_shipper_org_info_id")
228
+ * await client.shipperContactInfo.listByOffChrtShipperOrgInfoIdV1("off_chrt_shipper_org_info_id")
229
229
  */
230
- listByOffChrtShipperOrgInfoId(offChrtShipperOrgInfoId, requestOptions) {
231
- return core.HttpResponsePromise.fromPromise(this.__listByOffChrtShipperOrgInfoId(offChrtShipperOrgInfoId, requestOptions));
230
+ listByOffChrtShipperOrgInfoIdV1(offChrtShipperOrgInfoId, requestOptions) {
231
+ return core.HttpResponsePromise.fromPromise(this.__listByOffChrtShipperOrgInfoIdV1(offChrtShipperOrgInfoId, requestOptions));
232
232
  }
233
- __listByOffChrtShipperOrgInfoId(offChrtShipperOrgInfoId, requestOptions) {
233
+ __listByOffChrtShipperOrgInfoIdV1(offChrtShipperOrgInfoId, requestOptions) {
234
234
  return __awaiter(this, void 0, void 0, function* () {
235
235
  var _a, _b, _c, _d;
236
236
  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);
237
237
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
238
- 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_contact_info/list/${encodeURIComponent(offChrtShipperOrgInfoId)}`),
238
+ 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_contact_info/list/v1/${encodeURIComponent(offChrtShipperOrgInfoId)}`),
239
239
  method: "GET",
240
240
  headers: _headers,
241
241
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -266,7 +266,7 @@ class ShipperContactInfo {
266
266
  rawResponse: _response.rawResponse,
267
267
  });
268
268
  case "timeout":
269
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/list/{off_chrt_shipper_org_info_id}.");
269
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/list/v1/{off_chrt_shipper_org_info_id}.");
270
270
  case "unknown":
271
271
  throw new errors.ChrtError({
272
272
  message: _response.error.errorMessage,
@@ -284,17 +284,17 @@ class ShipperContactInfo {
284
284
  * @throws {@link Chrt.UnprocessableEntityError}
285
285
  *
286
286
  * @example
287
- * await client.shipperContactInfo.getById("id")
287
+ * await client.shipperContactInfo.getByIdV1("id")
288
288
  */
289
- getById(id, requestOptions) {
290
- return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
289
+ getByIdV1(id, requestOptions) {
290
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
291
291
  }
292
- __getById(id, requestOptions) {
292
+ __getByIdV1(id, requestOptions) {
293
293
  return __awaiter(this, void 0, void 0, function* () {
294
294
  var _a, _b, _c, _d;
295
295
  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);
296
296
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
297
- 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_contact_info/${encodeURIComponent(id)}`),
297
+ 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_contact_info/v1/${encodeURIComponent(id)}`),
298
298
  method: "GET",
299
299
  headers: _headers,
300
300
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -325,7 +325,7 @@ class ShipperContactInfo {
325
325
  rawResponse: _response.rawResponse,
326
326
  });
327
327
  case "timeout":
328
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/{id}.");
328
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/shipper_contact_info/v1/{id}.");
329
329
  case "unknown":
330
330
  throw new errors.ChrtError({
331
331
  message: _response.error.errorMessage,
@@ -343,19 +343,19 @@ class ShipperContactInfo {
343
343
  * @throws {@link Chrt.UnprocessableEntityError}
344
344
  *
345
345
  * @example
346
- * await client.shipperContactInfo.createOnPlatform({
346
+ * await client.shipperContactInfo.createOnPlatformV1({
347
347
  * schema_version: 1
348
348
  * })
349
349
  */
350
- createOnPlatform(request, requestOptions) {
351
- return core.HttpResponsePromise.fromPromise(this.__createOnPlatform(request, requestOptions));
350
+ createOnPlatformV1(request, requestOptions) {
351
+ return core.HttpResponsePromise.fromPromise(this.__createOnPlatformV1(request, requestOptions));
352
352
  }
353
- __createOnPlatform(request, requestOptions) {
353
+ __createOnPlatformV1(request, requestOptions) {
354
354
  return __awaiter(this, void 0, void 0, function* () {
355
355
  var _a, _b, _c, _d;
356
356
  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);
357
357
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
358
- 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_contact_info/create/on_platform"),
358
+ 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_contact_info/create/on_platform/v1"),
359
359
  method: "POST",
360
360
  headers: _headers,
361
361
  contentType: "application/json",
@@ -389,7 +389,7 @@ class ShipperContactInfo {
389
389
  rawResponse: _response.rawResponse,
390
390
  });
391
391
  case "timeout":
392
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_contact_info/create/on_platform.");
392
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_contact_info/create/on_platform/v1.");
393
393
  case "unknown":
394
394
  throw new errors.ChrtError({
395
395
  message: _response.error.errorMessage,
@@ -407,19 +407,19 @@ class ShipperContactInfo {
407
407
  * @throws {@link Chrt.UnprocessableEntityError}
408
408
  *
409
409
  * @example
410
- * await client.shipperContactInfo.createOffPlatform({
410
+ * await client.shipperContactInfo.createOffPlatformV1({
411
411
  * schema_version: 1
412
412
  * })
413
413
  */
414
- createOffPlatform(request, requestOptions) {
415
- return core.HttpResponsePromise.fromPromise(this.__createOffPlatform(request, requestOptions));
414
+ createOffPlatformV1(request, requestOptions) {
415
+ return core.HttpResponsePromise.fromPromise(this.__createOffPlatformV1(request, requestOptions));
416
416
  }
417
- __createOffPlatform(request, requestOptions) {
417
+ __createOffPlatformV1(request, requestOptions) {
418
418
  return __awaiter(this, void 0, void 0, function* () {
419
419
  var _a, _b, _c, _d;
420
420
  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);
421
421
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
422
- 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_contact_info/create/off_platform"),
422
+ 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_contact_info/create/off_platform/v1"),
423
423
  method: "POST",
424
424
  headers: _headers,
425
425
  contentType: "application/json",
@@ -453,7 +453,7 @@ class ShipperContactInfo {
453
453
  rawResponse: _response.rawResponse,
454
454
  });
455
455
  case "timeout":
456
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_contact_info/create/off_platform.");
456
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/shipper_contact_info/create/off_platform/v1.");
457
457
  case "unknown":
458
458
  throw new errors.ChrtError({
459
459
  message: _response.error.errorMessage,
@@ -472,17 +472,17 @@ class ShipperContactInfo {
472
472
  * @throws {@link Chrt.UnprocessableEntityError}
473
473
  *
474
474
  * @example
475
- * await client.shipperContactInfo.update("shipper_contact_info_id")
475
+ * await client.shipperContactInfo.updateV1("shipper_contact_info_id")
476
476
  */
477
- update(shipperContactInfoId, request = {}, requestOptions) {
478
- return core.HttpResponsePromise.fromPromise(this.__update(shipperContactInfoId, request, requestOptions));
477
+ updateV1(shipperContactInfoId, request = {}, requestOptions) {
478
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(shipperContactInfoId, request, requestOptions));
479
479
  }
480
- __update(shipperContactInfoId_1) {
480
+ __updateV1(shipperContactInfoId_1) {
481
481
  return __awaiter(this, arguments, void 0, function* (shipperContactInfoId, request = {}, requestOptions) {
482
482
  var _a, _b, _c, _d;
483
483
  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);
484
484
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
485
- 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_contact_info/update/${encodeURIComponent(shipperContactInfoId)}`),
485
+ 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_contact_info/update/v1/${encodeURIComponent(shipperContactInfoId)}`),
486
486
  method: "PATCH",
487
487
  headers: _headers,
488
488
  contentType: "application/json",
@@ -516,7 +516,7 @@ class ShipperContactInfo {
516
516
  rawResponse: _response.rawResponse,
517
517
  });
518
518
  case "timeout":
519
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_contact_info/update/{shipper_contact_info_id}.");
519
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/shipper_contact_info/update/v1/{shipper_contact_info_id}.");
520
520
  case "unknown":
521
521
  throw new errors.ChrtError({
522
522
  message: _response.error.errorMessage,
@@ -534,17 +534,17 @@ class ShipperContactInfo {
534
534
  * @throws {@link Chrt.UnprocessableEntityError}
535
535
  *
536
536
  * @example
537
- * await client.shipperContactInfo.deleteById("id")
537
+ * await client.shipperContactInfo.deleteByIdV1("id")
538
538
  */
539
- deleteById(id, requestOptions) {
540
- return core.HttpResponsePromise.fromPromise(this.__deleteById(id, requestOptions));
539
+ deleteByIdV1(id, requestOptions) {
540
+ return core.HttpResponsePromise.fromPromise(this.__deleteByIdV1(id, requestOptions));
541
541
  }
542
- __deleteById(id, requestOptions) {
542
+ __deleteByIdV1(id, requestOptions) {
543
543
  return __awaiter(this, void 0, void 0, function* () {
544
544
  var _a, _b, _c, _d;
545
545
  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);
546
546
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
547
- 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_contact_info/delete/${encodeURIComponent(id)}`),
547
+ 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_contact_info/delete/v1/${encodeURIComponent(id)}`),
548
548
  method: "DELETE",
549
549
  headers: _headers,
550
550
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -575,7 +575,7 @@ class ShipperContactInfo {
575
575
  rawResponse: _response.rawResponse,
576
576
  });
577
577
  case "timeout":
578
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_contact_info/delete/{id}.");
578
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /oort/shipper_contact_info/delete/v1/{id}.");
579
579
  case "unknown":
580
580
  throw new errors.ChrtError({
581
581
  message: _response.error.errorMessage,