@chrt-inc/typescript-sdk 1.861.0 → 1.863.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 (427) 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/operations/resources/orderInternalMessages/client/Client.js +257 -0
  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/operations/resources/{cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.ts → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.ts} +1 -1
  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/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/orgs/resources/providers/client/index.js +17 -0
  41. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +26 -0
  42. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/orgs/resources/providers/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/orgs/resources/providers/index.js +17 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +32 -16
  46. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +132 -68
  47. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +14 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +5 -5
  49. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +1 -1
  50. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +10 -22
  51. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +25 -69
  52. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/index.d.ts +0 -1
  53. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/index.js +0 -15
  54. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +0 -1
  55. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +0 -1
  56. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +1 -1
  57. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +1 -1
  58. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  59. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  60. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +3 -3
  61. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +4 -4
  62. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  63. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +75 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +320 -0
  65. 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
  66. 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
  67. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseAssignReq.d.ts → shipping/resources/orders/client/requests/OrdersUnassignReq.d.ts} +1 -1
  68. package/dist/{esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.ts} +3 -4
  69. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +108 -8
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +456 -5
  72. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +56 -0
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +60 -0
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +2 -0
  75. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +1 -1
  76. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +1 -1
  77. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +3 -3
  78. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +5 -5
  79. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +4 -4
  80. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +5 -5
  81. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +4 -4
  82. package/dist/cjs/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.ts +16 -0
  83. package/dist/cjs/api/types/OperationsOrderInternalMessageWebhookPayload.d.ts +17 -0
  84. package/dist/cjs/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.ts +16 -0
  85. package/dist/cjs/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.ts +14 -0
  86. package/dist/cjs/api/types/OperationsTask1.d.ts +0 -1
  87. package/dist/cjs/api/types/OperationsTaskExpandedListItem.d.ts +9 -0
  88. package/dist/cjs/api/types/{CaseListRes.d.ts → OperationsTaskExpandedListRes.d.ts} +2 -2
  89. package/dist/cjs/api/types/OperationsTaskList1.d.ts +0 -1
  90. package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.d.ts → OperationsTaskListRemoveFromOrderRes1.d.ts} +2 -2
  91. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -2
  92. package/dist/cjs/api/types/Order1.d.ts +5 -3
  93. package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.d.ts +15 -0
  94. package/dist/cjs/api/types/OrderDraftExpandedForShipper.d.ts +15 -0
  95. package/dist/cjs/api/types/{OrderDraftExpanded.d.ts → OrderExpandedForCoordinator.d.ts} +2 -3
  96. package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +14 -0
  97. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +15 -0
  98. package/dist/cjs/api/types/{OrderExpanded.d.ts → OrderExpandedForShipper.d.ts} +2 -2
  99. package/dist/{esm/api/types/CaseMessage1.d.mts → cjs/api/types/OrderInternalMessage1.d.ts} +1 -1
  100. package/dist/cjs/api/types/{CaseS3ObjectMetadata1.d.ts → OrderInternalMessageS3ObjectMetadata1.d.ts} +3 -3
  101. package/dist/cjs/api/types/OrderInternalMessages1.d.ts +14 -0
  102. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +41 -0
  103. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +23 -0
  104. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +41 -0
  105. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +37 -0
  106. package/dist/cjs/api/types/OrderLimitedForShipper1.js +5 -0
  107. package/dist/cjs/api/types/OrderProviderRoleEnum.d.ts +11 -0
  108. package/dist/cjs/api/types/{CaseSortByEnum.js → OrderProviderRoleEnum.js} +4 -4
  109. package/dist/cjs/api/types/OrderProviderRoleFilterEnum.d.ts +9 -0
  110. package/dist/cjs/api/types/OrderProviderRoleFilterEnum.js +11 -0
  111. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +12 -0
  112. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.js +5 -0
  113. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +9 -0
  114. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.js +5 -0
  115. package/dist/cjs/api/types/OrderTemplate1.d.ts +3 -3
  116. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +3 -3
  117. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +8 -0
  118. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.js +5 -0
  119. package/dist/cjs/api/types/{OrderDraftExpandedListRes.d.ts → OrdersExpandedListForExecutorRes.d.ts} +2 -2
  120. package/dist/cjs/api/types/OrdersExpandedListForExecutorRes.js +5 -0
  121. package/dist/cjs/api/types/{OrdersExpandedListRes.d.ts → OrdersExpandedListForProviderRes.d.ts} +2 -2
  122. package/dist/cjs/api/types/OrdersExpandedListForProviderRes.js +5 -0
  123. package/dist/cjs/api/types/{CasesExpandedListRes.d.ts → OrdersExpandedListForShipperRes.d.ts} +2 -2
  124. package/dist/cjs/api/types/OrdersExpandedListForShipperRes.js +5 -0
  125. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +20 -0
  126. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +5 -0
  127. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.d.ts +8 -0
  128. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +5 -0
  129. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +8 -0
  130. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +5 -0
  131. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +8 -0
  132. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +10 -0
  133. package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.d.ts +8 -0
  134. package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.js +10 -0
  135. package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +14 -0
  136. package/dist/cjs/api/types/ProviderProviderConnectionListItem.js +5 -0
  137. package/dist/cjs/api/types/ProviderProviderConnectionListRes.d.ts +8 -0
  138. package/dist/cjs/api/types/ProviderProviderConnectionListRes.js +5 -0
  139. package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +11 -0
  140. package/dist/cjs/api/types/TaskListToApplyToOrder1.js +5 -0
  141. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +0 -1
  142. package/dist/cjs/api/types/index.d.ts +36 -21
  143. package/dist/cjs/api/types/index.js +36 -21
  144. package/dist/cjs/version.d.ts +1 -1
  145. package/dist/cjs/version.js +1 -1
  146. package/dist/esm/Client.mjs +2 -2
  147. package/dist/esm/api/resources/operations/client/Client.d.mts +3 -3
  148. package/dist/esm/api/resources/operations/client/Client.mjs +5 -5
  149. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +1 -1
  150. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +1 -1
  151. package/dist/esm/api/resources/operations/resources/index.d.mts +2 -2
  152. package/dist/esm/api/resources/operations/resources/index.mjs +2 -2
  153. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +14 -13
  154. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +25 -21
  155. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +0 -1
  156. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts +0 -1
  157. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListsApplyToCaseV1Request.d.mts → OperationsTaskListsApplyToOrderV1Request.d.mts} +4 -1
  158. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -1
  159. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +29 -3
  160. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +138 -12
  161. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +0 -1
  162. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +0 -1
  163. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +48 -0
  164. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -2
  165. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  166. package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/Client.d.mts +80 -0
  167. package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/Client.mjs +220 -0
  168. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.d.mts → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.d.mts} +1 -1
  169. package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/requests/index.d.mts +1 -0
  170. package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.d.mts +15 -15
  171. package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.mjs +35 -32
  172. package/dist/esm/api/resources/operations/resources/{cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.mts → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.mts} +1 -1
  173. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/requests/index.d.mts +1 -0
  174. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  175. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  176. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +21 -1
  177. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +90 -1
  178. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +27 -0
  179. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
  180. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  181. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  182. package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +54 -0
  183. package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +120 -0
  184. package/dist/esm/api/resources/orgs/resources/providers/client/index.d.mts +2 -0
  185. package/dist/esm/api/resources/orgs/resources/providers/client/index.mjs +1 -0
  186. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +26 -0
  187. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +1 -0
  188. package/dist/esm/api/resources/orgs/resources/providers/index.d.mts +1 -0
  189. package/dist/esm/api/resources/orgs/resources/providers/index.mjs +1 -0
  190. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +32 -16
  191. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +132 -68
  192. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +14 -0
  193. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +5 -5
  194. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +1 -1
  195. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +10 -22
  196. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +25 -69
  197. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/index.d.mts +0 -1
  198. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/index.mjs +1 -1
  199. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +0 -1
  200. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +0 -1
  201. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +1 -1
  202. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +1 -1
  203. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  204. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  205. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +3 -3
  206. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +4 -4
  207. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  208. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +75 -0
  209. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +320 -0
  210. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.d.mts → shipping/resources/orders/client/requests/OrdersAssignReq.d.mts} +1 -1
  211. 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
  212. 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
  213. package/dist/{cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.mts} +3 -4
  214. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
  215. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +108 -8
  216. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +456 -5
  217. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +56 -0
  218. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +60 -0
  219. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +2 -0
  220. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +1 -1
  221. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +1 -1
  222. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +3 -3
  223. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +5 -5
  224. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +4 -4
  225. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +5 -5
  226. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +4 -4
  227. package/dist/esm/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.mts +16 -0
  228. package/dist/esm/api/types/OperationsOrderInternalMessageWebhookPayload.d.mts +17 -0
  229. package/dist/esm/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.mts +16 -0
  230. package/dist/esm/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.mts +14 -0
  231. package/dist/esm/api/types/OperationsTask1.d.mts +0 -1
  232. package/dist/esm/api/types/OperationsTaskExpandedListItem.d.mts +9 -0
  233. package/dist/esm/api/types/{OrdersExpandedListRes.d.mts → OperationsTaskExpandedListRes.d.mts} +2 -2
  234. package/dist/esm/api/types/OperationsTaskList1.d.mts +0 -1
  235. package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.d.mts → OperationsTaskListRemoveFromOrderRes1.d.mts} +2 -2
  236. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -2
  237. package/dist/esm/api/types/Order1.d.mts +5 -3
  238. package/dist/esm/api/types/OrderDraftExpandedForCoordinator.d.mts +15 -0
  239. package/dist/esm/api/types/OrderDraftExpandedForShipper.d.mts +15 -0
  240. package/dist/esm/api/types/{OrderDraftExpanded.d.mts → OrderExpandedForCoordinator.d.mts} +2 -3
  241. package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +14 -0
  242. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +15 -0
  243. package/dist/esm/api/types/{OrderExpanded.d.mts → OrderExpandedForShipper.d.mts} +2 -2
  244. package/dist/{cjs/api/types/CaseMessage1.d.ts → esm/api/types/OrderInternalMessage1.d.mts} +1 -1
  245. package/dist/esm/api/types/{CaseS3ObjectMetadata1.d.mts → OrderInternalMessageS3ObjectMetadata1.d.mts} +3 -3
  246. package/dist/esm/api/types/OrderInternalMessages1.d.mts +14 -0
  247. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +41 -0
  248. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +23 -0
  249. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +41 -0
  250. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +37 -0
  251. package/dist/esm/api/types/OrderLimitedForShipper1.mjs +4 -0
  252. package/dist/esm/api/types/OrderProviderRoleEnum.d.mts +11 -0
  253. package/dist/esm/api/types/OrderProviderRoleEnum.mjs +7 -0
  254. package/dist/esm/api/types/OrderProviderRoleFilterEnum.d.mts +9 -0
  255. package/dist/esm/api/types/OrderProviderRoleFilterEnum.mjs +8 -0
  256. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +12 -0
  257. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.mjs +4 -0
  258. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +9 -0
  259. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.mjs +4 -0
  260. package/dist/esm/api/types/OrderTemplate1.d.mts +3 -3
  261. package/dist/esm/api/types/OrderTemplateCore1.d.mts +3 -3
  262. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +8 -0
  263. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.mjs +4 -0
  264. package/dist/esm/api/types/{OrderDraftExpandedListRes.d.mts → OrdersExpandedListForExecutorRes.d.mts} +2 -2
  265. package/dist/esm/api/types/OrdersExpandedListForExecutorRes.mjs +4 -0
  266. package/dist/esm/api/types/{CasesExpandedListRes.d.mts → OrdersExpandedListForProviderRes.d.mts} +2 -2
  267. package/dist/esm/api/types/OrdersExpandedListForProviderRes.mjs +4 -0
  268. package/dist/esm/api/types/{CaseListRes.d.mts → OrdersExpandedListForShipperRes.d.mts} +2 -2
  269. package/dist/esm/api/types/OrdersExpandedListForShipperRes.mjs +4 -0
  270. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +20 -0
  271. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +4 -0
  272. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +8 -0
  273. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +4 -0
  274. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +8 -0
  275. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +4 -0
  276. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +8 -0
  277. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +7 -0
  278. package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.d.mts +8 -0
  279. package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.mjs +7 -0
  280. package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +14 -0
  281. package/dist/esm/api/types/ProviderProviderConnectionListItem.mjs +4 -0
  282. package/dist/esm/api/types/ProviderProviderConnectionListRes.d.mts +8 -0
  283. package/dist/esm/api/types/ProviderProviderConnectionListRes.mjs +4 -0
  284. package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +11 -0
  285. package/dist/esm/api/types/TaskListToApplyToOrder1.mjs +4 -0
  286. package/dist/esm/api/types/UngroupedOrderRow.d.mts +0 -1
  287. package/dist/esm/api/types/index.d.mts +36 -21
  288. package/dist/esm/api/types/index.mjs +36 -21
  289. package/dist/esm/version.d.mts +1 -1
  290. package/dist/esm/version.mjs +1 -1
  291. package/package.json +1 -1
  292. package/reference.md +2099 -2031
  293. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +0 -276
  294. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +0 -1117
  295. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +0 -13
  296. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.ts +0 -17
  297. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +0 -31
  298. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -8
  299. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.ts +0 -1
  300. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.ts +0 -16
  301. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +0 -37
  302. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.ts +0 -1
  303. package/dist/cjs/api/types/Case1.d.ts +0 -19
  304. package/dist/cjs/api/types/CaseSortByEnum.d.ts +0 -8
  305. package/dist/cjs/api/types/CaseTypeaheadFieldEnum.d.ts +0 -4
  306. package/dist/cjs/api/types/CaseTypeaheadResult.d.ts +0 -8
  307. package/dist/cjs/api/types/CasesExpandedListItem.d.ts +0 -15
  308. package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.d.ts +0 -8
  309. package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +0 -16
  310. package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +0 -15
  311. package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +0 -14
  312. package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +0 -14
  313. package/dist/cjs/api/types/OrderDraftSortByEnum.d.ts +0 -4
  314. package/dist/cjs/api/types/TaskListToApplyToCase1.d.ts +0 -7
  315. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +0 -276
  316. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +0 -1080
  317. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +0 -13
  318. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.mts +0 -17
  319. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +0 -31
  320. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -8
  321. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.mts +0 -1
  322. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.mts +0 -16
  323. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +0 -37
  324. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.mts +0 -1
  325. package/dist/esm/api/types/Case1.d.mts +0 -19
  326. package/dist/esm/api/types/CaseSortByEnum.d.mts +0 -8
  327. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -7
  328. package/dist/esm/api/types/CaseTypeaheadFieldEnum.d.mts +0 -4
  329. package/dist/esm/api/types/CaseTypeaheadResult.d.mts +0 -8
  330. package/dist/esm/api/types/CasesExpandedListItem.d.mts +0 -15
  331. package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.d.mts +0 -8
  332. package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +0 -16
  333. package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +0 -15
  334. package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +0 -14
  335. package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +0 -14
  336. package/dist/esm/api/types/OrderDraftSortByEnum.d.mts +0 -4
  337. package/dist/esm/api/types/TaskListToApplyToCase1.d.mts +0 -7
  338. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.js} +0 -0
  339. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.js → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.js} +0 -0
  340. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.ts +0 -0
  341. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.js +0 -0
  342. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.js → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.js} +0 -0
  343. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.js +0 -0
  344. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.ts +0 -0
  345. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.js +0 -0
  346. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.ts +0 -0
  347. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.js +0 -0
  348. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.ts +0 -0
  349. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.js +0 -0
  350. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.js → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.js} +0 -0
  351. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.js +0 -0
  352. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.ts +0 -0
  353. /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.js +0 -0
  354. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.js → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.js} +0 -0
  355. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.js → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js} +0 -0
  356. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/expanded → orgs/resources/providers}/client/requests/index.js +0 -0
  357. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.js → shipping/resources/orderDrafts/client/requests/OrderDraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
  358. /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.js → shipping/resources/orders/client/requests/OrdersAssignReq.js} +0 -0
  359. /package/dist/cjs/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.js → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.js} +0 -0
  360. /package/dist/cjs/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js → shipping/resources/orders/client/requests/OrdersUnassignReq.js} +0 -0
  361. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.js → orders/client/requests/OrdersUpdateDepartmentAndLabelReq.js} +0 -0
  362. /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.js → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js} +0 -0
  363. /package/dist/cjs/api/{types/Case1.js → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
  364. /package/dist/cjs/api/types/{CaseListRes.js → OperationsOrderDepartmentAssignedWebhookPayload.js} +0 -0
  365. /package/dist/cjs/api/types/{CaseMessage1.js → OperationsOrderInternalMessageWebhookPayload.js} +0 -0
  366. /package/dist/cjs/api/types/{CaseS3ObjectMetadata1.js → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.js} +0 -0
  367. /package/dist/cjs/api/types/{CaseTypeaheadFieldEnum.js → OperationsOrderOperatorAssignedWebhookPayload.js} +0 -0
  368. /package/dist/cjs/api/types/{CaseTypeaheadResult.js → OperationsTaskExpandedListItem.js} +0 -0
  369. /package/dist/cjs/api/types/{CasesExpandedListItem.js → OperationsTaskExpandedListRes.js} +0 -0
  370. /package/dist/cjs/api/types/{CasesExpandedListRes.js → OperationsTaskListRemoveFromOrderRes1.js} +0 -0
  371. /package/dist/cjs/api/types/{CasesExpandedListShippingTaskGroup.js → OrderDraftExpandedForCoordinator.js} +0 -0
  372. /package/dist/cjs/api/types/{OperationsCaseGroupAssignedWebhookPayload.js → OrderDraftExpandedForShipper.js} +0 -0
  373. /package/dist/cjs/api/types/{OperationsCaseMessageWebhookPayload.js → OrderExpandedForCoordinator.js} +0 -0
  374. /package/dist/cjs/api/types/{OperationsCaseOperatorAssignedWebhookPayload.js → OrderExpandedForExecutor.js} +0 -0
  375. /package/dist/cjs/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.js → OrderExpandedForProvider.js} +0 -0
  376. /package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.js → OrderExpandedForShipper.js} +0 -0
  377. /package/dist/cjs/api/types/{OrderDraftExpanded.js → OrderInternalMessage1.js} +0 -0
  378. /package/dist/cjs/api/types/{OrderDraftExpandedListRes.js → OrderInternalMessageS3ObjectMetadata1.js} +0 -0
  379. /package/dist/cjs/api/types/{OrderDraftSortByEnum.js → OrderInternalMessages1.js} +0 -0
  380. /package/dist/cjs/api/types/{OrderExpanded.js → OrderLimitedForCoordinator1.js} +0 -0
  381. /package/dist/cjs/api/types/{OrdersExpandedListRes.js → OrderLimitedForExecutor1.js} +0 -0
  382. /package/dist/cjs/api/types/{TaskListToApplyToCase1.js → OrderLimitedForProvider1.js} +0 -0
  383. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.mjs} +0 -0
  384. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.mjs → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.mjs} +0 -0
  385. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.mts +0 -0
  386. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.mjs +0 -0
  387. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.mjs → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.mjs} +0 -0
  388. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.mjs +0 -0
  389. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.mts +0 -0
  390. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.mjs +0 -0
  391. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.mts +0 -0
  392. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.mjs +0 -0
  393. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.mts +0 -0
  394. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.mjs +0 -0
  395. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.mjs → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.mjs} +0 -0
  396. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.mjs +0 -0
  397. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.mts +0 -0
  398. /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.mjs +0 -0
  399. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.mjs → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.mjs} +0 -0
  400. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.mjs → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs} +0 -0
  401. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/expanded → orgs/resources/providers}/client/requests/index.mjs +0 -0
  402. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.mjs → shipping/resources/orderDrafts/client/requests/OrderDraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
  403. /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.mjs → shipping/resources/orders/client/requests/OrdersAssignReq.mjs} +0 -0
  404. /package/dist/esm/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.mjs → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.mjs} +0 -0
  405. /package/dist/esm/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs → shipping/resources/orders/client/requests/OrdersUnassignReq.mjs} +0 -0
  406. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.mjs → orders/client/requests/OrdersUpdateDepartmentAndLabelReq.mjs} +0 -0
  407. /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.mjs → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs} +0 -0
  408. /package/dist/esm/api/{types/Case1.mjs → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
  409. /package/dist/esm/api/types/{CaseListRes.mjs → OperationsOrderDepartmentAssignedWebhookPayload.mjs} +0 -0
  410. /package/dist/esm/api/types/{CaseMessage1.mjs → OperationsOrderInternalMessageWebhookPayload.mjs} +0 -0
  411. /package/dist/esm/api/types/{CaseS3ObjectMetadata1.mjs → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.mjs} +0 -0
  412. /package/dist/esm/api/types/{CaseTypeaheadFieldEnum.mjs → OperationsOrderOperatorAssignedWebhookPayload.mjs} +0 -0
  413. /package/dist/esm/api/types/{CaseTypeaheadResult.mjs → OperationsTaskExpandedListItem.mjs} +0 -0
  414. /package/dist/esm/api/types/{CasesExpandedListItem.mjs → OperationsTaskExpandedListRes.mjs} +0 -0
  415. /package/dist/esm/api/types/{CasesExpandedListRes.mjs → OperationsTaskListRemoveFromOrderRes1.mjs} +0 -0
  416. /package/dist/esm/api/types/{CasesExpandedListShippingTaskGroup.mjs → OrderDraftExpandedForCoordinator.mjs} +0 -0
  417. /package/dist/esm/api/types/{OperationsCaseGroupAssignedWebhookPayload.mjs → OrderDraftExpandedForShipper.mjs} +0 -0
  418. /package/dist/esm/api/types/{OperationsCaseMessageWebhookPayload.mjs → OrderExpandedForCoordinator.mjs} +0 -0
  419. /package/dist/esm/api/types/{OperationsCaseOperatorAssignedWebhookPayload.mjs → OrderExpandedForExecutor.mjs} +0 -0
  420. /package/dist/esm/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.mjs → OrderExpandedForProvider.mjs} +0 -0
  421. /package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.mjs → OrderExpandedForShipper.mjs} +0 -0
  422. /package/dist/esm/api/types/{OrderDraftExpanded.mjs → OrderInternalMessage1.mjs} +0 -0
  423. /package/dist/esm/api/types/{OrderDraftExpandedListRes.mjs → OrderInternalMessageS3ObjectMetadata1.mjs} +0 -0
  424. /package/dist/esm/api/types/{OrderDraftSortByEnum.mjs → OrderInternalMessages1.mjs} +0 -0
  425. /package/dist/esm/api/types/{OrderExpanded.mjs → OrderLimitedForCoordinator1.mjs} +0 -0
  426. /package/dist/esm/api/types/{OrdersExpandedListRes.mjs → OrderLimitedForExecutor1.mjs} +0 -0
  427. /package/dist/esm/api/types/{TaskListToApplyToCase1.mjs → OrderLimitedForProvider1.mjs} +0 -0
@@ -1,19 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Cases } from "../resources/cases/client/Client.mjs";
5
4
  import { DepartmentRoutingRules } from "../resources/departmentRoutingRules/client/Client.mjs";
6
5
  import { Departments } from "../resources/departments/client/Client.mjs";
7
6
  import { OperationsTaskLists } from "../resources/operationsTaskLists/client/Client.mjs";
8
7
  import { OperationsTasks } from "../resources/operationsTasks/client/Client.mjs";
8
+ import { OrderInternalMessages } from "../resources/orderInternalMessages/client/Client.mjs";
9
9
  export class Operations {
10
10
  constructor(_options = {}) {
11
11
  this._options = _options;
12
12
  }
13
- get cases() {
14
- var _a;
15
- return ((_a = this._cases) !== null && _a !== void 0 ? _a : (this._cases = new Cases(this._options)));
16
- }
17
13
  get departmentRoutingRules() {
18
14
  var _a;
19
15
  return ((_a = this._departmentRoutingRules) !== null && _a !== void 0 ? _a : (this._departmentRoutingRules = new DepartmentRoutingRules(this._options)));
@@ -30,4 +26,8 @@ export class Operations {
30
26
  var _a;
31
27
  return ((_a = this._operationsTasks) !== null && _a !== void 0 ? _a : (this._operationsTasks = new OperationsTasks(this._options)));
32
28
  }
29
+ get orderInternalMessages() {
30
+ var _a;
31
+ return ((_a = this._orderInternalMessages) !== null && _a !== void 0 ? _a : (this._orderInternalMessages = new OrderInternalMessages(this._options)));
32
+ }
33
33
  }
@@ -41,7 +41,7 @@ export declare class DepartmentRoutingRules {
41
41
  listV1(requestOptions?: DepartmentRoutingRules.RequestOptions): core.HttpResponsePromise<Chrt.DepartmentRoutingRule1[]>;
42
42
  private __listV1;
43
43
  /**
44
- * Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
44
+ * Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced via suggested_department. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
45
45
  *
46
46
  * @param {Chrt.operations.DepartmentRoutingRuleClientCreate1} request
47
47
  * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
@@ -71,7 +71,7 @@ export class DepartmentRoutingRules {
71
71
  });
72
72
  }
73
73
  /**
74
- * Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
74
+ * Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced via suggested_department. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
75
75
  *
76
76
  * @param {Chrt.operations.DepartmentRoutingRuleClientCreate1} request
77
77
  * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,10 +1,10 @@
1
- export * as cases from "./cases/index.mjs";
2
1
  export * as departmentRoutingRules from "./departmentRoutingRules/index.mjs";
3
2
  export * as departments from "./departments/index.mjs";
4
3
  export * as operationsTaskLists from "./operationsTaskLists/index.mjs";
5
4
  export * as operationsTasks from "./operationsTasks/index.mjs";
6
- export * from "./cases/client/requests/index.mjs";
5
+ export * as orderInternalMessages from "./orderInternalMessages/index.mjs";
7
6
  export * from "./departmentRoutingRules/client/requests/index.mjs";
8
7
  export * from "./departments/client/requests/index.mjs";
9
8
  export * from "./operationsTaskLists/client/requests/index.mjs";
10
9
  export * from "./operationsTasks/client/requests/index.mjs";
10
+ export * from "./orderInternalMessages/client/requests/index.mjs";
@@ -1,10 +1,10 @@
1
- export * as cases from "./cases/index.mjs";
2
1
  export * as departmentRoutingRules from "./departmentRoutingRules/index.mjs";
3
2
  export * as departments from "./departments/index.mjs";
4
3
  export * as operationsTaskLists from "./operationsTaskLists/index.mjs";
5
4
  export * as operationsTasks from "./operationsTasks/index.mjs";
6
- export * from "./cases/client/requests/index.mjs";
5
+ export * as orderInternalMessages from "./orderInternalMessages/index.mjs";
7
6
  export * from "./departmentRoutingRules/client/requests/index.mjs";
8
7
  export * from "./departments/client/requests/index.mjs";
9
8
  export * from "./operationsTaskLists/client/requests/index.mjs";
10
9
  export * from "./operationsTasks/client/requests/index.mjs";
10
+ export * from "./orderInternalMessages/client/requests/index.mjs";
@@ -31,24 +31,25 @@ export declare class OperationsTaskLists {
31
31
  protected readonly _options: OperationsTaskLists.Options;
32
32
  constructor(_options?: OperationsTaskLists.Options);
33
33
  /**
34
- * Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
34
+ * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
35
35
  *
36
36
  * @param {string} taskListId
37
- * @param {string} caseId
38
- * @param {Chrt.operations.OperationsTaskListsApplyToCaseV1Request} request
37
+ * @param {string} orderId
38
+ * @param {Chrt.operations.OperationsTaskListsApplyToOrderV1Request} request
39
39
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
40
40
  *
41
41
  * @throws {@link Chrt.UnprocessableEntityError}
42
42
  *
43
43
  * @example
44
- * await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_id", {
44
+ * await client.operations.operationsTaskLists.applyToOrderV1("task_list_id", "order_id", {
45
+ * department_id: "department_id",
45
46
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
46
47
  * })
47
48
  */
48
- applyToCaseV1(taskListId: string, caseId: string, request?: Chrt.operations.OperationsTaskListsApplyToCaseV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<string[]>;
49
- private __applyToCaseV1;
49
+ applyToOrderV1(taskListId: string, orderId: string, request?: Chrt.operations.OperationsTaskListsApplyToOrderV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<string[]>;
50
+ private __applyToOrderV1;
50
51
  /**
51
- * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
52
+ * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Orders are unaffected. | authz: min_org_role=operator | () -> (bool)
52
53
  *
53
54
  * @param {string} taskListId
54
55
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
@@ -145,19 +146,19 @@ export declare class OperationsTaskLists {
145
146
  listV1(request?: Chrt.operations.OperationsTaskListsListV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListListRes>;
146
147
  private __listV1;
147
148
  /**
148
- * Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
149
+ * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromOrderRes1)
149
150
  *
150
151
  * @param {string} taskListId
151
- * @param {string} caseId
152
+ * @param {string} orderId
152
153
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
153
154
  *
154
155
  * @throws {@link Chrt.UnprocessableEntityError}
155
156
  *
156
157
  * @example
157
- * await client.operations.operationsTaskLists.removeNotStartedTasksFromCaseV1("task_list_id", "case_id")
158
+ * await client.operations.operationsTaskLists.removeNotStartedTasksFromOrderV1("task_list_id", "order_id")
158
159
  */
159
- removeNotStartedTasksFromCaseV1(taskListId: string, caseId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListRemoveFromCaseRes1>;
160
- private __removeNotStartedTasksFromCaseV1;
160
+ removeNotStartedTasksFromOrderV1(taskListId: string, orderId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListRemoveFromOrderRes1>;
161
+ private __removeNotStartedTasksFromOrderV1;
161
162
  /**
162
163
  * Restores an archived OperationsTaskList by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
163
164
  *
@@ -201,7 +202,7 @@ export declare class OperationsTaskLists {
201
202
  getV1(taskListId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskList1>;
202
203
  private __getV1;
203
204
  /**
204
- * Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
205
+ * Updates scalar fields (name, description) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
205
206
  *
206
207
  * @param {string} taskListId
207
208
  * @param {Chrt.operations.OperationsTaskListClientUpdate1} request
@@ -20,34 +20,38 @@ export class OperationsTaskLists {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
23
+ * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
24
24
  *
25
25
  * @param {string} taskListId
26
- * @param {string} caseId
27
- * @param {Chrt.operations.OperationsTaskListsApplyToCaseV1Request} request
26
+ * @param {string} orderId
27
+ * @param {Chrt.operations.OperationsTaskListsApplyToOrderV1Request} request
28
28
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
29
29
  *
30
30
  * @throws {@link Chrt.UnprocessableEntityError}
31
31
  *
32
32
  * @example
33
- * await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_id", {
33
+ * await client.operations.operationsTaskLists.applyToOrderV1("task_list_id", "order_id", {
34
+ * department_id: "department_id",
34
35
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
35
36
  * })
36
37
  */
37
- applyToCaseV1(taskListId, caseId, request = {}, requestOptions) {
38
- return core.HttpResponsePromise.fromPromise(this.__applyToCaseV1(taskListId, caseId, request, requestOptions));
38
+ applyToOrderV1(taskListId, orderId, request = {}, requestOptions) {
39
+ return core.HttpResponsePromise.fromPromise(this.__applyToOrderV1(taskListId, orderId, request, requestOptions));
39
40
  }
40
- __applyToCaseV1(taskListId_1, caseId_1) {
41
- return __awaiter(this, arguments, void 0, function* (taskListId, caseId, request = {}, requestOptions) {
41
+ __applyToOrderV1(taskListId_1, orderId_1) {
42
+ return __awaiter(this, arguments, void 0, function* (taskListId, orderId, request = {}, requestOptions) {
42
43
  var _a, _b, _c, _d;
43
- const { initial_deadline_timestamp: initialDeadlineTimestamp } = request;
44
+ const { department_id: departmentId, initial_deadline_timestamp: initialDeadlineTimestamp } = request;
44
45
  const _queryParams = {};
46
+ if (departmentId !== undefined) {
47
+ _queryParams["department_id"] = departmentId;
48
+ }
45
49
  if (initialDeadlineTimestamp !== undefined) {
46
50
  _queryParams["initial_deadline_timestamp"] = initialDeadlineTimestamp;
47
51
  }
48
52
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
49
53
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
50
- 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, `operations/operations_task_lists/apply_to_case/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(caseId)}`),
54
+ 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, `operations/operations_task_lists/apply_to_order/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(orderId)}`),
51
55
  method: "POST",
52
56
  headers: _headers,
53
57
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -78,7 +82,7 @@ export class OperationsTaskLists {
78
82
  rawResponse: _response.rawResponse,
79
83
  });
80
84
  case "timeout":
81
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/apply_to_case/v1/{task_list_id}/{case_id}.");
85
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/apply_to_order/v1/{task_list_id}/{order_id}.");
82
86
  case "unknown":
83
87
  throw new errors.ChrtError({
84
88
  message: _response.error.errorMessage,
@@ -88,7 +92,7 @@ export class OperationsTaskLists {
88
92
  });
89
93
  }
90
94
  /**
91
- * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
95
+ * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Orders are unaffected. | authz: min_org_role=operator | () -> (bool)
92
96
  *
93
97
  * @param {string} taskListId
94
98
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
@@ -487,26 +491,26 @@ export class OperationsTaskLists {
487
491
  });
488
492
  }
489
493
  /**
490
- * Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
494
+ * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromOrderRes1)
491
495
  *
492
496
  * @param {string} taskListId
493
- * @param {string} caseId
497
+ * @param {string} orderId
494
498
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
495
499
  *
496
500
  * @throws {@link Chrt.UnprocessableEntityError}
497
501
  *
498
502
  * @example
499
- * await client.operations.operationsTaskLists.removeNotStartedTasksFromCaseV1("task_list_id", "case_id")
503
+ * await client.operations.operationsTaskLists.removeNotStartedTasksFromOrderV1("task_list_id", "order_id")
500
504
  */
501
- removeNotStartedTasksFromCaseV1(taskListId, caseId, requestOptions) {
502
- return core.HttpResponsePromise.fromPromise(this.__removeNotStartedTasksFromCaseV1(taskListId, caseId, requestOptions));
505
+ removeNotStartedTasksFromOrderV1(taskListId, orderId, requestOptions) {
506
+ return core.HttpResponsePromise.fromPromise(this.__removeNotStartedTasksFromOrderV1(taskListId, orderId, requestOptions));
503
507
  }
504
- __removeNotStartedTasksFromCaseV1(taskListId, caseId, requestOptions) {
508
+ __removeNotStartedTasksFromOrderV1(taskListId, orderId, requestOptions) {
505
509
  return __awaiter(this, void 0, void 0, function* () {
506
510
  var _a, _b, _c, _d;
507
511
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
508
512
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
509
- 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, `operations/operations_task_lists/remove_not_started_tasks_from_case/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(caseId)}`),
513
+ 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, `operations/operations_task_lists/remove_not_started_tasks_from_order/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(orderId)}`),
510
514
  method: "POST",
511
515
  headers: _headers,
512
516
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -540,7 +544,7 @@ export class OperationsTaskLists {
540
544
  rawResponse: _response.rawResponse,
541
545
  });
542
546
  case "timeout":
543
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/remove_not_started_tasks_from_case/v1/{task_list_id}/{case_id}.");
547
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/remove_not_started_tasks_from_order/v1/{task_list_id}/{order_id}.");
544
548
  case "unknown":
545
549
  throw new errors.ChrtError({
546
550
  message: _response.error.errorMessage,
@@ -733,7 +737,7 @@ export class OperationsTaskLists {
733
737
  });
734
738
  }
735
739
  /**
736
- * Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
740
+ * Updates scalar fields (name, description) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
737
741
  *
738
742
  * @param {string} taskListId
739
743
  * @param {Chrt.operations.OperationsTaskListClientUpdate1} request
@@ -14,5 +14,4 @@ export interface OperationsTaskListClientCreate1 {
14
14
  entries?: Chrt.OperationsTaskListEntryClientCreate1[];
15
15
  name: string;
16
16
  schema_version: number;
17
- tags?: string[];
18
17
  }
@@ -9,5 +9,4 @@ export interface OperationsTaskListClientUpdate1 {
9
9
  description?: string | null;
10
10
  description__set_to_None?: boolean;
11
11
  name?: string | null;
12
- tags?: string[];
13
12
  }
@@ -4,10 +4,13 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * department_id: "department_id",
7
8
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
8
9
  * }
9
10
  */
10
- export interface OperationsTaskListsApplyToCaseV1Request {
11
+ export interface OperationsTaskListsApplyToOrderV1Request {
12
+ /** Overrides the Order department for tasks materialized by this application. */
13
+ department_id?: string | null;
11
14
  /** If set, pins the first entry's deadline; later FROM_PREVIOUS_TASK entries cascade from it. */
12
15
  initial_deadline_timestamp?: string | null;
13
16
  }
@@ -1,4 +1,4 @@
1
- export { type OperationsTaskListsApplyToCaseV1Request } from "./OperationsTaskListsApplyToCaseV1Request.mjs";
1
+ export { type OperationsTaskListsApplyToOrderV1Request } from "./OperationsTaskListsApplyToOrderV1Request.mjs";
2
2
  export { type OperationsTaskListReorderEntries1 } from "./OperationsTaskListReorderEntries1.mjs";
3
3
  export { type OperationsTaskListsListV1Request } from "./OperationsTaskListsListV1Request.mjs";
4
4
  export { type OperationsTaskListClientCreate1 } from "./OperationsTaskListClientCreate1.mjs";
@@ -79,7 +79,32 @@ export declare class OperationsTasks {
79
79
  deleteCommentV1(taskId: string, commentId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
80
80
  private __deleteCommentV1;
81
81
  /**
82
- * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
82
+ * Lists OperationsTasks with department and assigned-user details. | authz: min_org_role=operator | () -> (OperationsTaskExpandedListRes)
83
+ *
84
+ * @param {Chrt.operations.OperationsTasksExpandedListV1Request} request
85
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
86
+ *
87
+ * @throws {@link Chrt.UnprocessableEntityError}
88
+ *
89
+ * @example
90
+ * await client.operations.operationsTasks.expandedListV1({
91
+ * sort_by: "deadline_timestamp",
92
+ * sort_order: "asc",
93
+ * page: 1,
94
+ * page_size: 1,
95
+ * search: "search",
96
+ * filter_order_short_id: "filter_order_short_id",
97
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
98
+ * filter_department_id: "filter_department_id",
99
+ * filter_assigned_user_id: "filter_assigned_user_id",
100
+ * filter_deadline_gte: "2024-01-15T09:30:00Z",
101
+ * filter_deadline_lte: "2024-01-15T09:30:00Z"
102
+ * })
103
+ */
104
+ expandedListV1(request?: Chrt.operations.OperationsTasksExpandedListV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskExpandedListRes>;
105
+ private __expandedListV1;
106
+ /**
107
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
83
108
  *
84
109
  * @param {Chrt.operations.OperationsTasksListV1Request} request
85
110
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -92,6 +117,7 @@ export declare class OperationsTasks {
92
117
  * sort_order: "asc",
93
118
  * page: 1,
94
119
  * page_size: 1,
120
+ * search: "search",
95
121
  * filter_order_short_id: "filter_order_short_id",
96
122
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
97
123
  * filter_department_id: "filter_department_id",
@@ -119,7 +145,7 @@ export declare class OperationsTasks {
119
145
  updateStatusV1(taskId: string, request: Chrt.operations.OperationsTaskStatusReq, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
120
146
  private __updateStatusV1;
121
147
  /**
122
- * Creates a new OperationsTask on an Order the caller's organization has a Case for. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
148
+ * Creates a new OperationsTask on an Order where the caller is coordinator or executor. Seeds department_id from the caller's Order department fields. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
123
149
  *
124
150
  * @param {Chrt.operations.OperationsTaskClientCreate1} request
125
151
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -164,7 +190,7 @@ export declare class OperationsTasks {
164
190
  deleteV1(taskId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
165
191
  private __deleteV1;
166
192
  /**
167
- * Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
193
+ * Updates editable fields (task_type, title, description, deadline_timestamp, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
168
194
  *
169
195
  * @param {string} taskId
170
196
  * @param {Chrt.operations.OperationsTaskClientUpdate1} request
@@ -215,7 +215,137 @@ export class OperationsTasks {
215
215
  });
216
216
  }
217
217
  /**
218
- * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
218
+ * Lists OperationsTasks with department and assigned-user details. | authz: min_org_role=operator | () -> (OperationsTaskExpandedListRes)
219
+ *
220
+ * @param {Chrt.operations.OperationsTasksExpandedListV1Request} request
221
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
222
+ *
223
+ * @throws {@link Chrt.UnprocessableEntityError}
224
+ *
225
+ * @example
226
+ * await client.operations.operationsTasks.expandedListV1({
227
+ * sort_by: "deadline_timestamp",
228
+ * sort_order: "asc",
229
+ * page: 1,
230
+ * page_size: 1,
231
+ * search: "search",
232
+ * filter_order_short_id: "filter_order_short_id",
233
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
234
+ * filter_department_id: "filter_department_id",
235
+ * filter_assigned_user_id: "filter_assigned_user_id",
236
+ * filter_deadline_gte: "2024-01-15T09:30:00Z",
237
+ * filter_deadline_lte: "2024-01-15T09:30:00Z"
238
+ * })
239
+ */
240
+ expandedListV1(request = {}, requestOptions) {
241
+ return core.HttpResponsePromise.fromPromise(this.__expandedListV1(request, requestOptions));
242
+ }
243
+ __expandedListV1() {
244
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
245
+ var _a, _b, _c, _d, _e, _f;
246
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
247
+ const _queryParams = {};
248
+ if (sortBy !== undefined) {
249
+ _queryParams["sort_by"] = sortBy;
250
+ }
251
+ if (sortOrder !== undefined) {
252
+ _queryParams["sort_order"] = sortOrder;
253
+ }
254
+ if (page !== undefined) {
255
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
256
+ }
257
+ if (pageSize !== undefined) {
258
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
259
+ }
260
+ if (search !== undefined) {
261
+ _queryParams["search"] = search;
262
+ }
263
+ if (filterOrderIds !== undefined) {
264
+ if (Array.isArray(filterOrderIds)) {
265
+ _queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
266
+ }
267
+ else {
268
+ _queryParams["filter_order_ids"] = filterOrderIds;
269
+ }
270
+ }
271
+ if (filterOrderShortId !== undefined) {
272
+ _queryParams["filter_order_short_id"] = filterOrderShortId;
273
+ }
274
+ if (filterOrderOffChrtReferenceId !== undefined) {
275
+ _queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
276
+ }
277
+ if (filterDepartmentId !== undefined) {
278
+ _queryParams["filter_department_id"] = filterDepartmentId;
279
+ }
280
+ if (filterTaskType !== undefined) {
281
+ if (Array.isArray(filterTaskType)) {
282
+ _queryParams["filter_task_type"] = filterTaskType.map((item) => item);
283
+ }
284
+ else {
285
+ _queryParams["filter_task_type"] = filterTaskType;
286
+ }
287
+ }
288
+ if (filterStatus !== undefined) {
289
+ if (Array.isArray(filterStatus)) {
290
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
291
+ }
292
+ else {
293
+ _queryParams["filter_status"] = filterStatus;
294
+ }
295
+ }
296
+ if (filterAssignedUserId !== undefined) {
297
+ _queryParams["filter_assigned_user_id"] = filterAssignedUserId;
298
+ }
299
+ if (filterDeadlineGte !== undefined) {
300
+ _queryParams["filter_deadline_gte"] = filterDeadlineGte;
301
+ }
302
+ if (filterDeadlineLte !== undefined) {
303
+ _queryParams["filter_deadline_lte"] = filterDeadlineLte;
304
+ }
305
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
306
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
307
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "operations/operations_tasks/expanded/list/v1"),
308
+ method: "GET",
309
+ headers: _headers,
310
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
311
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
312
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
313
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
314
+ });
315
+ if (_response.ok) {
316
+ return { data: _response.body, rawResponse: _response.rawResponse };
317
+ }
318
+ if (_response.error.reason === "status-code") {
319
+ switch (_response.error.statusCode) {
320
+ case 422:
321
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
322
+ default:
323
+ throw new errors.ChrtError({
324
+ statusCode: _response.error.statusCode,
325
+ body: _response.error.body,
326
+ rawResponse: _response.rawResponse,
327
+ });
328
+ }
329
+ }
330
+ switch (_response.error.reason) {
331
+ case "non-json":
332
+ throw new errors.ChrtError({
333
+ statusCode: _response.error.statusCode,
334
+ body: _response.error.rawBody,
335
+ rawResponse: _response.rawResponse,
336
+ });
337
+ case "timeout":
338
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/operations_tasks/expanded/list/v1.");
339
+ case "unknown":
340
+ throw new errors.ChrtError({
341
+ message: _response.error.errorMessage,
342
+ rawResponse: _response.rawResponse,
343
+ });
344
+ }
345
+ });
346
+ }
347
+ /**
348
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
219
349
  *
220
350
  * @param {Chrt.operations.OperationsTasksListV1Request} request
221
351
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -228,6 +358,7 @@ export class OperationsTasks {
228
358
  * sort_order: "asc",
229
359
  * page: 1,
230
360
  * page_size: 1,
361
+ * search: "search",
231
362
  * filter_order_short_id: "filter_order_short_id",
232
363
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
233
364
  * filter_department_id: "filter_department_id",
@@ -242,7 +373,7 @@ export class OperationsTasks {
242
373
  __listV1() {
243
374
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
244
375
  var _a, _b, _c, _d, _e, _f;
245
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_tag: filterTag, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
376
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
246
377
  const _queryParams = {};
247
378
  if (sortBy !== undefined) {
248
379
  _queryParams["sort_by"] = sortBy;
@@ -256,6 +387,9 @@ export class OperationsTasks {
256
387
  if (pageSize !== undefined) {
257
388
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
258
389
  }
390
+ if (search !== undefined) {
391
+ _queryParams["search"] = search;
392
+ }
259
393
  if (filterOrderIds !== undefined) {
260
394
  if (Array.isArray(filterOrderIds)) {
261
395
  _queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
@@ -289,14 +423,6 @@ export class OperationsTasks {
289
423
  _queryParams["filter_status"] = filterStatus;
290
424
  }
291
425
  }
292
- if (filterTag !== undefined) {
293
- if (Array.isArray(filterTag)) {
294
- _queryParams["filter_tag"] = filterTag.map((item) => item);
295
- }
296
- else {
297
- _queryParams["filter_tag"] = filterTag;
298
- }
299
- }
300
426
  if (filterAssignedUserId !== undefined) {
301
427
  _queryParams["filter_assigned_user_id"] = filterAssignedUserId;
302
428
  }
@@ -414,7 +540,7 @@ export class OperationsTasks {
414
540
  });
415
541
  }
416
542
  /**
417
- * Creates a new OperationsTask on an Order the caller's organization has a Case for. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
543
+ * Creates a new OperationsTask on an Order where the caller is coordinator or executor. Seeds department_id from the caller's Order department fields. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
418
544
  *
419
545
  * @param {Chrt.operations.OperationsTaskClientCreate1} request
420
546
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -600,7 +726,7 @@ export class OperationsTasks {
600
726
  });
601
727
  }
602
728
  /**
603
- * Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
729
+ * Updates editable fields (task_type, title, description, deadline_timestamp, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
604
730
  *
605
731
  * @param {string} taskId
606
732
  * @param {Chrt.operations.OperationsTaskClientUpdate1} request
@@ -18,7 +18,6 @@ export interface OperationsTaskClientCreate1 {
18
18
  description: string;
19
19
  order_id: string;
20
20
  schema_version: number;
21
- tags?: string[];
22
21
  task_type: Chrt.OperationsTaskTypeEnum;
23
22
  title: string;
24
23
  }
@@ -10,7 +10,6 @@ export interface OperationsTaskClientUpdate1 {
10
10
  assigned_user_ids?: string[];
11
11
  deadline_timestamp?: string | null;
12
12
  description?: string | null;
13
- tags?: string[];
14
13
  task_type?: Chrt.OperationsTaskTypeEnum | null;
15
14
  title?: string | null;
16
15
  }