@chrt-inc/typescript-sdk 1.449.2 → 1.449.3

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 (600) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +2 -2
  3. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
  4. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodRequest.d.ts +4 -4
  5. package/dist/cjs/api/resources/billing/client/Client.d.ts +6 -6
  6. package/dist/cjs/api/resources/billing/client/Client.js +12 -12
  7. package/dist/cjs/api/resources/billing/resources/index.d.ts +3 -3
  8. package/dist/cjs/api/resources/billing/resources/index.js +4 -4
  9. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +43 -43
  10. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +112 -112
  11. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +4 -4
  12. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -2
  13. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +22 -22
  14. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +44 -44
  15. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +8 -8
  16. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +4 -4
  17. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +1 -1
  18. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +19 -19
  19. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +52 -52
  20. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +59 -59
  21. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +159 -159
  22. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +13 -13
  23. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +2 -2
  24. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +4 -4
  25. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +46 -46
  26. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +120 -120
  27. package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +8 -8
  28. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +3 -3
  29. package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.d.ts +8 -8
  30. package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.js +19 -19
  31. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +15 -15
  32. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +33 -33
  33. package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.ts +3 -3
  34. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +57 -57
  35. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +146 -146
  36. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.ts +3 -3
  37. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +8 -8
  38. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.js +16 -16
  39. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.ts +2 -2
  40. package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.d.ts +14 -14
  41. package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.js +28 -28
  42. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +31 -31
  43. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +98 -98
  44. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +2 -2
  45. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +2 -2
  46. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +9 -9
  47. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +4 -4
  48. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +9 -9
  50. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +19 -19
  51. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +51 -51
  52. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +7 -7
  53. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
  54. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +12 -12
  55. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +51 -51
  56. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +7 -7
  57. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
  58. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -2
  59. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -3
  60. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +12 -12
  61. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +51 -51
  62. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +7 -7
  63. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
  64. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +32 -32
  65. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +66 -66
  66. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +3 -3
  67. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +3 -3
  68. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +1 -1
  69. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +13 -13
  70. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +59 -59
  71. package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.ts +1 -1
  72. package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
  73. package/dist/cjs/api/resources/shipping/client/Client.d.ts +9 -9
  74. package/dist/cjs/api/resources/shipping/client/Client.js +12 -12
  75. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +38 -38
  76. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +126 -126
  77. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.ts +3 -3
  78. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.ts +7 -7
  79. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +2 -2
  80. package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -2
  81. package/dist/cjs/api/resources/shipping/resources/index.js +3 -3
  82. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +22 -22
  83. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +49 -49
  84. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  85. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
  86. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.ts +19 -19
  87. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.js +30 -30
  88. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +5 -5
  89. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +3 -3
  90. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +14 -14
  91. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +55 -55
  92. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +5 -5
  93. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +6 -6
  94. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.ts +15 -15
  95. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.js +26 -26
  96. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +4 -4
  97. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +2 -2
  98. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.js +2 -2
  99. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +3 -3
  100. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +34 -34
  101. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +73 -73
  102. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +4 -4
  103. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +2 -2
  104. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -2
  105. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +8 -8
  106. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +16 -16
  107. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -8
  108. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +14 -14
  109. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +10 -10
  110. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +18 -18
  111. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +3 -3
  112. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +19 -19
  113. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +52 -52
  114. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +50 -50
  115. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +85 -85
  116. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +2 -2
  117. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +26 -26
  118. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +44 -44
  119. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -1
  120. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.ts +1 -1
  121. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.js +1 -1
  122. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +2 -2
  123. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +3 -3
  124. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +19 -19
  125. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +52 -52
  126. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
  127. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
  128. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +16 -16
  129. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +31 -31
  130. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +6 -6
  131. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +54 -54
  132. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +191 -191
  133. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.ts +5 -5
  134. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.ts +3 -3
  135. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.ts +1 -1
  136. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +4 -4
  137. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
  138. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +2 -2
  139. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +80 -80
  140. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +237 -237
  141. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts +4 -4
  142. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +5 -5
  143. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +3 -3
  144. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.ts +4 -4
  145. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.ts +1 -1
  146. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +7 -7
  147. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +30 -30
  148. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +52 -52
  149. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +3 -3
  150. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +3 -3
  151. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +3 -3
  152. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +2 -2
  153. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +26 -26
  154. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +64 -64
  155. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +3 -3
  156. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +3 -3
  157. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +23 -23
  158. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +51 -51
  159. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +2 -2
  160. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +25 -25
  161. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +62 -62
  162. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +3 -3
  163. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +3 -3
  164. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +23 -23
  165. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +51 -51
  166. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +2 -2
  167. package/dist/cjs/api/resources/users/client/Client.d.ts +6 -6
  168. package/dist/cjs/api/resources/users/client/Client.js +6 -6
  169. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +22 -22
  170. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +56 -56
  171. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +8 -8
  172. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +4 -4
  173. package/dist/cjs/api/resources/users/resources/index.d.ts +3 -3
  174. package/dist/cjs/api/resources/users/resources/index.js +4 -4
  175. package/dist/cjs/api/resources/users/resources/privateData/client/Client.d.ts +15 -15
  176. package/dist/cjs/api/resources/users/resources/privateData/client/Client.js +59 -59
  177. package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.ts +2 -2
  178. package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.ts +1 -1
  179. package/dist/cjs/api/resources/users/resources/privateData/client/requests/index.d.ts +1 -1
  180. package/dist/cjs/api/resources/utils/client/Client.d.ts +3 -3
  181. package/dist/cjs/api/resources/utils/client/Client.js +6 -6
  182. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +24 -24
  183. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +75 -75
  184. package/dist/cjs/api/resources/utils/resources/index.d.ts +1 -1
  185. package/dist/cjs/api/resources/utils/resources/index.js +2 -2
  186. package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +16 -16
  187. package/dist/cjs/api/resources/utils/resources/root/client/Client.js +28 -28
  188. package/dist/cjs/api/types/AgentRes.d.ts +1 -1
  189. package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +1 -1
  190. package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
  191. package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +1 -1
  192. package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +1 -1
  193. package/dist/cjs/api/types/Cargo1.d.ts +16 -16
  194. package/dist/cjs/api/types/CargoByDeviceDataPoint1.d.ts +4 -4
  195. package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -1
  196. package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +1 -1
  197. package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +6 -6
  198. package/dist/cjs/api/types/CargoByDriverDataPoint1.d.ts +3 -3
  199. package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.d.ts +1 -1
  200. package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +6 -6
  201. package/dist/cjs/api/types/CargoClientCreate1.d.ts +6 -6
  202. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +5 -5
  203. package/dist/cjs/api/types/CourierConnectionRes.d.ts +1 -1
  204. package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +10 -10
  205. package/dist/cjs/api/types/CourierOrgProfile1.d.ts +3 -3
  206. package/dist/cjs/api/types/CreateOrgPublicDataRes.d.ts +1 -1
  207. package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +7 -7
  208. package/dist/cjs/api/types/DeviceExpandedRes.d.ts +3 -3
  209. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +11 -11
  210. package/dist/cjs/api/types/DirectoryEntry1.d.ts +13 -13
  211. package/dist/cjs/api/types/Driver1.d.ts +13 -13
  212. package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
  213. package/dist/cjs/api/types/FirebaseCloudMessagingTokenData1.d.ts +1 -1
  214. package/dist/cjs/api/types/FlightAwareAlertFlight.d.ts +3 -3
  215. package/dist/cjs/api/types/FlightAwareAlertPayload.d.ts +3 -3
  216. package/dist/cjs/api/types/FlightAwareWebhookResponse.d.ts +1 -1
  217. package/dist/cjs/api/types/FlightInfoForTaskRes.d.ts +1 -1
  218. package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +1 -1
  219. package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +7 -7
  220. package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +8 -8
  221. package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +3 -3
  222. package/dist/cjs/api/types/GeometryCollection.d.ts +1 -1
  223. package/dist/cjs/api/types/{GeometryCollectionInputGeometriesItem.d.ts → GeometryCollectionGeometriesItem.d.ts} +2 -2
  224. package/dist/cjs/api/types/LineItem1.d.ts +6 -6
  225. package/dist/cjs/api/types/LineItemGroup1.d.ts +11 -11
  226. package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +2 -2
  227. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +8 -8
  228. package/dist/cjs/api/types/LocationFeature.d.ts +2 -2
  229. package/dist/cjs/api/types/NotificationGroup1.d.ts +7 -7
  230. package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.d.ts +5 -5
  231. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +3 -3
  232. package/dist/cjs/api/types/NotificationUserPreferences1.d.ts +5 -5
  233. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +12 -12
  234. package/dist/cjs/api/types/Order1.d.ts +12 -12
  235. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +8 -8
  236. package/dist/cjs/api/types/OrderDraftExpanded.d.ts +4 -4
  237. package/dist/cjs/api/types/OrderExpanded.d.ts +3 -3
  238. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +3 -3
  239. package/dist/cjs/api/types/OrgInfoResponse.d.ts +6 -6
  240. package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
  241. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
  242. package/dist/cjs/api/types/OrgPrivateData1.d.ts +12 -12
  243. package/dist/cjs/api/types/OrgPublicData1.d.ts +5 -5
  244. package/dist/cjs/api/types/Quote.d.ts +2 -2
  245. package/dist/cjs/api/types/RateSheet1.d.ts +17 -17
  246. package/dist/cjs/api/types/Session1.d.ts +14 -14
  247. package/dist/cjs/api/types/SessionByDeviceDataPoint1.d.ts +4 -4
  248. package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -1
  249. package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.d.ts +1 -1
  250. package/dist/cjs/api/types/SetFlightInfoReq.d.ts +2 -2
  251. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +1 -1
  252. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +7 -7
  253. package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +7 -7
  254. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +6 -6
  255. package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.d.ts +1 -1
  256. package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.d.ts +1 -1
  257. package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.d.ts +1 -1
  258. package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +5 -5
  259. package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +5 -5
  260. package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +5 -5
  261. package/dist/cjs/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.ts +3 -3
  262. package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.ts +3 -3
  263. package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.ts +5 -5
  264. package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.d.ts +1 -1
  265. package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.d.ts +3 -3
  266. package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
  267. package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.ts +1 -1
  268. package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +5 -5
  269. package/dist/cjs/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.ts +5 -5
  270. package/dist/cjs/api/types/Statement1.d.ts +20 -20
  271. package/dist/cjs/api/types/StatementExpandedRes.d.ts +1 -1
  272. package/dist/cjs/api/types/Task1.d.ts +19 -19
  273. package/dist/cjs/api/types/TaskArtifact1.d.ts +16 -16
  274. package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +8 -8
  275. package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
  276. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -2
  277. package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
  278. package/dist/cjs/api/types/TaskGroup1.d.ts +25 -25
  279. package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.d.ts +3 -3
  280. package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.d.ts +1 -1
  281. package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +6 -6
  282. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +4 -4
  283. package/dist/cjs/api/types/TaskGroupMessage1.d.ts +2 -2
  284. package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +8 -8
  285. package/dist/cjs/api/types/TimezoneResponse.d.ts +1 -1
  286. package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +1 -1
  287. package/dist/cjs/api/types/TrackingWebhookResponse.d.ts +1 -1
  288. package/dist/cjs/api/types/UserPrivateData1.d.ts +6 -6
  289. package/dist/cjs/api/types/UserPublicData1.d.ts +2 -2
  290. package/dist/cjs/api/types/ValidationError.d.ts +2 -2
  291. package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
  292. package/dist/cjs/api/types/WebhookAppPortalAccessRes.d.ts +1 -1
  293. package/dist/cjs/api/types/index.d.ts +1 -2
  294. package/dist/cjs/api/types/index.js +1 -2
  295. package/dist/cjs/version.d.ts +1 -1
  296. package/dist/cjs/version.js +1 -1
  297. package/dist/esm/Client.mjs +2 -2
  298. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +2 -2
  299. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
  300. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodRequest.d.mts +4 -4
  301. package/dist/esm/api/resources/billing/client/Client.d.mts +6 -6
  302. package/dist/esm/api/resources/billing/client/Client.mjs +10 -10
  303. package/dist/esm/api/resources/billing/resources/index.d.mts +3 -3
  304. package/dist/esm/api/resources/billing/resources/index.mjs +3 -3
  305. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +43 -43
  306. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +112 -112
  307. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +4 -4
  308. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -2
  309. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +22 -22
  310. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +44 -44
  311. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +8 -8
  312. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +4 -4
  313. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +1 -1
  314. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +19 -19
  315. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +52 -52
  316. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +59 -59
  317. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +159 -159
  318. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +13 -13
  319. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +2 -2
  320. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +4 -4
  321. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +46 -46
  322. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +120 -120
  323. package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +8 -8
  324. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +3 -3
  325. package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.d.mts +8 -8
  326. package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.mjs +19 -19
  327. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +15 -15
  328. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +33 -33
  329. package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.mts +3 -3
  330. package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +57 -57
  331. package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +146 -146
  332. package/dist/esm/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.mts +3 -3
  333. package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +8 -8
  334. package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.mjs +16 -16
  335. package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.mts +2 -2
  336. package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.d.mts +14 -14
  337. package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.mjs +28 -28
  338. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +31 -31
  339. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +98 -98
  340. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +2 -2
  341. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +2 -2
  342. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +9 -9
  343. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +4 -4
  344. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -3
  345. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +5 -5
  346. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +19 -19
  347. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +51 -51
  348. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +7 -7
  349. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
  350. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +12 -12
  351. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +51 -51
  352. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +7 -7
  353. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
  354. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -2
  355. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -2
  356. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +12 -12
  357. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +51 -51
  358. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +7 -7
  359. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
  360. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +32 -32
  361. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +66 -66
  362. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +3 -3
  363. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +3 -3
  364. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +1 -1
  365. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +13 -13
  366. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +59 -59
  367. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.mts +1 -1
  368. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
  369. package/dist/esm/api/resources/shipping/client/Client.d.mts +9 -9
  370. package/dist/esm/api/resources/shipping/client/Client.mjs +11 -11
  371. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +38 -38
  372. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +126 -126
  373. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.mts +3 -3
  374. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.mts +7 -7
  375. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +2 -2
  376. package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -2
  377. package/dist/esm/api/resources/shipping/resources/index.mjs +2 -2
  378. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +22 -22
  379. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +45 -45
  380. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  381. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
  382. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.mts +19 -19
  383. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.mjs +30 -30
  384. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +5 -5
  385. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +3 -3
  386. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +14 -14
  387. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +55 -55
  388. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +5 -5
  389. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +5 -5
  390. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.mts +15 -15
  391. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.mjs +26 -26
  392. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +4 -4
  393. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +2 -2
  394. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +2 -2
  395. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +3 -3
  396. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +34 -34
  397. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +73 -73
  398. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +4 -4
  399. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +2 -2
  400. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -2
  401. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +8 -8
  402. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +16 -16
  403. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -8
  404. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +14 -14
  405. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +10 -10
  406. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +18 -18
  407. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +3 -3
  408. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +19 -19
  409. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +52 -52
  410. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +50 -50
  411. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +85 -85
  412. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +2 -2
  413. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +26 -26
  414. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +44 -44
  415. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -1
  416. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.mts +1 -1
  417. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.mjs +1 -1
  418. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +2 -2
  419. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +2 -2
  420. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +19 -19
  421. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +52 -52
  422. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
  423. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
  424. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +16 -16
  425. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +31 -31
  426. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +6 -6
  427. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +54 -54
  428. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +191 -191
  429. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.mts +5 -5
  430. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.mts +3 -3
  431. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.mts +1 -1
  432. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +4 -4
  433. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
  434. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +2 -2
  435. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +80 -80
  436. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +237 -237
  437. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.mts +4 -4
  438. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +5 -5
  439. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +3 -3
  440. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.mts +4 -4
  441. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.mts +1 -1
  442. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +7 -7
  443. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +30 -30
  444. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +52 -52
  445. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +3 -3
  446. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +3 -3
  447. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +3 -3
  448. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +2 -2
  449. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +26 -26
  450. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +64 -64
  451. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +3 -3
  452. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +3 -3
  453. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +23 -23
  454. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +51 -51
  455. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +2 -2
  456. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +25 -25
  457. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +62 -62
  458. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +3 -3
  459. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +3 -3
  460. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +23 -23
  461. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +51 -51
  462. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +2 -2
  463. package/dist/esm/api/resources/users/client/Client.d.mts +6 -6
  464. package/dist/esm/api/resources/users/client/Client.mjs +6 -6
  465. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +22 -22
  466. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +56 -56
  467. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +8 -8
  468. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +4 -4
  469. package/dist/esm/api/resources/users/resources/index.d.mts +3 -3
  470. package/dist/esm/api/resources/users/resources/index.mjs +3 -3
  471. package/dist/esm/api/resources/users/resources/privateData/client/Client.d.mts +15 -15
  472. package/dist/esm/api/resources/users/resources/privateData/client/Client.mjs +59 -59
  473. package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.mts +2 -2
  474. package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.mts +1 -1
  475. package/dist/esm/api/resources/users/resources/privateData/client/requests/index.d.mts +1 -1
  476. package/dist/esm/api/resources/utils/client/Client.d.mts +3 -3
  477. package/dist/esm/api/resources/utils/client/Client.mjs +5 -5
  478. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +24 -24
  479. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +75 -75
  480. package/dist/esm/api/resources/utils/resources/index.d.mts +1 -1
  481. package/dist/esm/api/resources/utils/resources/index.mjs +1 -1
  482. package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +16 -16
  483. package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +28 -28
  484. package/dist/esm/api/types/AgentRes.d.mts +1 -1
  485. package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +1 -1
  486. package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
  487. package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +1 -1
  488. package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +1 -1
  489. package/dist/esm/api/types/Cargo1.d.mts +16 -16
  490. package/dist/esm/api/types/CargoByDeviceDataPoint1.d.mts +4 -4
  491. package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -1
  492. package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +1 -1
  493. package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +6 -6
  494. package/dist/esm/api/types/CargoByDriverDataPoint1.d.mts +3 -3
  495. package/dist/esm/api/types/CargoByDriverDataPointMetadata1.d.mts +1 -1
  496. package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +6 -6
  497. package/dist/esm/api/types/CargoClientCreate1.d.mts +6 -6
  498. package/dist/esm/api/types/CargoClientUpdate1.d.mts +5 -5
  499. package/dist/esm/api/types/CourierConnectionRes.d.mts +1 -1
  500. package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +10 -10
  501. package/dist/esm/api/types/CourierOrgProfile1.d.mts +3 -3
  502. package/dist/esm/api/types/CreateOrgPublicDataRes.d.mts +1 -1
  503. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +7 -7
  504. package/dist/esm/api/types/DeviceExpandedRes.d.mts +3 -3
  505. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +11 -11
  506. package/dist/esm/api/types/DirectoryEntry1.d.mts +13 -13
  507. package/dist/esm/api/types/Driver1.d.mts +13 -13
  508. package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
  509. package/dist/esm/api/types/FirebaseCloudMessagingTokenData1.d.mts +1 -1
  510. package/dist/esm/api/types/FlightAwareAlertFlight.d.mts +3 -3
  511. package/dist/esm/api/types/FlightAwareAlertPayload.d.mts +3 -3
  512. package/dist/esm/api/types/FlightAwareWebhookResponse.d.mts +1 -1
  513. package/dist/esm/api/types/FlightInfoForTaskRes.d.mts +1 -1
  514. package/dist/esm/api/types/ForwarderConnectionRes.d.mts +1 -1
  515. package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +7 -7
  516. package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +8 -8
  517. package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +3 -3
  518. package/dist/esm/api/types/GeometryCollection.d.mts +1 -1
  519. package/dist/esm/api/types/{GeometryCollectionInputGeometriesItem.d.mts → GeometryCollectionGeometriesItem.d.mts} +2 -2
  520. package/dist/esm/api/types/LineItem1.d.mts +6 -6
  521. package/dist/esm/api/types/LineItemGroup1.d.mts +11 -11
  522. package/dist/esm/api/types/LineItemGroupMessage1.d.mts +2 -2
  523. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +8 -8
  524. package/dist/esm/api/types/LocationFeature.d.mts +2 -2
  525. package/dist/esm/api/types/NotificationGroup1.d.mts +7 -7
  526. package/dist/esm/api/types/NotificationGroupLimitedForDriver1.d.mts +5 -5
  527. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +3 -3
  528. package/dist/esm/api/types/NotificationUserPreferences1.d.mts +5 -5
  529. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +12 -12
  530. package/dist/esm/api/types/Order1.d.mts +12 -12
  531. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +8 -8
  532. package/dist/esm/api/types/OrderDraftExpanded.d.mts +4 -4
  533. package/dist/esm/api/types/OrderExpanded.d.mts +3 -3
  534. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +3 -3
  535. package/dist/esm/api/types/OrgInfoResponse.d.mts +6 -6
  536. package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
  537. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
  538. package/dist/esm/api/types/OrgPrivateData1.d.mts +12 -12
  539. package/dist/esm/api/types/OrgPublicData1.d.mts +5 -5
  540. package/dist/esm/api/types/Quote.d.mts +2 -2
  541. package/dist/esm/api/types/RateSheet1.d.mts +17 -17
  542. package/dist/esm/api/types/Session1.d.mts +14 -14
  543. package/dist/esm/api/types/SessionByDeviceDataPoint1.d.mts +4 -4
  544. package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -1
  545. package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.d.mts +1 -1
  546. package/dist/esm/api/types/SetFlightInfoReq.d.mts +2 -2
  547. package/dist/esm/api/types/ShipperConnectionRes.d.mts +1 -1
  548. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +7 -7
  549. package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +7 -7
  550. package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +6 -6
  551. package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.d.mts +1 -1
  552. package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.d.mts +1 -1
  553. package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.d.mts +1 -1
  554. package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +5 -5
  555. package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +5 -5
  556. package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +5 -5
  557. package/dist/esm/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.mts +3 -3
  558. package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.mts +3 -3
  559. package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.mts +5 -5
  560. package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.d.mts +1 -1
  561. package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.d.mts +3 -3
  562. package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
  563. package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.mts +1 -1
  564. package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +5 -5
  565. package/dist/esm/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.mts +5 -5
  566. package/dist/esm/api/types/Statement1.d.mts +20 -20
  567. package/dist/esm/api/types/StatementExpandedRes.d.mts +1 -1
  568. package/dist/esm/api/types/Task1.d.mts +19 -19
  569. package/dist/esm/api/types/TaskArtifact1.d.mts +16 -16
  570. package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +8 -8
  571. package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
  572. package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -2
  573. package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
  574. package/dist/esm/api/types/TaskGroup1.d.mts +25 -25
  575. package/dist/esm/api/types/TaskGroupByDriverDataPoint1.d.mts +3 -3
  576. package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.d.mts +1 -1
  577. package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +6 -6
  578. package/dist/esm/api/types/TaskGroupExpanded.d.mts +4 -4
  579. package/dist/esm/api/types/TaskGroupMessage1.d.mts +2 -2
  580. package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +8 -8
  581. package/dist/esm/api/types/TimezoneResponse.d.mts +1 -1
  582. package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +1 -1
  583. package/dist/esm/api/types/TrackingWebhookResponse.d.mts +1 -1
  584. package/dist/esm/api/types/UserPrivateData1.d.mts +6 -6
  585. package/dist/esm/api/types/UserPublicData1.d.mts +2 -2
  586. package/dist/esm/api/types/ValidationError.d.mts +2 -2
  587. package/dist/esm/api/types/Vehicle1.d.mts +1 -1
  588. package/dist/esm/api/types/WebhookAppPortalAccessRes.d.mts +1 -1
  589. package/dist/esm/api/types/index.d.mts +1 -2
  590. package/dist/esm/api/types/index.mjs +1 -2
  591. package/dist/esm/version.d.mts +1 -1
  592. package/dist/esm/version.mjs +1 -1
  593. package/package.json +1 -1
  594. package/reference.md +1572 -1572
  595. package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
  596. package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.js +0 -5
  597. package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.d.mts +0 -28
  598. package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.mjs +0 -4
  599. /package/dist/cjs/api/types/{GeometryCollectionInputGeometriesItem.js → GeometryCollectionGeometriesItem.js} +0 -0
  600. /package/dist/esm/api/types/{GeometryCollectionInputGeometriesItem.mjs → GeometryCollectionGeometriesItem.mjs} +0 -0
@@ -67,35 +67,103 @@ class Sessions {
67
67
  this._options = _options;
68
68
  }
69
69
  /**
70
- * Adds a flight number and FA flight IDs to an existing session. Creates or reuses a FlightAware alert. | authz: min_org_role=operator | (SessionAddFlightReq1) -> (bool)
70
+ * Lists sessions with filtering, sorting, and pagination. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (SessionListRes)
71
71
  *
72
- * @param {Chrt.tracking.SessionAddFlightReq1} request
72
+ * @param {Chrt.tracking.SessionsListV1Request} request
73
73
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
74
74
  *
75
75
  * @throws {@link Chrt.UnprocessableEntityError}
76
76
  *
77
77
  * @example
78
- * await client.tracking.sessions.addFlightV1({
79
- * fa_flight_ids: ["fa_flight_ids"],
80
- * flight_number: "flight_number",
81
- * session_id: "session_id"
78
+ * await client.tracking.sessions.listV1({
79
+ * sort_by: "created_at_timestamp",
80
+ * sort_order: "asc",
81
+ * page: 1,
82
+ * page_size: 1,
83
+ * org_scope: "owned",
84
+ * filter_terminated: true,
85
+ * filter_public: true,
86
+ * filter_device_id: "filter_device_id",
87
+ * filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
88
+ * filter_flight_number: "filter_flight_number",
89
+ * filter_fa_flight_id: "filter_fa_flight_id",
90
+ * filter_flight_loaded_status: "filter_flight_loaded_status",
91
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
92
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
93
+ * filter_termination_scheduled_for_timestamp_gte: "2024-01-15T09:30:00Z",
94
+ * filter_termination_scheduled_for_timestamp_lte: "2024-01-15T09:30:00Z",
95
+ * filter_terminated_at_timestamp_gte: "2024-01-15T09:30:00Z",
96
+ * filter_terminated_at_timestamp_lte: "2024-01-15T09:30:00Z"
82
97
  * })
83
98
  */
84
- addFlightV1(request, requestOptions) {
85
- return core.HttpResponsePromise.fromPromise(this.__addFlightV1(request, requestOptions));
99
+ listV1(request = {}, requestOptions) {
100
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
86
101
  }
87
- __addFlightV1(request, requestOptions) {
88
- return __awaiter(this, void 0, void 0, function* () {
89
- var _a, _b, _c, _d;
90
- 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);
91
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
92
- 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/sessions/add_flight/v1"),
93
- method: "POST",
102
+ __listV1() {
103
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
104
+ var _a, _b, _c, _d, _e, _f, _g, _h;
105
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, org_scope: orgScope, filter_terminated: filterTerminated, filter_public: filterPublic, filter_device_id: filterDeviceId, filter_off_chrt_reference_id: filterOffChrtReferenceId, filter_flight_number: filterFlightNumber, filter_fa_flight_id: filterFaFlightId, filter_flight_loaded_status: filterFlightLoadedStatus, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_termination_scheduled_for_timestamp_gte: filterTerminationScheduledForTimestampGte, filter_termination_scheduled_for_timestamp_lte: filterTerminationScheduledForTimestampLte, filter_terminated_at_timestamp_gte: filterTerminatedAtTimestampGte, filter_terminated_at_timestamp_lte: filterTerminatedAtTimestampLte, } = request;
106
+ const _queryParams = {};
107
+ if (sortBy !== undefined) {
108
+ _queryParams["sort_by"] = sortBy;
109
+ }
110
+ if (sortOrder !== undefined) {
111
+ _queryParams["sort_order"] = sortOrder;
112
+ }
113
+ if (page !== undefined) {
114
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
115
+ }
116
+ if (pageSize !== undefined) {
117
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
118
+ }
119
+ if (orgScope !== undefined) {
120
+ _queryParams["org_scope"] = orgScope;
121
+ }
122
+ if (filterTerminated !== undefined) {
123
+ _queryParams["filter_terminated"] = (_c = filterTerminated === null || filterTerminated === void 0 ? void 0 : filterTerminated.toString()) !== null && _c !== void 0 ? _c : null;
124
+ }
125
+ if (filterPublic !== undefined) {
126
+ _queryParams["filter_public"] = (_d = filterPublic === null || filterPublic === void 0 ? void 0 : filterPublic.toString()) !== null && _d !== void 0 ? _d : null;
127
+ }
128
+ if (filterDeviceId !== undefined) {
129
+ _queryParams["filter_device_id"] = filterDeviceId;
130
+ }
131
+ if (filterOffChrtReferenceId !== undefined) {
132
+ _queryParams["filter_off_chrt_reference_id"] = filterOffChrtReferenceId;
133
+ }
134
+ if (filterFlightNumber !== undefined) {
135
+ _queryParams["filter_flight_number"] = filterFlightNumber;
136
+ }
137
+ if (filterFaFlightId !== undefined) {
138
+ _queryParams["filter_fa_flight_id"] = filterFaFlightId;
139
+ }
140
+ if (filterFlightLoadedStatus !== undefined) {
141
+ _queryParams["filter_flight_loaded_status"] = filterFlightLoadedStatus;
142
+ }
143
+ if (filterCreatedAtTimestampGte !== undefined) {
144
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
145
+ }
146
+ if (filterCreatedAtTimestampLte !== undefined) {
147
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
148
+ }
149
+ if (filterTerminationScheduledForTimestampGte !== undefined) {
150
+ _queryParams["filter_termination_scheduled_for_timestamp_gte"] = filterTerminationScheduledForTimestampGte;
151
+ }
152
+ if (filterTerminationScheduledForTimestampLte !== undefined) {
153
+ _queryParams["filter_termination_scheduled_for_timestamp_lte"] = filterTerminationScheduledForTimestampLte;
154
+ }
155
+ if (filterTerminatedAtTimestampGte !== undefined) {
156
+ _queryParams["filter_terminated_at_timestamp_gte"] = filterTerminatedAtTimestampGte;
157
+ }
158
+ if (filterTerminatedAtTimestampLte !== undefined) {
159
+ _queryParams["filter_terminated_at_timestamp_lte"] = filterTerminatedAtTimestampLte;
160
+ }
161
+ let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
162
+ const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
163
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "tracking/sessions/list/v1"),
164
+ method: "GET",
94
165
  headers: _headers,
95
- contentType: "application/json",
96
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
97
- requestType: "json",
98
- body: request,
166
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
99
167
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
100
168
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
101
169
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -123,7 +191,7 @@ class Sessions {
123
191
  rawResponse: _response.rawResponse,
124
192
  });
125
193
  case "timeout":
126
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/add_flight/v1.");
194
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/list/v1.");
127
195
  case "unknown":
128
196
  throw new errors.ChrtError({
129
197
  message: _response.error.errorMessage,
@@ -133,41 +201,33 @@ class Sessions {
133
201
  });
134
202
  }
135
203
  /**
136
- * Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~3 days out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | (SessionClientCreate1) -> (PydanticObjectId)
204
+ * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | authz: min_org_role=operator | () -> (Session1)
137
205
  *
138
- * @param {Chrt.tracking.SessionClientCreate1} request
206
+ * @param {Chrt.tracking.SessionsGetV1Request} request
139
207
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
140
208
  *
141
209
  * @throws {@link Chrt.UnprocessableEntityError}
142
210
  *
143
211
  * @example
144
- * await client.tracking.sessions.createSessionV1({
145
- * device_id: "device_id",
146
- * no_auto_termination: true,
147
- * schema_version: 1
212
+ * await client.tracking.sessions.getV1({
213
+ * session_id: "session_id"
148
214
  * })
149
215
  */
150
- createSessionV1(request, requestOptions) {
151
- return core.HttpResponsePromise.fromPromise(this.__createSessionV1(request, requestOptions));
216
+ getV1(request, requestOptions) {
217
+ return core.HttpResponsePromise.fromPromise(this.__getV1(request, requestOptions));
152
218
  }
153
- __createSessionV1(request, requestOptions) {
219
+ __getV1(request, requestOptions) {
154
220
  return __awaiter(this, void 0, void 0, function* () {
155
- var _a, _b, _c, _d, _e;
156
- const { device_id: deviceId, no_auto_termination: noAutoTermination } = request, _body = __rest(request, ["device_id", "no_auto_termination"]);
221
+ var _a, _b, _c, _d;
222
+ const { session_id: sessionId } = request;
157
223
  const _queryParams = {};
158
- _queryParams["device_id"] = deviceId;
159
- if (noAutoTermination !== undefined) {
160
- _queryParams["no_auto_termination"] = (_a = noAutoTermination === null || noAutoTermination === void 0 ? void 0 : noAutoTermination.toString()) !== null && _a !== void 0 ? _a : null;
161
- }
162
- 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);
163
- const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
164
- 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/sessions/create_session/v1"),
165
- method: "POST",
224
+ _queryParams["session_id"] = sessionId;
225
+ 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);
226
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
227
+ 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/sessions/get/v1"),
228
+ method: "GET",
166
229
  headers: _headers,
167
- contentType: "application/json",
168
230
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
169
- requestType: "json",
170
- body: _body,
171
231
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
172
232
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
173
233
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -195,7 +255,7 @@ class Sessions {
195
255
  rawResponse: _response.rawResponse,
196
256
  });
197
257
  case "timeout":
198
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/create_session/v1.");
258
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/get/v1.");
199
259
  case "unknown":
200
260
  throw new errors.ChrtError({
201
261
  message: _response.error.errorMessage,
@@ -205,30 +265,38 @@ class Sessions {
205
265
  });
206
266
  }
207
267
  /**
208
- * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | authz: min_org_role=operator | () -> (Session1)
268
+ * Returns distinct device_mac_address and off_chrt_reference_id values matching the query via case-insensitive regex, searching sessions. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (list[TrackingTypeaheadResult])
209
269
  *
210
- * @param {Chrt.tracking.SessionsGetV1Request} request
270
+ * @param {Chrt.tracking.SessionsTypeaheadV1Request} request
211
271
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
212
272
  *
213
273
  * @throws {@link Chrt.UnprocessableEntityError}
214
274
  *
215
275
  * @example
216
- * await client.tracking.sessions.getV1({
217
- * session_id: "session_id"
276
+ * await client.tracking.sessions.typeaheadV1({
277
+ * query: "query",
278
+ * limit: 1,
279
+ * org_scope: "owned"
218
280
  * })
219
281
  */
220
- getV1(request, requestOptions) {
221
- return core.HttpResponsePromise.fromPromise(this.__getV1(request, requestOptions));
282
+ typeaheadV1(request, requestOptions) {
283
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
222
284
  }
223
- __getV1(request, requestOptions) {
285
+ __typeaheadV1(request, requestOptions) {
224
286
  return __awaiter(this, void 0, void 0, function* () {
225
- var _a, _b, _c, _d;
226
- const { session_id: sessionId } = request;
287
+ var _a, _b, _c, _d, _e;
288
+ const { query, limit, org_scope: orgScope } = request;
227
289
  const _queryParams = {};
228
- _queryParams["session_id"] = sessionId;
229
- 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);
230
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
231
- 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/sessions/get/v1"),
290
+ _queryParams["query"] = query;
291
+ if (limit !== undefined) {
292
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
293
+ }
294
+ if (orgScope !== undefined) {
295
+ _queryParams["org_scope"] = orgScope;
296
+ }
297
+ 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);
298
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
299
+ 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/sessions/typeahead/v1"),
232
300
  method: "GET",
233
301
  headers: _headers,
234
302
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -259,7 +327,7 @@ class Sessions {
259
327
  rawResponse: _response.rawResponse,
260
328
  });
261
329
  case "timeout":
262
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/get/v1.");
330
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/typeahead/v1.");
263
331
  case "unknown":
264
332
  throw new errors.ChrtError({
265
333
  message: _response.error.errorMessage,
@@ -269,49 +337,30 @@ class Sessions {
269
337
  });
270
338
  }
271
339
  /**
272
- * Lists sessions with filtering, sorting, and pagination. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (SessionListRes)
340
+ * Search across session comments, device_mac_address, flight_numbers, and off_chrt_reference_id. Handles both partial and full matches. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (SessionSearchRes)
273
341
  *
274
- * @param {Chrt.tracking.SessionsListV1Request} request
342
+ * @param {Chrt.tracking.SessionsSearchV1Request} request
275
343
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
276
344
  *
277
345
  * @throws {@link Chrt.UnprocessableEntityError}
278
346
  *
279
347
  * @example
280
- * await client.tracking.sessions.listV1({
281
- * sort_by: "created_at_timestamp",
282
- * sort_order: "asc",
348
+ * await client.tracking.sessions.searchV1({
349
+ * query: "query",
283
350
  * page: 1,
284
351
  * page_size: 1,
285
- * org_scope: "owned",
286
- * filter_terminated: true,
287
- * filter_public: true,
288
- * filter_device_id: "filter_device_id",
289
- * filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
290
- * filter_flight_number: "filter_flight_number",
291
- * filter_fa_flight_id: "filter_fa_flight_id",
292
- * filter_flight_loaded_status: "filter_flight_loaded_status",
293
- * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
294
- * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
295
- * filter_termination_scheduled_for_timestamp_gte: "2024-01-15T09:30:00Z",
296
- * filter_termination_scheduled_for_timestamp_lte: "2024-01-15T09:30:00Z",
297
- * filter_terminated_at_timestamp_gte: "2024-01-15T09:30:00Z",
298
- * filter_terminated_at_timestamp_lte: "2024-01-15T09:30:00Z"
352
+ * org_scope: "owned"
299
353
  * })
300
354
  */
301
- listV1(request = {}, requestOptions) {
302
- return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
355
+ searchV1(request, requestOptions) {
356
+ return core.HttpResponsePromise.fromPromise(this.__searchV1(request, requestOptions));
303
357
  }
304
- __listV1() {
305
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
306
- var _a, _b, _c, _d, _e, _f, _g, _h;
307
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, org_scope: orgScope, filter_terminated: filterTerminated, filter_public: filterPublic, filter_device_id: filterDeviceId, filter_off_chrt_reference_id: filterOffChrtReferenceId, filter_flight_number: filterFlightNumber, filter_fa_flight_id: filterFaFlightId, filter_flight_loaded_status: filterFlightLoadedStatus, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_termination_scheduled_for_timestamp_gte: filterTerminationScheduledForTimestampGte, filter_termination_scheduled_for_timestamp_lte: filterTerminationScheduledForTimestampLte, filter_terminated_at_timestamp_gte: filterTerminatedAtTimestampGte, filter_terminated_at_timestamp_lte: filterTerminatedAtTimestampLte, } = request;
358
+ __searchV1(request, requestOptions) {
359
+ return __awaiter(this, void 0, void 0, function* () {
360
+ var _a, _b, _c, _d, _e, _f;
361
+ const { query, page, page_size: pageSize, org_scope: orgScope } = request;
308
362
  const _queryParams = {};
309
- if (sortBy !== undefined) {
310
- _queryParams["sort_by"] = sortBy;
311
- }
312
- if (sortOrder !== undefined) {
313
- _queryParams["sort_order"] = sortOrder;
314
- }
363
+ _queryParams["query"] = query;
315
364
  if (page !== undefined) {
316
365
  _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
317
366
  }
@@ -321,48 +370,9 @@ class Sessions {
321
370
  if (orgScope !== undefined) {
322
371
  _queryParams["org_scope"] = orgScope;
323
372
  }
324
- if (filterTerminated !== undefined) {
325
- _queryParams["filter_terminated"] = (_c = filterTerminated === null || filterTerminated === void 0 ? void 0 : filterTerminated.toString()) !== null && _c !== void 0 ? _c : null;
326
- }
327
- if (filterPublic !== undefined) {
328
- _queryParams["filter_public"] = (_d = filterPublic === null || filterPublic === void 0 ? void 0 : filterPublic.toString()) !== null && _d !== void 0 ? _d : null;
329
- }
330
- if (filterDeviceId !== undefined) {
331
- _queryParams["filter_device_id"] = filterDeviceId;
332
- }
333
- if (filterOffChrtReferenceId !== undefined) {
334
- _queryParams["filter_off_chrt_reference_id"] = filterOffChrtReferenceId;
335
- }
336
- if (filterFlightNumber !== undefined) {
337
- _queryParams["filter_flight_number"] = filterFlightNumber;
338
- }
339
- if (filterFaFlightId !== undefined) {
340
- _queryParams["filter_fa_flight_id"] = filterFaFlightId;
341
- }
342
- if (filterFlightLoadedStatus !== undefined) {
343
- _queryParams["filter_flight_loaded_status"] = filterFlightLoadedStatus;
344
- }
345
- if (filterCreatedAtTimestampGte !== undefined) {
346
- _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
347
- }
348
- if (filterCreatedAtTimestampLte !== undefined) {
349
- _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
350
- }
351
- if (filterTerminationScheduledForTimestampGte !== undefined) {
352
- _queryParams["filter_termination_scheduled_for_timestamp_gte"] = filterTerminationScheduledForTimestampGte;
353
- }
354
- if (filterTerminationScheduledForTimestampLte !== undefined) {
355
- _queryParams["filter_termination_scheduled_for_timestamp_lte"] = filterTerminationScheduledForTimestampLte;
356
- }
357
- if (filterTerminatedAtTimestampGte !== undefined) {
358
- _queryParams["filter_terminated_at_timestamp_gte"] = filterTerminatedAtTimestampGte;
359
- }
360
- if (filterTerminatedAtTimestampLte !== undefined) {
361
- _queryParams["filter_terminated_at_timestamp_lte"] = filterTerminatedAtTimestampLte;
362
- }
363
- let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
364
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
365
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "tracking/sessions/list/v1"),
373
+ let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
374
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
375
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "tracking/sessions/search/v1"),
366
376
  method: "GET",
367
377
  headers: _headers,
368
378
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -393,7 +403,7 @@ class Sessions {
393
403
  rawResponse: _response.rawResponse,
394
404
  });
395
405
  case "timeout":
396
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/list/v1.");
406
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/search/v1.");
397
407
  case "unknown":
398
408
  throw new errors.ChrtError({
399
409
  message: _response.error.errorMessage,
@@ -403,35 +413,41 @@ class Sessions {
403
413
  });
404
414
  }
405
415
  /**
406
- * Removes a flight number and FA flight IDs from a session. Runs the shared-aware FlightAware unsubscribe cycle before removing. | authz: min_org_role=operator | (SessionRemoveFlightReq1) -> (bool)
416
+ * Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~3 days out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | (SessionClientCreate1) -> (PydanticObjectId)
407
417
  *
408
- * @param {Chrt.tracking.SessionRemoveFlightReq1} request
418
+ * @param {Chrt.tracking.SessionClientCreate1} request
409
419
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
410
420
  *
411
421
  * @throws {@link Chrt.UnprocessableEntityError}
412
422
  *
413
423
  * @example
414
- * await client.tracking.sessions.removeFlightV1({
415
- * fa_flight_ids: ["fa_flight_ids"],
416
- * flight_number: "flight_number",
417
- * session_id: "session_id"
424
+ * await client.tracking.sessions.createSessionV1({
425
+ * device_id: "device_id",
426
+ * no_auto_termination: true,
427
+ * schema_version: 1
418
428
  * })
419
429
  */
420
- removeFlightV1(request, requestOptions) {
421
- return core.HttpResponsePromise.fromPromise(this.__removeFlightV1(request, requestOptions));
430
+ createSessionV1(request, requestOptions) {
431
+ return core.HttpResponsePromise.fromPromise(this.__createSessionV1(request, requestOptions));
422
432
  }
423
- __removeFlightV1(request, requestOptions) {
433
+ __createSessionV1(request, requestOptions) {
424
434
  return __awaiter(this, void 0, void 0, function* () {
425
- var _a, _b, _c, _d;
426
- 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);
427
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
428
- 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/sessions/remove_flight/v1"),
435
+ var _a, _b, _c, _d, _e;
436
+ const { device_id: deviceId, no_auto_termination: noAutoTermination } = request, _body = __rest(request, ["device_id", "no_auto_termination"]);
437
+ const _queryParams = {};
438
+ _queryParams["device_id"] = deviceId;
439
+ if (noAutoTermination !== undefined) {
440
+ _queryParams["no_auto_termination"] = (_a = noAutoTermination === null || noAutoTermination === void 0 ? void 0 : noAutoTermination.toString()) !== null && _a !== void 0 ? _a : null;
441
+ }
442
+ 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);
443
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
444
+ 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/sessions/create_session/v1"),
429
445
  method: "POST",
430
446
  headers: _headers,
431
447
  contentType: "application/json",
432
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
448
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
433
449
  requestType: "json",
434
- body: request,
450
+ body: _body,
435
451
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
436
452
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
437
453
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -459,7 +475,7 @@ class Sessions {
459
475
  rawResponse: _response.rawResponse,
460
476
  });
461
477
  case "timeout":
462
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/remove_flight/v1.");
478
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/create_session/v1.");
463
479
  case "unknown":
464
480
  throw new errors.ChrtError({
465
481
  message: _response.error.errorMessage,
@@ -469,45 +485,36 @@ class Sessions {
469
485
  });
470
486
  }
471
487
  /**
472
- * Search across session comments, device_mac_address, flight_numbers, and off_chrt_reference_id. Handles both partial and full matches. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (SessionSearchRes)
488
+ * Updates a session's metadata. | (SessionClientUpdate1) -> (bool)
473
489
  *
474
- * @param {Chrt.tracking.SessionsSearchV1Request} request
490
+ * @param {Chrt.tracking.SessionClientUpdate1} request
475
491
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
476
492
  *
477
493
  * @throws {@link Chrt.UnprocessableEntityError}
478
494
  *
479
495
  * @example
480
- * await client.tracking.sessions.searchV1({
481
- * query: "query",
482
- * page: 1,
483
- * page_size: 1,
484
- * org_scope: "owned"
496
+ * await client.tracking.sessions.updateV1({
497
+ * session_id: "session_id"
485
498
  * })
486
499
  */
487
- searchV1(request, requestOptions) {
488
- return core.HttpResponsePromise.fromPromise(this.__searchV1(request, requestOptions));
500
+ updateV1(request, requestOptions) {
501
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
489
502
  }
490
- __searchV1(request, requestOptions) {
503
+ __updateV1(request, requestOptions) {
491
504
  return __awaiter(this, void 0, void 0, function* () {
492
- var _a, _b, _c, _d, _e, _f;
493
- const { query, page, page_size: pageSize, org_scope: orgScope } = request;
505
+ var _a, _b, _c, _d;
506
+ const { session_id: sessionId } = request, _body = __rest(request, ["session_id"]);
494
507
  const _queryParams = {};
495
- _queryParams["query"] = query;
496
- if (page !== undefined) {
497
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
498
- }
499
- if (pageSize !== undefined) {
500
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
501
- }
502
- if (orgScope !== undefined) {
503
- _queryParams["org_scope"] = orgScope;
504
- }
505
- let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
506
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
507
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "tracking/sessions/search/v1"),
508
- method: "GET",
508
+ _queryParams["session_id"] = sessionId;
509
+ 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);
510
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
511
+ 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/sessions/update/v1"),
512
+ method: "POST",
509
513
  headers: _headers,
514
+ contentType: "application/json",
510
515
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
516
+ requestType: "json",
517
+ body: _body,
511
518
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
512
519
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
513
520
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -535,7 +542,7 @@ class Sessions {
535
542
  rawResponse: _response.rawResponse,
536
543
  });
537
544
  case "timeout":
538
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/search/v1.");
545
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/update/v1.");
539
546
  case "unknown":
540
547
  throw new errors.ChrtError({
541
548
  message: _response.error.errorMessage,
@@ -545,33 +552,33 @@ class Sessions {
545
552
  });
546
553
  }
547
554
  /**
548
- * Fetches current OOOI timestamps from FlightAware for each fa_flight_id on the session and updates flight_status_by_fa_flight_id. Use when the webhook may have left state out of sync. | authz: min_org_role=operator | () -> (bool)
555
+ * Adds and/or removes org_ids from a session's shared_with_org_ids list. Only the owning org may modify sharing. Removal overrides addition. | (SessionsUpdateSharedOrgsReq1) -> (bool)
549
556
  *
550
- * @param {Chrt.tracking.SessionsSyncFlightStatusV1Request} request
557
+ * @param {Chrt.tracking.SessionsUpdateSharedOrgsReq1} request
551
558
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
552
559
  *
553
560
  * @throws {@link Chrt.UnprocessableEntityError}
554
561
  *
555
562
  * @example
556
- * await client.tracking.sessions.syncFlightStatusV1({
563
+ * await client.tracking.sessions.updateSharedOrgsV1({
557
564
  * session_id: "session_id"
558
565
  * })
559
566
  */
560
- syncFlightStatusV1(request, requestOptions) {
561
- return core.HttpResponsePromise.fromPromise(this.__syncFlightStatusV1(request, requestOptions));
567
+ updateSharedOrgsV1(request, requestOptions) {
568
+ return core.HttpResponsePromise.fromPromise(this.__updateSharedOrgsV1(request, requestOptions));
562
569
  }
563
- __syncFlightStatusV1(request, requestOptions) {
570
+ __updateSharedOrgsV1(request, requestOptions) {
564
571
  return __awaiter(this, void 0, void 0, function* () {
565
572
  var _a, _b, _c, _d;
566
- const { session_id: sessionId } = request;
567
- const _queryParams = {};
568
- _queryParams["session_id"] = sessionId;
569
573
  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);
570
574
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
571
- 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/sessions/sync_flight_status/v1"),
575
+ 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/sessions/update_shared_orgs/v1"),
572
576
  method: "POST",
573
577
  headers: _headers,
574
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
578
+ contentType: "application/json",
579
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
580
+ requestType: "json",
581
+ body: request,
575
582
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
576
583
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
577
584
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -599,7 +606,7 @@ class Sessions {
599
606
  rawResponse: _response.rawResponse,
600
607
  });
601
608
  case "timeout":
602
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/sync_flight_status/v1.");
609
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/update_shared_orgs/v1.");
603
610
  case "unknown":
604
611
  throw new errors.ChrtError({
605
612
  message: _response.error.errorMessage,
@@ -673,41 +680,35 @@ class Sessions {
673
680
  });
674
681
  }
675
682
  /**
676
- * Returns distinct device_mac_address and off_chrt_reference_id values matching the query via case-insensitive regex, searching sessions. Use org_scope to restrict to owned, shared, or both (default). | authz: min_org_role=operator | () -> (list[TrackingTypeaheadResult])
683
+ * Adds a flight number and FA flight IDs to an existing session. Creates or reuses a FlightAware alert. | authz: min_org_role=operator | (SessionAddFlightReq1) -> (bool)
677
684
  *
678
- * @param {Chrt.tracking.SessionsTypeaheadV1Request} request
685
+ * @param {Chrt.tracking.SessionAddFlightReq1} request
679
686
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
680
687
  *
681
688
  * @throws {@link Chrt.UnprocessableEntityError}
682
689
  *
683
690
  * @example
684
- * await client.tracking.sessions.typeaheadV1({
685
- * query: "query",
686
- * limit: 1,
687
- * org_scope: "owned"
691
+ * await client.tracking.sessions.addFlightV1({
692
+ * session_id: "session_id",
693
+ * flight_number: "flight_number",
694
+ * fa_flight_ids: ["fa_flight_ids"]
688
695
  * })
689
696
  */
690
- typeaheadV1(request, requestOptions) {
691
- return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
697
+ addFlightV1(request, requestOptions) {
698
+ return core.HttpResponsePromise.fromPromise(this.__addFlightV1(request, requestOptions));
692
699
  }
693
- __typeaheadV1(request, requestOptions) {
700
+ __addFlightV1(request, requestOptions) {
694
701
  return __awaiter(this, void 0, void 0, function* () {
695
- var _a, _b, _c, _d, _e;
696
- const { query, limit, org_scope: orgScope } = request;
697
- const _queryParams = {};
698
- _queryParams["query"] = query;
699
- if (limit !== undefined) {
700
- _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
701
- }
702
- if (orgScope !== undefined) {
703
- _queryParams["org_scope"] = orgScope;
704
- }
705
- 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);
706
- const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
707
- 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/sessions/typeahead/v1"),
708
- method: "GET",
702
+ var _a, _b, _c, _d;
703
+ 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);
704
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
705
+ 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/sessions/add_flight/v1"),
706
+ method: "POST",
709
707
  headers: _headers,
710
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
708
+ contentType: "application/json",
709
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
710
+ requestType: "json",
711
+ body: request,
711
712
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
712
713
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
713
714
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -735,7 +736,7 @@ class Sessions {
735
736
  rawResponse: _response.rawResponse,
736
737
  });
737
738
  case "timeout":
738
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/sessions/typeahead/v1.");
739
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/add_flight/v1.");
739
740
  case "unknown":
740
741
  throw new errors.ChrtError({
741
742
  message: _response.error.errorMessage,
@@ -745,36 +746,35 @@ class Sessions {
745
746
  });
746
747
  }
747
748
  /**
748
- * Updates a session's metadata. | (SessionClientUpdate1) -> (bool)
749
+ * Removes a flight number and FA flight IDs from a session. Runs the shared-aware FlightAware unsubscribe cycle before removing. | authz: min_org_role=operator | (SessionRemoveFlightReq1) -> (bool)
749
750
  *
750
- * @param {Chrt.tracking.SessionClientUpdate1} request
751
+ * @param {Chrt.tracking.SessionRemoveFlightReq1} request
751
752
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
752
753
  *
753
754
  * @throws {@link Chrt.UnprocessableEntityError}
754
755
  *
755
756
  * @example
756
- * await client.tracking.sessions.updateV1({
757
- * session_id: "session_id"
757
+ * await client.tracking.sessions.removeFlightV1({
758
+ * session_id: "session_id",
759
+ * flight_number: "flight_number",
760
+ * fa_flight_ids: ["fa_flight_ids"]
758
761
  * })
759
762
  */
760
- updateV1(request, requestOptions) {
761
- return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
763
+ removeFlightV1(request, requestOptions) {
764
+ return core.HttpResponsePromise.fromPromise(this.__removeFlightV1(request, requestOptions));
762
765
  }
763
- __updateV1(request, requestOptions) {
766
+ __removeFlightV1(request, requestOptions) {
764
767
  return __awaiter(this, void 0, void 0, function* () {
765
768
  var _a, _b, _c, _d;
766
- const { session_id: sessionId } = request, _body = __rest(request, ["session_id"]);
767
- const _queryParams = {};
768
- _queryParams["session_id"] = sessionId;
769
769
  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);
770
770
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
771
- 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/sessions/update/v1"),
771
+ 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/sessions/remove_flight/v1"),
772
772
  method: "POST",
773
773
  headers: _headers,
774
774
  contentType: "application/json",
775
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
775
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
776
776
  requestType: "json",
777
- body: _body,
777
+ body: request,
778
778
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
779
779
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
780
780
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -802,7 +802,7 @@ class Sessions {
802
802
  rawResponse: _response.rawResponse,
803
803
  });
804
804
  case "timeout":
805
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/update/v1.");
805
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/remove_flight/v1.");
806
806
  case "unknown":
807
807
  throw new errors.ChrtError({
808
808
  message: _response.error.errorMessage,
@@ -812,33 +812,33 @@ class Sessions {
812
812
  });
813
813
  }
814
814
  /**
815
- * Adds and/or removes org_ids from a session's shared_with_org_ids list. Only the owning org may modify sharing. Removal overrides addition. | (SessionsUpdateSharedOrgsReq1) -> (bool)
815
+ * Fetches current OOOI timestamps from FlightAware for each fa_flight_id on the session and updates flight_status_by_fa_flight_id. Use when the webhook may have left state out of sync. | authz: min_org_role=operator | () -> (bool)
816
816
  *
817
- * @param {Chrt.tracking.SessionsUpdateSharedOrgsReq1} request
817
+ * @param {Chrt.tracking.SessionsSyncFlightStatusV1Request} request
818
818
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
819
819
  *
820
820
  * @throws {@link Chrt.UnprocessableEntityError}
821
821
  *
822
822
  * @example
823
- * await client.tracking.sessions.updateSharedOrgsV1({
823
+ * await client.tracking.sessions.syncFlightStatusV1({
824
824
  * session_id: "session_id"
825
825
  * })
826
826
  */
827
- updateSharedOrgsV1(request, requestOptions) {
828
- return core.HttpResponsePromise.fromPromise(this.__updateSharedOrgsV1(request, requestOptions));
827
+ syncFlightStatusV1(request, requestOptions) {
828
+ return core.HttpResponsePromise.fromPromise(this.__syncFlightStatusV1(request, requestOptions));
829
829
  }
830
- __updateSharedOrgsV1(request, requestOptions) {
830
+ __syncFlightStatusV1(request, requestOptions) {
831
831
  return __awaiter(this, void 0, void 0, function* () {
832
832
  var _a, _b, _c, _d;
833
+ const { session_id: sessionId } = request;
834
+ const _queryParams = {};
835
+ _queryParams["session_id"] = sessionId;
833
836
  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);
834
837
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
835
- 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/sessions/update_shared_orgs/v1"),
838
+ 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/sessions/sync_flight_status/v1"),
836
839
  method: "POST",
837
840
  headers: _headers,
838
- contentType: "application/json",
839
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
840
- requestType: "json",
841
- body: request,
841
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
842
842
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
843
843
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
844
844
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -866,7 +866,7 @@ class Sessions {
866
866
  rawResponse: _response.rawResponse,
867
867
  });
868
868
  case "timeout":
869
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/update_shared_orgs/v1.");
869
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking/sessions/sync_flight_status/v1.");
870
870
  case "unknown":
871
871
  throw new errors.ChrtError({
872
872
  message: _response.error.errorMessage,