@chrt-inc/typescript-sdk 1.280.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 (304) 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/client/requests/TaskGroupsExpandedReq.d.ts +3 -0
  74. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +6 -6
  75. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +12 -12
  76. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +3 -3
  77. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +6 -6
  78. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +5 -5
  79. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +8 -8
  80. 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
  81. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.ts +1 -1
  82. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +5 -5
  83. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +8 -8
  84. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.d.ts → CargoByDriverLastSeenV1Request.d.ts} +1 -1
  85. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.ts +1 -1
  86. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +32 -32
  87. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +53 -53
  88. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.d.ts → DevicesDeleteV1Request.d.ts} +1 -1
  89. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.d.ts → DevicesGetV1Request.d.ts} +1 -1
  90. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.d.ts → DevicesLinkToCargoV1Request.d.ts} +1 -1
  91. 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
  92. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +4 -4
  93. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +4 -4
  94. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +7 -7
  95. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +66 -66
  96. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +108 -108
  97. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.d.ts → SessionByDeviceDataPointsPublicV1Request.d.ts} +1 -1
  98. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.d.ts → SessionByDeviceDataPointsV1Request.d.ts} +1 -1
  99. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.d.ts → SessionByDeviceDeleteV1Request.d.ts} +1 -1
  100. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.d.ts → SessionByDeviceGetV1Request.d.ts} +1 -1
  101. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.d.ts → SessionByDeviceLastSeenPublicV1Request.d.ts} +1 -1
  102. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.d.ts +12 -0
  103. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.ts +12 -0
  104. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.ts +12 -0
  105. 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
  106. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.ts +12 -0
  107. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +10 -10
  108. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +5 -5
  109. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +8 -8
  110. 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
  111. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.ts +1 -1
  112. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
  113. package/dist/cjs/api/resources/users/client/Client.js +7 -7
  114. package/dist/cjs/api/resources/utils/client/Client.d.ts +4 -4
  115. package/dist/cjs/api/resources/utils/client/Client.js +7 -7
  116. package/dist/cjs/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.d.ts → UtilsGetTimezoneV1Request.d.ts} +1 -1
  117. package/dist/cjs/api/resources/utils/client/requests/index.d.ts +1 -1
  118. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +3 -0
  119. package/dist/cjs/version.d.ts +1 -1
  120. package/dist/cjs/version.js +1 -1
  121. package/dist/esm/Client.mjs +2 -2
  122. package/dist/esm/api/resources/connections/client/Client.d.mts +6 -6
  123. package/dist/esm/api/resources/connections/client/Client.mjs +12 -12
  124. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +4 -4
  125. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +7 -7
  126. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +12 -12
  127. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +24 -24
  128. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  129. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  130. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  131. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  132. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +14 -14
  133. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +26 -26
  134. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +18 -18
  135. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +36 -36
  136. package/dist/esm/api/resources/dev/client/Client.d.mts +34 -27
  137. package/dist/esm/api/resources/dev/client/Client.mjs +96 -50
  138. package/dist/esm/api/resources/dev/index.d.mts +0 -1
  139. package/dist/esm/api/resources/dev/index.mjs +0 -1
  140. package/dist/esm/api/resources/drivers/client/Client.d.mts +30 -30
  141. package/dist/esm/api/resources/drivers/client/Client.mjs +60 -60
  142. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +6 -6
  143. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +12 -12
  144. package/dist/esm/api/resources/milestones/client/Client.d.mts +6 -6
  145. package/dist/esm/api/resources/milestones/client/Client.mjs +12 -12
  146. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +3 -3
  147. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +6 -6
  148. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +9 -9
  149. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +18 -18
  150. package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts} +1 -1
  151. package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +1 -1
  152. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +6 -6
  153. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +12 -12
  154. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +6 -6
  155. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +12 -12
  156. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +15 -15
  157. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.mjs +30 -30
  158. package/dist/esm/api/resources/orders/client/Client.d.mts +12 -12
  159. package/dist/esm/api/resources/orders/client/Client.mjs +24 -24
  160. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +9 -9
  161. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +18 -18
  162. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +9 -9
  163. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +18 -18
  164. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +9 -9
  165. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +18 -18
  166. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +20 -20
  167. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +35 -35
  168. package/dist/esm/api/resources/orgs/client/Client.d.mts +24 -24
  169. package/dist/esm/api/resources/orgs/client/Client.mjs +48 -48
  170. package/dist/esm/api/resources/payments/client/Client.d.mts +19 -19
  171. package/dist/esm/api/resources/payments/client/Client.mjs +34 -34
  172. package/dist/esm/api/resources/root/client/Client.d.mts +14 -14
  173. package/dist/esm/api/resources/root/client/Client.mjs +26 -26
  174. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +27 -27
  175. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +54 -54
  176. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +16 -16
  177. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +31 -31
  178. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +3 -3
  179. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +6 -6
  180. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +3 -3
  181. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +6 -6
  182. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -4
  183. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +7 -7
  184. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +9 -9
  185. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +18 -18
  186. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +28 -28
  187. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +49 -49
  188. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +15 -15
  189. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +30 -30
  190. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +19 -19
  191. package/dist/esm/api/resources/taskGroups/client/Client.mjs +37 -37
  192. package/dist/esm/api/resources/taskGroups/client/requests/TaskGroupsExpandedReq.d.mts +3 -0
  193. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +6 -6
  194. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +12 -12
  195. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +3 -3
  196. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +6 -6
  197. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +5 -5
  198. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +8 -8
  199. 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
  200. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +1 -1
  201. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +5 -5
  202. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +8 -8
  203. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.d.mts → CargoByDriverLastSeenV1Request.d.mts} +1 -1
  204. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +1 -1
  205. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +32 -32
  206. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +53 -53
  207. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.d.mts → DevicesDeleteV1Request.d.mts} +1 -1
  208. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.d.mts → DevicesGetV1Request.d.mts} +1 -1
  209. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.d.mts → DevicesLinkToCargoV1Request.d.mts} +1 -1
  210. 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
  211. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +4 -4
  212. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +4 -4
  213. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +7 -7
  214. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +66 -66
  215. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +108 -108
  216. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.d.mts → SessionByDeviceDataPointsPublicV1Request.d.mts} +1 -1
  217. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.d.mts → SessionByDeviceDataPointsV1Request.d.mts} +1 -1
  218. 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
  219. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.d.mts → SessionByDeviceGetV1Request.d.mts} +1 -1
  220. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.d.mts +12 -0
  221. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.d.mts +12 -0
  222. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.mts +12 -0
  223. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.mts +12 -0
  224. 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
  225. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.mts +12 -0
  226. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +10 -10
  227. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +5 -5
  228. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +8 -8
  229. 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
  230. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +1 -1
  231. package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
  232. package/dist/esm/api/resources/users/client/Client.mjs +7 -7
  233. package/dist/esm/api/resources/utils/client/Client.d.mts +4 -4
  234. package/dist/esm/api/resources/utils/client/Client.mjs +7 -7
  235. package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.d.mts → UtilsGetTimezoneV1Request.d.mts} +1 -1
  236. package/dist/esm/api/resources/utils/client/requests/index.d.mts +1 -1
  237. package/dist/esm/api/types/TaskGroupExpanded.d.mts +3 -0
  238. package/dist/esm/version.d.mts +1 -1
  239. package/dist/esm/version.mjs +1 -1
  240. package/package.json +1 -1
  241. package/reference.md +440 -442
  242. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.d.ts +0 -43
  243. package/dist/cjs/api/resources/dev/resources/getUserId/client/Client.js +0 -118
  244. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.d.ts +0 -1
  245. package/dist/cjs/api/resources/dev/resources/getUserId/client/index.js +0 -2
  246. package/dist/cjs/api/resources/dev/resources/getUserId/index.d.ts +0 -1
  247. package/dist/cjs/api/resources/dev/resources/getUserId/index.js +0 -17
  248. package/dist/cjs/api/resources/dev/resources/index.d.ts +0 -1
  249. package/dist/cjs/api/resources/dev/resources/index.js +0 -37
  250. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.ts +0 -12
  251. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.ts +0 -12
  252. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.ts +0 -12
  253. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.d.mts +0 -43
  254. package/dist/esm/api/resources/dev/resources/getUserId/client/Client.mjs +0 -81
  255. package/dist/esm/api/resources/dev/resources/getUserId/client/index.d.mts +0 -1
  256. package/dist/esm/api/resources/dev/resources/getUserId/client/index.mjs +0 -1
  257. package/dist/esm/api/resources/dev/resources/getUserId/index.d.mts +0 -1
  258. package/dist/esm/api/resources/dev/resources/getUserId/index.mjs +0 -1
  259. package/dist/esm/api/resources/dev/resources/index.d.mts +0 -1
  260. package/dist/esm/api/resources/dev/resources/index.mjs +0 -1
  261. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.d.mts +0 -12
  262. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenRequest.d.mts +0 -12
  263. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.mts +0 -12
  264. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.mts +0 -12
  265. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.d.mts +0 -12
  266. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.mts +0 -12
  267. /package/dist/cjs/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js} +0 -0
  268. /package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.js → CargoByDeviceLastSeenV1Request.js} +0 -0
  269. /package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.js → CargoByDriverLastSeenV1Request.js} +0 -0
  270. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.js → DevicesDeleteV1Request.js} +0 -0
  271. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.js → DevicesGetV1Request.js} +0 -0
  272. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.js → DevicesLinkToCargoV1Request.js} +0 -0
  273. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.js → DevicesUnlinkFromCargoV1Request.js} +0 -0
  274. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.js → SessionByDeviceDataPointsPublicV1Request.js} +0 -0
  275. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.js → SessionByDeviceDataPointsV1Request.js} +0 -0
  276. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.js → SessionByDeviceDeleteV1Request.js} +0 -0
  277. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.js → SessionByDeviceGetV1Request.js} +0 -0
  278. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.js → SessionByDeviceLastSeenPublicV1Request.js} +0 -0
  279. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.js → SessionByDeviceLastSeenV1Request.js} +0 -0
  280. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.js → SessionByDevicePauseRecordingV1Request.js} +0 -0
  281. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.js → SessionByDeviceResumeRecordingV1Request.js} +0 -0
  282. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.js → SessionByDeviceStartV1Request.js} +0 -0
  283. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.js → SessionByDeviceTerminateV1Request.js} +0 -0
  284. /package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.js → TaskGroupByDriverLastSeenV1Request.js} +0 -0
  285. /package/dist/cjs/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.js → UtilsGetTimezoneV1Request.js} +0 -0
  286. /package/dist/esm/api/resources/milestones/resources/images/client/requests/{BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs → BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs} +0 -0
  287. /package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/{CargoByDeviceLastSeenRequest.mjs → CargoByDeviceLastSeenV1Request.mjs} +0 -0
  288. /package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/{CargoByDriverLastSeenRequest.mjs → CargoByDriverLastSeenV1Request.mjs} +0 -0
  289. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesDeleteRequest.mjs → DevicesDeleteV1Request.mjs} +0 -0
  290. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesGetRequest.mjs → DevicesGetV1Request.mjs} +0 -0
  291. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesLinkToCargoRequest.mjs → DevicesLinkToCargoV1Request.mjs} +0 -0
  292. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesUnlinkFromCargoRequest.mjs → DevicesUnlinkFromCargoV1Request.mjs} +0 -0
  293. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsPublicRequest.mjs → SessionByDeviceDataPointsPublicV1Request.mjs} +0 -0
  294. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDataPointsRequest.mjs → SessionByDeviceDataPointsV1Request.mjs} +0 -0
  295. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceDeleteRequest.mjs → SessionByDeviceDeleteV1Request.mjs} +0 -0
  296. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceGetRequest.mjs → SessionByDeviceGetV1Request.mjs} +0 -0
  297. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenPublicRequest.mjs → SessionByDeviceLastSeenPublicV1Request.mjs} +0 -0
  298. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceLastSeenRequest.mjs → SessionByDeviceLastSeenV1Request.mjs} +0 -0
  299. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseRecordingRequest.mjs → SessionByDevicePauseRecordingV1Request.mjs} +0 -0
  300. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeRecordingRequest.mjs → SessionByDeviceResumeRecordingV1Request.mjs} +0 -0
  301. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartRequest.mjs → SessionByDeviceStartV1Request.mjs} +0 -0
  302. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceTerminateRequest.mjs → SessionByDeviceTerminateV1Request.mjs} +0 -0
  303. /package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/{TaskGroupByDriverLastSeenRequest.mjs → TaskGroupByDriverLastSeenV1Request.mjs} +0 -0
  304. /package/dist/esm/api/resources/utils/client/requests/{UtilsGetTimezoneRequest.mjs → UtilsGetTimezoneV1Request.mjs} +0 -0
@@ -56,22 +56,22 @@ class SessionByDevice {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * List all sessions for the current organization.
59
+ * Returns all tracking sessions for the authenticated user's organization.
60
60
  *
61
61
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.tracking.sessionByDevice.list()
64
+ * await client.tracking.sessionByDevice.listV1()
65
65
  */
66
- list(requestOptions) {
67
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
66
+ listV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
68
68
  }
69
- __list(requestOptions) {
69
+ __listV1(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
71
  var _a, _b, _c, _d;
72
72
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
73
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking/session_by_device/list"),
74
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking/session_by_device/list/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 SessionByDevice {
97
97
  rawResponse: _response.rawResponse,
98
98
  });
99
99
  case "timeout":
100
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/list.");
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/list/v1.");
101
101
  case "unknown":
102
102
  throw new errors.ChrtError({
103
103
  message: _response.error.errorMessage,
@@ -107,22 +107,22 @@ class SessionByDevice {
107
107
  });
108
108
  }
109
109
  /**
110
- * Get a single session document by session_id.
110
+ * Retrieves a single session by its ID. Access restricted to the session's organization.
111
111
  *
112
- * @param {Chrt.tracking.SessionByDeviceGetRequest} request
112
+ * @param {Chrt.tracking.SessionByDeviceGetV1Request} request
113
113
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
114
114
  *
115
115
  * @throws {@link Chrt.UnprocessableEntityError}
116
116
  *
117
117
  * @example
118
- * await client.tracking.sessionByDevice.get({
118
+ * await client.tracking.sessionByDevice.getV1({
119
119
  * session_id: "session_id"
120
120
  * })
121
121
  */
122
- get(request, requestOptions) {
123
- return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
122
+ getV1(request, requestOptions) {
123
+ return core.HttpResponsePromise.fromPromise(this.__getV1(request, requestOptions));
124
124
  }
125
- __get(request, requestOptions) {
125
+ __getV1(request, requestOptions) {
126
126
  return __awaiter(this, void 0, void 0, function* () {
127
127
  var _a, _b, _c, _d;
128
128
  const { session_id: sessionId } = request;
@@ -130,7 +130,7 @@ class SessionByDevice {
130
130
  _queryParams["session_id"] = sessionId;
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, "tracking/session_by_device/get"),
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, "tracking/session_by_device/get/v1"),
134
134
  method: "GET",
135
135
  headers: _headers,
136
136
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -161,7 +161,7 @@ class SessionByDevice {
161
161
  rawResponse: _response.rawResponse,
162
162
  });
163
163
  case "timeout":
164
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/get.");
164
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/get/v1.");
165
165
  case "unknown":
166
166
  throw new errors.ChrtError({
167
167
  message: _response.error.errorMessage,
@@ -171,22 +171,22 @@ class SessionByDevice {
171
171
  });
172
172
  }
173
173
  /**
174
- * Return the most recent datapoint for a session.
174
+ * Returns the most recent data point for a session, excluding outliers. Access restricted to the session's organization.
175
175
  *
176
- * @param {Chrt.tracking.SessionByDeviceLastSeenRequest} request
176
+ * @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
177
177
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
178
178
  *
179
179
  * @throws {@link Chrt.UnprocessableEntityError}
180
180
  *
181
181
  * @example
182
- * await client.tracking.sessionByDevice.lastSeen({
182
+ * await client.tracking.sessionByDevice.lastSeenV1({
183
183
  * session_id: "session_id"
184
184
  * })
185
185
  */
186
- lastSeen(request, requestOptions) {
187
- return core.HttpResponsePromise.fromPromise(this.__lastSeen(request, requestOptions));
186
+ lastSeenV1(request, requestOptions) {
187
+ return core.HttpResponsePromise.fromPromise(this.__lastSeenV1(request, requestOptions));
188
188
  }
189
- __lastSeen(request, requestOptions) {
189
+ __lastSeenV1(request, requestOptions) {
190
190
  return __awaiter(this, void 0, void 0, function* () {
191
191
  var _a, _b, _c, _d;
192
192
  const { session_id: sessionId } = request;
@@ -194,7 +194,7 @@ class SessionByDevice {
194
194
  _queryParams["session_id"] = sessionId;
195
195
  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);
196
196
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
197
- 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, "tracking/session_by_device/last_seen"),
197
+ 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, "tracking/session_by_device/last_seen/v1"),
198
198
  method: "GET",
199
199
  headers: _headers,
200
200
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -228,7 +228,7 @@ class SessionByDevice {
228
228
  rawResponse: _response.rawResponse,
229
229
  });
230
230
  case "timeout":
231
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/last_seen.");
231
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/last_seen/v1.");
232
232
  case "unknown":
233
233
  throw new errors.ChrtError({
234
234
  message: _response.error.errorMessage,
@@ -238,22 +238,22 @@ class SessionByDevice {
238
238
  });
239
239
  }
240
240
  /**
241
- * Return a specified number of data points for a session, intelligently sampled across the time range.
241
+ * Returns up to the specified number of data points for a session, intelligently sampled across the time range. Excludes outliers.
242
242
  *
243
- * @param {Chrt.tracking.SessionByDeviceDataPointsRequest} request
243
+ * @param {Chrt.tracking.SessionByDeviceDataPointsV1Request} request
244
244
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
245
245
  *
246
246
  * @throws {@link Chrt.UnprocessableEntityError}
247
247
  *
248
248
  * @example
249
- * await client.tracking.sessionByDevice.dataPoints({
249
+ * await client.tracking.sessionByDevice.dataPointsV1({
250
250
  * session_id: "session_id"
251
251
  * })
252
252
  */
253
- dataPoints(request, requestOptions) {
254
- return core.HttpResponsePromise.fromPromise(this.__dataPoints(request, requestOptions));
253
+ dataPointsV1(request, requestOptions) {
254
+ return core.HttpResponsePromise.fromPromise(this.__dataPointsV1(request, requestOptions));
255
255
  }
256
- __dataPoints(request, requestOptions) {
256
+ __dataPointsV1(request, requestOptions) {
257
257
  return __awaiter(this, void 0, void 0, function* () {
258
258
  var _a, _b, _c, _d, _e;
259
259
  const { session_id: sessionId, limit } = request;
@@ -264,7 +264,7 @@ class SessionByDevice {
264
264
  }
265
265
  let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
266
266
  const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
267
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points"),
267
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points/v1"),
268
268
  method: "GET",
269
269
  headers: _headers,
270
270
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -298,7 +298,7 @@ class SessionByDevice {
298
298
  rawResponse: _response.rawResponse,
299
299
  });
300
300
  case "timeout":
301
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points.");
301
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points/v1.");
302
302
  case "unknown":
303
303
  throw new errors.ChrtError({
304
304
  message: _response.error.errorMessage,
@@ -308,7 +308,7 @@ class SessionByDevice {
308
308
  });
309
309
  }
310
310
  /**
311
- * Create a session for a device and link the device to it.
311
+ * Creates a new tracking session for a device and links the device to it. The device must be registered to the caller's organization.
312
312
  *
313
313
  * @param {Chrt.tracking.SessionByDeviceCreateSessionRequest1} request
314
314
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
@@ -316,19 +316,19 @@ class SessionByDevice {
316
316
  * @throws {@link Chrt.UnprocessableEntityError}
317
317
  *
318
318
  * @example
319
- * await client.tracking.sessionByDevice.createSession({
319
+ * await client.tracking.sessionByDevice.createSessionV1({
320
320
  * device_mac_address: "device_mac_address"
321
321
  * })
322
322
  */
323
- createSession(request, requestOptions) {
324
- return core.HttpResponsePromise.fromPromise(this.__createSession(request, requestOptions));
323
+ createSessionV1(request, requestOptions) {
324
+ return core.HttpResponsePromise.fromPromise(this.__createSessionV1(request, requestOptions));
325
325
  }
326
- __createSession(request, requestOptions) {
326
+ __createSessionV1(request, requestOptions) {
327
327
  return __awaiter(this, void 0, void 0, function* () {
328
328
  var _a, _b, _c, _d;
329
329
  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);
330
330
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
331
- 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, "tracking/session_by_device/create_session"),
331
+ 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, "tracking/session_by_device/create_session/v1"),
332
332
  method: "POST",
333
333
  headers: _headers,
334
334
  contentType: "application/json",
@@ -362,7 +362,7 @@ class SessionByDevice {
362
362
  rawResponse: _response.rawResponse,
363
363
  });
364
364
  case "timeout":
365
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/create_session.");
365
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/create_session/v1.");
366
366
  case "unknown":
367
367
  throw new errors.ChrtError({
368
368
  message: _response.error.errorMessage,
@@ -372,7 +372,7 @@ class SessionByDevice {
372
372
  });
373
373
  }
374
374
  /**
375
- * Update a session's comments and/or public visibility status.
375
+ * Updates a session's comments and/or public visibility status. Can update one or both fields.
376
376
  *
377
377
  * @param {Chrt.tracking.SessionByDeviceUpdateRequest1} request
378
378
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
@@ -380,19 +380,19 @@ class SessionByDevice {
380
380
  * @throws {@link Chrt.UnprocessableEntityError}
381
381
  *
382
382
  * @example
383
- * await client.tracking.sessionByDevice.update({
383
+ * await client.tracking.sessionByDevice.updateV1({
384
384
  * session_id: "session_id"
385
385
  * })
386
386
  */
387
- update(request, requestOptions) {
388
- return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
387
+ updateV1(request, requestOptions) {
388
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
389
389
  }
390
- __update(request, requestOptions) {
390
+ __updateV1(request, requestOptions) {
391
391
  return __awaiter(this, void 0, void 0, function* () {
392
392
  var _a, _b, _c, _d;
393
393
  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);
394
394
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
395
- 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, "tracking/session_by_device/update"),
395
+ 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, "tracking/session_by_device/update/v1"),
396
396
  method: "POST",
397
397
  headers: _headers,
398
398
  contentType: "application/json",
@@ -426,7 +426,7 @@ class SessionByDevice {
426
426
  rawResponse: _response.rawResponse,
427
427
  });
428
428
  case "timeout":
429
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/update.");
429
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/update/v1.");
430
430
  case "unknown":
431
431
  throw new errors.ChrtError({
432
432
  message: _response.error.errorMessage,
@@ -436,22 +436,22 @@ class SessionByDevice {
436
436
  });
437
437
  }
438
438
  /**
439
- * Start a session (set recording=true).
439
+ * Starts location recording for a session by setting recording status to true. Sets the recording initiated timestamp on first start.
440
440
  *
441
- * @param {Chrt.tracking.SessionByDeviceStartRequest} request
441
+ * @param {Chrt.tracking.SessionByDeviceStartV1Request} request
442
442
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
443
443
  *
444
444
  * @throws {@link Chrt.UnprocessableEntityError}
445
445
  *
446
446
  * @example
447
- * await client.tracking.sessionByDevice.start({
447
+ * await client.tracking.sessionByDevice.startV1({
448
448
  * session_id: "session_id"
449
449
  * })
450
450
  */
451
- start(request, requestOptions) {
452
- return core.HttpResponsePromise.fromPromise(this.__start(request, requestOptions));
451
+ startV1(request, requestOptions) {
452
+ return core.HttpResponsePromise.fromPromise(this.__startV1(request, requestOptions));
453
453
  }
454
- __start(request, requestOptions) {
454
+ __startV1(request, requestOptions) {
455
455
  return __awaiter(this, void 0, void 0, function* () {
456
456
  var _a, _b, _c, _d;
457
457
  const { session_id: sessionId } = request;
@@ -459,7 +459,7 @@ class SessionByDevice {
459
459
  _queryParams["session_id"] = sessionId;
460
460
  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);
461
461
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
462
- 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, "tracking/session_by_device/start"),
462
+ 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, "tracking/session_by_device/start/v1"),
463
463
  method: "POST",
464
464
  headers: _headers,
465
465
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -490,7 +490,7 @@ class SessionByDevice {
490
490
  rawResponse: _response.rawResponse,
491
491
  });
492
492
  case "timeout":
493
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/start.");
493
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/start/v1.");
494
494
  case "unknown":
495
495
  throw new errors.ChrtError({
496
496
  message: _response.error.errorMessage,
@@ -500,22 +500,22 @@ class SessionByDevice {
500
500
  });
501
501
  }
502
502
  /**
503
- * Pause a session (set recording=false).
503
+ * Pauses location recording for a session by setting recording status to false. Device remains linked to the session.
504
504
  *
505
- * @param {Chrt.tracking.SessionByDevicePauseRecordingRequest} request
505
+ * @param {Chrt.tracking.SessionByDevicePauseRecordingV1Request} request
506
506
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
507
507
  *
508
508
  * @throws {@link Chrt.UnprocessableEntityError}
509
509
  *
510
510
  * @example
511
- * await client.tracking.sessionByDevice.pauseRecording({
511
+ * await client.tracking.sessionByDevice.pauseRecordingV1({
512
512
  * session_id: "session_id"
513
513
  * })
514
514
  */
515
- pauseRecording(request, requestOptions) {
516
- return core.HttpResponsePromise.fromPromise(this.__pauseRecording(request, requestOptions));
515
+ pauseRecordingV1(request, requestOptions) {
516
+ return core.HttpResponsePromise.fromPromise(this.__pauseRecordingV1(request, requestOptions));
517
517
  }
518
- __pauseRecording(request, requestOptions) {
518
+ __pauseRecordingV1(request, requestOptions) {
519
519
  return __awaiter(this, void 0, void 0, function* () {
520
520
  var _a, _b, _c, _d;
521
521
  const { session_id: sessionId } = request;
@@ -523,7 +523,7 @@ class SessionByDevice {
523
523
  _queryParams["session_id"] = sessionId;
524
524
  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);
525
525
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
526
- 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, "tracking/session_by_device/pause_recording"),
526
+ 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, "tracking/session_by_device/pause_recording/v1"),
527
527
  method: "POST",
528
528
  headers: _headers,
529
529
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -554,7 +554,7 @@ class SessionByDevice {
554
554
  rawResponse: _response.rawResponse,
555
555
  });
556
556
  case "timeout":
557
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/pause_recording.");
557
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/pause_recording/v1.");
558
558
  case "unknown":
559
559
  throw new errors.ChrtError({
560
560
  message: _response.error.errorMessage,
@@ -564,22 +564,22 @@ class SessionByDevice {
564
564
  });
565
565
  }
566
566
  /**
567
- * Resume a session (set recording=true).
567
+ * Resumes location recording for a session by setting recording status to true.
568
568
  *
569
- * @param {Chrt.tracking.SessionByDeviceResumeRecordingRequest} request
569
+ * @param {Chrt.tracking.SessionByDeviceResumeRecordingV1Request} request
570
570
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
571
571
  *
572
572
  * @throws {@link Chrt.UnprocessableEntityError}
573
573
  *
574
574
  * @example
575
- * await client.tracking.sessionByDevice.resumeRecording({
575
+ * await client.tracking.sessionByDevice.resumeRecordingV1({
576
576
  * session_id: "session_id"
577
577
  * })
578
578
  */
579
- resumeRecording(request, requestOptions) {
580
- return core.HttpResponsePromise.fromPromise(this.__resumeRecording(request, requestOptions));
579
+ resumeRecordingV1(request, requestOptions) {
580
+ return core.HttpResponsePromise.fromPromise(this.__resumeRecordingV1(request, requestOptions));
581
581
  }
582
- __resumeRecording(request, requestOptions) {
582
+ __resumeRecordingV1(request, requestOptions) {
583
583
  return __awaiter(this, void 0, void 0, function* () {
584
584
  var _a, _b, _c, _d;
585
585
  const { session_id: sessionId } = request;
@@ -587,7 +587,7 @@ class SessionByDevice {
587
587
  _queryParams["session_id"] = sessionId;
588
588
  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);
589
589
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
590
- 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, "tracking/session_by_device/resume_recording"),
590
+ 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, "tracking/session_by_device/resume_recording/v1"),
591
591
  method: "POST",
592
592
  headers: _headers,
593
593
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -618,7 +618,7 @@ class SessionByDevice {
618
618
  rawResponse: _response.rawResponse,
619
619
  });
620
620
  case "timeout":
621
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/resume_recording.");
621
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/resume_recording/v1.");
622
622
  case "unknown":
623
623
  throw new errors.ChrtError({
624
624
  message: _response.error.errorMessage,
@@ -628,22 +628,22 @@ class SessionByDevice {
628
628
  });
629
629
  }
630
630
  /**
631
- * End a session (set recording=false).
631
+ * Terminates a session by setting recording to false and marking it as terminated. Unlinks the device from the session.
632
632
  *
633
- * @param {Chrt.tracking.SessionByDeviceTerminateRequest} request
633
+ * @param {Chrt.tracking.SessionByDeviceTerminateV1Request} request
634
634
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
635
635
  *
636
636
  * @throws {@link Chrt.UnprocessableEntityError}
637
637
  *
638
638
  * @example
639
- * await client.tracking.sessionByDevice.terminate({
639
+ * await client.tracking.sessionByDevice.terminateV1({
640
640
  * session_id: "session_id"
641
641
  * })
642
642
  */
643
- terminate(request, requestOptions) {
644
- return core.HttpResponsePromise.fromPromise(this.__terminate(request, requestOptions));
643
+ terminateV1(request, requestOptions) {
644
+ return core.HttpResponsePromise.fromPromise(this.__terminateV1(request, requestOptions));
645
645
  }
646
- __terminate(request, requestOptions) {
646
+ __terminateV1(request, requestOptions) {
647
647
  return __awaiter(this, void 0, void 0, function* () {
648
648
  var _a, _b, _c, _d;
649
649
  const { session_id: sessionId } = request;
@@ -651,7 +651,7 @@ class SessionByDevice {
651
651
  _queryParams["session_id"] = sessionId;
652
652
  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);
653
653
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
654
- 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, "tracking/session_by_device/terminate"),
654
+ 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, "tracking/session_by_device/terminate/v1"),
655
655
  method: "POST",
656
656
  headers: _headers,
657
657
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -682,7 +682,7 @@ class SessionByDevice {
682
682
  rawResponse: _response.rawResponse,
683
683
  });
684
684
  case "timeout":
685
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/terminate.");
685
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/terminate/v1.");
686
686
  case "unknown":
687
687
  throw new errors.ChrtError({
688
688
  message: _response.error.errorMessage,
@@ -692,7 +692,7 @@ class SessionByDevice {
692
692
  });
693
693
  }
694
694
  /**
695
- * Mark data points as outliers or non-outliers. Uses atomic delete + insert strategy for time-series collection updates.
695
+ * Marks data points as outliers or non-outliers. Uses atomic delete and reinsert strategy for time-series collection updates.
696
696
  *
697
697
  * @param {Chrt.tracking.SessionByDeviceMarkOutliersRequest1} request
698
698
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
@@ -700,20 +700,20 @@ class SessionByDevice {
700
700
  * @throws {@link Chrt.UnprocessableEntityError}
701
701
  *
702
702
  * @example
703
- * await client.tracking.sessionByDevice.outlier({
703
+ * await client.tracking.sessionByDevice.outlierV1({
704
704
  * tracking_session_by_device_data_point_ids: ["tracking_session_by_device_data_point_ids"],
705
705
  * outlier: true
706
706
  * })
707
707
  */
708
- outlier(request, requestOptions) {
709
- return core.HttpResponsePromise.fromPromise(this.__outlier(request, requestOptions));
708
+ outlierV1(request, requestOptions) {
709
+ return core.HttpResponsePromise.fromPromise(this.__outlierV1(request, requestOptions));
710
710
  }
711
- __outlier(request, requestOptions) {
711
+ __outlierV1(request, requestOptions) {
712
712
  return __awaiter(this, void 0, void 0, function* () {
713
713
  var _a, _b, _c, _d;
714
714
  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);
715
715
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
716
- 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, "tracking/session_by_device/outlier"),
716
+ 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, "tracking/session_by_device/outlier/v1"),
717
717
  method: "POST",
718
718
  headers: _headers,
719
719
  contentType: "application/json",
@@ -750,7 +750,7 @@ class SessionByDevice {
750
750
  rawResponse: _response.rawResponse,
751
751
  });
752
752
  case "timeout":
753
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/outlier.");
753
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/session_by_device/outlier/v1.");
754
754
  case "unknown":
755
755
  throw new errors.ChrtError({
756
756
  message: _response.error.errorMessage,
@@ -760,22 +760,22 @@ class SessionByDevice {
760
760
  });
761
761
  }
762
762
  /**
763
- * Delete a terminated session and all associated timeseries data.
763
+ * Deletes a terminated session and all its associated timeseries data points. Only sessions marked as terminated can be deleted.
764
764
  *
765
- * @param {Chrt.tracking.SessionByDeviceDeleteRequest} request
765
+ * @param {Chrt.tracking.SessionByDeviceDeleteV1Request} request
766
766
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
767
767
  *
768
768
  * @throws {@link Chrt.UnprocessableEntityError}
769
769
  *
770
770
  * @example
771
- * await client.tracking.sessionByDevice.delete({
771
+ * await client.tracking.sessionByDevice.deleteV1({
772
772
  * session_id: "session_id"
773
773
  * })
774
774
  */
775
- delete(request, requestOptions) {
776
- return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
775
+ deleteV1(request, requestOptions) {
776
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(request, requestOptions));
777
777
  }
778
- __delete(request, requestOptions) {
778
+ __deleteV1(request, requestOptions) {
779
779
  return __awaiter(this, void 0, void 0, function* () {
780
780
  var _a, _b, _c, _d;
781
781
  const { session_id: sessionId } = request;
@@ -783,7 +783,7 @@ class SessionByDevice {
783
783
  _queryParams["session_id"] = sessionId;
784
784
  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);
785
785
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
786
- 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, "tracking/session_by_device/delete"),
786
+ 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, "tracking/session_by_device/delete/v1"),
787
787
  method: "DELETE",
788
788
  headers: _headers,
789
789
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -814,7 +814,7 @@ class SessionByDevice {
814
814
  rawResponse: _response.rawResponse,
815
815
  });
816
816
  case "timeout":
817
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /tracking/session_by_device/delete.");
817
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /tracking/session_by_device/delete/v1.");
818
818
  case "unknown":
819
819
  throw new errors.ChrtError({
820
820
  message: _response.error.errorMessage,
@@ -824,22 +824,22 @@ class SessionByDevice {
824
824
  });
825
825
  }
826
826
  /**
827
- * Return the most recent datapoint for a session. Session must be have public=True.
827
+ * Returns the most recent data point for a public session, excluding outliers. No authentication required if session has public visibility enabled.
828
828
  *
829
- * @param {Chrt.tracking.SessionByDeviceLastSeenPublicRequest} request
829
+ * @param {Chrt.tracking.SessionByDeviceLastSeenPublicV1Request} request
830
830
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
831
831
  *
832
832
  * @throws {@link Chrt.UnprocessableEntityError}
833
833
  *
834
834
  * @example
835
- * await client.tracking.sessionByDevice.lastSeenPublic({
835
+ * await client.tracking.sessionByDevice.lastSeenPublicV1({
836
836
  * session_id: "session_id"
837
837
  * })
838
838
  */
839
- lastSeenPublic(request, requestOptions) {
840
- return core.HttpResponsePromise.fromPromise(this.__lastSeenPublic(request, requestOptions));
839
+ lastSeenPublicV1(request, requestOptions) {
840
+ return core.HttpResponsePromise.fromPromise(this.__lastSeenPublicV1(request, requestOptions));
841
841
  }
842
- __lastSeenPublic(request, requestOptions) {
842
+ __lastSeenPublicV1(request, requestOptions) {
843
843
  return __awaiter(this, void 0, void 0, function* () {
844
844
  var _a, _b, _c, _d;
845
845
  const { session_id: sessionId } = request;
@@ -847,7 +847,7 @@ class SessionByDevice {
847
847
  _queryParams["session_id"] = sessionId;
848
848
  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);
849
849
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
850
- 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, "tracking/session_by_device/last_seen_public"),
850
+ 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, "tracking/session_by_device/last_seen_public/v1"),
851
851
  method: "GET",
852
852
  headers: _headers,
853
853
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -881,7 +881,7 @@ class SessionByDevice {
881
881
  rawResponse: _response.rawResponse,
882
882
  });
883
883
  case "timeout":
884
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/last_seen_public.");
884
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/last_seen_public/v1.");
885
885
  case "unknown":
886
886
  throw new errors.ChrtError({
887
887
  message: _response.error.errorMessage,
@@ -891,22 +891,22 @@ class SessionByDevice {
891
891
  });
892
892
  }
893
893
  /**
894
- * Return a specified number of data points for a public session, intelligently sampled across the time range. Session must have public=True.
894
+ * Returns up to the specified number of data points for a public session, intelligently sampled across the time range. Excludes outliers. No authentication required if session has public visibility enabled.
895
895
  *
896
- * @param {Chrt.tracking.SessionByDeviceDataPointsPublicRequest} request
896
+ * @param {Chrt.tracking.SessionByDeviceDataPointsPublicV1Request} request
897
897
  * @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
898
898
  *
899
899
  * @throws {@link Chrt.UnprocessableEntityError}
900
900
  *
901
901
  * @example
902
- * await client.tracking.sessionByDevice.dataPointsPublic({
902
+ * await client.tracking.sessionByDevice.dataPointsPublicV1({
903
903
  * session_id: "session_id"
904
904
  * })
905
905
  */
906
- dataPointsPublic(request, requestOptions) {
907
- return core.HttpResponsePromise.fromPromise(this.__dataPointsPublic(request, requestOptions));
906
+ dataPointsPublicV1(request, requestOptions) {
907
+ return core.HttpResponsePromise.fromPromise(this.__dataPointsPublicV1(request, requestOptions));
908
908
  }
909
- __dataPointsPublic(request, requestOptions) {
909
+ __dataPointsPublicV1(request, requestOptions) {
910
910
  return __awaiter(this, void 0, void 0, function* () {
911
911
  var _a, _b, _c, _d, _e;
912
912
  const { session_id: sessionId, limit } = request;
@@ -917,7 +917,7 @@ class SessionByDevice {
917
917
  }
918
918
  let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
919
919
  const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
920
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points_public"),
920
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points_public/v1"),
921
921
  method: "GET",
922
922
  headers: _headers,
923
923
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -951,7 +951,7 @@ class SessionByDevice {
951
951
  rawResponse: _response.rawResponse,
952
952
  });
953
953
  case "timeout":
954
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points_public.");
954
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points_public/v1.");
955
955
  case "unknown":
956
956
  throw new errors.ChrtError({
957
957
  message: _response.error.errorMessage,