@chrt-inc/typescript-sdk 1.640.0 → 1.647.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 (234) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/index.d.ts +1 -1
  3. package/dist/cjs/api/resources/index.js +2 -2
  4. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
  5. package/dist/cjs/api/resources/shipping/client/Client.js +9 -4
  6. package/dist/cjs/api/resources/shipping/index.d.ts +1 -1
  7. package/dist/cjs/api/resources/shipping/index.js +1 -1
  8. package/dist/cjs/api/resources/shipping/resources/index.d.ts +3 -1
  9. package/dist/cjs/api/resources/shipping/resources/index.js +4 -2
  10. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +4 -1
  11. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +16 -11
  12. package/dist/cjs/api/resources/shipping/resources/orderDrafts/index.d.ts +1 -1
  13. package/dist/cjs/api/resources/shipping/resources/orderDrafts/index.js +1 -1
  14. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +55 -0
  15. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.js +199 -0
  16. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/index.js +2 -0
  18. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.js +18 -0
  20. package/dist/cjs/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/OrderBuilderStreamEvent.d.ts +1 -3
  21. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +1 -0
  22. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +3 -1
  24. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +1 -0
  25. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +1 -0
  26. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -0
  27. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +196 -0
  28. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +789 -0
  29. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.d.ts +2 -0
  30. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.js +17 -0
  31. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleClientCreate1.d.ts +20 -0
  32. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleClientUpdate1.d.ts +15 -0
  33. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +40 -0
  34. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.d.ts +3 -0
  35. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.js +2 -0
  36. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.js +18 -0
  38. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/index.js +37 -0
  40. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/Client.d.ts +47 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/Client.js +130 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/index.js +2 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/orderManifest/index.js +17 -0
  46. package/dist/cjs/api/resources/utils/index.d.ts +1 -1
  47. package/dist/cjs/api/resources/utils/index.js +1 -1
  48. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +12 -48
  49. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +20 -215
  50. package/dist/cjs/api/resources/utils/resources/dev/client/requests/{ReadOrderAgentReq.d.ts → PingOpenAiReq.d.ts} +3 -3
  51. package/dist/cjs/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.ts → ScheduledPingReq.d.ts} +3 -5
  52. package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +2 -3
  53. package/dist/cjs/api/resources/utils/resources/dev/index.d.ts +0 -1
  54. package/dist/cjs/api/resources/utils/resources/dev/index.js +0 -1
  55. package/dist/cjs/api/resources/utils/resources/index.d.ts +0 -1
  56. package/dist/cjs/api/resources/utils/resources/index.js +0 -1
  57. package/dist/cjs/api/types/Cargo1.d.ts +4 -1
  58. package/dist/cjs/api/types/CargoManifest1.d.ts +19 -0
  59. package/dist/cjs/api/types/Order1.d.ts +3 -1
  60. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +13 -0
  61. package/dist/cjs/api/types/OrderDraftValidationResult.d.ts +1 -1
  62. package/dist/cjs/api/types/OrderManifest1.d.ts +19 -0
  63. package/dist/cjs/api/types/OrderManifest1.js +5 -0
  64. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +12 -0
  65. package/dist/cjs/api/types/OrderManifestValidationRequirements.js +5 -0
  66. package/dist/cjs/api/types/OrderManifestValidationResult.d.ts +8 -0
  67. package/dist/cjs/api/types/OrderManifestValidationResult.js +5 -0
  68. package/dist/cjs/api/types/OrderSchedule1.d.ts +24 -0
  69. package/dist/cjs/api/types/OrderSchedule1.js +5 -0
  70. package/dist/cjs/api/types/OrderScheduleAboutRes.d.ts +9 -0
  71. package/dist/cjs/api/types/OrderScheduleAboutRes.js +5 -0
  72. package/dist/cjs/api/types/OrderScheduleListRes.d.ts +8 -0
  73. package/dist/cjs/api/types/OrderScheduleListRes.js +5 -0
  74. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.d.ts +8 -0
  75. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleActionResult.js +5 -0
  76. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.d.ts +12 -0
  77. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.js +5 -0
  78. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatusEnum1.d.ts +10 -0
  79. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatusEnum1.js +12 -0
  80. package/dist/cjs/api/types/OrderScheduleSortByEnum.d.ts +10 -0
  81. package/dist/cjs/api/types/OrderScheduleSortByEnum.js +12 -0
  82. package/dist/cjs/api/types/OrderScheduleStatusEnum1.d.ts +10 -0
  83. package/dist/cjs/api/types/OrderScheduleStatusEnum1.js +12 -0
  84. package/dist/cjs/api/types/PingOpenAiRes.d.ts +6 -0
  85. package/dist/cjs/api/types/PingOpenAiRes.js +5 -0
  86. package/dist/cjs/api/types/ScheduledOrdersNewDraftReq.d.ts +9 -0
  87. package/dist/cjs/api/types/ScheduledOrdersNewDraftReq.js +5 -0
  88. package/dist/cjs/api/types/{ScheduledHelloPocRes.d.ts → ScheduledPingRes.d.ts} +3 -3
  89. package/dist/cjs/api/types/ScheduledPingRes.js +5 -0
  90. package/dist/cjs/api/types/Task1.d.ts +4 -1
  91. package/dist/cjs/api/types/TaskArtifact1.d.ts +4 -1
  92. package/dist/cjs/api/types/TaskGroup1.d.ts +4 -1
  93. package/dist/cjs/api/types/TaskGroupManifest1.d.ts +14 -0
  94. package/dist/cjs/api/types/TaskGroupManifest1.js +5 -0
  95. package/dist/cjs/api/types/TaskManifest1.d.ts +17 -0
  96. package/dist/cjs/api/types/TaskManifest1.js +5 -0
  97. package/dist/cjs/api/types/index.d.ts +18 -5
  98. package/dist/cjs/api/types/index.js +18 -5
  99. package/dist/cjs/version.d.ts +1 -1
  100. package/dist/cjs/version.js +1 -1
  101. package/dist/esm/Client.mjs +2 -2
  102. package/dist/esm/api/resources/index.d.mts +1 -1
  103. package/dist/esm/api/resources/index.mjs +1 -1
  104. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
  105. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
  106. package/dist/esm/api/resources/shipping/index.d.mts +1 -1
  107. package/dist/esm/api/resources/shipping/index.mjs +1 -1
  108. package/dist/esm/api/resources/shipping/resources/index.d.mts +3 -1
  109. package/dist/esm/api/resources/shipping/resources/index.mjs +3 -1
  110. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +4 -1
  111. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +6 -1
  112. package/dist/esm/api/resources/shipping/resources/orderDrafts/index.d.mts +1 -1
  113. package/dist/esm/api/resources/shipping/resources/orderDrafts/index.mjs +1 -1
  114. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +55 -0
  115. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.mjs +162 -0
  116. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/index.d.mts +1 -0
  117. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/index.mjs +1 -0
  118. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.mts +2 -0
  119. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.mjs +2 -0
  120. package/dist/esm/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/OrderBuilderStreamEvent.d.mts +1 -3
  121. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +1 -0
  122. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +2 -0
  123. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +2 -0
  124. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +1 -0
  125. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +1 -0
  126. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -0
  127. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +196 -0
  128. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +752 -0
  129. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.d.mts +2 -0
  130. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.mjs +1 -0
  131. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleClientCreate1.d.mts +20 -0
  132. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleClientUpdate1.d.mts +15 -0
  133. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +40 -0
  134. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.d.mts +3 -0
  135. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.mjs +1 -0
  136. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.d.mts +2 -0
  137. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.mjs +2 -0
  138. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.d.mts +1 -0
  139. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/index.mjs +1 -0
  140. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/Client.d.mts +47 -0
  141. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/Client.mjs +93 -0
  142. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/index.d.mts +1 -0
  143. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/client/index.mjs +1 -0
  144. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/index.d.mts +1 -0
  145. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/orderManifest/index.mjs +1 -0
  146. package/dist/esm/api/resources/utils/index.d.mts +1 -1
  147. package/dist/esm/api/resources/utils/index.mjs +1 -1
  148. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +12 -48
  149. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +20 -215
  150. package/dist/esm/api/resources/utils/resources/dev/client/requests/{ReadOrderAgentReq.d.mts → PingOpenAiReq.d.mts} +3 -3
  151. package/dist/esm/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.mts → ScheduledPingReq.d.mts} +3 -5
  152. package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +2 -3
  153. package/dist/esm/api/resources/utils/resources/dev/index.d.mts +0 -1
  154. package/dist/esm/api/resources/utils/resources/dev/index.mjs +0 -1
  155. package/dist/esm/api/resources/utils/resources/index.d.mts +0 -1
  156. package/dist/esm/api/resources/utils/resources/index.mjs +0 -1
  157. package/dist/esm/api/types/Cargo1.d.mts +4 -1
  158. package/dist/esm/api/types/CargoManifest1.d.mts +19 -0
  159. package/dist/esm/api/types/Order1.d.mts +3 -1
  160. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +13 -0
  161. package/dist/esm/api/types/OrderDraftValidationResult.d.mts +1 -1
  162. package/dist/esm/api/types/OrderManifest1.d.mts +19 -0
  163. package/dist/esm/api/types/OrderManifest1.mjs +4 -0
  164. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +12 -0
  165. package/dist/esm/api/types/OrderManifestValidationRequirements.mjs +4 -0
  166. package/dist/esm/api/types/OrderManifestValidationResult.d.mts +8 -0
  167. package/dist/esm/api/types/OrderManifestValidationResult.mjs +4 -0
  168. package/dist/esm/api/types/OrderSchedule1.d.mts +24 -0
  169. package/dist/esm/api/types/OrderSchedule1.mjs +4 -0
  170. package/dist/esm/api/types/OrderScheduleAboutRes.d.mts +9 -0
  171. package/dist/esm/api/types/OrderScheduleAboutRes.mjs +4 -0
  172. package/dist/esm/api/types/OrderScheduleListRes.d.mts +8 -0
  173. package/dist/esm/api/types/OrderScheduleListRes.mjs +4 -0
  174. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.d.mts +8 -0
  175. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleActionResult.mjs +4 -0
  176. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.d.mts +12 -0
  177. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.mjs +4 -0
  178. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatusEnum1.d.mts +10 -0
  179. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatusEnum1.mjs +9 -0
  180. package/dist/esm/api/types/OrderScheduleSortByEnum.d.mts +10 -0
  181. package/dist/esm/api/types/OrderScheduleSortByEnum.mjs +9 -0
  182. package/dist/esm/api/types/OrderScheduleStatusEnum1.d.mts +10 -0
  183. package/dist/esm/api/types/OrderScheduleStatusEnum1.mjs +9 -0
  184. package/dist/esm/api/types/PingOpenAiRes.d.mts +6 -0
  185. package/dist/esm/api/types/PingOpenAiRes.mjs +4 -0
  186. package/dist/esm/api/types/ScheduledOrdersNewDraftReq.d.mts +9 -0
  187. package/dist/esm/api/types/ScheduledOrdersNewDraftReq.mjs +4 -0
  188. package/dist/esm/api/types/{ScheduledHelloPocRes.d.mts → ScheduledPingRes.d.mts} +3 -3
  189. package/dist/esm/api/types/ScheduledPingRes.mjs +4 -0
  190. package/dist/esm/api/types/Task1.d.mts +4 -1
  191. package/dist/esm/api/types/TaskArtifact1.d.mts +4 -1
  192. package/dist/esm/api/types/TaskGroup1.d.mts +4 -1
  193. package/dist/esm/api/types/TaskGroupManifest1.d.mts +14 -0
  194. package/dist/esm/api/types/TaskGroupManifest1.mjs +4 -0
  195. package/dist/esm/api/types/TaskManifest1.d.mts +17 -0
  196. package/dist/esm/api/types/TaskManifest1.mjs +4 -0
  197. package/dist/esm/api/types/index.d.mts +18 -5
  198. package/dist/esm/api/types/index.mjs +18 -5
  199. package/dist/esm/version.d.mts +1 -1
  200. package/dist/esm/version.mjs +1 -1
  201. package/package.json +1 -1
  202. package/reference.md +933 -213
  203. package/dist/cjs/api/resources/utils/resources/dev/client/requests/AgentReq.d.ts +0 -10
  204. package/dist/cjs/api/types/AgentRes.d.ts +0 -8
  205. package/dist/cjs/api/types/OrderDraftIssueCategoryEnum.d.ts +0 -11
  206. package/dist/cjs/api/types/OrderDraftIssueCategoryEnum.js +0 -13
  207. package/dist/cjs/api/types/OrderDraftValidationIssue.d.ts +0 -12
  208. package/dist/cjs/api/types/ReadOrderAgentRes.d.ts +0 -8
  209. package/dist/esm/api/resources/utils/resources/dev/client/requests/AgentReq.d.mts +0 -10
  210. package/dist/esm/api/types/AgentRes.d.mts +0 -8
  211. package/dist/esm/api/types/OrderDraftIssueCategoryEnum.d.mts +0 -11
  212. package/dist/esm/api/types/OrderDraftIssueCategoryEnum.mjs +0 -10
  213. package/dist/esm/api/types/OrderDraftValidationIssue.d.mts +0 -12
  214. package/dist/esm/api/types/ReadOrderAgentRes.d.mts +0 -8
  215. /package/dist/cjs/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/OrderBuilderStreamEvent.js +0 -0
  216. /package/dist/cjs/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/index.d.ts +0 -0
  217. /package/dist/cjs/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/index.js +0 -0
  218. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/AgentReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleClientCreate1.js} +0 -0
  219. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/ReadOrderAgentReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleClientUpdate1.js} +0 -0
  220. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.js → shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.js} +0 -0
  221. /package/dist/cjs/api/{types/AgentRes.js → resources/utils/resources/dev/client/requests/PingOpenAiReq.js} +0 -0
  222. /package/dist/cjs/api/{types/OrderDraftValidationIssue.js → resources/utils/resources/dev/client/requests/ScheduledPingReq.js} +0 -0
  223. /package/dist/cjs/api/types/{ReadOrderAgentRes.js → CargoManifest1.js} +0 -0
  224. /package/dist/cjs/api/types/{ScheduledHelloPocRes.js → OrderDraftValidationRequirements.js} +0 -0
  225. /package/dist/esm/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/OrderBuilderStreamEvent.mjs +0 -0
  226. /package/dist/esm/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/index.d.mts +0 -0
  227. /package/dist/esm/api/resources/{utils/resources/dev → shipping/resources/orderDrafts/resources/agentic}/types/index.mjs +0 -0
  228. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/AgentReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleClientCreate1.mjs} +0 -0
  229. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/ReadOrderAgentReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleClientUpdate1.mjs} +0 -0
  230. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.mjs → shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.mjs} +0 -0
  231. /package/dist/esm/api/{types/AgentRes.mjs → resources/utils/resources/dev/client/requests/PingOpenAiReq.mjs} +0 -0
  232. /package/dist/esm/api/{types/OrderDraftValidationIssue.mjs → resources/utils/resources/dev/client/requests/ScheduledPingReq.mjs} +0 -0
  233. /package/dist/esm/api/types/{ReadOrderAgentRes.mjs → CargoManifest1.mjs} +0 -0
  234. /package/dist/esm/api/types/{ScheduledHelloPocRes.mjs → OrderDraftValidationRequirements.mjs} +0 -0
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderScheduleSortByEnum = void 0;
7
+ exports.OrderScheduleSortByEnum = {
8
+ CreatedAtTimestamp: "created_at_timestamp",
9
+ LastEditedAtTimestamp: "last_edited_at_timestamp",
10
+ Name: "name",
11
+ Status: "status",
12
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderScheduleStatusEnum1 = "draft" | "active" | "paused" | "archived";
5
+ export declare const OrderScheduleStatusEnum1: {
6
+ readonly Draft: "draft";
7
+ readonly Active: "active";
8
+ readonly Paused: "paused";
9
+ readonly Archived: "archived";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderScheduleStatusEnum1 = void 0;
7
+ exports.OrderScheduleStatusEnum1 = {
8
+ Draft: "draft",
9
+ Active: "active",
10
+ Paused: "paused",
11
+ Archived: "archived",
12
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PingOpenAiRes {
5
+ response: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ScheduledOrdersNewDraftReq {
6
+ order_manifest: Chrt.OrderManifest1;
7
+ order_schedule_id: string;
8
+ order_schedule_run_idempotency_key: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
- export interface ScheduledHelloPocRes {
5
+ export interface ScheduledPingRes {
6
6
  schedule_id: string;
7
- order_id: string;
8
- driver_name: string;
7
+ ping_id: string;
8
+ message: string;
9
9
  workflow_name: string;
10
10
  workflow_id: string;
11
11
  task_queue: string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,10 +13,13 @@ export interface Task1 {
13
13
  order_id: string;
14
14
  order_short_id: string;
15
15
  task_group_id: string;
16
+ order_schedule_id?: string | null;
17
+ order_schedule_run_idempotency_key?: string | null;
18
+ order_schedule_template_path?: string | null;
16
19
  /** Must be a string starting with `org_` */
17
20
  created_by_org_id: string;
18
21
  /** Must be a string starting with `user_` */
19
- created_by_user_id: string;
22
+ created_by_user_id?: string | null;
20
23
  /** Must be a string starting with `org_` */
21
24
  completed_by_org_id?: string | null;
22
25
  /** Must be a string starting with `user_` */
@@ -10,11 +10,14 @@ export interface TaskArtifact1 {
10
10
  order_short_id: string;
11
11
  task_group_id: string;
12
12
  task_id: string;
13
+ order_schedule_id?: string | null;
14
+ order_schedule_run_idempotency_key?: string | null;
15
+ order_schedule_template_path?: string | null;
13
16
  task_artifact_s3_object_metadata_ids?: string[];
14
17
  /** Must be a string starting with `org_` */
15
18
  created_by_org_id: string;
16
19
  /** Must be a string starting with `user_` */
17
- created_by_user_id: string;
20
+ created_by_user_id?: string | null;
18
21
  /** Must be a string starting with `org_` */
19
22
  requested_by_org_id?: string | null;
20
23
  /** Must be a string starting with `user_` */
@@ -10,8 +10,11 @@ export interface TaskGroup1 {
10
10
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
11
11
  order_off_chrt_reference_id?: string | null;
12
12
  task_ids?: string[];
13
+ order_schedule_id?: string | null;
14
+ order_schedule_run_idempotency_key?: string | null;
15
+ order_schedule_template_path?: string | null;
13
16
  /** Must be a string starting with `user_` */
14
- created_by_user_id: string;
17
+ created_by_user_id?: string | null;
15
18
  /** Must be a string starting with `org_` */
16
19
  created_by_org_id: string;
17
20
  /** Must be a string starting with `org_` */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * Task group template; scheduled orders currently support CHRT ground only.
7
+ */
8
+ export interface TaskGroupManifest1 {
9
+ task_group_type: "chrt_ground_provider";
10
+ /** Must be a string starting with `org_` */
11
+ executor_org_id?: string | null;
12
+ driver_id?: string | null;
13
+ tasks: Chrt.TaskManifest1[];
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * Task template plus cargo/artifact references within an order manifest.
7
+ */
8
+ export interface TaskManifest1 {
9
+ schema_version: number;
10
+ location?: Chrt.LocationFeature | null;
11
+ action?: Chrt.ChrtGroundProviderTaskActionEnum1 | null;
12
+ time_windows?: Chrt.TimeWindow1[];
13
+ order_placer_comments?: string | null;
14
+ directory_entry_ids?: string[];
15
+ cargo_template_indices?: number[];
16
+ task_artifact_types?: Chrt.TaskArtifactTypeEnum1[];
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,3 @@
1
- export * from "./AgentRes.js";
2
1
  export * from "./AnalyticsTimeBucketResponse.js";
3
2
  export * from "./AttachBillingLedgerPeriodReq.js";
4
3
  export * from "./AttachLigToVectorClientReq.js";
@@ -34,6 +33,7 @@ export * from "./CargoByDriverDataPointMetadata1.js";
34
33
  export * from "./CargoByDriverSharingSettings1.js";
35
34
  export * from "./CargoClientCreate1.js";
36
35
  export * from "./CargoClientUpdate1.js";
36
+ export * from "./CargoManifest1.js";
37
37
  export * from "./CargoOnFlightRateSheet1.js";
38
38
  export * from "./CargoOnFlightRateSheetListRes.js";
39
39
  export * from "./CargoOnFlightTaskActionEnum1.js";
@@ -183,11 +183,21 @@ export * from "./OrderBuilderReq.js";
183
183
  export * from "./OrderBuilderRes.js";
184
184
  export * from "./OrderDraftExpanded.js";
185
185
  export * from "./OrderDraftExpandedListRes.js";
186
- export * from "./OrderDraftIssueCategoryEnum.js";
187
186
  export * from "./OrderDraftSortByEnum.js";
188
- export * from "./OrderDraftValidationIssue.js";
187
+ export * from "./OrderDraftValidationRequirements.js";
189
188
  export * from "./OrderDraftValidationResult.js";
190
189
  export * from "./OrderExpanded.js";
190
+ export * from "./OrderManifest1.js";
191
+ export * from "./OrderManifestValidationRequirements.js";
192
+ export * from "./OrderManifestValidationResult.js";
193
+ export * from "./OrderSchedule1.js";
194
+ export * from "./OrderScheduleAboutRes.js";
195
+ export * from "./OrderScheduleListRes.js";
196
+ export * from "./OrderScheduleOrchestratorScheduleActionResult.js";
197
+ export * from "./OrderScheduleOrchestratorScheduleStatus.js";
198
+ export * from "./OrderScheduleOrchestratorScheduleStatusEnum1.js";
199
+ export * from "./OrderScheduleSortByEnum.js";
200
+ export * from "./OrderScheduleStatusEnum1.js";
191
201
  export * from "./OrderSortByEnum.js";
192
202
  export * from "./OrderStatusEnum1.js";
193
203
  export * from "./OrderTypeaheadFieldEnum.js";
@@ -210,6 +220,7 @@ export * from "./OrgPublicData1.js";
210
220
  export * from "./OrgRoleEnum.js";
211
221
  export * from "./OrgTypeEnum.js";
212
222
  export * from "./OutlierLabellerEnum.js";
223
+ export * from "./PingOpenAiRes.js";
213
224
  export * from "./PingRes.js";
214
225
  export * from "./PlatformEnum.js";
215
226
  export * from "./Point.js";
@@ -225,12 +236,12 @@ export * from "./ProviderOrgProfile1.js";
225
236
  export * from "./ProviderProviderConnection1.js";
226
237
  export * from "./RateSheetMapping1.js";
227
238
  export * from "./RateSheetMappingListRes.js";
228
- export * from "./ReadOrderAgentRes.js";
229
239
  export * from "./ScheduleCalendarSpec.js";
230
240
  export * from "./ScheduleIntervalSpec.js";
231
241
  export * from "./ScheduleRange.js";
232
242
  export * from "./ScheduleSpec.js";
233
- export * from "./ScheduledHelloPocRes.js";
243
+ export * from "./ScheduledOrdersNewDraftReq.js";
244
+ export * from "./ScheduledPingRes.js";
234
245
  export * from "./Session1.js";
235
246
  export * from "./SessionByDeviceDataPoint1.js";
236
247
  export * from "./SessionByDeviceDataPointMetadata1.js";
@@ -286,6 +297,7 @@ export * from "./TaskGroupByDriverDataPointMetadata1.js";
286
297
  export * from "./TaskGroupByDriverSharingSettings1.js";
287
298
  export * from "./TaskGroupExpanded.js";
288
299
  export * from "./TaskGroupExpandedListRes.js";
300
+ export * from "./TaskGroupManifest1.js";
289
301
  export * from "./TaskGroupMessage1.js";
290
302
  export * from "./TaskGroupQuoteClientReq.js";
291
303
  export * from "./TaskGroupQuoteResp.js";
@@ -295,6 +307,7 @@ export * from "./TaskGroupStatusEnum1.js";
295
307
  export * from "./TaskGroupTypeEnum1.js";
296
308
  export * from "./TaskGroupTypeaheadFieldEnum.js";
297
309
  export * from "./TaskGroupTypeaheadResult.js";
310
+ export * from "./TaskManifest1.js";
298
311
  export * from "./TaskStatusEnum1.js";
299
312
  export * from "./TemplateRes.js";
300
313
  export * from "./TimeBucket.js";
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AgentRes.js"), exports);
18
17
  __exportStar(require("./AnalyticsTimeBucketResponse.js"), exports);
19
18
  __exportStar(require("./AttachBillingLedgerPeriodReq.js"), exports);
20
19
  __exportStar(require("./AttachLigToVectorClientReq.js"), exports);
@@ -50,6 +49,7 @@ __exportStar(require("./CargoByDriverDataPointMetadata1.js"), exports);
50
49
  __exportStar(require("./CargoByDriverSharingSettings1.js"), exports);
51
50
  __exportStar(require("./CargoClientCreate1.js"), exports);
52
51
  __exportStar(require("./CargoClientUpdate1.js"), exports);
52
+ __exportStar(require("./CargoManifest1.js"), exports);
53
53
  __exportStar(require("./CargoOnFlightRateSheet1.js"), exports);
54
54
  __exportStar(require("./CargoOnFlightRateSheetListRes.js"), exports);
55
55
  __exportStar(require("./CargoOnFlightTaskActionEnum1.js"), exports);
@@ -199,11 +199,21 @@ __exportStar(require("./OrderBuilderReq.js"), exports);
199
199
  __exportStar(require("./OrderBuilderRes.js"), exports);
200
200
  __exportStar(require("./OrderDraftExpanded.js"), exports);
201
201
  __exportStar(require("./OrderDraftExpandedListRes.js"), exports);
202
- __exportStar(require("./OrderDraftIssueCategoryEnum.js"), exports);
203
202
  __exportStar(require("./OrderDraftSortByEnum.js"), exports);
204
- __exportStar(require("./OrderDraftValidationIssue.js"), exports);
203
+ __exportStar(require("./OrderDraftValidationRequirements.js"), exports);
205
204
  __exportStar(require("./OrderDraftValidationResult.js"), exports);
206
205
  __exportStar(require("./OrderExpanded.js"), exports);
206
+ __exportStar(require("./OrderManifest1.js"), exports);
207
+ __exportStar(require("./OrderManifestValidationRequirements.js"), exports);
208
+ __exportStar(require("./OrderManifestValidationResult.js"), exports);
209
+ __exportStar(require("./OrderSchedule1.js"), exports);
210
+ __exportStar(require("./OrderScheduleAboutRes.js"), exports);
211
+ __exportStar(require("./OrderScheduleListRes.js"), exports);
212
+ __exportStar(require("./OrderScheduleOrchestratorScheduleActionResult.js"), exports);
213
+ __exportStar(require("./OrderScheduleOrchestratorScheduleStatus.js"), exports);
214
+ __exportStar(require("./OrderScheduleOrchestratorScheduleStatusEnum1.js"), exports);
215
+ __exportStar(require("./OrderScheduleSortByEnum.js"), exports);
216
+ __exportStar(require("./OrderScheduleStatusEnum1.js"), exports);
207
217
  __exportStar(require("./OrderSortByEnum.js"), exports);
208
218
  __exportStar(require("./OrderStatusEnum1.js"), exports);
209
219
  __exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
@@ -226,6 +236,7 @@ __exportStar(require("./OrgPublicData1.js"), exports);
226
236
  __exportStar(require("./OrgRoleEnum.js"), exports);
227
237
  __exportStar(require("./OrgTypeEnum.js"), exports);
228
238
  __exportStar(require("./OutlierLabellerEnum.js"), exports);
239
+ __exportStar(require("./PingOpenAiRes.js"), exports);
229
240
  __exportStar(require("./PingRes.js"), exports);
230
241
  __exportStar(require("./PlatformEnum.js"), exports);
231
242
  __exportStar(require("./Point.js"), exports);
@@ -241,12 +252,12 @@ __exportStar(require("./ProviderOrgProfile1.js"), exports);
241
252
  __exportStar(require("./ProviderProviderConnection1.js"), exports);
242
253
  __exportStar(require("./RateSheetMapping1.js"), exports);
243
254
  __exportStar(require("./RateSheetMappingListRes.js"), exports);
244
- __exportStar(require("./ReadOrderAgentRes.js"), exports);
245
255
  __exportStar(require("./ScheduleCalendarSpec.js"), exports);
246
256
  __exportStar(require("./ScheduleIntervalSpec.js"), exports);
247
257
  __exportStar(require("./ScheduleRange.js"), exports);
248
258
  __exportStar(require("./ScheduleSpec.js"), exports);
249
- __exportStar(require("./ScheduledHelloPocRes.js"), exports);
259
+ __exportStar(require("./ScheduledOrdersNewDraftReq.js"), exports);
260
+ __exportStar(require("./ScheduledPingRes.js"), exports);
250
261
  __exportStar(require("./Session1.js"), exports);
251
262
  __exportStar(require("./SessionByDeviceDataPoint1.js"), exports);
252
263
  __exportStar(require("./SessionByDeviceDataPointMetadata1.js"), exports);
@@ -302,6 +313,7 @@ __exportStar(require("./TaskGroupByDriverDataPointMetadata1.js"), exports);
302
313
  __exportStar(require("./TaskGroupByDriverSharingSettings1.js"), exports);
303
314
  __exportStar(require("./TaskGroupExpanded.js"), exports);
304
315
  __exportStar(require("./TaskGroupExpandedListRes.js"), exports);
316
+ __exportStar(require("./TaskGroupManifest1.js"), exports);
305
317
  __exportStar(require("./TaskGroupMessage1.js"), exports);
306
318
  __exportStar(require("./TaskGroupQuoteClientReq.js"), exports);
307
319
  __exportStar(require("./TaskGroupQuoteResp.js"), exports);
@@ -311,6 +323,7 @@ __exportStar(require("./TaskGroupStatusEnum1.js"), exports);
311
323
  __exportStar(require("./TaskGroupTypeEnum1.js"), exports);
312
324
  __exportStar(require("./TaskGroupTypeaheadFieldEnum.js"), exports);
313
325
  __exportStar(require("./TaskGroupTypeaheadResult.js"), exports);
326
+ __exportStar(require("./TaskManifest1.js"), exports);
314
327
  __exportStar(require("./TaskStatusEnum1.js"), exports);
315
328
  __exportStar(require("./TemplateRes.js"), exports);
316
329
  __exportStar(require("./TimeBucket.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.640.0";
1
+ export declare const SDK_VERSION = "1.647.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.640.0";
4
+ exports.SDK_VERSION = "1.647.0";
@@ -20,8 +20,8 @@ export class ChrtClient {
20
20
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
23
- "X-Fern-SDK-Version": "1.640.0",
24
- "User-Agent": "@chrt-inc/typescript-sdk/1.640.0",
23
+ "X-Fern-SDK-Version": "1.647.0",
24
+ "User-Agent": "@chrt-inc/typescript-sdk/1.647.0",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -1,4 +1,5 @@
1
1
  export * as orgs from "./orgs/index.mjs";
2
+ export * as shipping from "./shipping/index.mjs";
2
3
  export * as utils from "./utils/index.mjs";
3
4
  export * as analytics from "./analytics/index.mjs";
4
5
  export * as billing from "./billing/index.mjs";
@@ -6,7 +7,6 @@ export * as integrations from "./integrations/index.mjs";
6
7
  export * as listing from "./listing/index.mjs";
7
8
  export * as notifications from "./notifications/index.mjs";
8
9
  export * as operations from "./operations/index.mjs";
9
- export * as shipping from "./shipping/index.mjs";
10
10
  export * as tracking from "./tracking/index.mjs";
11
11
  export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
12
12
  export * as users from "./users/index.mjs";
@@ -1,4 +1,5 @@
1
1
  export * as orgs from "./orgs/index.mjs";
2
+ export * as shipping from "./shipping/index.mjs";
2
3
  export * as utils from "./utils/index.mjs";
3
4
  export * as analytics from "./analytics/index.mjs";
4
5
  export * as billing from "./billing/index.mjs";
@@ -6,7 +7,6 @@ export * as integrations from "./integrations/index.mjs";
6
7
  export * as listing from "./listing/index.mjs";
7
8
  export * as notifications from "./notifications/index.mjs";
8
9
  export * as operations from "./operations/index.mjs";
9
- export * as shipping from "./shipping/index.mjs";
10
10
  export * as tracking from "./tracking/index.mjs";
11
11
  export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
12
12
  export * as users from "./users/index.mjs";
@@ -9,6 +9,7 @@ import { Flights } from "../resources/flights/client/Client.mjs";
9
9
  import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
10
10
  import { Orders } from "../resources/orders/client/Client.mjs";
11
11
  import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
12
+ import { OrderSchedules } from "../resources/orderSchedules/client/Client.mjs";
12
13
  import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
13
14
  import { Tasks } from "../resources/tasks/client/Client.mjs";
14
15
  export declare namespace Shipping {
@@ -30,6 +31,7 @@ export declare class Shipping {
30
31
  protected _taskArtifacts: TaskArtifacts | undefined;
31
32
  protected _orders: Orders | undefined;
32
33
  protected _orderDrafts: OrderDrafts | undefined;
34
+ protected _orderSchedules: OrderSchedules | undefined;
33
35
  protected _taskGroups: TaskGroups | undefined;
34
36
  protected _tasks: Tasks | undefined;
35
37
  constructor(_options?: Shipping.Options);
@@ -39,6 +41,7 @@ export declare class Shipping {
39
41
  get taskArtifacts(): TaskArtifacts;
40
42
  get orders(): Orders;
41
43
  get orderDrafts(): OrderDrafts;
44
+ get orderSchedules(): OrderSchedules;
42
45
  get taskGroups(): TaskGroups;
43
46
  get tasks(): Tasks;
44
47
  }
@@ -7,6 +7,7 @@ import { Flights } from "../resources/flights/client/Client.mjs";
7
7
  import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
8
8
  import { Orders } from "../resources/orders/client/Client.mjs";
9
9
  import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
10
+ import { OrderSchedules } from "../resources/orderSchedules/client/Client.mjs";
10
11
  import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
11
12
  import { Tasks } from "../resources/tasks/client/Client.mjs";
12
13
  export class Shipping {
@@ -37,6 +38,10 @@ export class Shipping {
37
38
  var _a;
38
39
  return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new OrderDrafts(this._options)));
39
40
  }
41
+ get orderSchedules() {
42
+ var _a;
43
+ return ((_a = this._orderSchedules) !== null && _a !== void 0 ? _a : (this._orderSchedules = new OrderSchedules(this._options)));
44
+ }
40
45
  get taskGroups() {
41
46
  var _a;
42
47
  return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new TaskGroups(this._options)));
@@ -1,2 +1,2 @@
1
- export * from "./client/index.mjs";
2
1
  export * from "./resources/index.mjs";
2
+ export * from "./client/index.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./client/index.mjs";
2
1
  export * from "./resources/index.mjs";
2
+ export * from "./client/index.mjs";
@@ -1,14 +1,16 @@
1
+ export * as orderDrafts from "./orderDrafts/index.mjs";
1
2
  export * as drivers from "./drivers/index.mjs";
2
3
  export * as cargos from "./cargos/index.mjs";
3
4
  export * as flights from "./flights/index.mjs";
4
5
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
5
6
  export * as orders from "./orders/index.mjs";
6
- export * as orderDrafts from "./orderDrafts/index.mjs";
7
+ export * as orderSchedules from "./orderSchedules/index.mjs";
7
8
  export * as taskGroups from "./taskGroups/index.mjs";
8
9
  export * as tasks from "./tasks/index.mjs";
9
10
  export * from "./drivers/client/requests/index.mjs";
10
11
  export * from "./taskArtifacts/client/requests/index.mjs";
11
12
  export * from "./orders/client/requests/index.mjs";
12
13
  export * from "./orderDrafts/client/requests/index.mjs";
14
+ export * from "./orderSchedules/client/requests/index.mjs";
13
15
  export * from "./taskGroups/client/requests/index.mjs";
14
16
  export * from "./tasks/client/requests/index.mjs";
@@ -1,14 +1,16 @@
1
+ export * as orderDrafts from "./orderDrafts/index.mjs";
1
2
  export * as drivers from "./drivers/index.mjs";
2
3
  export * as cargos from "./cargos/index.mjs";
3
4
  export * as flights from "./flights/index.mjs";
4
5
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
5
6
  export * as orders from "./orders/index.mjs";
6
- export * as orderDrafts from "./orderDrafts/index.mjs";
7
+ export * as orderSchedules from "./orderSchedules/index.mjs";
7
8
  export * as taskGroups from "./taskGroups/index.mjs";
8
9
  export * as tasks from "./tasks/index.mjs";
9
10
  export * from "./drivers/client/requests/index.mjs";
10
11
  export * from "./taskArtifacts/client/requests/index.mjs";
11
12
  export * from "./orders/client/requests/index.mjs";
12
13
  export * from "./orderDrafts/client/requests/index.mjs";
14
+ export * from "./orderSchedules/client/requests/index.mjs";
13
15
  export * from "./taskGroups/client/requests/index.mjs";
14
16
  export * from "./tasks/client/requests/index.mjs";
@@ -4,6 +4,7 @@
4
4
  import * as environments from "../../../../../../environments.mjs";
5
5
  import * as core from "../../../../../../core/index.mjs";
6
6
  import * as Chrt from "../../../../../index.mjs";
7
+ import { Agentic } from "../resources/agentic/client/Client.mjs";
7
8
  import { TaskGroup } from "../resources/taskGroup/client/Client.mjs";
8
9
  import { Task } from "../resources/task/client/Client.mjs";
9
10
  import { TaskArtifact } from "../resources/taskArtifact/client/Client.mjs";
@@ -34,12 +35,14 @@ export declare namespace OrderDrafts {
34
35
  }
35
36
  export declare class OrderDrafts {
36
37
  protected readonly _options: OrderDrafts.Options;
38
+ protected _agentic: Agentic | undefined;
37
39
  protected _taskGroup: TaskGroup | undefined;
38
40
  protected _task: Task | undefined;
39
41
  protected _taskArtifact: TaskArtifact | undefined;
40
42
  protected _cargo: Cargo | undefined;
41
43
  protected _expanded: Expanded | undefined;
42
44
  constructor(_options?: OrderDrafts.Options);
45
+ get agentic(): Agentic;
43
46
  get taskGroup(): TaskGroup;
44
47
  get task(): Task;
45
48
  get taskArtifact(): TaskArtifact;
@@ -86,7 +89,7 @@ export declare class OrderDrafts {
86
89
  deleteV1(orderId: string, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<boolean>;
87
90
  private __deleteV1;
88
91
  /**
89
- * Validates the draft order for staging and returns all issues found. | () -> (OrderDraftValidationResult)
92
+ * Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
90
93
  *
91
94
  * @param {string} orderId
92
95
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -15,6 +15,7 @@ import * as core from "../../../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../../../errors/index.mjs";
18
+ import { Agentic } from "../resources/agentic/client/Client.mjs";
18
19
  import { TaskGroup } from "../resources/taskGroup/client/Client.mjs";
19
20
  import { Task } from "../resources/task/client/Client.mjs";
20
21
  import { TaskArtifact } from "../resources/taskArtifact/client/Client.mjs";
@@ -24,6 +25,10 @@ export class OrderDrafts {
24
25
  constructor(_options = {}) {
25
26
  this._options = _options;
26
27
  }
28
+ get agentic() {
29
+ var _a;
30
+ return ((_a = this._agentic) !== null && _a !== void 0 ? _a : (this._agentic = new Agentic(this._options)));
31
+ }
27
32
  get taskGroup() {
28
33
  var _a;
29
34
  return ((_a = this._taskGroup) !== null && _a !== void 0 ? _a : (this._taskGroup = new TaskGroup(this._options)));
@@ -229,7 +234,7 @@ export class OrderDrafts {
229
234
  });
230
235
  }
231
236
  /**
232
- * Validates the draft order for staging and returns all issues found. | () -> (OrderDraftValidationResult)
237
+ * Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
233
238
  *
234
239
  * @param {string} orderId
235
240
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,2 +1,2 @@
1
- export * from "./client/index.mjs";
2
1
  export * from "./resources/index.mjs";
2
+ export * from "./client/index.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./client/index.mjs";
2
1
  export * from "./resources/index.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,55 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../../../index.mjs";
7
+ export declare namespace Agentic {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class Agentic {
31
+ protected readonly _options: Agentic.Options;
32
+ constructor(_options?: Agentic.Options);
33
+ /**
34
+ * Populates an existing draft order with cargo, task groups, and tasks parsed from natural language. | (OrderBuilderReq) -> (OrderBuilderRes)
35
+ *
36
+ * @param {Chrt.OrderBuilderReq} request
37
+ * @param {Agentic.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.shipping.orderDrafts.agentic.newV1({
43
+ * order_short_id: "order_short_id",
44
+ * text: "text"
45
+ * })
46
+ */
47
+ newV1(request: Chrt.OrderBuilderReq, requestOptions?: Agentic.RequestOptions): core.HttpResponsePromise<Chrt.OrderBuilderRes>;
48
+ private __newV1;
49
+ /**
50
+ * Populates an existing draft order from natural language and streams progress events via SSE. | (OrderBuilderReq) -> (OrderBuilderStreamEvent)
51
+ */
52
+ newWithStreamingV1(request: Chrt.OrderBuilderReq, requestOptions?: Agentic.RequestOptions): core.HttpResponsePromise<core.Stream<Chrt.shipping.orderDrafts.OrderBuilderStreamEvent>>;
53
+ private __newWithStreamingV1;
54
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
55
+ }