@chrt-inc/typescript-sdk 0.252.0 → 0.271.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/README.md +13 -2
  2. package/dist/cjs/Client.d.ts +4 -2
  3. package/dist/cjs/Client.js +2 -2
  4. package/dist/cjs/api/resources/connections/client/Client.d.ts +4 -2
  5. package/dist/cjs/api/resources/connections/client/Client.js +10 -6
  6. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +4 -2
  7. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +5 -3
  8. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.d.ts +4 -2
  9. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.js +20 -12
  10. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.ts +4 -2
  11. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.js +5 -3
  12. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.ts +4 -2
  13. package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.js +5 -3
  14. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +4 -2
  15. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +20 -12
  16. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +4 -2
  17. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +30 -18
  18. package/dist/cjs/api/resources/dev/client/Client.d.ts +4 -2
  19. package/dist/cjs/api/resources/dev/client/Client.js +30 -18
  20. package/dist/cjs/api/resources/drivers/client/Client.d.ts +12 -3
  21. package/dist/cjs/api/resources/drivers/client/Client.js +58 -31
  22. package/dist/cjs/api/resources/drivers/client/requests/DriverLastSeenReq.d.ts +8 -1
  23. package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +4 -2
  24. package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +10 -6
  25. package/dist/cjs/api/resources/milestones/client/Client.d.ts +4 -2
  26. package/dist/cjs/api/resources/milestones/client/Client.js +10 -6
  27. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +4 -2
  28. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +5 -3
  29. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +5 -2
  30. package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +16 -10
  31. package/dist/cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts +1 -1
  32. package/dist/cjs/api/resources/notifications/client/Client.d.ts +1 -1
  33. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +4 -2
  34. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +10 -6
  35. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +4 -2
  36. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +10 -6
  37. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +4 -2
  38. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.js +25 -15
  39. package/dist/cjs/api/resources/orders/client/Client.d.ts +4 -2
  40. package/dist/cjs/api/resources/orders/client/Client.js +25 -15
  41. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +4 -2
  42. package/dist/cjs/api/resources/orders/resources/full/client/Client.js +15 -9
  43. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +1 -1
  44. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +4 -2
  45. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +15 -9
  46. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +4 -2
  47. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +15 -9
  48. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +4 -2
  49. package/dist/cjs/api/resources/orgProfiles/client/Client.js +25 -15
  50. package/dist/cjs/api/resources/orgs/client/Client.d.ts +4 -2
  51. package/dist/cjs/api/resources/orgs/client/Client.js +40 -24
  52. package/dist/cjs/api/resources/payments/client/Client.d.ts +4 -2
  53. package/dist/cjs/api/resources/payments/client/Client.js +25 -15
  54. package/dist/cjs/api/resources/root/client/Client.d.ts +4 -2
  55. package/dist/cjs/api/resources/root/client/Client.js +25 -15
  56. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +4 -2
  57. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +45 -27
  58. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +4 -2
  59. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +25 -15
  60. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.ts +4 -2
  61. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.js +5 -3
  62. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +4 -2
  63. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +5 -3
  64. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.ts +4 -2
  65. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.js +5 -3
  66. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +4 -2
  67. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +15 -9
  68. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +4 -2
  69. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +35 -21
  70. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +4 -2
  71. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +25 -15
  72. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +4 -2
  73. package/dist/cjs/api/resources/taskGroups/client/Client.js +30 -18
  74. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +4 -2
  75. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +10 -6
  76. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
  77. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +5 -3
  78. package/dist/cjs/api/resources/tracking/client/Client.d.ts +10 -4
  79. package/dist/cjs/api/resources/tracking/client/Client.js +19 -9
  80. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +50 -0
  81. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +137 -0
  82. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/index.js +17 -0
  84. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.d.ts +14 -0
  85. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.ts +1 -0
  86. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/index.js +17 -0
  88. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +5 -22
  89. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +6 -71
  90. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.ts +0 -1
  91. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +35 -9
  92. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +170 -32
  93. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesDeleteRequest.d.ts +11 -0
  94. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesGetRequest.d.ts +3 -4
  95. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesRegisterToOrgRequest.d.ts → DevicesRegisterToOrgReq1.d.ts} +4 -1
  96. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUpdateRequest1.d.ts +16 -0
  97. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +3 -1
  98. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +60 -0
  99. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +143 -0
  100. package/dist/cjs/api/resources/tracking/resources/driver/client/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/tracking/resources/driver/client/index.js +17 -0
  102. package/dist/cjs/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverUpdateReq.d.ts → driver/client/requests/DriverUpdateReq.d.ts} +9 -2
  103. package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.d.ts +1 -0
  104. package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.js +2 -0
  105. package/dist/cjs/api/resources/tracking/resources/driver/index.d.ts +1 -0
  106. package/dist/cjs/api/resources/tracking/resources/driver/index.js +17 -0
  107. package/dist/cjs/api/resources/tracking/resources/index.d.ts +6 -2
  108. package/dist/cjs/api/resources/tracking/resources/index.js +7 -3
  109. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +126 -23
  110. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +524 -61
  111. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicRequest.d.ts +13 -0
  112. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsRequest.d.ts +13 -0
  113. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceEndSessionRequest.d.ts → SessionByDeviceDeleteRequest.d.ts} +1 -1
  114. package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceEndSessionRequest.d.mts → cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetRequest.d.ts} +1 -1
  115. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceResumeSessionRequest.d.ts → SessionByDeviceLastSeenPublicRequest.d.ts} +1 -1
  116. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +14 -0
  117. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.js +5 -0
  118. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.ts +12 -0
  119. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.js +5 -0
  120. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.ts +12 -0
  121. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.js +5 -0
  122. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDevicePauseSessionRequest.d.ts → SessionByDeviceStartRequest.d.ts} +1 -1
  123. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.js +5 -0
  124. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartSessionRequest.d.ts → SessionByDeviceTerminateRequest.d.ts} +1 -1
  125. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.js +5 -0
  126. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceUpdateCommentsRequest1.d.ts → SessionByDeviceUpdateRequest1.d.ts} +2 -1
  127. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.js +5 -0
  128. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +11 -5
  129. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +5 -22
  130. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +6 -71
  131. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.ts +0 -1
  132. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -2
  133. package/dist/cjs/api/resources/users/client/Client.js +5 -3
  134. package/dist/cjs/api/resources/utils/client/Client.d.ts +4 -2
  135. package/dist/cjs/api/resources/utils/client/Client.js +5 -4
  136. package/dist/cjs/api/resources/utils/client/requests/UtilsGetTimezoneRequest.d.ts +2 -6
  137. package/dist/cjs/api/types/Device1.d.ts +2 -0
  138. package/dist/cjs/api/types/DriverUpdateResp.d.ts +11 -0
  139. package/dist/cjs/api/types/DriverUpdateResp.js +5 -0
  140. package/dist/cjs/api/types/{LocationFeatureInputGeometry.d.ts → Geometry.d.ts} +2 -2
  141. package/dist/cjs/api/types/Geometry.js +5 -0
  142. package/dist/cjs/api/types/LocationFeature.d.ts +5 -1
  143. package/dist/cjs/api/types/LocationProperties.d.ts +2 -0
  144. package/dist/cjs/api/types/OutlierLabellerEnum.d.ts +8 -0
  145. package/dist/cjs/api/types/OutlierLabellerEnum.js +10 -0
  146. package/dist/cjs/api/types/Session1.d.ts +17 -0
  147. package/dist/cjs/api/types/Session1.js +5 -0
  148. package/dist/cjs/api/types/SessionByDeviceDeleteResponse1.d.ts +7 -0
  149. package/dist/cjs/api/types/SessionByDeviceDeleteResponse1.js +5 -0
  150. package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.d.ts +7 -0
  151. package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.js +5 -0
  152. package/dist/cjs/api/types/TrackingCargoByDeviceDataPoint1.d.ts +12 -0
  153. package/dist/cjs/api/types/TrackingCargoByDeviceDataPoint1.js +5 -0
  154. package/dist/cjs/api/types/TrackingCargoByDeviceDataPointMetadata1.d.ts +11 -0
  155. package/dist/cjs/api/types/TrackingCargoByDeviceDataPointMetadata1.js +5 -0
  156. package/dist/cjs/api/types/TrackingCargoByDriverDataPointMetadata1.d.ts +3 -0
  157. package/dist/cjs/api/types/TrackingDeviceTypeEnum1.d.ts +4 -4
  158. package/dist/cjs/api/types/TrackingDeviceTypeEnum1.js +3 -3
  159. package/dist/cjs/api/types/TrackingSessionByDeviceDataPointMetadata1.d.ts +3 -0
  160. package/dist/cjs/api/types/TrackingTaskGroupByDriverDataPointMetadata1.d.ts +3 -0
  161. package/dist/cjs/api/types/index.d.ts +8 -2
  162. package/dist/cjs/api/types/index.js +8 -2
  163. package/dist/cjs/core/auth/AuthProvider.d.ts +4 -0
  164. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  165. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  166. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  167. package/dist/cjs/core/auth/index.d.ts +2 -0
  168. package/dist/cjs/core/exports.d.ts +1 -0
  169. package/dist/cjs/core/exports.js +17 -0
  170. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
  171. package/dist/cjs/core/fetcher/Fetcher.js +2 -2
  172. package/dist/cjs/core/fetcher/index.d.ts +5 -5
  173. package/dist/cjs/core/fetcher/index.js +5 -5
  174. package/dist/cjs/core/fetcher/requestWithRetries.js +44 -8
  175. package/dist/cjs/core/file/exports.d.ts +1 -0
  176. package/dist/cjs/core/file/exports.js +2 -0
  177. package/dist/cjs/core/file/file.d.ts +5 -0
  178. package/dist/cjs/core/file/file.js +203 -0
  179. package/dist/cjs/core/file/index.d.ts +2 -0
  180. package/dist/cjs/core/file/index.js +18 -0
  181. package/dist/cjs/core/file/types.d.ts +66 -0
  182. package/dist/cjs/core/file/types.js +2 -0
  183. package/dist/cjs/core/headers.d.ts +2 -2
  184. package/dist/cjs/core/index.d.ts +1 -1
  185. package/dist/cjs/core/index.js +2 -2
  186. package/dist/cjs/exports.d.ts +1 -0
  187. package/dist/cjs/exports.js +17 -0
  188. package/dist/cjs/index.d.ts +1 -0
  189. package/dist/cjs/index.js +4 -0
  190. package/dist/cjs/version.d.ts +1 -1
  191. package/dist/cjs/version.js +1 -1
  192. package/dist/esm/Client.d.mts +4 -2
  193. package/dist/esm/Client.mjs +2 -2
  194. package/dist/esm/api/resources/connections/client/Client.d.mts +4 -2
  195. package/dist/esm/api/resources/connections/client/Client.mjs +10 -6
  196. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +4 -2
  197. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +5 -3
  198. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +4 -2
  199. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +20 -12
  200. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +4 -2
  201. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +5 -3
  202. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -2
  203. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +5 -3
  204. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +4 -2
  205. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +20 -12
  206. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +4 -2
  207. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +30 -18
  208. package/dist/esm/api/resources/dev/client/Client.d.mts +4 -2
  209. package/dist/esm/api/resources/dev/client/Client.mjs +30 -18
  210. package/dist/esm/api/resources/drivers/client/Client.d.mts +12 -3
  211. package/dist/esm/api/resources/drivers/client/Client.mjs +58 -31
  212. package/dist/esm/api/resources/drivers/client/requests/DriverLastSeenReq.d.mts +8 -1
  213. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +4 -2
  214. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +10 -6
  215. package/dist/esm/api/resources/milestones/client/Client.d.mts +4 -2
  216. package/dist/esm/api/resources/milestones/client/Client.mjs +10 -6
  217. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +4 -2
  218. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +5 -3
  219. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +5 -2
  220. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +16 -10
  221. package/dist/esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts +1 -1
  222. package/dist/esm/api/resources/notifications/client/Client.d.mts +1 -1
  223. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +4 -2
  224. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +10 -6
  225. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +4 -2
  226. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +10 -6
  227. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +4 -2
  228. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.mjs +25 -15
  229. package/dist/esm/api/resources/orders/client/Client.d.mts +4 -2
  230. package/dist/esm/api/resources/orders/client/Client.mjs +25 -15
  231. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +4 -2
  232. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +15 -9
  233. package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +1 -1
  234. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +4 -2
  235. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +15 -9
  236. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +4 -2
  237. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +15 -9
  238. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +4 -2
  239. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +25 -15
  240. package/dist/esm/api/resources/orgs/client/Client.d.mts +4 -2
  241. package/dist/esm/api/resources/orgs/client/Client.mjs +40 -24
  242. package/dist/esm/api/resources/payments/client/Client.d.mts +4 -2
  243. package/dist/esm/api/resources/payments/client/Client.mjs +25 -15
  244. package/dist/esm/api/resources/root/client/Client.d.mts +4 -2
  245. package/dist/esm/api/resources/root/client/Client.mjs +25 -15
  246. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +4 -2
  247. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +45 -27
  248. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +4 -2
  249. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +25 -15
  250. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +4 -2
  251. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +5 -3
  252. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +4 -2
  253. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +5 -3
  254. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -2
  255. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +5 -3
  256. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +4 -2
  257. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +15 -9
  258. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +4 -2
  259. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +35 -21
  260. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +4 -2
  261. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +25 -15
  262. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +4 -2
  263. package/dist/esm/api/resources/taskGroups/client/Client.mjs +30 -18
  264. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +4 -2
  265. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +10 -6
  266. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
  267. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +5 -3
  268. package/dist/esm/api/resources/tracking/client/Client.d.mts +10 -4
  269. package/dist/esm/api/resources/tracking/client/Client.mjs +13 -3
  270. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +50 -0
  271. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +100 -0
  272. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/index.d.mts +2 -0
  273. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/index.mjs +1 -0
  274. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.d.mts +14 -0
  275. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +1 -0
  276. package/dist/esm/api/resources/tracking/resources/cargoByDevice/index.d.mts +1 -0
  277. package/dist/esm/api/resources/tracking/resources/cargoByDevice/index.mjs +1 -0
  278. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +5 -22
  279. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +6 -71
  280. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +0 -1
  281. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +35 -9
  282. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +170 -32
  283. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesDeleteRequest.d.mts +11 -0
  284. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesGetRequest.d.mts +3 -4
  285. package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesRegisterToOrgRequest.d.mts → DevicesRegisterToOrgReq1.d.mts} +4 -1
  286. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUpdateRequest1.d.mts +16 -0
  287. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +3 -1
  288. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +60 -0
  289. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +106 -0
  290. package/dist/esm/api/resources/tracking/resources/driver/client/index.d.mts +2 -0
  291. package/dist/esm/api/resources/tracking/resources/driver/client/index.mjs +1 -0
  292. package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverUpdateReq.d.mts → driver/client/requests/DriverUpdateReq.d.mts} +9 -2
  293. package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.d.mts +1 -0
  294. package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.mjs +1 -0
  295. package/dist/esm/api/resources/tracking/resources/driver/index.d.mts +1 -0
  296. package/dist/esm/api/resources/tracking/resources/driver/index.mjs +1 -0
  297. package/dist/esm/api/resources/tracking/resources/index.d.mts +6 -2
  298. package/dist/esm/api/resources/tracking/resources/index.mjs +6 -2
  299. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +126 -23
  300. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +524 -61
  301. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicRequest.d.mts +13 -0
  302. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsRequest.d.mts +13 -0
  303. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDeleteRequest.d.mts +12 -0
  304. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetRequest.d.mts +12 -0
  305. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.d.mts +12 -0
  306. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +14 -0
  307. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.mjs +4 -0
  308. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.d.mts +12 -0
  309. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingRequest.mjs +4 -0
  310. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.d.mts +12 -0
  311. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingRequest.mjs +4 -0
  312. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.d.mts +12 -0
  313. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartRequest.mjs +4 -0
  314. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.d.mts +12 -0
  315. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateRequest.mjs +4 -0
  316. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceUpdateCommentsRequest1.d.mts → SessionByDeviceUpdateRequest1.d.mts} +2 -1
  317. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.mjs +4 -0
  318. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +11 -5
  319. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +5 -22
  320. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +6 -71
  321. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +0 -1
  322. package/dist/esm/api/resources/users/client/Client.d.mts +4 -2
  323. package/dist/esm/api/resources/users/client/Client.mjs +5 -3
  324. package/dist/esm/api/resources/utils/client/Client.d.mts +4 -2
  325. package/dist/esm/api/resources/utils/client/Client.mjs +5 -4
  326. package/dist/esm/api/resources/utils/client/requests/UtilsGetTimezoneRequest.d.mts +2 -6
  327. package/dist/esm/api/types/Device1.d.mts +2 -0
  328. package/dist/esm/api/types/DriverUpdateResp.d.mts +11 -0
  329. package/dist/esm/api/types/DriverUpdateResp.mjs +4 -0
  330. package/dist/esm/api/types/{LocationFeatureInputGeometry.d.mts → Geometry.d.mts} +2 -2
  331. package/dist/esm/api/types/Geometry.mjs +4 -0
  332. package/dist/esm/api/types/LocationFeature.d.mts +5 -1
  333. package/dist/esm/api/types/LocationProperties.d.mts +2 -0
  334. package/dist/esm/api/types/OutlierLabellerEnum.d.mts +8 -0
  335. package/dist/esm/api/types/OutlierLabellerEnum.mjs +7 -0
  336. package/dist/esm/api/types/Session1.d.mts +17 -0
  337. package/dist/esm/api/types/Session1.mjs +4 -0
  338. package/dist/esm/api/types/SessionByDeviceDeleteResponse1.d.mts +7 -0
  339. package/dist/esm/api/types/SessionByDeviceDeleteResponse1.mjs +4 -0
  340. package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.d.mts +7 -0
  341. package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.mjs +4 -0
  342. package/dist/esm/api/types/TrackingCargoByDeviceDataPoint1.d.mts +12 -0
  343. package/dist/esm/api/types/TrackingCargoByDeviceDataPoint1.mjs +4 -0
  344. package/dist/esm/api/types/TrackingCargoByDeviceDataPointMetadata1.d.mts +11 -0
  345. package/dist/esm/api/types/TrackingCargoByDeviceDataPointMetadata1.mjs +4 -0
  346. package/dist/esm/api/types/TrackingCargoByDriverDataPointMetadata1.d.mts +3 -0
  347. package/dist/esm/api/types/TrackingDeviceTypeEnum1.d.mts +4 -4
  348. package/dist/esm/api/types/TrackingDeviceTypeEnum1.mjs +3 -3
  349. package/dist/esm/api/types/TrackingSessionByDeviceDataPointMetadata1.d.mts +3 -0
  350. package/dist/esm/api/types/TrackingTaskGroupByDriverDataPointMetadata1.d.mts +3 -0
  351. package/dist/esm/api/types/index.d.mts +8 -2
  352. package/dist/esm/api/types/index.mjs +8 -2
  353. package/dist/esm/core/auth/AuthProvider.d.mts +4 -0
  354. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  355. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  356. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  357. package/dist/esm/core/auth/index.d.mts +2 -0
  358. package/dist/esm/core/exports.d.mts +1 -0
  359. package/dist/esm/core/exports.mjs +1 -0
  360. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
  361. package/dist/esm/core/fetcher/Fetcher.mjs +2 -2
  362. package/dist/esm/core/fetcher/index.d.mts +5 -5
  363. package/dist/esm/core/fetcher/index.mjs +2 -2
  364. package/dist/esm/core/fetcher/requestWithRetries.mjs +44 -8
  365. package/dist/esm/core/file/exports.d.mts +1 -0
  366. package/dist/esm/core/file/exports.mjs +1 -0
  367. package/dist/esm/core/file/file.d.mts +5 -0
  368. package/dist/esm/core/file/file.mjs +167 -0
  369. package/dist/esm/core/file/index.d.mts +2 -0
  370. package/dist/esm/core/file/index.mjs +2 -0
  371. package/dist/esm/core/file/types.d.mts +66 -0
  372. package/dist/esm/core/file/types.mjs +1 -0
  373. package/dist/esm/core/headers.d.mts +2 -2
  374. package/dist/esm/core/index.d.mts +1 -1
  375. package/dist/esm/core/index.mjs +1 -1
  376. package/dist/esm/exports.d.mts +1 -0
  377. package/dist/esm/exports.mjs +1 -0
  378. package/dist/esm/index.d.mts +1 -0
  379. package/dist/esm/index.mjs +1 -0
  380. package/dist/esm/version.d.mts +1 -1
  381. package/dist/esm/version.mjs +1 -1
  382. package/package.json +1 -1
  383. package/reference.md +727 -75
  384. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/TaskGroupByDriverUpdateReq.d.ts +0 -19
  385. package/dist/cjs/api/types/LocationFeatureOutputGeometry.d.ts +0 -28
  386. package/dist/cjs/core/file.d.ts +0 -1
  387. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/CargoByDriverUpdateReq.d.mts +0 -19
  388. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseSessionRequest.d.mts +0 -12
  389. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeSessionRequest.d.mts +0 -12
  390. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartSessionRequest.d.mts +0 -12
  391. package/dist/esm/api/types/LocationFeatureOutputGeometry.d.mts +0 -28
  392. package/dist/esm/core/file.d.mts +0 -1
  393. /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverUpdateReq.js → cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.js} +0 -0
  394. /package/dist/cjs/{core/file.js → api/resources/tracking/resources/cargoByDevice/client/requests/index.js} +0 -0
  395. /package/dist/cjs/api/resources/tracking/resources/devices/client/requests/{DevicesRegisterToOrgRequest.js → DevicesDeleteRequest.js} +0 -0
  396. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceEndSessionRequest.js → devices/client/requests/DevicesRegisterToOrgReq1.js} +0 -0
  397. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseSessionRequest.js → devices/client/requests/DevicesUpdateRequest1.js} +0 -0
  398. /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeSessionRequest.js → driver/client/requests/DriverUpdateReq.js} +0 -0
  399. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartSessionRequest.js → SessionByDeviceDataPointsPublicRequest.js} +0 -0
  400. /package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceUpdateCommentsRequest1.js → SessionByDeviceDataPointsRequest.js} +0 -0
  401. /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverUpdateReq.js → sessionByDevice/client/requests/SessionByDeviceDeleteRequest.js} +0 -0
  402. /package/dist/cjs/api/{types/LocationFeatureInputGeometry.js → resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetRequest.js} +0 -0
  403. /package/dist/cjs/api/{types/LocationFeatureOutputGeometry.js → resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.js} +0 -0
  404. /package/dist/esm/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverUpdateReq.mjs → cargoByDevice/client/requests/CargoByDeviceLastSeenRequest.mjs} +0 -0
  405. /package/dist/esm/{core/file.mjs → api/resources/tracking/resources/cargoByDevice/client/requests/index.mjs} +0 -0
  406. /package/dist/esm/api/resources/tracking/resources/devices/client/requests/{DevicesRegisterToOrgRequest.mjs → DevicesDeleteRequest.mjs} +0 -0
  407. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceEndSessionRequest.mjs → devices/client/requests/DevicesRegisterToOrgReq1.mjs} +0 -0
  408. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseSessionRequest.mjs → devices/client/requests/DevicesUpdateRequest1.mjs} +0 -0
  409. /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeSessionRequest.mjs → driver/client/requests/DriverUpdateReq.mjs} +0 -0
  410. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceStartSessionRequest.mjs → SessionByDeviceDataPointsPublicRequest.mjs} +0 -0
  411. /package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/{SessionByDeviceUpdateCommentsRequest1.mjs → SessionByDeviceDataPointsRequest.mjs} +0 -0
  412. /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverUpdateReq.mjs → sessionByDevice/client/requests/SessionByDeviceDeleteRequest.mjs} +0 -0
  413. /package/dist/esm/api/{types/LocationFeatureInputGeometry.mjs → resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetRequest.mjs} +0 -0
  414. /package/dist/esm/api/{types/LocationFeatureOutputGeometry.mjs → resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicRequest.mjs} +0 -0
@@ -68,10 +68,12 @@ class Root {
68
68
  __pingAuthd(requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
70
  var _a, _b, _c, _d;
71
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
72
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd"),
71
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
73
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "authd"),
73
74
  method: "GET",
74
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: _headers,
76
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
75
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
76
78
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
77
79
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -117,10 +119,12 @@ class Root {
117
119
  __pingOptionallyAuthd(requestOptions) {
118
120
  return __awaiter(this, void 0, void 0, function* () {
119
121
  var _a, _b, _c, _d;
120
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
121
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "optionally_authd"),
122
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
123
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
124
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "optionally_authd"),
122
125
  method: "GET",
123
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: _headers,
127
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
124
128
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
125
129
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
126
130
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -166,10 +170,12 @@ class Root {
166
170
  __pingUnauthd(requestOptions) {
167
171
  return __awaiter(this, void 0, void 0, function* () {
168
172
  var _a, _b, _c, _d;
169
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
170
- url: (_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
173
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
174
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
175
+ url: (_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
171
176
  method: "GET",
172
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ headers: _headers,
178
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
173
179
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
174
180
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
175
181
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -215,10 +221,12 @@ class Root {
215
221
  __health(requestOptions) {
216
222
  return __awaiter(this, void 0, void 0, function* () {
217
223
  var _a, _b, _c, _d;
218
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
219
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "health"),
224
+ 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);
225
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
226
+ 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, "health"),
220
227
  method: "GET",
221
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
+ headers: _headers,
229
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
222
230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
223
231
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
224
232
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -264,10 +272,12 @@ class Root {
264
272
  __failure(requestOptions) {
265
273
  return __awaiter(this, void 0, void 0, function* () {
266
274
  var _a, _b, _c, _d;
267
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
268
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "failure"),
275
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
276
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
277
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "failure"),
269
278
  method: "GET",
270
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
+ headers: _headers,
280
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
271
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
272
282
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
273
283
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -11,7 +11,7 @@ export declare namespace ShipperContactInfo {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  fetcher?: core.FetchFunction;
16
16
  }
17
17
  interface RequestOptions {
@@ -21,8 +21,10 @@ export declare namespace ShipperContactInfo {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
28
  }
27
29
  }
28
30
  export declare class ShipperContactInfo {
@@ -69,10 +69,12 @@ class ShipperContactInfo {
69
69
  __getByJwtUserId(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
71
  var _a, _b, _c, _d;
72
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/by_jwt_user_id"),
72
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/by_jwt_user_id"),
74
75
  method: "GET",
75
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: _headers,
77
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
76
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
77
79
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
78
80
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -118,10 +120,12 @@ class ShipperContactInfo {
118
120
  __listByJwtOrgId(requestOptions) {
119
121
  return __awaiter(this, void 0, void 0, function* () {
120
122
  var _a, _b, _c, _d;
121
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
122
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/list/by_jwt_org_id"),
123
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
124
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
125
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/list/by_jwt_org_id"),
123
126
  method: "GET",
124
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
+ headers: _headers,
128
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
125
129
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
126
130
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
127
131
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -170,10 +174,12 @@ class ShipperContactInfo {
170
174
  __listCourierContactsByShipperOrgId(shipperOrgId, requestOptions) {
171
175
  return __awaiter(this, void 0, void 0, function* () {
172
176
  var _a, _b, _c, _d;
173
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
174
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/courier_contacts/list/${encodeURIComponent(shipperOrgId)}`),
177
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
178
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
179
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/courier_contacts/list/${encodeURIComponent(shipperOrgId)}`),
175
180
  method: "GET",
176
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
+ headers: _headers,
182
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
177
183
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
178
184
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
179
185
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -227,10 +233,12 @@ class ShipperContactInfo {
227
233
  __listByOffChrtShipperOrgInfoId(offChrtShipperOrgInfoId, requestOptions) {
228
234
  return __awaiter(this, void 0, void 0, function* () {
229
235
  var _a, _b, _c, _d;
230
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
231
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/list/${encodeURIComponent(offChrtShipperOrgInfoId)}`),
236
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
237
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
238
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/list/${encodeURIComponent(offChrtShipperOrgInfoId)}`),
232
239
  method: "GET",
233
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ headers: _headers,
241
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
234
242
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
235
243
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
236
244
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -284,10 +292,12 @@ class ShipperContactInfo {
284
292
  __getById(id, requestOptions) {
285
293
  return __awaiter(this, void 0, void 0, function* () {
286
294
  var _a, _b, _c, _d;
287
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
288
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/${encodeURIComponent(id)}`),
295
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
296
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
297
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/${encodeURIComponent(id)}`),
289
298
  method: "GET",
290
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
+ headers: _headers,
300
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
291
301
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
292
302
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
293
303
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -343,11 +353,13 @@ class ShipperContactInfo {
343
353
  __createOnPlatform(request, requestOptions) {
344
354
  return __awaiter(this, void 0, void 0, function* () {
345
355
  var _a, _b, _c, _d;
346
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
347
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/create/on_platform"),
356
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
357
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
358
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/create/on_platform"),
348
359
  method: "POST",
349
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
360
+ headers: _headers,
350
361
  contentType: "application/json",
362
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
351
363
  requestType: "json",
352
364
  body: request,
353
365
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -405,11 +417,13 @@ class ShipperContactInfo {
405
417
  __createOffPlatform(request, requestOptions) {
406
418
  return __awaiter(this, void 0, void 0, function* () {
407
419
  var _a, _b, _c, _d;
408
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
409
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/create/off_platform"),
420
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
421
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
422
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_contact_info/create/off_platform"),
410
423
  method: "POST",
411
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
424
+ headers: _headers,
412
425
  contentType: "application/json",
426
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
413
427
  requestType: "json",
414
428
  body: request,
415
429
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -466,11 +480,13 @@ class ShipperContactInfo {
466
480
  __update(shipperContactInfoId_1) {
467
481
  return __awaiter(this, arguments, void 0, function* (shipperContactInfoId, request = {}, requestOptions) {
468
482
  var _a, _b, _c, _d;
469
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
470
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/update/${encodeURIComponent(shipperContactInfoId)}`),
483
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
484
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
485
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/update/${encodeURIComponent(shipperContactInfoId)}`),
471
486
  method: "PATCH",
472
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
487
+ headers: _headers,
473
488
  contentType: "application/json",
489
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
474
490
  requestType: "json",
475
491
  body: request,
476
492
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -526,10 +542,12 @@ class ShipperContactInfo {
526
542
  __deleteById(id, requestOptions) {
527
543
  return __awaiter(this, void 0, void 0, function* () {
528
544
  var _a, _b, _c, _d;
529
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
530
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/delete/${encodeURIComponent(id)}`),
545
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
546
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
547
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_contact_info/delete/${encodeURIComponent(id)}`),
531
548
  method: "DELETE",
532
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
549
+ headers: _headers,
550
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
533
551
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
534
552
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
535
553
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -15,7 +15,7 @@ export declare namespace ShipperPayCourierLineItemGroups {
15
15
  baseUrl?: core.Supplier<string>;
16
16
  token?: core.Supplier<core.BearerToken | undefined>;
17
17
  /** Additional headers to include in requests. */
18
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
18
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
19
19
  fetcher?: core.FetchFunction;
20
20
  }
21
21
  interface RequestOptions {
@@ -25,8 +25,10 @@ export declare namespace ShipperPayCourierLineItemGroups {
25
25
  maxRetries?: number;
26
26
  /** A hook to abort the request. */
27
27
  abortSignal?: AbortSignal;
28
+ /** Additional query string parameters to include in the request. */
29
+ queryParams?: Record<string, unknown>;
28
30
  /** Additional headers to include in the request. */
29
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
31
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
30
32
  }
31
33
  }
32
34
  export declare class ShipperPayCourierLineItemGroups {
@@ -92,10 +92,12 @@ class ShipperPayCourierLineItemGroups {
92
92
  __getById(id, requestOptions) {
93
93
  return __awaiter(this, void 0, void 0, function* () {
94
94
  var _a, _b, _c, _d;
95
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
96
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
95
+ 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);
96
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
97
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
97
98
  method: "GET",
98
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ headers: _headers,
100
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
99
101
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
100
102
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
101
103
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -149,10 +151,12 @@ class ShipperPayCourierLineItemGroups {
149
151
  __deleteById(id, requestOptions) {
150
152
  return __awaiter(this, void 0, void 0, function* () {
151
153
  var _a, _b, _c, _d;
152
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
153
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
154
+ 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);
155
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
156
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/${encodeURIComponent(id)}`),
154
157
  method: "DELETE",
155
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
+ headers: _headers,
159
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
156
160
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
157
161
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
158
162
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -206,10 +210,12 @@ class ShipperPayCourierLineItemGroups {
206
210
  __byTaskGroupId(taskGroupId, requestOptions) {
207
211
  return __awaiter(this, void 0, void 0, function* () {
208
212
  var _a, _b, _c, _d;
209
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
210
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/by_task_group/${encodeURIComponent(taskGroupId)}`),
213
+ 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);
214
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
215
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/by_task_group/${encodeURIComponent(taskGroupId)}`),
211
216
  method: "GET",
212
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
217
+ headers: _headers,
218
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
213
219
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
214
220
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
215
221
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -266,11 +272,13 @@ class ShipperPayCourierLineItemGroups {
266
272
  __preview(request, requestOptions) {
267
273
  return __awaiter(this, void 0, void 0, function* () {
268
274
  var _a, _b, _c, _d;
269
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
270
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/preview"),
275
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
276
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
277
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/preview"),
271
278
  method: "POST",
272
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
+ headers: _headers,
273
280
  contentType: "application/json",
281
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
274
282
  requestType: "json",
275
283
  body: request,
276
284
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -332,11 +340,13 @@ class ShipperPayCourierLineItemGroups {
332
340
  __create(request, requestOptions) {
333
341
  return __awaiter(this, void 0, void 0, function* () {
334
342
  var _a, _b, _c, _d;
335
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
336
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/create"),
343
+ 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);
344
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
345
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/create"),
337
346
  method: "POST",
338
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
347
+ headers: _headers,
339
348
  contentType: "application/json",
349
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
340
350
  requestType: "json",
341
351
  body: request,
342
352
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -11,7 +11,7 @@ export declare namespace AddLineItems {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  fetcher?: core.FetchFunction;
16
16
  }
17
17
  interface RequestOptions {
@@ -21,8 +21,10 @@ export declare namespace AddLineItems {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
28
  }
27
29
  }
28
30
  export declare class AddLineItems {
@@ -80,11 +80,13 @@ class AddLineItems {
80
80
  __byId(id, request, requestOptions) {
81
81
  return __awaiter(this, void 0, void 0, function* () {
82
82
  var _a, _b, _c, _d;
83
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
84
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/add_line_items/${encodeURIComponent(id)}`),
83
+ 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);
84
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
85
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/add_line_items/${encodeURIComponent(id)}`),
85
86
  method: "PATCH",
86
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: _headers,
87
88
  contentType: "application/json",
89
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
88
90
  requestType: "json",
89
91
  body: request,
90
92
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -11,7 +11,7 @@ export declare namespace Courier {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  fetcher?: core.FetchFunction;
16
16
  }
17
17
  interface RequestOptions {
@@ -21,8 +21,10 @@ export declare namespace Courier {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
28
  }
27
29
  }
28
30
  export declare class Courier {
@@ -68,10 +68,12 @@ class Courier {
68
68
  __list(requestOptions) {
69
69
  return __awaiter(this, void 0, void 0, function* () {
70
70
  var _a, _b, _c, _d;
71
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
72
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/courier/list"),
71
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
73
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/shipper_pay_courier_line_item_groups/courier/list"),
73
74
  method: "GET",
74
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: _headers,
76
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
75
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
76
78
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
77
79
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -11,7 +11,7 @@ export declare namespace RemoveLineItems {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  fetcher?: core.FetchFunction;
16
16
  }
17
17
  interface RequestOptions {
@@ -21,8 +21,10 @@ export declare namespace RemoveLineItems {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
28
  }
27
29
  }
28
30
  export declare class RemoveLineItems {
@@ -75,11 +75,13 @@ class RemoveLineItems {
75
75
  __byId(id, request, requestOptions) {
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  var _a, _b, _c, _d;
78
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
79
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/remove_line_items/${encodeURIComponent(id)}`),
78
+ 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);
79
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
80
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/shipper_pay_courier_line_item_groups/remove_line_items/${encodeURIComponent(id)}`),
80
81
  method: "PATCH",
81
- headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ headers: _headers,
82
83
  contentType: "application/json",
84
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
83
85
  requestType: "json",
84
86
  body: request,
85
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -11,7 +11,7 @@ export declare namespace Shipper {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  token?: core.Supplier<core.BearerToken | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  fetcher?: core.FetchFunction;
16
16
  }
17
17
  interface RequestOptions {
@@ -21,8 +21,10 @@ export declare namespace Shipper {
21
21
  maxRetries?: number;
22
22
  /** A hook to abort the request. */
23
23
  abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
24
26
  /** Additional headers to include in the request. */
25
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
28
  }
27
29
  }
28
30
  export declare class Shipper {