@chrt-inc/typescript-sdk 1.258.0 → 1.262.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 (267) 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 +4 -2
  21. package/dist/cjs/api/resources/drivers/client/Client.js +50 -30
  22. package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +4 -2
  23. package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +10 -6
  24. package/dist/cjs/api/resources/milestones/client/Client.d.ts +4 -2
  25. package/dist/cjs/api/resources/milestones/client/Client.js +10 -6
  26. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +4 -2
  27. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +5 -3
  28. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +5 -2
  29. package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +16 -10
  30. package/dist/cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts +1 -1
  31. package/dist/cjs/api/resources/notifications/client/Client.d.ts +1 -1
  32. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +4 -2
  33. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +10 -6
  34. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +4 -2
  35. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +10 -6
  36. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +4 -2
  37. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.js +25 -15
  38. package/dist/cjs/api/resources/orders/client/Client.d.ts +4 -2
  39. package/dist/cjs/api/resources/orders/client/Client.js +25 -15
  40. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +4 -2
  41. package/dist/cjs/api/resources/orders/resources/full/client/Client.js +15 -9
  42. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +1 -1
  43. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +4 -2
  44. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +15 -9
  45. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +4 -2
  46. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +15 -9
  47. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +4 -2
  48. package/dist/cjs/api/resources/orgProfiles/client/Client.js +25 -15
  49. package/dist/cjs/api/resources/orgs/client/Client.d.ts +4 -2
  50. package/dist/cjs/api/resources/orgs/client/Client.js +40 -24
  51. package/dist/cjs/api/resources/payments/client/Client.d.ts +4 -2
  52. package/dist/cjs/api/resources/payments/client/Client.js +25 -15
  53. package/dist/cjs/api/resources/root/client/Client.d.ts +4 -2
  54. package/dist/cjs/api/resources/root/client/Client.js +25 -15
  55. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +4 -2
  56. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +45 -27
  57. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +4 -2
  58. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +25 -15
  59. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.ts +4 -2
  60. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.js +5 -3
  61. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +4 -2
  62. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +5 -3
  63. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.ts +4 -2
  64. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.js +5 -3
  65. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +4 -2
  66. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +15 -9
  67. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +4 -2
  68. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +35 -21
  69. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +4 -2
  70. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +25 -15
  71. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +4 -2
  72. package/dist/cjs/api/resources/taskGroups/client/Client.js +30 -18
  73. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +4 -2
  74. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +10 -6
  75. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
  76. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +5 -3
  77. package/dist/cjs/api/resources/tracking/client/Client.d.ts +4 -4
  78. package/dist/cjs/api/resources/tracking/client/Client.js +6 -6
  79. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +4 -2
  80. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +5 -4
  81. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +4 -2
  82. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +5 -4
  83. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +4 -2
  84. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +25 -19
  85. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +4 -2
  86. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +5 -3
  87. package/dist/cjs/api/resources/tracking/resources/index.d.ts +2 -2
  88. package/dist/cjs/api/resources/tracking/resources/index.js +3 -3
  89. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +14 -17
  90. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +72 -80
  91. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +0 -1
  92. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +4 -2
  93. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +5 -4
  94. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -2
  95. package/dist/cjs/api/resources/users/client/Client.js +5 -3
  96. package/dist/cjs/api/resources/utils/client/Client.d.ts +4 -2
  97. package/dist/cjs/api/resources/utils/client/Client.js +5 -4
  98. package/dist/cjs/api/resources/utils/client/requests/UtilsGetTimezoneRequest.d.ts +2 -6
  99. package/dist/cjs/api/types/Session1.d.ts +14 -0
  100. package/dist/cjs/api/types/index.d.ts +1 -0
  101. package/dist/cjs/api/types/index.js +1 -0
  102. package/dist/cjs/core/auth/AuthProvider.d.ts +4 -0
  103. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  104. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  105. package/dist/cjs/core/auth/index.d.ts +2 -0
  106. package/dist/cjs/core/exports.d.ts +1 -0
  107. package/dist/cjs/core/exports.js +17 -0
  108. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
  109. package/dist/cjs/core/fetcher/Fetcher.js +2 -2
  110. package/dist/cjs/core/fetcher/index.d.ts +5 -5
  111. package/dist/cjs/core/fetcher/index.js +5 -5
  112. package/dist/cjs/core/fetcher/requestWithRetries.js +44 -8
  113. package/dist/cjs/core/file/exports.d.ts +1 -0
  114. package/dist/cjs/core/file/exports.js +2 -0
  115. package/dist/cjs/core/file/file.d.ts +5 -0
  116. package/dist/cjs/core/file/file.js +203 -0
  117. package/dist/cjs/core/file/index.d.ts +2 -0
  118. package/dist/cjs/core/file/index.js +18 -0
  119. package/dist/cjs/core/file/types.d.ts +66 -0
  120. package/dist/cjs/core/file/types.js +2 -0
  121. package/dist/cjs/core/headers.d.ts +2 -2
  122. package/dist/cjs/core/index.d.ts +1 -1
  123. package/dist/cjs/core/index.js +2 -2
  124. package/dist/cjs/exports.d.ts +1 -0
  125. package/dist/cjs/exports.js +17 -0
  126. package/dist/cjs/index.d.ts +1 -0
  127. package/dist/cjs/index.js +4 -0
  128. package/dist/cjs/version.d.ts +1 -1
  129. package/dist/cjs/version.js +1 -1
  130. package/dist/esm/Client.d.mts +4 -2
  131. package/dist/esm/Client.mjs +2 -2
  132. package/dist/esm/api/resources/connections/client/Client.d.mts +4 -2
  133. package/dist/esm/api/resources/connections/client/Client.mjs +10 -6
  134. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +4 -2
  135. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +5 -3
  136. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +4 -2
  137. package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +20 -12
  138. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +4 -2
  139. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +5 -3
  140. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -2
  141. package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +5 -3
  142. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +4 -2
  143. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +20 -12
  144. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +4 -2
  145. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +30 -18
  146. package/dist/esm/api/resources/dev/client/Client.d.mts +4 -2
  147. package/dist/esm/api/resources/dev/client/Client.mjs +30 -18
  148. package/dist/esm/api/resources/drivers/client/Client.d.mts +4 -2
  149. package/dist/esm/api/resources/drivers/client/Client.mjs +50 -30
  150. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +4 -2
  151. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +10 -6
  152. package/dist/esm/api/resources/milestones/client/Client.d.mts +4 -2
  153. package/dist/esm/api/resources/milestones/client/Client.mjs +10 -6
  154. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +4 -2
  155. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +5 -3
  156. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +5 -2
  157. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +16 -10
  158. package/dist/esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts +1 -1
  159. package/dist/esm/api/resources/notifications/client/Client.d.mts +1 -1
  160. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +4 -2
  161. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +10 -6
  162. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +4 -2
  163. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +10 -6
  164. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +4 -2
  165. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.mjs +25 -15
  166. package/dist/esm/api/resources/orders/client/Client.d.mts +4 -2
  167. package/dist/esm/api/resources/orders/client/Client.mjs +25 -15
  168. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +4 -2
  169. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +15 -9
  170. package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +1 -1
  171. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +4 -2
  172. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +15 -9
  173. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +4 -2
  174. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +15 -9
  175. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +4 -2
  176. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +25 -15
  177. package/dist/esm/api/resources/orgs/client/Client.d.mts +4 -2
  178. package/dist/esm/api/resources/orgs/client/Client.mjs +40 -24
  179. package/dist/esm/api/resources/payments/client/Client.d.mts +4 -2
  180. package/dist/esm/api/resources/payments/client/Client.mjs +25 -15
  181. package/dist/esm/api/resources/root/client/Client.d.mts +4 -2
  182. package/dist/esm/api/resources/root/client/Client.mjs +25 -15
  183. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +4 -2
  184. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +45 -27
  185. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +4 -2
  186. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +25 -15
  187. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +4 -2
  188. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +5 -3
  189. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +4 -2
  190. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +5 -3
  191. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.d.mts +4 -2
  192. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/client/Client.mjs +5 -3
  193. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +4 -2
  194. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +15 -9
  195. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +4 -2
  196. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +35 -21
  197. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +4 -2
  198. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +25 -15
  199. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +4 -2
  200. package/dist/esm/api/resources/taskGroups/client/Client.mjs +30 -18
  201. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +4 -2
  202. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +10 -6
  203. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
  204. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +5 -3
  205. package/dist/esm/api/resources/tracking/client/Client.d.mts +4 -4
  206. package/dist/esm/api/resources/tracking/client/Client.mjs +5 -5
  207. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +4 -2
  208. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +5 -4
  209. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +4 -2
  210. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +5 -4
  211. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +4 -2
  212. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +25 -19
  213. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +4 -2
  214. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +5 -3
  215. package/dist/esm/api/resources/tracking/resources/index.d.mts +2 -2
  216. package/dist/esm/api/resources/tracking/resources/index.mjs +2 -2
  217. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +14 -17
  218. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +72 -80
  219. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +0 -1
  220. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +4 -2
  221. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +5 -4
  222. package/dist/esm/api/resources/users/client/Client.d.mts +4 -2
  223. package/dist/esm/api/resources/users/client/Client.mjs +5 -3
  224. package/dist/esm/api/resources/utils/client/Client.d.mts +4 -2
  225. package/dist/esm/api/resources/utils/client/Client.mjs +5 -4
  226. package/dist/esm/api/resources/utils/client/requests/UtilsGetTimezoneRequest.d.mts +2 -6
  227. package/dist/esm/api/types/Session1.d.mts +14 -0
  228. package/dist/esm/api/types/index.d.mts +1 -0
  229. package/dist/esm/api/types/index.mjs +1 -0
  230. package/dist/esm/core/auth/AuthProvider.d.mts +4 -0
  231. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  232. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  233. package/dist/esm/core/auth/index.d.mts +2 -0
  234. package/dist/esm/core/exports.d.mts +1 -0
  235. package/dist/esm/core/exports.mjs +1 -0
  236. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
  237. package/dist/esm/core/fetcher/Fetcher.mjs +2 -2
  238. package/dist/esm/core/fetcher/index.d.mts +5 -5
  239. package/dist/esm/core/fetcher/index.mjs +2 -2
  240. package/dist/esm/core/fetcher/requestWithRetries.mjs +44 -8
  241. package/dist/esm/core/file/exports.d.mts +1 -0
  242. package/dist/esm/core/file/exports.mjs +1 -0
  243. package/dist/esm/core/file/file.d.mts +5 -0
  244. package/dist/esm/core/file/file.mjs +167 -0
  245. package/dist/esm/core/file/index.d.mts +2 -0
  246. package/dist/esm/core/file/index.mjs +2 -0
  247. package/dist/esm/core/file/types.d.mts +66 -0
  248. package/dist/esm/core/file/types.mjs +1 -0
  249. package/dist/esm/core/headers.d.mts +2 -2
  250. package/dist/esm/core/index.d.mts +1 -1
  251. package/dist/esm/core/index.mjs +1 -1
  252. package/dist/esm/exports.d.mts +1 -0
  253. package/dist/esm/exports.mjs +1 -0
  254. package/dist/esm/index.d.mts +1 -0
  255. package/dist/esm/index.mjs +1 -0
  256. package/dist/esm/version.d.mts +1 -1
  257. package/dist/esm/version.mjs +1 -1
  258. package/package.json +1 -1
  259. package/reference.md +102 -49
  260. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsFancyRequest.d.ts +0 -13
  261. package/dist/cjs/core/file.d.ts +0 -1
  262. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsFancyRequest.d.mts +0 -13
  263. package/dist/esm/core/file.d.mts +0 -1
  264. /package/dist/cjs/api/{resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsFancyRequest.js → types/Session1.js} +0 -0
  265. /package/dist/cjs/core/{file.js → auth/AuthProvider.js} +0 -0
  266. /package/dist/esm/api/{resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsFancyRequest.mjs → types/Session1.mjs} +0 -0
  267. /package/dist/esm/core/{file.mjs → auth/AuthProvider.mjs} +0 -0
@@ -11,7 +11,7 @@ export declare namespace OrgProfiles {
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 OrgProfiles {
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 OrgProfiles {
@@ -69,10 +69,12 @@ class OrgProfiles {
69
69
  __get(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/org_profiles/"),
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/org_profiles/"),
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,
@@ -126,11 +128,13 @@ class OrgProfiles {
126
128
  __create(request, requestOptions) {
127
129
  return __awaiter(this, void 0, void 0, function* () {
128
130
  var _a, _b, _c, _d;
129
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
130
- 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/org_profiles/create"),
131
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
132
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
133
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/org_profiles/create"),
131
134
  method: "POST",
132
- 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),
135
+ headers: _headers,
133
136
  contentType: "application/json",
137
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
134
138
  requestType: "json",
135
139
  body: request,
136
140
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -186,11 +190,13 @@ class OrgProfiles {
186
190
  __update() {
187
191
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
188
192
  var _a, _b, _c, _d;
189
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
190
- 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/org_profiles/update"),
193
+ 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);
194
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
195
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/org_profiles/update"),
191
196
  method: "PATCH",
192
- 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),
197
+ headers: _headers,
193
198
  contentType: "application/json",
199
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
194
200
  requestType: "json",
195
201
  body: request,
196
202
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -246,10 +252,12 @@ class OrgProfiles {
246
252
  __getByHandle(handle, requestOptions) {
247
253
  return __awaiter(this, void 0, void 0, function* () {
248
254
  var _a, _b, _c, _d;
249
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
250
- 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/org_profiles/${encodeURIComponent(handle)}`),
255
+ 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);
256
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
257
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/org_profiles/${encodeURIComponent(handle)}`),
251
258
  method: "GET",
252
- 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),
259
+ headers: _headers,
260
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
253
261
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
254
262
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
255
263
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -303,10 +311,12 @@ class OrgProfiles {
303
311
  __getAvatar(handle, requestOptions) {
304
312
  return __awaiter(this, void 0, void 0, function* () {
305
313
  var _a, _b, _c, _d;
306
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
307
- 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/org_profiles/avatar/${encodeURIComponent(handle)}`),
314
+ 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);
315
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
316
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/org_profiles/avatar/${encodeURIComponent(handle)}`),
308
317
  method: "GET",
309
- 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),
318
+ headers: _headers,
319
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
310
320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
311
321
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
312
322
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -11,7 +11,7 @@ export declare namespace Orgs {
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 Orgs {
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 Orgs {
@@ -69,10 +69,12 @@ class Orgs {
69
69
  __getInfo(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, "orgs/info"),
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, "orgs/info"),
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 Orgs {
118
120
  __listMembers(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, "orgs/members/list"),
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, "orgs/members/list"),
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,
@@ -167,10 +171,12 @@ class Orgs {
167
171
  __getPublicData(requestOptions) {
168
172
  return __awaiter(this, void 0, void 0, function* () {
169
173
  var _a, _b, _c, _d;
170
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
171
- 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, "orgs/public_data"),
174
+ 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);
175
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
176
+ 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, "orgs/public_data"),
172
177
  method: "GET",
173
- 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),
178
+ headers: _headers,
179
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
174
180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
181
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
176
182
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -219,10 +225,12 @@ class Orgs {
219
225
  __getPublicDataByOrgId(orgId, requestOptions) {
220
226
  return __awaiter(this, void 0, void 0, function* () {
221
227
  var _a, _b, _c, _d;
222
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
223
- 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, `orgs/public_data/${encodeURIComponent(orgId)}`),
228
+ 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);
229
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
230
+ 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, `orgs/public_data/${encodeURIComponent(orgId)}`),
224
231
  method: "GET",
225
- 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),
232
+ headers: _headers,
233
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
226
234
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
227
235
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
228
236
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -273,10 +281,12 @@ class Orgs {
273
281
  __getHandle(requestOptions) {
274
282
  return __awaiter(this, void 0, void 0, function* () {
275
283
  var _a, _b, _c, _d;
276
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
277
- 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, "orgs/handle"),
284
+ 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);
285
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
286
+ 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, "orgs/handle"),
278
287
  method: "GET",
279
- 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),
288
+ headers: _headers,
289
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
280
290
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
281
291
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
282
292
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -325,10 +335,12 @@ class Orgs {
325
335
  __getHandleAvailability(handle, requestOptions) {
326
336
  return __awaiter(this, void 0, void 0, function* () {
327
337
  var _a, _b, _c, _d;
328
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
329
- 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, `orgs/handle/availability/${encodeURIComponent(handle)}`),
338
+ 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);
339
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
340
+ 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, `orgs/handle/availability/${encodeURIComponent(handle)}`),
330
341
  method: "GET",
331
- 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),
342
+ headers: _headers,
343
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
332
344
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
333
345
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
334
346
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -385,11 +397,13 @@ class Orgs {
385
397
  __createPublicData(request, requestOptions) {
386
398
  return __awaiter(this, void 0, void 0, function* () {
387
399
  var _a, _b, _c, _d;
388
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
389
- 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, "orgs/public_data/create"),
400
+ 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);
401
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
402
+ 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, "orgs/public_data/create"),
390
403
  method: "POST",
391
- 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),
404
+ headers: _headers,
392
405
  contentType: "application/json",
406
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
393
407
  requestType: "json",
394
408
  body: request,
395
409
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,11 +459,13 @@ class Orgs {
445
459
  __updatePublicData() {
446
460
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
447
461
  var _a, _b, _c, _d;
448
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
449
- 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, "orgs/public_data/update"),
462
+ 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);
463
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
464
+ 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, "orgs/public_data/update"),
450
465
  method: "PATCH",
451
- 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),
466
+ headers: _headers,
452
467
  contentType: "application/json",
468
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
453
469
  requestType: "json",
454
470
  body: request,
455
471
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -11,7 +11,7 @@ export declare namespace Payments {
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 Payments {
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 Payments {
@@ -74,11 +74,13 @@ class Payments {
74
74
  __createCheckoutSession(request, requestOptions) {
75
75
  return __awaiter(this, void 0, void 0, function* () {
76
76
  var _a, _b, _c, _d;
77
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
- 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, "payments/create-checkout-session"),
77
+ 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);
78
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
79
+ 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, "payments/create-checkout-session"),
79
80
  method: "POST",
80
- 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),
81
+ headers: _headers,
81
82
  contentType: "application/json",
83
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
82
84
  requestType: "json",
83
85
  body: request,
84
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -131,10 +133,12 @@ class Payments {
131
133
  __syncStripeToClerk(requestOptions) {
132
134
  return __awaiter(this, void 0, void 0, function* () {
133
135
  var _a, _b, _c, _d;
134
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
135
- 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, "payments/sync_stripe_to_clerk"),
136
+ 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);
137
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
138
+ 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, "payments/sync_stripe_to_clerk"),
136
139
  method: "GET",
137
- 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),
140
+ headers: _headers,
141
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
138
142
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
139
143
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
140
144
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -180,10 +184,12 @@ class Payments {
180
184
  __createConnectAccount(requestOptions) {
181
185
  return __awaiter(this, void 0, void 0, function* () {
182
186
  var _a, _b, _c, _d;
183
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
184
- 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, "payments/create-connect-account"),
187
+ 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);
188
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
189
+ 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, "payments/create-connect-account"),
185
190
  method: "POST",
186
- 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),
191
+ headers: _headers,
192
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
187
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
188
194
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
189
195
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -229,10 +235,12 @@ class Payments {
229
235
  __createConnectAccountLink(requestOptions) {
230
236
  return __awaiter(this, void 0, void 0, function* () {
231
237
  var _a, _b, _c, _d;
232
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
233
- 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, "payments/create-connect-account-link"),
238
+ 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);
239
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
240
+ 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, "payments/create-connect-account-link"),
234
241
  method: "POST",
235
- 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),
242
+ headers: _headers,
243
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
236
244
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
237
245
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
238
246
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -283,11 +291,13 @@ class Payments {
283
291
  __generateInvoice(request, requestOptions) {
284
292
  return __awaiter(this, void 0, void 0, function* () {
285
293
  var _a, _b, _c, _d;
286
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
287
- 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, "payments/generate-invoice"),
294
+ 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);
295
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
296
+ 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, "payments/generate-invoice"),
288
297
  method: "POST",
289
- 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),
298
+ headers: _headers,
290
299
  contentType: "application/json",
300
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
291
301
  requestType: "json",
292
302
  body: request,
293
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -10,7 +10,7 @@ export declare namespace Root {
10
10
  baseUrl?: core.Supplier<string>;
11
11
  token?: core.Supplier<core.BearerToken | undefined>;
12
12
  /** Additional headers to include in requests. */
13
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
13
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
14
14
  fetcher?: core.FetchFunction;
15
15
  }
16
16
  interface RequestOptions {
@@ -20,8 +20,10 @@ export declare namespace Root {
20
20
  maxRetries?: number;
21
21
  /** A hook to abort the request. */
22
22
  abortSignal?: AbortSignal;
23
+ /** Additional query string parameters to include in the request. */
24
+ queryParams?: Record<string, unknown>;
23
25
  /** Additional headers to include in the request. */
24
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
25
27
  }
26
28
  }
27
29
  export declare class Root {
@@ -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 {