@chrt-inc/typescript-sdk 1.861.0 → 1.866.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 (609) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/operations/client/Client.d.ts +3 -3
  3. package/dist/cjs/api/resources/operations/client/Client.js +13 -13
  4. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +1 -1
  5. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +1 -1
  6. package/dist/cjs/api/resources/operations/resources/index.d.ts +2 -2
  7. package/dist/cjs/api/resources/operations/resources/index.js +3 -3
  8. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +14 -13
  9. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +25 -21
  10. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +0 -1
  11. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts +0 -1
  12. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListsApplyToCaseV1Request.d.ts → OperationsTaskListsApplyToOrderV1Request.d.ts} +4 -1
  13. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +1 -1
  14. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +29 -3
  15. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +138 -12
  16. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +0 -1
  17. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +0 -1
  18. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +48 -0
  19. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -2
  20. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/client/Client.d.ts +80 -0
  22. package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/agentic → operations/resources/orderInternalMessages}/client/Client.js +52 -53
  23. package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.d.ts → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.d.ts} +1 -1
  24. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/client/requests/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.d.ts +15 -15
  26. package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.js +35 -32
  27. package/dist/cjs/api/resources/{shipping/resources/orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.d.ts → operations/resources/orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.ts} +2 -2
  28. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/requests/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  30. package/dist/cjs/api/resources/orgs/client/Client.js +7 -2
  31. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +21 -1
  32. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +90 -1
  33. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.ts +27 -0
  34. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  37. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +54 -0
  38. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +157 -0
  39. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +26 -0
  40. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
  42. package/dist/cjs/api/resources/shipping/client/Client.js +16 -21
  43. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -3
  44. package/dist/cjs/api/resources/shipping/resources/index.js +2 -4
  45. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  46. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  47. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +3 -3
  48. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +4 -4
  49. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  50. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +78 -0
  51. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +327 -2
  52. package/dist/{esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAssignReq.d.ts} +1 -1
  53. package/dist/{esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.d.ts} +2 -2
  54. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseAssignReq.d.ts → shipping/resources/orders/client/requests/OrdersUnassignReq.d.ts} +1 -1
  55. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseClientUpdate1.d.ts → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.ts} +3 -4
  56. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
  57. package/dist/cjs/api/resources/shipping/resources/orders/index.d.ts +1 -1
  58. package/dist/cjs/api/resources/shipping/resources/orders/index.js +1 -1
  59. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +212 -0
  60. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/Client.js +366 -117
  61. package/dist/cjs/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.ts → shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.ts} +1 -1
  62. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +14 -0
  63. package/dist/{esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts} +7 -7
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +6 -0
  65. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.d.ts +2 -1
  66. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.js +2 -1
  67. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.d.ts +16 -16
  68. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.js +24 -24
  69. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +1 -1
  70. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +1 -1
  71. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.d.ts +13 -25
  72. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.js +30 -74
  73. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.d.ts +0 -3
  74. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.js +1 -4
  75. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.d.ts +10 -10
  76. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.js +16 -16
  77. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +1 -1
  78. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +1 -1
  79. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.d.ts +7 -7
  80. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.js +12 -12
  81. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +1 -1
  82. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.d.ts +26 -26
  83. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.js +42 -42
  84. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -1
  85. package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts +1 -1
  86. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.js +17 -0
  88. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +108 -8
  89. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +456 -5
  90. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +56 -0
  91. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +60 -0
  92. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +2 -0
  93. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.d.ts +3 -0
  94. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.js +4 -1
  95. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +1 -1
  96. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +1 -1
  97. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +3 -3
  98. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +5 -5
  99. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +4 -4
  100. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +5 -5
  101. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +4 -4
  102. package/dist/cjs/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.ts +16 -0
  103. package/dist/cjs/api/types/OperationsOrderInternalMessageWebhookPayload.d.ts +17 -0
  104. package/dist/cjs/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.ts +16 -0
  105. package/dist/cjs/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.ts +14 -0
  106. package/dist/cjs/api/types/OperationsTask1.d.ts +0 -1
  107. package/dist/cjs/api/types/OperationsTaskExpandedListItem.d.ts +9 -0
  108. package/dist/cjs/api/types/{OrdersExpandedListRes.d.ts → OperationsTaskExpandedListRes.d.ts} +2 -2
  109. package/dist/cjs/api/types/OperationsTaskList1.d.ts +0 -1
  110. package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.d.ts → OperationsTaskListRemoveFromOrderRes1.d.ts} +2 -2
  111. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -2
  112. package/dist/cjs/api/types/Order1.d.ts +5 -3
  113. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.d.ts +15 -0
  114. package/dist/cjs/api/types/OrderDraftExpandedForShipper.d.ts +15 -0
  115. package/dist/cjs/api/types/{OrderDraftExpanded.d.ts → OrderExpandedForCoordinator.d.ts} +2 -3
  116. package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +14 -0
  117. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +15 -0
  118. package/dist/cjs/api/types/{OrderExpanded.d.ts → OrderExpandedForShipper.d.ts} +2 -2
  119. package/dist/{esm/api/types/CaseMessage1.d.mts → cjs/api/types/OrderInternalMessage1.d.ts} +1 -1
  120. package/dist/cjs/api/types/{CaseS3ObjectMetadata1.d.ts → OrderInternalMessageS3ObjectMetadata1.d.ts} +3 -3
  121. package/dist/cjs/api/types/OrderInternalMessages1.d.ts +14 -0
  122. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +41 -0
  123. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +23 -0
  124. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +41 -0
  125. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +37 -0
  126. package/dist/cjs/api/types/OrderProviderRoleEnum.d.ts +11 -0
  127. package/dist/cjs/api/types/{CaseSortByEnum.js → OrderProviderRoleEnum.js} +4 -4
  128. package/dist/cjs/api/types/OrderProviderRoleFilterEnum.d.ts +9 -0
  129. package/dist/cjs/api/types/OrderProviderRoleFilterEnum.js +11 -0
  130. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +12 -0
  131. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.js +5 -0
  132. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +9 -0
  133. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.js +5 -0
  134. package/dist/cjs/api/types/OrderTemplate1.d.ts +3 -3
  135. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +3 -3
  136. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +8 -0
  137. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.js +5 -0
  138. package/dist/cjs/api/types/{CaseListRes.d.ts → OrdersExpandedListForExecutorRes.d.ts} +2 -2
  139. package/dist/cjs/api/types/OrdersExpandedListForExecutorRes.js +5 -0
  140. package/dist/cjs/api/types/{CasesExpandedListRes.d.ts → OrdersExpandedListForProviderRes.d.ts} +2 -2
  141. package/dist/cjs/api/types/OrdersExpandedListForProviderRes.js +5 -0
  142. package/dist/cjs/api/types/{OrderDraftExpandedListRes.d.ts → OrdersExpandedListForShipperRes.d.ts} +2 -2
  143. package/dist/cjs/api/types/OrdersExpandedListForShipperRes.js +5 -0
  144. package/dist/cjs/api/types/{OrdersNewDraftRes.d.ts → OrdersOpenDraftRes.d.ts} +1 -1
  145. package/dist/cjs/api/types/OrdersOpenDraftRes.js +5 -0
  146. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +20 -0
  147. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +5 -0
  148. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.d.ts +8 -0
  149. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +5 -0
  150. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +8 -0
  151. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +5 -0
  152. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +8 -0
  153. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +10 -0
  154. package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.d.ts +8 -0
  155. package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.js +10 -0
  156. package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +14 -0
  157. package/dist/cjs/api/types/ProviderProviderConnectionListItem.js +5 -0
  158. package/dist/cjs/api/types/ProviderProviderConnectionListRes.d.ts +8 -0
  159. package/dist/cjs/api/types/ProviderProviderConnectionListRes.js +5 -0
  160. package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +11 -0
  161. package/dist/cjs/api/types/TaskListToApplyToOrder1.js +5 -0
  162. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +0 -1
  163. package/dist/cjs/api/types/index.d.ts +37 -22
  164. package/dist/cjs/api/types/index.js +37 -22
  165. package/dist/cjs/version.d.ts +1 -1
  166. package/dist/cjs/version.js +1 -1
  167. package/dist/esm/Client.mjs +2 -2
  168. package/dist/esm/api/resources/operations/client/Client.d.mts +3 -3
  169. package/dist/esm/api/resources/operations/client/Client.mjs +5 -5
  170. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +1 -1
  171. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +1 -1
  172. package/dist/esm/api/resources/operations/resources/index.d.mts +2 -2
  173. package/dist/esm/api/resources/operations/resources/index.mjs +2 -2
  174. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +14 -13
  175. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +25 -21
  176. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +0 -1
  177. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts +0 -1
  178. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListsApplyToCaseV1Request.d.mts → OperationsTaskListsApplyToOrderV1Request.d.mts} +4 -1
  179. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -1
  180. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +29 -3
  181. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +138 -12
  182. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +0 -1
  183. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +0 -1
  184. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +48 -0
  185. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -2
  186. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  187. package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/Client.d.mts +80 -0
  188. package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/agentic → operations/resources/orderInternalMessages}/client/Client.mjs +50 -51
  189. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.d.mts → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.d.mts} +1 -1
  190. package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/requests/index.d.mts +1 -0
  191. package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.d.mts +15 -15
  192. package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.mjs +35 -32
  193. package/dist/esm/api/resources/{shipping/resources/orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.d.mts → operations/resources/orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.mts} +2 -2
  194. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/requests/index.d.mts +1 -0
  195. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  196. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  197. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +21 -1
  198. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +90 -1
  199. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +27 -0
  200. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
  201. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  202. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  203. package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +54 -0
  204. package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +120 -0
  205. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +26 -0
  206. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +1 -0
  207. package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
  208. package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
  209. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -3
  210. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -3
  211. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  212. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  213. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +3 -3
  214. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +4 -4
  215. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  216. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +78 -0
  217. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +325 -0
  218. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.d.mts → shipping/resources/orders/client/requests/OrdersAssignReq.d.mts} +1 -1
  219. package/dist/{cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.d.mts} +2 -2
  220. package/dist/{cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersUnassignReq.d.mts} +1 -1
  221. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseClientUpdate1.d.mts → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.mts} +3 -4
  222. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
  223. package/dist/esm/api/resources/shipping/resources/orders/index.d.mts +1 -1
  224. package/dist/esm/api/resources/shipping/resources/orders/index.mjs +1 -1
  225. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +212 -0
  226. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/Client.mjs +354 -105
  227. package/dist/esm/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.mts → shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.mts} +1 -1
  228. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +14 -0
  229. package/dist/{cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts → esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts} +7 -7
  230. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +6 -0
  231. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.d.mts +2 -1
  232. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.mjs +2 -1
  233. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.d.mts +16 -16
  234. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.mjs +24 -24
  235. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +1 -1
  236. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +1 -1
  237. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.d.mts +13 -25
  238. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.mjs +30 -74
  239. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.d.mts +0 -3
  240. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.mjs +0 -3
  241. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.d.mts +10 -10
  242. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.mjs +16 -16
  243. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +1 -1
  244. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +1 -1
  245. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.d.mts +7 -7
  246. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.mjs +12 -12
  247. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +1 -1
  248. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.d.mts +26 -26
  249. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.mjs +42 -42
  250. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -1
  251. package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts +1 -1
  252. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.mts +1 -0
  253. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.mjs +1 -0
  254. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +108 -8
  255. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +456 -5
  256. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +56 -0
  257. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +60 -0
  258. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +2 -0
  259. package/dist/esm/api/resources/shipping/resources/orders/resources/index.d.mts +3 -0
  260. package/dist/esm/api/resources/shipping/resources/orders/resources/index.mjs +3 -0
  261. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +1 -1
  262. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +1 -1
  263. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +3 -3
  264. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +5 -5
  265. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +4 -4
  266. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +5 -5
  267. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +4 -4
  268. package/dist/esm/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.mts +16 -0
  269. package/dist/esm/api/types/OperationsOrderInternalMessageWebhookPayload.d.mts +17 -0
  270. package/dist/esm/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.mts +16 -0
  271. package/dist/esm/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.mts +14 -0
  272. package/dist/esm/api/types/OperationsTask1.d.mts +0 -1
  273. package/dist/esm/api/types/OperationsTaskExpandedListItem.d.mts +9 -0
  274. package/dist/esm/api/types/{OrdersExpandedListRes.d.mts → OperationsTaskExpandedListRes.d.mts} +2 -2
  275. package/dist/esm/api/types/OperationsTaskList1.d.mts +0 -1
  276. package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.d.mts → OperationsTaskListRemoveFromOrderRes1.d.mts} +2 -2
  277. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -2
  278. package/dist/esm/api/types/Order1.d.mts +5 -3
  279. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.d.mts +15 -0
  280. package/dist/esm/api/types/OrderDraftExpandedForShipper.d.mts +15 -0
  281. package/dist/esm/api/types/{OrderDraftExpanded.d.mts → OrderExpandedForCoordinator.d.mts} +2 -3
  282. package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +14 -0
  283. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +15 -0
  284. package/dist/esm/api/types/{OrderExpanded.d.mts → OrderExpandedForShipper.d.mts} +2 -2
  285. package/dist/{cjs/api/types/CaseMessage1.d.ts → esm/api/types/OrderInternalMessage1.d.mts} +1 -1
  286. package/dist/esm/api/types/{CaseS3ObjectMetadata1.d.mts → OrderInternalMessageS3ObjectMetadata1.d.mts} +3 -3
  287. package/dist/esm/api/types/OrderInternalMessages1.d.mts +14 -0
  288. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +41 -0
  289. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +23 -0
  290. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +41 -0
  291. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +37 -0
  292. package/dist/esm/api/types/OrderProviderRoleEnum.d.mts +11 -0
  293. package/dist/esm/api/types/OrderProviderRoleEnum.mjs +7 -0
  294. package/dist/esm/api/types/OrderProviderRoleFilterEnum.d.mts +9 -0
  295. package/dist/esm/api/types/OrderProviderRoleFilterEnum.mjs +8 -0
  296. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +12 -0
  297. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.mjs +4 -0
  298. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +9 -0
  299. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.mjs +4 -0
  300. package/dist/esm/api/types/OrderTemplate1.d.mts +3 -3
  301. package/dist/esm/api/types/OrderTemplateCore1.d.mts +3 -3
  302. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +8 -0
  303. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.mjs +4 -0
  304. package/dist/esm/api/types/{OrderDraftExpandedListRes.d.mts → OrdersExpandedListForExecutorRes.d.mts} +2 -2
  305. package/dist/esm/api/types/OrdersExpandedListForExecutorRes.mjs +4 -0
  306. package/dist/esm/api/types/{CasesExpandedListRes.d.mts → OrdersExpandedListForProviderRes.d.mts} +2 -2
  307. package/dist/esm/api/types/OrdersExpandedListForProviderRes.mjs +4 -0
  308. package/dist/esm/api/types/{CaseListRes.d.mts → OrdersExpandedListForShipperRes.d.mts} +2 -2
  309. package/dist/esm/api/types/OrdersExpandedListForShipperRes.mjs +4 -0
  310. package/dist/esm/api/types/{OrdersNewDraftRes.d.mts → OrdersOpenDraftRes.d.mts} +1 -1
  311. package/dist/esm/api/types/OrdersOpenDraftRes.mjs +4 -0
  312. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +20 -0
  313. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +4 -0
  314. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +8 -0
  315. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +4 -0
  316. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +8 -0
  317. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +4 -0
  318. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +8 -0
  319. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +7 -0
  320. package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.d.mts +8 -0
  321. package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.mjs +7 -0
  322. package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +14 -0
  323. package/dist/esm/api/types/ProviderProviderConnectionListItem.mjs +4 -0
  324. package/dist/esm/api/types/ProviderProviderConnectionListRes.d.mts +8 -0
  325. package/dist/esm/api/types/ProviderProviderConnectionListRes.mjs +4 -0
  326. package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +11 -0
  327. package/dist/esm/api/types/TaskListToApplyToOrder1.mjs +4 -0
  328. package/dist/esm/api/types/UngroupedOrderRow.d.mts +0 -1
  329. package/dist/esm/api/types/index.d.mts +37 -22
  330. package/dist/esm/api/types/index.mjs +37 -22
  331. package/dist/esm/version.d.mts +1 -1
  332. package/dist/esm/version.mjs +1 -1
  333. package/package.json +1 -1
  334. package/reference.md +2191 -2125
  335. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +0 -276
  336. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +0 -1117
  337. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +0 -13
  338. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.ts +0 -17
  339. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +0 -31
  340. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -8
  341. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.ts +0 -1
  342. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +0 -168
  343. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.ts +0 -16
  344. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +0 -6
  345. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +0 -65
  346. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.ts +0 -2
  347. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.js +0 -18
  348. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +0 -37
  349. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.ts +0 -1
  350. package/dist/cjs/api/types/Case1.d.ts +0 -19
  351. package/dist/cjs/api/types/CaseSortByEnum.d.ts +0 -8
  352. package/dist/cjs/api/types/CaseTypeaheadFieldEnum.d.ts +0 -4
  353. package/dist/cjs/api/types/CaseTypeaheadResult.d.ts +0 -8
  354. package/dist/cjs/api/types/CasesExpandedListItem.d.ts +0 -15
  355. package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.d.ts +0 -8
  356. package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +0 -16
  357. package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +0 -15
  358. package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +0 -14
  359. package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +0 -14
  360. package/dist/cjs/api/types/OrderDraftSortByEnum.d.ts +0 -4
  361. package/dist/cjs/api/types/TaskListToApplyToCase1.d.ts +0 -7
  362. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +0 -276
  363. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +0 -1080
  364. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +0 -13
  365. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.mts +0 -17
  366. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +0 -31
  367. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -8
  368. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.mts +0 -1
  369. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +0 -168
  370. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.mts +0 -16
  371. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +0 -6
  372. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +0 -65
  373. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.mts +0 -2
  374. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.mjs +0 -2
  375. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +0 -37
  376. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.mts +0 -1
  377. package/dist/esm/api/types/Case1.d.mts +0 -19
  378. package/dist/esm/api/types/CaseSortByEnum.d.mts +0 -8
  379. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -7
  380. package/dist/esm/api/types/CaseTypeaheadFieldEnum.d.mts +0 -4
  381. package/dist/esm/api/types/CaseTypeaheadResult.d.mts +0 -8
  382. package/dist/esm/api/types/CasesExpandedListItem.d.mts +0 -15
  383. package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.d.mts +0 -8
  384. package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +0 -16
  385. package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +0 -15
  386. package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +0 -14
  387. package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +0 -14
  388. package/dist/esm/api/types/OrderDraftSortByEnum.d.mts +0 -4
  389. package/dist/esm/api/types/TaskListToApplyToCase1.d.mts +0 -7
  390. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.js} +0 -0
  391. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.js → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.js} +0 -0
  392. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.ts +0 -0
  393. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.js +0 -0
  394. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.js → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.js} +0 -0
  395. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.js +0 -0
  396. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.ts +0 -0
  397. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.js +0 -0
  398. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.ts +0 -0
  399. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.js +0 -0
  400. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.ts +0 -0
  401. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.js +0 -0
  402. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.js → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.js} +0 -0
  403. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.js +0 -0
  404. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.ts +0 -0
  405. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.js +0 -0
  406. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.js → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.js} +0 -0
  407. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.d.ts +0 -0
  408. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.js +0 -0
  409. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.js → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js} +0 -0
  410. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/requests/index.js +0 -0
  411. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.d.ts +0 -0
  412. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.js +0 -0
  413. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.js → shipping/resources/orders/client/requests/OrdersAssignReq.js} +0 -0
  414. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.js → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.js} +0 -0
  415. /package/dist/cjs/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.js → shipping/resources/orders/client/requests/OrdersUnassignReq.js} +0 -0
  416. /package/dist/cjs/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.js} +0 -0
  417. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.d.ts +0 -0
  418. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.js +0 -0
  419. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.js → orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.js} +0 -0
  420. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.js → orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
  421. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.d.ts +0 -0
  422. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.js +0 -0
  423. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.d.ts +0 -0
  424. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.js +0 -0
  425. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/OrdersNewDraftReq.js → orders/resources/drafts/client/requests/OrdersOpenDraftReq.js} +0 -0
  426. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.d.ts +0 -0
  427. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.js +0 -0
  428. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic/client → orders/resources/drafts/client/requests}/index.js +0 -0
  429. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.d.ts +0 -0
  430. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.js +0 -0
  431. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.js +0 -0
  432. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +0 -0
  433. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js +0 -0
  434. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +0 -0
  435. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.js +0 -0
  436. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js +0 -0
  437. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.d.ts +0 -0
  438. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.js +0 -0
  439. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.d.ts +0 -0
  440. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.js +0 -0
  441. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts/resources/expanded}/client/index.d.ts +0 -0
  442. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests → orders/resources/drafts/resources/expanded/client}/index.js +0 -0
  443. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.d.ts +0 -0
  444. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.js +0 -0
  445. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.d.ts +0 -0
  446. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.js +0 -0
  447. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.js +0 -0
  448. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.js +0 -0
  449. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.d.ts +0 -0
  450. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.js +0 -0
  451. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.d.ts +0 -0
  452. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.js +0 -0
  453. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.d.ts +0 -0
  454. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.js +0 -0
  455. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js +0 -0
  456. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.d.ts +0 -0
  457. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.js +0 -0
  458. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.d.ts +0 -0
  459. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.js +0 -0
  460. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.d.ts +0 -0
  461. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.js +0 -0
  462. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +0 -0
  463. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js +0 -0
  464. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js +0 -0
  465. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +0 -0
  466. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js +0 -0
  467. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +0 -0
  468. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.js +0 -0
  469. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.ts +0 -0
  470. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.js +0 -0
  471. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.js +0 -0
  472. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.d.ts +0 -0
  473. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.js +0 -0
  474. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.d.ts +0 -0
  475. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.js +0 -0
  476. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.d.ts +0 -0
  477. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.js +0 -0
  478. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.js → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js} +0 -0
  479. /package/dist/cjs/api/{types/Case1.js → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
  480. /package/dist/cjs/api/types/{CaseListRes.js → OperationsOrderDepartmentAssignedWebhookPayload.js} +0 -0
  481. /package/dist/cjs/api/types/{CaseMessage1.js → OperationsOrderInternalMessageWebhookPayload.js} +0 -0
  482. /package/dist/cjs/api/types/{CaseS3ObjectMetadata1.js → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.js} +0 -0
  483. /package/dist/cjs/api/types/{CaseTypeaheadFieldEnum.js → OperationsOrderOperatorAssignedWebhookPayload.js} +0 -0
  484. /package/dist/cjs/api/types/{CaseTypeaheadResult.js → OperationsTaskExpandedListItem.js} +0 -0
  485. /package/dist/cjs/api/types/{CasesExpandedListItem.js → OperationsTaskExpandedListRes.js} +0 -0
  486. /package/dist/cjs/api/types/{CasesExpandedListRes.js → OperationsTaskListRemoveFromOrderRes1.js} +0 -0
  487. /package/dist/cjs/api/types/{CasesExpandedListShippingTaskGroup.js → OrderDraftExpandedForCoordinator.js} +0 -0
  488. /package/dist/cjs/api/types/{OperationsCaseGroupAssignedWebhookPayload.js → OrderDraftExpandedForShipper.js} +0 -0
  489. /package/dist/cjs/api/types/{OperationsCaseMessageWebhookPayload.js → OrderExpandedForCoordinator.js} +0 -0
  490. /package/dist/cjs/api/types/{OperationsCaseOperatorAssignedWebhookPayload.js → OrderExpandedForExecutor.js} +0 -0
  491. /package/dist/cjs/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.js → OrderExpandedForProvider.js} +0 -0
  492. /package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.js → OrderExpandedForShipper.js} +0 -0
  493. /package/dist/cjs/api/types/{OrderDraftExpanded.js → OrderInternalMessage1.js} +0 -0
  494. /package/dist/cjs/api/types/{OrderDraftExpandedListRes.js → OrderInternalMessageS3ObjectMetadata1.js} +0 -0
  495. /package/dist/cjs/api/types/{OrderDraftSortByEnum.js → OrderInternalMessages1.js} +0 -0
  496. /package/dist/cjs/api/types/{OrderExpanded.js → OrderLimitedForCoordinator1.js} +0 -0
  497. /package/dist/cjs/api/types/{OrdersExpandedListRes.js → OrderLimitedForExecutor1.js} +0 -0
  498. /package/dist/cjs/api/types/{OrdersNewDraftRes.js → OrderLimitedForProvider1.js} +0 -0
  499. /package/dist/cjs/api/types/{TaskListToApplyToCase1.js → OrderLimitedForShipper1.js} +0 -0
  500. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.mjs} +0 -0
  501. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.mjs → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.mjs} +0 -0
  502. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.mts +0 -0
  503. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.mjs +0 -0
  504. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.mjs → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.mjs} +0 -0
  505. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.mjs +0 -0
  506. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.mts +0 -0
  507. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.mjs +0 -0
  508. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.mts +0 -0
  509. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.mjs +0 -0
  510. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.mts +0 -0
  511. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.mjs +0 -0
  512. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.mjs → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.mjs} +0 -0
  513. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.mjs +0 -0
  514. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.mts +0 -0
  515. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.mjs +0 -0
  516. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.mjs → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.mjs} +0 -0
  517. /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.d.mts +0 -0
  518. /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.mjs +0 -0
  519. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.mjs → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs} +0 -0
  520. /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/requests/index.mjs +0 -0
  521. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.d.mts +0 -0
  522. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.mjs +0 -0
  523. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.mjs → shipping/resources/orders/client/requests/OrdersAssignReq.mjs} +0 -0
  524. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.mjs → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.mjs} +0 -0
  525. /package/dist/esm/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.mjs → shipping/resources/orders/client/requests/OrdersUnassignReq.mjs} +0 -0
  526. /package/dist/esm/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.mjs} +0 -0
  527. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.d.mts +0 -0
  528. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.mjs +0 -0
  529. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.mjs → orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.mjs} +0 -0
  530. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.mjs → orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
  531. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.d.mts +0 -0
  532. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.mjs +0 -0
  533. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.d.mts +0 -0
  534. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.mjs +0 -0
  535. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/OrdersNewDraftReq.mjs → orders/resources/drafts/client/requests/OrdersOpenDraftReq.mjs} +0 -0
  536. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.d.mts +0 -0
  537. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.mjs +0 -0
  538. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic/client → orders/resources/drafts/client/requests}/index.mjs +0 -0
  539. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.d.mts +0 -0
  540. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.mjs +0 -0
  541. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs +0 -0
  542. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +0 -0
  543. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs +0 -0
  544. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +0 -0
  545. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.mjs +0 -0
  546. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs +0 -0
  547. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.d.mts +0 -0
  548. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.mjs +0 -0
  549. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.d.mts +0 -0
  550. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.mjs +0 -0
  551. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts/resources/expanded}/client/index.d.mts +0 -0
  552. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests → orders/resources/drafts/resources/expanded/client}/index.mjs +0 -0
  553. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.d.mts +0 -0
  554. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.mjs +0 -0
  555. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.d.mts +0 -0
  556. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.mjs +0 -0
  557. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs +0 -0
  558. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs +0 -0
  559. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.d.mts +0 -0
  560. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.mjs +0 -0
  561. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.d.mts +0 -0
  562. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.mjs +0 -0
  563. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.d.mts +0 -0
  564. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.mjs +0 -0
  565. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs +0 -0
  566. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.d.mts +0 -0
  567. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.mjs +0 -0
  568. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.d.mts +0 -0
  569. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.mjs +0 -0
  570. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.d.mts +0 -0
  571. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.mjs +0 -0
  572. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +0 -0
  573. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs +0 -0
  574. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.mjs +0 -0
  575. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +0 -0
  576. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs +0 -0
  577. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +0 -0
  578. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.mjs +0 -0
  579. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.mts +0 -0
  580. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.mjs +0 -0
  581. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.mjs +0 -0
  582. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.d.mts +0 -0
  583. /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.mjs +0 -0
  584. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.d.mts +0 -0
  585. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.mjs +0 -0
  586. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.d.mts +0 -0
  587. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.mjs +0 -0
  588. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.mjs → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs} +0 -0
  589. /package/dist/esm/api/{types/Case1.mjs → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
  590. /package/dist/esm/api/types/{CaseListRes.mjs → OperationsOrderDepartmentAssignedWebhookPayload.mjs} +0 -0
  591. /package/dist/esm/api/types/{CaseMessage1.mjs → OperationsOrderInternalMessageWebhookPayload.mjs} +0 -0
  592. /package/dist/esm/api/types/{CaseS3ObjectMetadata1.mjs → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.mjs} +0 -0
  593. /package/dist/esm/api/types/{CaseTypeaheadFieldEnum.mjs → OperationsOrderOperatorAssignedWebhookPayload.mjs} +0 -0
  594. /package/dist/esm/api/types/{CaseTypeaheadResult.mjs → OperationsTaskExpandedListItem.mjs} +0 -0
  595. /package/dist/esm/api/types/{CasesExpandedListItem.mjs → OperationsTaskExpandedListRes.mjs} +0 -0
  596. /package/dist/esm/api/types/{CasesExpandedListRes.mjs → OperationsTaskListRemoveFromOrderRes1.mjs} +0 -0
  597. /package/dist/esm/api/types/{CasesExpandedListShippingTaskGroup.mjs → OrderDraftExpandedForCoordinator.mjs} +0 -0
  598. /package/dist/esm/api/types/{OperationsCaseGroupAssignedWebhookPayload.mjs → OrderDraftExpandedForShipper.mjs} +0 -0
  599. /package/dist/esm/api/types/{OperationsCaseMessageWebhookPayload.mjs → OrderExpandedForCoordinator.mjs} +0 -0
  600. /package/dist/esm/api/types/{OperationsCaseOperatorAssignedWebhookPayload.mjs → OrderExpandedForExecutor.mjs} +0 -0
  601. /package/dist/esm/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.mjs → OrderExpandedForProvider.mjs} +0 -0
  602. /package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.mjs → OrderExpandedForShipper.mjs} +0 -0
  603. /package/dist/esm/api/types/{OrderDraftExpanded.mjs → OrderInternalMessage1.mjs} +0 -0
  604. /package/dist/esm/api/types/{OrderDraftExpandedListRes.mjs → OrderInternalMessageS3ObjectMetadata1.mjs} +0 -0
  605. /package/dist/esm/api/types/{OrderDraftSortByEnum.mjs → OrderInternalMessages1.mjs} +0 -0
  606. /package/dist/esm/api/types/{OrderExpanded.mjs → OrderLimitedForCoordinator1.mjs} +0 -0
  607. /package/dist/esm/api/types/{OrdersExpandedListRes.mjs → OrderLimitedForExecutor1.mjs} +0 -0
  608. /package/dist/esm/api/types/{OrdersNewDraftRes.mjs → OrderLimitedForProvider1.mjs} +0 -0
  609. /package/dist/esm/api/types/{TaskListToApplyToCase1.mjs → OrderLimitedForShipper1.mjs} +0 -0
@@ -51,14 +51,84 @@ const core = __importStar(require("../../../../../../core/index.js"));
51
51
  const Chrt = __importStar(require("../../../../../index.js"));
52
52
  const headers_js_1 = require("../../../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../../../errors/index.js"));
54
- const Client_js_1 = require("../resources/expanded/client/Client.js");
54
+ const Client_js_1 = require("../resources/drafts/client/Client.js");
55
+ const Client_js_2 = require("../resources/expanded/client/Client.js");
55
56
  class Orders {
56
57
  constructor(_options = {}) {
57
58
  this._options = _options;
58
59
  }
60
+ get drafts() {
61
+ var _a;
62
+ return ((_a = this._drafts) !== null && _a !== void 0 ? _a : (this._drafts = new Client_js_1.Drafts(this._options)));
63
+ }
59
64
  get expanded() {
60
65
  var _a;
61
- return ((_a = this._expanded) !== null && _a !== void 0 ? _a : (this._expanded = new Client_js_1.Expanded(this._options)));
66
+ return ((_a = this._expanded) !== null && _a !== void 0 ? _a : (this._expanded = new Client_js_2.Expanded(this._options)));
67
+ }
68
+ /**
69
+ * Adds operator(s) to the caller's assignees on the order. Coordinator writes coordinator_assigned_user_ids; executor writes executor_assigned_user_ids on matching task_group_details. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersAssignReq) -> (bool)
70
+ *
71
+ * @param {string} orderId
72
+ * @param {Chrt.shipping.OrdersAssignReq} request
73
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.shipping.orders.assignV1("order_id", {
79
+ * operator_user_ids: ["operator_user_ids"]
80
+ * })
81
+ */
82
+ assignV1(orderId, request, requestOptions) {
83
+ return core.HttpResponsePromise.fromPromise(this.__assignV1(orderId, request, requestOptions));
84
+ }
85
+ __assignV1(orderId, request, requestOptions) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ var _a, _b, _c, _d;
88
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
89
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
90
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/assign/v1/${encodeURIComponent(orderId)}`),
91
+ method: "PATCH",
92
+ headers: _headers,
93
+ contentType: "application/json",
94
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
95
+ requestType: "json",
96
+ body: request,
97
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
98
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
99
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
100
+ });
101
+ if (_response.ok) {
102
+ return { data: _response.body, rawResponse: _response.rawResponse };
103
+ }
104
+ if (_response.error.reason === "status-code") {
105
+ switch (_response.error.statusCode) {
106
+ case 422:
107
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
108
+ default:
109
+ throw new errors.ChrtError({
110
+ statusCode: _response.error.statusCode,
111
+ body: _response.error.body,
112
+ rawResponse: _response.rawResponse,
113
+ });
114
+ }
115
+ }
116
+ switch (_response.error.reason) {
117
+ case "non-json":
118
+ throw new errors.ChrtError({
119
+ statusCode: _response.error.statusCode,
120
+ body: _response.error.rawBody,
121
+ rawResponse: _response.rawResponse,
122
+ });
123
+ case "timeout":
124
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/assign/v1/{order_id}.");
125
+ case "unknown":
126
+ throw new errors.ChrtError({
127
+ message: _response.error.errorMessage,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ }
131
+ });
62
132
  }
63
133
  /**
64
134
  * Cancels an order and non-terminal child entities in a transaction. | authz_personas=[lig_owner_operators] | () -> (bool)
@@ -242,6 +312,133 @@ class Orders {
242
312
  }
243
313
  });
244
314
  }
315
+ /**
316
+ * Returns the department this order would map to from the shipper routing rules — a non-binding default for the UI. Department is never auto-applied; the frontend applies it explicitly via update_department_and_label. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (PydanticObjectId | None)
317
+ *
318
+ * @param {string} orderId
319
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
320
+ *
321
+ * @throws {@link Chrt.UnprocessableEntityError}
322
+ *
323
+ * @example
324
+ * await client.shipping.orders.getSuggestedDepartmentV1("order_id")
325
+ */
326
+ getSuggestedDepartmentV1(orderId, requestOptions) {
327
+ return core.HttpResponsePromise.fromPromise(this.__getSuggestedDepartmentV1(orderId, requestOptions));
328
+ }
329
+ __getSuggestedDepartmentV1(orderId, requestOptions) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ var _a, _b, _c, _d;
332
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
333
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
334
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/suggested_department/v1/${encodeURIComponent(orderId)}`),
335
+ method: "GET",
336
+ headers: _headers,
337
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
338
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
339
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
340
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
341
+ });
342
+ if (_response.ok) {
343
+ return { data: _response.body, rawResponse: _response.rawResponse };
344
+ }
345
+ if (_response.error.reason === "status-code") {
346
+ switch (_response.error.statusCode) {
347
+ case 422:
348
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
349
+ default:
350
+ throw new errors.ChrtError({
351
+ statusCode: _response.error.statusCode,
352
+ body: _response.error.body,
353
+ rawResponse: _response.rawResponse,
354
+ });
355
+ }
356
+ }
357
+ switch (_response.error.reason) {
358
+ case "non-json":
359
+ throw new errors.ChrtError({
360
+ statusCode: _response.error.statusCode,
361
+ body: _response.error.rawBody,
362
+ rawResponse: _response.rawResponse,
363
+ });
364
+ case "timeout":
365
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/orders/suggested_department/v1/{order_id}.");
366
+ case "unknown":
367
+ throw new errors.ChrtError({
368
+ message: _response.error.errorMessage,
369
+ rawResponse: _response.rawResponse,
370
+ });
371
+ }
372
+ });
373
+ }
374
+ /**
375
+ * Returns distinct label values matching the query for orders where the caller is coordinator (coordinator_label) or executor (task_group_details.executor_label). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[str])
376
+ *
377
+ * @param {Chrt.shipping.OrdersTypeaheadLabelV1Request} request
378
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
379
+ *
380
+ * @throws {@link Chrt.UnprocessableEntityError}
381
+ *
382
+ * @example
383
+ * await client.shipping.orders.typeaheadLabelV1({
384
+ * query: "query",
385
+ * limit: 1
386
+ * })
387
+ */
388
+ typeaheadLabelV1(request, requestOptions) {
389
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadLabelV1(request, requestOptions));
390
+ }
391
+ __typeaheadLabelV1(request, requestOptions) {
392
+ return __awaiter(this, void 0, void 0, function* () {
393
+ var _a, _b, _c, _d, _e;
394
+ const { query, limit } = request;
395
+ const _queryParams = {};
396
+ _queryParams["query"] = query;
397
+ if (limit !== undefined) {
398
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
399
+ }
400
+ let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
401
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
402
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping/orders/typeahead/label/v1"),
403
+ method: "GET",
404
+ headers: _headers,
405
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
406
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
407
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
408
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
409
+ });
410
+ if (_response.ok) {
411
+ return { data: _response.body, rawResponse: _response.rawResponse };
412
+ }
413
+ if (_response.error.reason === "status-code") {
414
+ switch (_response.error.statusCode) {
415
+ case 422:
416
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
417
+ default:
418
+ throw new errors.ChrtError({
419
+ statusCode: _response.error.statusCode,
420
+ body: _response.error.body,
421
+ rawResponse: _response.rawResponse,
422
+ });
423
+ }
424
+ }
425
+ switch (_response.error.reason) {
426
+ case "non-json":
427
+ throw new errors.ChrtError({
428
+ statusCode: _response.error.statusCode,
429
+ body: _response.error.rawBody,
430
+ rawResponse: _response.rawResponse,
431
+ });
432
+ case "timeout":
433
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/orders/typeahead/label/v1.");
434
+ case "unknown":
435
+ throw new errors.ChrtError({
436
+ message: _response.error.errorMessage,
437
+ rawResponse: _response.rawResponse,
438
+ });
439
+ }
440
+ });
441
+ }
245
442
  /**
246
443
  * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches visible non-draft orders and caller-created draft orders. | authz: allowed_org_types=[provider, shipper], min_org_role=operator | () -> (list[OrderTypeaheadResult])
247
444
  *
@@ -310,6 +507,134 @@ class Orders {
310
507
  }
311
508
  });
312
509
  }
510
+ /**
511
+ * Removes operator(s) from the caller's assignees on the order. Coordinator writes coordinator_assigned_user_ids; executor writes executor_assigned_user_ids on matching task_group_details. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersUnassignReq) -> (bool)
512
+ *
513
+ * @param {string} orderId
514
+ * @param {Chrt.shipping.OrdersUnassignReq} request
515
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
516
+ *
517
+ * @throws {@link Chrt.UnprocessableEntityError}
518
+ *
519
+ * @example
520
+ * await client.shipping.orders.unassignV1("order_id", {
521
+ * operator_user_ids: ["operator_user_ids"]
522
+ * })
523
+ */
524
+ unassignV1(orderId, request, requestOptions) {
525
+ return core.HttpResponsePromise.fromPromise(this.__unassignV1(orderId, request, requestOptions));
526
+ }
527
+ __unassignV1(orderId, request, requestOptions) {
528
+ return __awaiter(this, void 0, void 0, function* () {
529
+ var _a, _b, _c, _d;
530
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
531
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
532
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/unassign/v1/${encodeURIComponent(orderId)}`),
533
+ method: "PATCH",
534
+ headers: _headers,
535
+ contentType: "application/json",
536
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
537
+ requestType: "json",
538
+ body: request,
539
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
540
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
541
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
542
+ });
543
+ if (_response.ok) {
544
+ return { data: _response.body, rawResponse: _response.rawResponse };
545
+ }
546
+ if (_response.error.reason === "status-code") {
547
+ switch (_response.error.statusCode) {
548
+ case 422:
549
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
550
+ default:
551
+ throw new errors.ChrtError({
552
+ statusCode: _response.error.statusCode,
553
+ body: _response.error.body,
554
+ rawResponse: _response.rawResponse,
555
+ });
556
+ }
557
+ }
558
+ switch (_response.error.reason) {
559
+ case "non-json":
560
+ throw new errors.ChrtError({
561
+ statusCode: _response.error.statusCode,
562
+ body: _response.error.rawBody,
563
+ rawResponse: _response.rawResponse,
564
+ });
565
+ case "timeout":
566
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/unassign/v1/{order_id}.");
567
+ case "unknown":
568
+ throw new errors.ChrtError({
569
+ message: _response.error.errorMessage,
570
+ rawResponse: _response.rawResponse,
571
+ });
572
+ }
573
+ });
574
+ }
575
+ /**
576
+ * Updates department_id and/or label for the caller's role on the order. Coordinator writes coordinator_* fields; executor writes executor_* fields on matching task_group_details rows. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersUpdateDepartmentAndLabelReq) -> (bool)
577
+ *
578
+ * @param {string} orderId
579
+ * @param {Chrt.shipping.OrdersUpdateDepartmentAndLabelReq} request
580
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
581
+ *
582
+ * @throws {@link Chrt.UnprocessableEntityError}
583
+ *
584
+ * @example
585
+ * await client.shipping.orders.updateDepartmentAndLabelV1("order_id")
586
+ */
587
+ updateDepartmentAndLabelV1(orderId, request = {}, requestOptions) {
588
+ return core.HttpResponsePromise.fromPromise(this.__updateDepartmentAndLabelV1(orderId, request, requestOptions));
589
+ }
590
+ __updateDepartmentAndLabelV1(orderId_1) {
591
+ return __awaiter(this, arguments, void 0, function* (orderId, request = {}, requestOptions) {
592
+ var _a, _b, _c, _d;
593
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
594
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
595
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/update_department_and_label/v1/${encodeURIComponent(orderId)}`),
596
+ method: "PATCH",
597
+ headers: _headers,
598
+ contentType: "application/json",
599
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
600
+ requestType: "json",
601
+ body: request,
602
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
603
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
604
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
605
+ });
606
+ if (_response.ok) {
607
+ return { data: _response.body, rawResponse: _response.rawResponse };
608
+ }
609
+ if (_response.error.reason === "status-code") {
610
+ switch (_response.error.statusCode) {
611
+ case 422:
612
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
613
+ default:
614
+ throw new errors.ChrtError({
615
+ statusCode: _response.error.statusCode,
616
+ body: _response.error.body,
617
+ rawResponse: _response.rawResponse,
618
+ });
619
+ }
620
+ }
621
+ switch (_response.error.reason) {
622
+ case "non-json":
623
+ throw new errors.ChrtError({
624
+ statusCode: _response.error.statusCode,
625
+ body: _response.error.rawBody,
626
+ rawResponse: _response.rawResponse,
627
+ });
628
+ case "timeout":
629
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/update_department_and_label/v1/{order_id}.");
630
+ case "unknown":
631
+ throw new errors.ChrtError({
632
+ message: _response.error.errorMessage,
633
+ rawResponse: _response.rawResponse,
634
+ });
635
+ }
636
+ });
637
+ }
313
638
  /**
314
639
  * Updates off_chrt_reference_id on a non-draft order. | authz_personas=[order_creator_org_operators] | (OrdersUpdateOffChrtReferenceIdReq) -> (OrdersUpdateOffChrtReferenceIdRes)
315
640
  *
@@ -7,6 +7,6 @@
7
7
  * operator_user_ids: ["operator_user_ids"]
8
8
  * }
9
9
  */
10
- export interface CaseAssignReq {
10
+ export interface OrdersAssignReq {
11
11
  operator_user_ids: string[];
12
12
  }
@@ -8,9 +8,9 @@
8
8
  * limit: 1
9
9
  * }
10
10
  */
11
- export interface CasesTypeaheadV1Request {
11
+ export interface OrdersTypeaheadLabelV1Request {
12
12
  /** Typeahead search query */
13
13
  query: string;
14
- /** Max results per field */
14
+ /** Max results */
15
15
  limit?: number | null;
16
16
  }
@@ -7,6 +7,6 @@
7
7
  * operator_user_ids: ["operator_user_ids"]
8
8
  * }
9
9
  */
10
- export interface CaseAssignReq {
10
+ export interface OrdersUnassignReq {
11
11
  operator_user_ids: string[];
12
12
  }
@@ -5,10 +5,9 @@
5
5
  * @example
6
6
  * {}
7
7
  */
8
- export interface CaseClientUpdate1 {
9
- assigned_user_ids?: string[];
10
- case_tag?: string | null;
11
- case_tag__set_to_None?: boolean;
8
+ export interface OrdersUpdateDepartmentAndLabelReq {
12
9
  department_id?: string | null;
13
10
  department_id__set_to_None?: boolean;
11
+ label?: string | null;
12
+ label__set_to_None?: boolean;
14
13
  }
@@ -1,3 +1,7 @@
1
+ export { type OrdersAssignReq } from "./OrdersAssignReq.js";
1
2
  export { type OrdersCancelManyReq } from "./OrdersCancelManyReq.js";
3
+ export { type OrdersTypeaheadLabelV1Request } from "./OrdersTypeaheadLabelV1Request.js";
2
4
  export { type OrdersTypeaheadV1Request } from "./OrdersTypeaheadV1Request.js";
5
+ export { type OrdersUnassignReq } from "./OrdersUnassignReq.js";
6
+ export { type OrdersUpdateDepartmentAndLabelReq } from "./OrdersUpdateDepartmentAndLabelReq.js";
3
7
  export { type OrdersUpdateOffChrtReferenceIdReq } from "./OrdersUpdateOffChrtReferenceIdReq.js";
@@ -1,2 +1,2 @@
1
- export * from "./client/index.js";
2
1
  export * from "./resources/index.js";
2
+ export * from "./client/index.js";
@@ -14,5 +14,5 @@ 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("./client/index.js"), exports);
18
17
  __exportStar(require("./resources/index.js"), exports);
18
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,212 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.js";
5
+ import * as core from "../../../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../../../index.js";
7
+ import { Cargo } from "../resources/cargo/client/Client.js";
8
+ import { Expanded } from "../resources/expanded/client/Client.js";
9
+ import { Task } from "../resources/task/client/Client.js";
10
+ import { TaskArtifact } from "../resources/taskArtifact/client/Client.js";
11
+ import { TaskGroup } from "../resources/taskGroup/client/Client.js";
12
+ export declare namespace Drafts {
13
+ interface Options {
14
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
15
+ /** Specify a custom URL to connect the client to. */
16
+ baseUrl?: core.Supplier<string>;
17
+ token?: core.Supplier<core.BearerToken | undefined>;
18
+ /** Additional headers to include in requests. */
19
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
20
+ fetcher?: core.FetchFunction;
21
+ }
22
+ interface RequestOptions {
23
+ /** The maximum time to wait for a response in seconds. */
24
+ timeoutInSeconds?: number;
25
+ /** The number of times to retry the request. Defaults to 2. */
26
+ maxRetries?: number;
27
+ /** A hook to abort the request. */
28
+ abortSignal?: AbortSignal;
29
+ /** Additional query string parameters to include in the request. */
30
+ queryParams?: Record<string, unknown>;
31
+ /** Additional headers to include in the request. */
32
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
33
+ }
34
+ }
35
+ export declare class Drafts {
36
+ protected readonly _options: Drafts.Options;
37
+ protected _cargo: Cargo | undefined;
38
+ protected _expanded: Expanded | undefined;
39
+ protected _task: Task | undefined;
40
+ protected _taskArtifact: TaskArtifact | undefined;
41
+ protected _taskGroup: TaskGroup | undefined;
42
+ constructor(_options?: Drafts.Options);
43
+ get cargo(): Cargo;
44
+ get expanded(): Expanded;
45
+ get task(): Task;
46
+ get taskArtifact(): TaskArtifact;
47
+ get taskGroup(): TaskGroup;
48
+ /**
49
+ * Creates a draft order, populating cargo, task groups, and tasks parsed from natural language or a template. | authz: min_org_role=operator | (OrderBuilderReq) -> (OrderBuilderRes)
50
+ *
51
+ * @param {Chrt.OrderBuilderReq} request
52
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
53
+ *
54
+ * @throws {@link Chrt.UnprocessableEntityError}
55
+ *
56
+ * @example
57
+ * await client.shipping.orders.drafts.buildV1({})
58
+ */
59
+ buildV1(request: Chrt.OrderBuilderReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrderBuilderRes>;
60
+ private __buildV1;
61
+ /**
62
+ * Reports whether an order builder request's references resolve. | authz: min_org_role=operator | (OrderBuilderReq) -> (OrderTemplateResolvabilityRes)
63
+ *
64
+ * @param {Chrt.OrderBuilderReq} request
65
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
66
+ *
67
+ * @throws {@link Chrt.UnprocessableEntityError}
68
+ *
69
+ * @example
70
+ * await client.shipping.orders.drafts.buildPrecheckV1({})
71
+ */
72
+ buildPrecheckV1(request: Chrt.OrderBuilderReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateResolvabilityRes>;
73
+ private __buildPrecheckV1;
74
+ /**
75
+ * Creates a draft order from natural language or a template and streams progress events via SSE. | authz: min_org_role=operator | (OrderBuilderReq) -> (OrderBuilderStreamEvent)
76
+ */
77
+ buildWithStreamingV1(request: Chrt.OrderBuilderReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<core.Stream<Chrt.shipping.orders.OrderBuilderStreamEvent>>;
78
+ private __buildWithStreamingV1;
79
+ /**
80
+ * Adds a coordinator task list with an optional department override to apply when the draft order is staged. | authz_personas=[coordinator_org_operators] | (UTCDatetime | None) -> (bool)
81
+ *
82
+ * @param {string} orderId
83
+ * @param {string} taskListId
84
+ * @param {Chrt.shipping.orders.DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request} request
85
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
86
+ *
87
+ * @throws {@link Chrt.UnprocessableEntityError}
88
+ *
89
+ * @example
90
+ * await client.shipping.orders.drafts.addCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id", {
91
+ * department_id: "department_id",
92
+ * body: "2024-01-15T09:30:00Z"
93
+ * })
94
+ */
95
+ addCoordinatorTaskListToApplyAtOrderStagingV1(orderId: string, taskListId: string, request?: Chrt.shipping.orders.DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<boolean>;
96
+ private __addCoordinatorTaskListToApplyAtOrderStagingV1;
97
+ /**
98
+ * Removes a pending coordinator staging task list from a draft order. | authz_personas=[coordinator_org_operators] | () -> (bool)
99
+ *
100
+ * @param {string} orderId
101
+ * @param {string} taskListId
102
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
103
+ *
104
+ * @throws {@link Chrt.UnprocessableEntityError}
105
+ *
106
+ * @example
107
+ * await client.shipping.orders.drafts.removeCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id")
108
+ */
109
+ removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId: string, taskListId: string, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<boolean>;
110
+ private __removeCoordinatorTaskListToApplyAtOrderStagingV1;
111
+ /**
112
+ * Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
113
+ *
114
+ * @param {string} orderId
115
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
116
+ *
117
+ * @throws {@link Chrt.UnprocessableEntityError}
118
+ *
119
+ * @example
120
+ * await client.shipping.orders.drafts.deleteV1("order_id")
121
+ */
122
+ deleteV1(orderId: string, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<boolean>;
123
+ private __deleteV1;
124
+ /**
125
+ * Deletes multiple draft orders and associated entities, skipping drafts with billing links. | authz_personas=[draft_creator_org_operator] | (OrdersDraftDeleteManyReq) -> (OrdersDraftDeleteManyRes)
126
+ *
127
+ * @param {Chrt.shipping.orders.OrdersDraftDeleteManyReq} request
128
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
129
+ *
130
+ * @throws {@link Chrt.UnprocessableEntityError}
131
+ *
132
+ * @example
133
+ * await client.shipping.orders.drafts.deleteManyV1({
134
+ * order_ids: ["order_ids"]
135
+ * })
136
+ */
137
+ deleteManyV1(request: Chrt.shipping.orders.OrdersDraftDeleteManyReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrdersDraftDeleteManyRes>;
138
+ private __deleteManyV1;
139
+ /**
140
+ * Converts an order screenshot into lightly structured text for the AI order builder. | authz: min_org_role=operator | (UploadFile) -> (str)
141
+ *
142
+ * @param {Chrt.shipping.orders.BodyPostShippingOrdersDraftsImageToTextV1} request
143
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
144
+ *
145
+ * @throws {@link Chrt.UnprocessableEntityError}
146
+ *
147
+ * @example
148
+ * import { createReadStream } from "fs";
149
+ * await client.shipping.orders.drafts.imageToTextV1({
150
+ * file: fs.createReadStream("/path/to/your/file")
151
+ * })
152
+ */
153
+ imageToTextV1(request: Chrt.shipping.orders.BodyPostShippingOrdersDraftsImageToTextV1, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<string>;
154
+ private __imageToTextV1;
155
+ /**
156
+ * Opens a new draft order shell with org assignments based on caller's organization type. | authz: min_org_role=operator | (OrdersOpenDraftReq) -> (OrdersOpenDraftRes)
157
+ *
158
+ * @param {Chrt.shipping.orders.OrdersOpenDraftReq} request
159
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
160
+ *
161
+ * @throws {@link Chrt.UnprocessableEntityError}
162
+ *
163
+ * @example
164
+ * await client.shipping.orders.drafts.openV1()
165
+ */
166
+ openV1(request?: Chrt.shipping.orders.OrdersOpenDraftReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrdersOpenDraftRes>;
167
+ private __openV1;
168
+ /**
169
+ * Sets the ordering of task groups within a draft order. Must provide all task group IDs with no duplicates. | (SetTaskGroupOrderingDraftReq) -> (bool)
170
+ *
171
+ * @param {string} orderId
172
+ * @param {Chrt.shipping.orders.SetTaskGroupOrderingDraftReq} request
173
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
174
+ *
175
+ * @throws {@link Chrt.UnprocessableEntityError}
176
+ *
177
+ * @example
178
+ * await client.shipping.orders.drafts.setTaskGroupOrderingV1("order_id", {
179
+ * task_group_ids: ["task_group_ids"]
180
+ * })
181
+ */
182
+ setTaskGroupOrderingV1(orderId: string, request: Chrt.shipping.orders.SetTaskGroupOrderingDraftReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<boolean>;
183
+ private __setTaskGroupOrderingV1;
184
+ /**
185
+ * Updates coordinator and/or shipper org assignments for a draft order. | authz_personas=[draft_creator_org_operator] | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
186
+ *
187
+ * @param {string} orderId
188
+ * @param {Chrt.shipping.orders.OrdersDraftUpdateReq} request
189
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
190
+ *
191
+ * @throws {@link Chrt.UnprocessableEntityError}
192
+ *
193
+ * @example
194
+ * await client.shipping.orders.drafts.updateV1("order_id")
195
+ */
196
+ updateV1(orderId: string, request?: Chrt.shipping.orders.OrdersDraftUpdateReq, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrdersDraftUpdateRes>;
197
+ private __updateV1;
198
+ /**
199
+ * Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
200
+ *
201
+ * @param {string} orderId
202
+ * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
203
+ *
204
+ * @throws {@link Chrt.UnprocessableEntityError}
205
+ *
206
+ * @example
207
+ * await client.shipping.orders.drafts.validateV1("order_id")
208
+ */
209
+ validateV1(orderId: string, requestOptions?: Drafts.RequestOptions): core.HttpResponsePromise<Chrt.OrderDraftValidationResult>;
210
+ private __validateV1;
211
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
212
+ }