@chrt-inc/typescript-sdk 1.303.0 → 1.305.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 (227) hide show
  1. package/README.md +115 -134
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/connections/client/Client.d.ts +3 -3
  4. package/dist/cjs/api/resources/connections/client/Client.js +3 -3
  5. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
  6. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
  7. package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +1 -1
  10. package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +1 -1
  11. package/dist/cjs/api/resources/dev/client/Client.d.ts +9 -9
  12. package/dist/cjs/api/resources/dev/client/Client.js +9 -9
  13. package/dist/cjs/api/resources/drivers/client/Client.d.ts +10 -10
  14. package/dist/cjs/api/resources/drivers/client/Client.js +10 -10
  15. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
  16. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
  17. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
  18. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
  19. package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.d.ts +5 -5
  20. package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.js +5 -5
  21. package/dist/cjs/api/resources/orderDrafts/client/Client.d.ts +31 -4
  22. package/dist/cjs/api/resources/orderDrafts/client/Client.js +129 -4
  23. package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
  24. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.d.ts +4 -4
  25. package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.js +4 -4
  26. package/dist/cjs/api/resources/orderDrafts/resources/task/client/Client.d.ts +3 -3
  27. package/dist/cjs/api/resources/orderDrafts/resources/task/client/Client.js +3 -3
  28. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +2 -2
  29. package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.js +2 -2
  30. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -2
  31. package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -2
  32. package/dist/cjs/api/resources/orders/client/Client.d.ts +1 -4
  33. package/dist/cjs/api/resources/orders/client/Client.js +1 -6
  34. package/dist/cjs/api/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/orders/resources/expanded/client/Client.js +2 -2
  36. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.d.ts +2 -2
  37. package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.js +2 -2
  38. package/dist/cjs/api/resources/orders/resources/index.d.ts +0 -1
  39. package/dist/cjs/api/resources/orders/resources/index.js +1 -2
  40. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +3 -3
  41. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +3 -3
  42. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +3 -3
  43. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +3 -3
  44. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +7 -7
  45. package/dist/cjs/api/resources/orgProfiles/client/Client.js +7 -7
  46. package/dist/cjs/api/resources/orgs/client/Client.d.ts +18 -8
  47. package/dist/cjs/api/resources/orgs/client/Client.js +60 -9
  48. package/dist/cjs/api/resources/root/client/Client.d.ts +8 -8
  49. package/dist/cjs/api/resources/root/client/Client.js +5 -5
  50. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +9 -9
  51. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +9 -9
  52. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
  53. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
  54. package/dist/cjs/api/resources/taskArtifacts/client/Client.d.ts +3 -3
  55. package/dist/cjs/api/resources/taskArtifacts/client/Client.js +3 -3
  56. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/client/Client.d.ts +1 -1
  57. package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/client/Client.js +1 -1
  58. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/Client.d.ts +3 -3
  59. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/Client.js +3 -3
  60. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +3 -3
  61. package/dist/cjs/api/resources/taskGroups/client/Client.js +3 -3
  62. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.d.ts +3 -3
  63. package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.js +3 -3
  64. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.d.ts +2 -2
  65. package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.js +2 -2
  66. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.d.ts +1 -1
  67. package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +1 -1
  68. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +1 -1
  69. package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +1 -1
  70. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +7 -7
  71. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +7 -7
  72. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
  73. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +1 -1
  74. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +14 -14
  75. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +14 -14
  76. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +1 -1
  77. package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.js +1 -1
  78. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
  79. package/dist/cjs/api/resources/users/client/Client.js +5 -5
  80. package/dist/cjs/api/resources/utils/client/Client.d.ts +1 -1
  81. package/dist/cjs/api/resources/utils/client/Client.js +1 -1
  82. package/dist/cjs/api/types/Cargo1.d.ts +1 -1
  83. package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -1
  84. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +1 -1
  85. package/dist/{esm/api/types/DriverUpdateResp.d.mts → cjs/api/types/DriverUpdateRes.d.ts} +1 -1
  86. package/dist/cjs/api/types/OrgPublicData1.d.ts +1 -1
  87. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +0 -1
  88. package/dist/cjs/api/types/UserPublicData1.d.ts +1 -2
  89. package/dist/cjs/api/types/index.d.ts +1 -1
  90. package/dist/cjs/api/types/index.js +1 -1
  91. package/dist/cjs/version.d.ts +1 -1
  92. package/dist/cjs/version.js +1 -1
  93. package/dist/esm/Client.mjs +2 -2
  94. package/dist/esm/api/resources/connections/client/Client.d.mts +3 -3
  95. package/dist/esm/api/resources/connections/client/Client.mjs +3 -3
  96. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
  97. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
  98. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +1 -1
  99. package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +1 -1
  100. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +1 -1
  101. package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +1 -1
  102. package/dist/esm/api/resources/dev/client/Client.d.mts +9 -9
  103. package/dist/esm/api/resources/dev/client/Client.mjs +9 -9
  104. package/dist/esm/api/resources/drivers/client/Client.d.mts +10 -10
  105. package/dist/esm/api/resources/drivers/client/Client.mjs +10 -10
  106. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
  107. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
  108. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
  109. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
  110. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +5 -5
  111. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.mjs +5 -5
  112. package/dist/esm/api/resources/orderDrafts/client/Client.d.mts +31 -4
  113. package/dist/esm/api/resources/orderDrafts/client/Client.mjs +129 -4
  114. package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
  115. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.d.mts +4 -4
  116. package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.mjs +4 -4
  117. package/dist/esm/api/resources/orderDrafts/resources/task/client/Client.d.mts +3 -3
  118. package/dist/esm/api/resources/orderDrafts/resources/task/client/Client.mjs +3 -3
  119. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +2 -2
  120. package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +2 -2
  121. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -2
  122. package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -2
  123. package/dist/esm/api/resources/orders/client/Client.d.mts +1 -4
  124. package/dist/esm/api/resources/orders/client/Client.mjs +1 -6
  125. package/dist/esm/api/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  126. package/dist/esm/api/resources/orders/resources/expanded/client/Client.mjs +2 -2
  127. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.d.mts +2 -2
  128. package/dist/esm/api/resources/orders/resources/expandedList/client/Client.mjs +2 -2
  129. package/dist/esm/api/resources/orders/resources/index.d.mts +0 -1
  130. package/dist/esm/api/resources/orders/resources/index.mjs +0 -1
  131. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +3 -3
  132. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +3 -3
  133. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +3 -3
  134. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +3 -3
  135. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +7 -7
  136. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +7 -7
  137. package/dist/esm/api/resources/orgs/client/Client.d.mts +18 -8
  138. package/dist/esm/api/resources/orgs/client/Client.mjs +60 -9
  139. package/dist/esm/api/resources/root/client/Client.d.mts +8 -8
  140. package/dist/esm/api/resources/root/client/Client.mjs +5 -5
  141. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +9 -9
  142. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +9 -9
  143. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
  144. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
  145. package/dist/esm/api/resources/taskArtifacts/client/Client.d.mts +3 -3
  146. package/dist/esm/api/resources/taskArtifacts/client/Client.mjs +3 -3
  147. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/Client.d.mts +1 -1
  148. package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/Client.mjs +1 -1
  149. package/dist/esm/api/resources/taskArtifacts/resources/images/client/Client.d.mts +3 -3
  150. package/dist/esm/api/resources/taskArtifacts/resources/images/client/Client.mjs +3 -3
  151. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +3 -3
  152. package/dist/esm/api/resources/taskGroups/client/Client.mjs +3 -3
  153. package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.d.mts +3 -3
  154. package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.mjs +3 -3
  155. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.d.mts +2 -2
  156. package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.mjs +2 -2
  157. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.d.mts +1 -1
  158. package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +1 -1
  159. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +1 -1
  160. package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +1 -1
  161. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +7 -7
  162. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +7 -7
  163. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
  164. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +1 -1
  165. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +14 -14
  166. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +14 -14
  167. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +1 -1
  168. package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.mjs +1 -1
  169. package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
  170. package/dist/esm/api/resources/users/client/Client.mjs +5 -5
  171. package/dist/esm/api/resources/utils/client/Client.d.mts +1 -1
  172. package/dist/esm/api/resources/utils/client/Client.mjs +1 -1
  173. package/dist/esm/api/types/Cargo1.d.mts +1 -1
  174. package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -1
  175. package/dist/esm/api/types/CargoClientUpdate1.d.mts +1 -1
  176. package/dist/{cjs/api/types/DriverUpdateResp.d.ts → esm/api/types/DriverUpdateRes.d.mts} +1 -1
  177. package/dist/esm/api/types/OrgPublicData1.d.mts +1 -1
  178. package/dist/esm/api/types/TaskClientUpdate1.d.mts +0 -1
  179. package/dist/esm/api/types/UserPublicData1.d.mts +1 -2
  180. package/dist/esm/api/types/index.d.mts +1 -1
  181. package/dist/esm/api/types/index.mjs +1 -1
  182. package/dist/esm/version.d.mts +1 -1
  183. package/dist/esm/version.mjs +1 -1
  184. package/package.json +1 -1
  185. package/reference.md +328 -275
  186. package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +0 -23
  187. package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +0 -17
  188. package/dist/cjs/api/resources/orders/resources/draft/client/index.d.ts +0 -1
  189. package/dist/cjs/api/resources/orders/resources/draft/client/index.js +0 -2
  190. package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +0 -2
  191. package/dist/cjs/api/resources/orders/resources/draft/index.js +0 -18
  192. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +0 -61
  193. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +0 -193
  194. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.d.ts +0 -2
  195. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +0 -17
  196. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +0 -2
  197. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.js +0 -2
  198. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +0 -1
  199. package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +0 -17
  200. package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +0 -2
  201. package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +0 -41
  202. package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +0 -23
  203. package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +0 -13
  204. package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +0 -1
  205. package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +0 -1
  206. package/dist/esm/api/resources/orders/resources/draft/index.d.mts +0 -2
  207. package/dist/esm/api/resources/orders/resources/draft/index.mjs +0 -2
  208. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +0 -61
  209. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +0 -156
  210. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.d.mts +0 -2
  211. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +0 -1
  212. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +0 -2
  213. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +0 -1
  214. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.d.mts +0 -1
  215. package/dist/esm/api/resources/orders/resources/draft/resources/expanded/index.mjs +0 -1
  216. package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +0 -2
  217. package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +0 -2
  218. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.ts +0 -0
  219. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.js +0 -0
  220. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.ts +0 -0
  221. /package/dist/cjs/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.js +0 -0
  222. /package/dist/cjs/api/types/{DriverUpdateResp.js → DriverUpdateRes.js} +0 -0
  223. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.d.mts +0 -0
  224. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedListReq.mjs +0 -0
  225. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.d.mts +0 -0
  226. /package/dist/esm/api/resources/{orders/resources/draft/resources/expanded → orderDrafts}/client/requests/OrderDraftExpandedReq.mjs +0 -0
  227. /package/dist/esm/api/types/{DriverUpdateResp.mjs → DriverUpdateRes.mjs} +0 -0
package/README.md CHANGED
@@ -7,30 +7,12 @@ The Chrt TypeScript library provides convenient access to the Chrt APIs from Typ
7
7
 
8
8
  ## Table of Contents
9
9
 
10
- - [Table of Contents](#table-of-contents)
11
10
  - [Installation](#installation)
12
11
  - [Reference](#reference)
13
12
  - [Usage](#usage)
14
13
  - [Request and Response Types](#request-and-response-types)
15
14
  - [Exception Handling](#exception-handling)
16
- - [Advanced](#advanced)
17
- - [Additional Headers](#additional-headers)
18
- - [Additional Query String Parameters](#additional-query-string-parameters)
19
- - [Retries](#retries)
20
- - [Timeouts](#timeouts)
21
- - [Aborting Requests](#aborting-requests)
22
- - [Access Raw Response Data](#access-raw-response-data)
23
- - [Runtime Compatibility](#runtime-compatibility)
24
- - [Contributing](#contributing)
25
15
  - [Binary Response](#binary-response)
26
-
27
- ## Table of Contents
28
-
29
- - [Installation](#installation)
30
- - [Reference](#reference)
31
- - [Usage](#usage)
32
- - [Request and Response Types](#request-and-response-types)
33
- - [Exception Handling](#exception-handling)
34
16
  - [Advanced](#advanced)
35
17
  - [Additional Headers](#additional-headers)
36
18
  - [Additional Query String Parameters](#additional-query-string-parameters)
@@ -40,7 +22,6 @@ The Chrt TypeScript library provides convenient access to the Chrt APIs from Typ
40
22
  - [Access Raw Response Data](#access-raw-response-data)
41
23
  - [Runtime Compatibility](#runtime-compatibility)
42
24
  - [Contributing](#contributing)
43
- - [Binary Response](#binary-response)
44
25
 
45
26
  ## Installation
46
27
 
@@ -98,121 +79,6 @@ try {
98
79
  }
99
80
  ```
100
81
 
101
- ## Advanced
102
-
103
- ### Additional Headers
104
-
105
- If you would like to send additional headers as part of the request, use the `headers` request option.
106
-
107
- ```typescript
108
- const response = await client.payments.generateInvoiceV1(..., {
109
- headers: {
110
- 'X-Custom-Header': 'custom value'
111
- }
112
- });
113
- ```
114
-
115
- ### Additional Query String Parameters
116
-
117
- If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
118
-
119
- ```typescript
120
- const response = await client.payments.generateInvoiceV1(..., {
121
- queryParams: {
122
- 'customQueryParamKey': 'custom query param value'
123
- }
124
- });
125
- ```
126
-
127
- ### Retries
128
-
129
- The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
130
- as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
131
- retry limit (default: 2).
132
-
133
- A request is deemed retryable when any of the following HTTP status codes is returned:
134
-
135
- - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
136
- - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
137
- - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
138
-
139
- Use the `maxRetries` request option to configure this behavior.
140
-
141
- ```typescript
142
- const response = await client.payments.generateInvoiceV1(..., {
143
- maxRetries: 0 // override maxRetries at the request level
144
- });
145
- ```
146
-
147
- ### Timeouts
148
-
149
- The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
150
-
151
- ```typescript
152
- const response = await client.payments.generateInvoiceV1(..., {
153
- timeoutInSeconds: 30 // override timeout to 30s
154
- });
155
- ```
156
-
157
- ### Aborting Requests
158
-
159
- The SDK allows users to abort requests at any point by passing in an abort signal.
160
-
161
- ```typescript
162
- const controller = new AbortController();
163
- const response = await client.payments.generateInvoiceV1(..., {
164
- abortSignal: controller.signal
165
- });
166
- controller.abort(); // aborts the request
167
- ```
168
-
169
- ### Access Raw Response Data
170
-
171
- The SDK provides access to raw response data, including headers, through the `.withRawResponse()` method.
172
- The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
173
-
174
- ```typescript
175
- const { data, rawResponse } = await client.payments.generateInvoiceV1(...).withRawResponse();
176
-
177
- console.log(data);
178
- console.log(rawResponse.headers['X-My-Header']);
179
- ```
180
-
181
- ### Runtime Compatibility
182
-
183
- The SDK works in the following runtimes:
184
-
185
- - Node.js 18+
186
- - Vercel
187
- - Cloudflare Workers
188
- - Deno v1.25+
189
- - Bun 1.0+
190
- - React Native
191
-
192
- ### Customizing Fetch Client
193
-
194
- The SDK provides a way for you to customize the underlying HTTP client / Fetch function. If you're running in an
195
- unsupported environment, this provides a way for you to break glass and ensure the SDK works.
196
-
197
- ```typescript
198
- import { ChrtClient } from "@chrt-inc/typescript-sdk";
199
-
200
- const client = new ChrtClient({
201
- ...
202
- fetcher: // provide your implementation here
203
- });
204
- ```
205
-
206
- ## Contributing
207
-
208
- While we value open-source contributions to this SDK, this library is generated programmatically.
209
- Additions made directly to this library would have to be moved over to our generation code,
210
- otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
211
- a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
212
- an issue first to discuss with us!
213
-
214
- On the other hand, contributions to the README are always very welcome!
215
-
216
82
  ## Binary Response
217
83
 
218
84
  You can consume binary data from endpoints using the `BinaryResponse` type which lets you choose how to consume the data:
@@ -602,3 +468,118 @@ const text = new TextDecoder().decode(bytes);
602
468
  </blockquote>
603
469
 
604
470
  </details>
471
+
472
+ ## Advanced
473
+
474
+ ### Additional Headers
475
+
476
+ If you would like to send additional headers as part of the request, use the `headers` request option.
477
+
478
+ ```typescript
479
+ const response = await client.payments.generateInvoiceV1(..., {
480
+ headers: {
481
+ 'X-Custom-Header': 'custom value'
482
+ }
483
+ });
484
+ ```
485
+
486
+ ### Additional Query String Parameters
487
+
488
+ If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
489
+
490
+ ```typescript
491
+ const response = await client.payments.generateInvoiceV1(..., {
492
+ queryParams: {
493
+ 'customQueryParamKey': 'custom query param value'
494
+ }
495
+ });
496
+ ```
497
+
498
+ ### Retries
499
+
500
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
501
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
502
+ retry limit (default: 2).
503
+
504
+ A request is deemed retryable when any of the following HTTP status codes is returned:
505
+
506
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
507
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
508
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
509
+
510
+ Use the `maxRetries` request option to configure this behavior.
511
+
512
+ ```typescript
513
+ const response = await client.payments.generateInvoiceV1(..., {
514
+ maxRetries: 0 // override maxRetries at the request level
515
+ });
516
+ ```
517
+
518
+ ### Timeouts
519
+
520
+ The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
521
+
522
+ ```typescript
523
+ const response = await client.payments.generateInvoiceV1(..., {
524
+ timeoutInSeconds: 30 // override timeout to 30s
525
+ });
526
+ ```
527
+
528
+ ### Aborting Requests
529
+
530
+ The SDK allows users to abort requests at any point by passing in an abort signal.
531
+
532
+ ```typescript
533
+ const controller = new AbortController();
534
+ const response = await client.payments.generateInvoiceV1(..., {
535
+ abortSignal: controller.signal
536
+ });
537
+ controller.abort(); // aborts the request
538
+ ```
539
+
540
+ ### Access Raw Response Data
541
+
542
+ The SDK provides access to raw response data, including headers, through the `.withRawResponse()` method.
543
+ The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
544
+
545
+ ```typescript
546
+ const { data, rawResponse } = await client.payments.generateInvoiceV1(...).withRawResponse();
547
+
548
+ console.log(data);
549
+ console.log(rawResponse.headers['X-My-Header']);
550
+ ```
551
+
552
+ ### Runtime Compatibility
553
+
554
+ The SDK works in the following runtimes:
555
+
556
+ - Node.js 18+
557
+ - Vercel
558
+ - Cloudflare Workers
559
+ - Deno v1.25+
560
+ - Bun 1.0+
561
+ - React Native
562
+
563
+ ### Customizing Fetch Client
564
+
565
+ The SDK provides a way for you to customize the underlying HTTP client / Fetch function. If you're running in an
566
+ unsupported environment, this provides a way for you to break glass and ensure the SDK works.
567
+
568
+ ```typescript
569
+ import { ChrtClient } from "@chrt-inc/typescript-sdk";
570
+
571
+ const client = new ChrtClient({
572
+ ...
573
+ fetcher: // provide your implementation here
574
+ });
575
+ ```
576
+
577
+ ## Contributing
578
+
579
+ While we value open-source contributions to this SDK, this library is generated programmatically.
580
+ Additions made directly to this library would have to be moved over to our generation code,
581
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
582
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
583
+ an issue first to discuss with us!
584
+
585
+ On the other hand, contributions to the README are always very welcome!
@@ -71,8 +71,8 @@ class ChrtClient {
71
71
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
72
72
  "X-Fern-Language": "JavaScript",
73
73
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
74
- "X-Fern-SDK-Version": "1.303.0",
75
- "User-Agent": "@chrt-inc/typescript-sdk/1.303.0",
74
+ "X-Fern-SDK-Version": "1.305.0",
75
+ "User-Agent": "@chrt-inc/typescript-sdk/1.305.0",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -40,7 +40,7 @@ export declare class Connections {
40
40
  get connectionToShipper(): ConnectionToShipper;
41
41
  get connectionToForwarder(): ConnectionToForwarder;
42
42
  /**
43
- * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
43
+ * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
44
44
  *
45
45
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
46
46
  *
@@ -50,7 +50,7 @@ export declare class Connections {
50
50
  listShippersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperConnectionRes[]>;
51
51
  private __listShippersV1;
52
52
  /**
53
- * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
53
+ * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
54
54
  *
55
55
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
@@ -60,7 +60,7 @@ export declare class Connections {
60
60
  listCouriersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierConnectionRes[]>;
61
61
  private __listCouriersV1;
62
62
  /**
63
- * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
63
+ * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
64
64
  *
65
65
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
@@ -70,7 +70,7 @@ class Connections {
70
70
  return ((_a = this._connectionToForwarder) !== null && _a !== void 0 ? _a : (this._connectionToForwarder = new Client_js_3.ConnectionToForwarder(this._options)));
71
71
  }
72
72
  /**
73
- * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers.
73
+ * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
74
74
  *
75
75
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
@@ -121,7 +121,7 @@ class Connections {
121
121
  });
122
122
  }
123
123
  /**
124
- * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers.
124
+ * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
125
125
  *
126
126
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
127
127
  *
@@ -172,7 +172,7 @@ class Connections {
172
172
  });
173
173
  }
174
174
  /**
175
- * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders.
175
+ * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
176
176
  *
177
177
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
178
178
  *
@@ -31,7 +31,7 @@ export declare class ConnectionToCourier {
31
31
  protected readonly _options: ConnectionToCourier.Options;
32
32
  constructor(_options?: ConnectionToCourier.Options);
33
33
  /**
34
- * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
34
+ * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
35
35
  *
36
36
  * @param {Chrt.CreateConnectionReq} request
37
37
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class ConnectionToCourier {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers.
59
+ * Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
60
60
  *
61
61
  * @param {Chrt.CreateConnectionReq} request
62
62
  * @param {ConnectionToCourier.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class ConnectionToForwarder {
31
31
  protected readonly _options: ConnectionToForwarder.Options;
32
32
  constructor(_options?: ConnectionToForwarder.Options);
33
33
  /**
34
- * Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders.
34
+ * Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
35
35
  *
36
36
  * @param {Chrt.CreateConnectionReq} request
37
37
  * @param {ConnectionToForwarder.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class ConnectionToForwarder {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders.
59
+ * Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
60
60
  *
61
61
  * @param {Chrt.CreateConnectionReq} request
62
62
  * @param {ConnectionToForwarder.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class ConnectionToShipper {
31
31
  protected readonly _options: ConnectionToShipper.Options;
32
32
  constructor(_options?: ConnectionToShipper.Options);
33
33
  /**
34
- * Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers.
34
+ * Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
35
35
  *
36
36
  * @param {Chrt.CreateConnectionReq} request
37
37
  * @param {ConnectionToShipper.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class ConnectionToShipper {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers.
59
+ * Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
60
60
  *
61
61
  * @param {Chrt.CreateConnectionReq} request
62
62
  * @param {ConnectionToShipper.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Dev {
31
31
  protected readonly _options: Dev.Options;
32
32
  constructor(_options?: Dev.Options);
33
33
  /**
34
- * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes.
34
+ * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes. | () -> (str)
35
35
  *
36
36
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -41,7 +41,7 @@ export declare class Dev {
41
41
  getAgentV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
42
42
  private __getAgentV1;
43
43
  /**
44
- * (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token.
44
+ * (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
45
45
  *
46
46
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
@@ -51,7 +51,7 @@ export declare class Dev {
51
51
  getUserIdV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
52
52
  private __getUserIdV1;
53
53
  /**
54
- * Extracts and returns the user ID from the authenticated request's JWT token.
54
+ * Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
55
55
  *
56
56
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
57
57
  *
@@ -61,7 +61,7 @@ export declare class Dev {
61
61
  getUserIdV2(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
62
62
  private __getUserIdV2;
63
63
  /**
64
- * Returns the complete decoded JWT token information for development purposes.
64
+ * Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
65
65
  *
66
66
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
@@ -71,7 +71,7 @@ export declare class Dev {
71
71
  getDecodedJwtV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.DecodedJwtWithOrgAndUserId>;
72
72
  private __getDecodedJwtV1;
73
73
  /**
74
- * Retrieves the primary email address for the authenticated user from the authentication service.
74
+ * Retrieves the primary email address for the authenticated user from the authentication service. | () -> (str)
75
75
  *
76
76
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
77
77
  *
@@ -81,7 +81,7 @@ export declare class Dev {
81
81
  getEmailV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
82
82
  private __getEmailV1;
83
83
  /**
84
- * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes.
84
+ * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes. | () -> (dict[str, Any])
85
85
  *
86
86
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
87
87
  *
@@ -91,7 +91,7 @@ export declare class Dev {
91
91
  getDurableV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
92
92
  private __getDurableV1;
93
93
  /**
94
- * Development template endpoint that returns the authenticated user's ID for testing.
94
+ * Development template endpoint that returns the authenticated user's ID for testing. | () -> (str)
95
95
  *
96
96
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
97
97
  *
@@ -101,7 +101,7 @@ export declare class Dev {
101
101
  getTemplateV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
102
102
  private __getTemplateV1;
103
103
  /**
104
- * Development template endpoint that demonstrates transaction handling and request mirroring.
104
+ * Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
105
105
  *
106
106
  * @param {Chrt.TemplateReq} request
107
107
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
@@ -118,7 +118,7 @@ export declare class Dev {
118
118
  createTemplateV1(request: Chrt.TemplateReq, requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.TemplateRes>;
119
119
  private __createTemplateV1;
120
120
  /**
121
- * Returns the current GitHub PR number and commit hash for the deployment.
121
+ * Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])
122
122
  *
123
123
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
124
124
  *
@@ -56,7 +56,7 @@ class Dev {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes.
59
+ * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes. | () -> (str)
60
60
  *
61
61
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
@@ -107,7 +107,7 @@ class Dev {
107
107
  });
108
108
  }
109
109
  /**
110
- * (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token.
110
+ * (DEPRECATED) Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
111
111
  *
112
112
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
113
113
  *
@@ -158,7 +158,7 @@ class Dev {
158
158
  });
159
159
  }
160
160
  /**
161
- * Extracts and returns the user ID from the authenticated request's JWT token.
161
+ * Extracts and returns the user ID from the authenticated request's JWT token. | () -> (str)
162
162
  *
163
163
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
164
164
  *
@@ -209,7 +209,7 @@ class Dev {
209
209
  });
210
210
  }
211
211
  /**
212
- * Returns the complete decoded JWT token information for development purposes.
212
+ * Returns the complete decoded JWT token information for development purposes. | () -> (DecodedJWTWithOrgAndUserId)
213
213
  *
214
214
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
215
215
  *
@@ -260,7 +260,7 @@ class Dev {
260
260
  });
261
261
  }
262
262
  /**
263
- * Retrieves the primary email address for the authenticated user from the authentication service.
263
+ * Retrieves the primary email address for the authenticated user from the authentication service. | () -> (str)
264
264
  *
265
265
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
266
266
  *
@@ -311,7 +311,7 @@ class Dev {
311
311
  });
312
312
  }
313
313
  /**
314
- * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes.
314
+ * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes. | () -> (dict[str, Any])
315
315
  *
316
316
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
317
317
  *
@@ -362,7 +362,7 @@ class Dev {
362
362
  });
363
363
  }
364
364
  /**
365
- * Development template endpoint that returns the authenticated user's ID for testing.
365
+ * Development template endpoint that returns the authenticated user's ID for testing. | () -> (str)
366
366
  *
367
367
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
368
368
  *
@@ -413,7 +413,7 @@ class Dev {
413
413
  });
414
414
  }
415
415
  /**
416
- * Development template endpoint that demonstrates transaction handling and request mirroring.
416
+ * Development template endpoint that demonstrates transaction handling and request mirroring. | (TemplateReq) -> (TemplateRes)
417
417
  *
418
418
  * @param {Chrt.TemplateReq} request
419
419
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
@@ -479,7 +479,7 @@ class Dev {
479
479
  });
480
480
  }
481
481
  /**
482
- * Returns the current GitHub PR number and commit hash for the deployment.
482
+ * Returns the current GitHub PR number and commit hash for the deployment. | () -> (dict[str, str])
483
483
  *
484
484
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
485
485
  *
@@ -31,7 +31,7 @@ export declare class Drivers {
31
31
  protected readonly _options: Drivers.Options;
32
32
  constructor(_options?: Drivers.Options);
33
33
  /**
34
- * Lists all organization members paired with their driver information if they are drivers.
34
+ * Lists all organization members paired with their driver information if they are drivers. | () -> (list[OrgMembersAndDrivers])
35
35
  *
36
36
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -41,7 +41,7 @@ export declare class Drivers {
41
41
  listOrgMembersAndDriversV1(requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.OrgMembersAndDrivers[]>;
42
42
  private __listOrgMembersAndDriversV1;
43
43
  /**
44
- * Lists all drivers belonging to the authenticated organization.
44
+ * Lists all drivers belonging to the authenticated organization. | () -> (list[Driver1])
45
45
  *
46
46
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
@@ -51,7 +51,7 @@ export declare class Drivers {
51
51
  listV1(requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.Driver1[]>;
52
52
  private __listV1;
53
53
  /**
54
- * Creates a new driver profile for an organization member with optional vehicle type assignments.
54
+ * Creates a new driver profile for an organization member with optional vehicle type assignments. | (DriverCreateReq) -> (PydanticObjectId)
55
55
  *
56
56
  * @param {Chrt.DriverCreateReq} request
57
57
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
@@ -69,7 +69,7 @@ export declare class Drivers {
69
69
  createV1(request: Chrt.DriverCreateReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<string>;
70
70
  private __createV1;
71
71
  /**
72
- * Retrieves driver information for the authenticated user within their organization.
72
+ * Retrieves driver information for the authenticated user within their organization. | () -> (Driver1)
73
73
  *
74
74
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
75
75
  *
@@ -79,7 +79,7 @@ export declare class Drivers {
79
79
  getV1(requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.Driver1>;
80
80
  private __getV1;
81
81
  /**
82
- * Retrieves detailed driver information by driver ID within the organization.
82
+ * Retrieves detailed driver information by driver ID within the organization. | () -> (Driver1)
83
83
  *
84
84
  * @param {string} driverId
85
85
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
@@ -92,7 +92,7 @@ export declare class Drivers {
92
92
  getByDriverIdV1(driverId: string, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.Driver1>;
93
93
  private __getByDriverIdV1;
94
94
  /**
95
- * Deletes a driver from the organization and removes them from associated rate sheets.
95
+ * Deletes a driver from the organization and removes them from associated rate sheets. | () -> (bool)
96
96
  *
97
97
  * @param {string} driverId
98
98
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
@@ -105,7 +105,7 @@ export declare class Drivers {
105
105
  deleteV1(driverId: string, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<boolean>;
106
106
  private __deleteV1;
107
107
  /**
108
- * Sets the activation status of a driver (active/inactive) within the organization.
108
+ * Sets the activation status of a driver (active/inactive) within the organization. | (SetDriverActivationReq) -> (bool)
109
109
  *
110
110
  * @param {Chrt.SetDriverActivationReq} request
111
111
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
@@ -121,7 +121,7 @@ export declare class Drivers {
121
121
  setActivationV1(request: Chrt.SetDriverActivationReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<boolean>;
122
122
  private __setActivationV1;
123
123
  /**
124
- * Updates the driver's last known location and timestamp for tracking purposes.
124
+ * Updates the driver's last known location and timestamp for tracking purposes. | (DriverLastSeenReq) -> (bool)
125
125
  *
126
126
  * @param {Chrt.DriverLastSeenReq} request
127
127
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
@@ -145,7 +145,7 @@ export declare class Drivers {
145
145
  lastSeenV1(request: Chrt.DriverLastSeenReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<boolean>;
146
146
  private __lastSeenV1;
147
147
  /**
148
- * Clears the driver's last known location and timestamp.
148
+ * Clears the driver's last known location and timestamp. | () -> (bool)
149
149
  *
150
150
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
151
151
  *
@@ -155,7 +155,7 @@ export declare class Drivers {
155
155
  lastSeenClearV1(requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<boolean>;
156
156
  private __lastSeenClearV1;
157
157
  /**
158
- * Updates driver contact details and vehicle type assignments within the organization.
158
+ * Updates driver contact details and vehicle type assignments within the organization. | (UpdateDriverDetailsReq) -> (bool)
159
159
  *
160
160
  * @param {Chrt.UpdateDriverDetailsReq} request
161
161
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.