@chrt-inc/typescript-sdk 1.760.0 → 1.772.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 (294) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -0
  3. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -0
  4. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +36 -2
  5. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +138 -1
  6. package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.ts +14 -0
  7. package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/index.d.ts +1 -1
  8. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +16 -0
  9. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +65 -0
  10. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +13 -0
  11. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  13. package/dist/cjs/api/resources/orgs/client/Client.js +7 -2
  14. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  15. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  16. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +106 -0
  17. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.js +384 -0
  18. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.js +17 -0
  20. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts +15 -0
  21. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts +12 -0
  22. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +14 -0
  23. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.js +2 -0
  25. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.js +17 -0
  27. package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
  28. package/dist/cjs/api/resources/shipping/client/Client.js +18 -8
  29. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +2 -2
  30. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +2 -2
  31. package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
  32. package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
  33. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
  34. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
  35. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +5 -0
  36. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +13 -19
  37. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.js +41 -47
  38. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -0
  39. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +142 -0
  40. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +530 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.js +17 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +16 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +12 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.ts +13 -0
  46. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.js +5 -0
  47. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.ts +30 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.js +5 -0
  49. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +4 -0
  50. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.js +2 -0
  51. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.js +17 -0
  53. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +3 -3
  54. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +2 -2
  55. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +7 -4
  56. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +7 -2
  57. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +73 -0
  58. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +252 -0
  59. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.js +17 -0
  61. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.ts +32 -0
  62. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.js +5 -0
  63. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +23 -0
  64. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.js +5 -0
  65. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.js +2 -0
  67. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.js +17 -0
  69. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +2 -2
  70. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +2 -2
  71. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +3 -0
  72. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +4 -0
  73. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +15 -0
  74. package/dist/cjs/api/types/BillingReviewStatusEnum.js +12 -0
  75. package/dist/cjs/api/types/Case1.d.ts +1 -0
  76. package/dist/cjs/api/types/{InternalDelegationTokenReq.d.ts → InternalDelegationJwtReq.d.ts} +2 -2
  77. package/dist/cjs/api/types/InternalDelegationJwtReq.js +5 -0
  78. package/dist/cjs/api/types/{InternalDelegationTokenRes.d.ts → InternalDelegationJwtRes.d.ts} +1 -1
  79. package/dist/cjs/api/types/InternalDelegationJwtRes.js +5 -0
  80. package/dist/cjs/api/types/LineItemGroup1.d.ts +3 -0
  81. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +4 -3
  82. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -0
  83. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +2 -1
  84. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +1 -0
  85. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +2 -1
  86. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +1 -0
  87. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +2 -1
  88. package/dist/cjs/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.ts +1 -8
  89. package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.js +5 -0
  90. package/dist/cjs/api/types/OffChrtVendor1.d.ts +13 -0
  91. package/dist/cjs/api/types/OffChrtVendor1.js +5 -0
  92. package/dist/cjs/api/types/OffChrtVendorListRes.d.ts +8 -0
  93. package/dist/cjs/api/types/OffChrtVendorListRes.js +5 -0
  94. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.d.ts +1 -11
  95. package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +0 -10
  96. package/dist/cjs/api/types/Order1.d.ts +2 -0
  97. package/dist/cjs/api/types/OrderBuilderReq.d.ts +3 -2
  98. package/dist/cjs/api/types/OrderBuilderRes.d.ts +2 -2
  99. package/dist/cjs/api/types/OrderGroup1.d.ts +21 -0
  100. package/dist/cjs/api/types/OrderGroup1.js +5 -0
  101. package/dist/cjs/api/types/OrderGroupExpandedListRes.d.ts +8 -0
  102. package/dist/cjs/api/types/OrderGroupExpandedListRes.js +5 -0
  103. package/dist/cjs/api/types/OrderGroupExpandedRow.d.ts +9 -0
  104. package/dist/cjs/api/types/OrderGroupExpandedRow.js +5 -0
  105. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.d.ts +10 -0
  106. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.js +12 -0
  107. package/dist/cjs/api/types/OrderGroupListRes.d.ts +8 -0
  108. package/dist/cjs/api/types/OrderGroupListRes.js +5 -0
  109. package/dist/cjs/api/types/OrderGroupSortByEnum.d.ts +9 -0
  110. package/dist/cjs/api/types/OrderGroupSortByEnum.js +11 -0
  111. package/dist/cjs/api/types/OrderTemplate1.d.ts +7 -4
  112. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +21 -0
  113. package/dist/cjs/api/types/OrderTemplateCore1.js +5 -0
  114. package/dist/cjs/api/types/{OrderTemplateExpanded.d.ts → OrderTemplateExpanded1.d.ts} +4 -4
  115. package/dist/cjs/api/types/OrderTemplateExpanded1.js +5 -0
  116. package/dist/{esm/api/types/OrderTemplateOrgRef1.d.mts → cjs/api/types/OrderTemplateOrgInfo1.d.ts} +1 -1
  117. package/dist/cjs/api/types/OrderTemplateOrgInfo1.js +5 -0
  118. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +10 -0
  119. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.js +5 -0
  120. package/dist/cjs/api/types/Session1.d.ts +3 -0
  121. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +16 -0
  122. package/dist/cjs/api/types/ShippingTurnClientCreate1.js +5 -0
  123. package/dist/cjs/api/types/Statement1.d.ts +3 -0
  124. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -0
  125. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +10 -0
  126. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js +5 -0
  127. package/dist/cjs/api/types/UngroupedOrderListRes.d.ts +8 -0
  128. package/dist/cjs/api/types/UngroupedOrderListRes.js +5 -0
  129. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +8 -0
  130. package/dist/cjs/api/types/UngroupedOrderRow.js +5 -0
  131. package/dist/cjs/api/types/UngroupedOrderSortByEnum.d.ts +11 -0
  132. package/dist/cjs/api/types/UngroupedOrderSortByEnum.js +13 -0
  133. package/dist/cjs/api/types/{WorkflowActorContext.d.ts → WorkflowActor.d.ts} +1 -1
  134. package/dist/cjs/api/types/WorkflowActor.js +5 -0
  135. package/dist/cjs/api/types/index.d.ts +22 -6
  136. package/dist/cjs/api/types/index.js +22 -6
  137. package/dist/cjs/version.d.ts +1 -1
  138. package/dist/cjs/version.js +1 -1
  139. package/dist/esm/Client.mjs +2 -2
  140. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -0
  141. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -0
  142. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +36 -2
  143. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +138 -1
  144. package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.mts +14 -0
  145. package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.d.mts +1 -1
  146. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +16 -0
  147. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +65 -0
  148. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +13 -0
  149. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +1 -0
  150. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  151. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  152. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  153. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  154. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +106 -0
  155. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.mjs +347 -0
  156. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.d.mts +2 -0
  157. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.mjs +1 -0
  158. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts +15 -0
  159. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts +12 -0
  160. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +14 -0
  161. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +3 -0
  162. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.mjs +1 -0
  163. package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.d.mts +1 -0
  164. package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.mjs +1 -0
  165. package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
  166. package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
  167. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +2 -2
  168. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +2 -2
  169. package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
  170. package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
  171. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
  172. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
  173. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +5 -0
  174. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +13 -19
  175. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.mjs +41 -47
  176. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -0
  177. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +142 -0
  178. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +493 -0
  179. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.d.mts +2 -0
  180. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.mjs +1 -0
  181. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +16 -0
  182. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +12 -0
  183. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.mts +13 -0
  184. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.mjs +4 -0
  185. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.mts +30 -0
  186. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.mjs +4 -0
  187. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +4 -0
  188. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.mjs +1 -0
  189. package/dist/esm/api/resources/shipping/resources/orderGroups/index.d.mts +1 -0
  190. package/dist/esm/api/resources/shipping/resources/orderGroups/index.mjs +1 -0
  191. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +3 -3
  192. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +2 -2
  193. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +7 -4
  194. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +7 -2
  195. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +73 -0
  196. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +215 -0
  197. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.mts +2 -0
  198. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.mjs +1 -0
  199. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.mts +32 -0
  200. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.mjs +4 -0
  201. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +23 -0
  202. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.mjs +4 -0
  203. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.mts +2 -0
  204. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.mjs +1 -0
  205. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.d.mts +1 -0
  206. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.mjs +1 -0
  207. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +2 -2
  208. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +2 -2
  209. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +3 -0
  210. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +4 -0
  211. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +15 -0
  212. package/dist/esm/api/types/BillingReviewStatusEnum.mjs +9 -0
  213. package/dist/esm/api/types/Case1.d.mts +1 -0
  214. package/dist/esm/api/types/{InternalDelegationTokenReq.d.mts → InternalDelegationJwtReq.d.mts} +2 -2
  215. package/dist/esm/api/types/InternalDelegationJwtReq.mjs +4 -0
  216. package/dist/esm/api/types/{InternalDelegationTokenRes.d.mts → InternalDelegationJwtRes.d.mts} +1 -1
  217. package/dist/esm/api/types/InternalDelegationJwtRes.mjs +4 -0
  218. package/dist/esm/api/types/LineItemGroup1.d.mts +3 -0
  219. package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +4 -3
  220. package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -0
  221. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +2 -1
  222. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +1 -0
  223. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +2 -1
  224. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +1 -0
  225. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +2 -1
  226. package/dist/esm/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.mts +1 -8
  227. package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.mjs +4 -0
  228. package/dist/esm/api/types/OffChrtVendor1.d.mts +13 -0
  229. package/dist/esm/api/types/OffChrtVendor1.mjs +4 -0
  230. package/dist/esm/api/types/OffChrtVendorListRes.d.mts +8 -0
  231. package/dist/esm/api/types/OffChrtVendorListRes.mjs +4 -0
  232. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.d.mts +1 -11
  233. package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +0 -10
  234. package/dist/esm/api/types/Order1.d.mts +2 -0
  235. package/dist/esm/api/types/OrderBuilderReq.d.mts +3 -2
  236. package/dist/esm/api/types/OrderBuilderRes.d.mts +2 -2
  237. package/dist/esm/api/types/OrderGroup1.d.mts +21 -0
  238. package/dist/esm/api/types/OrderGroup1.mjs +4 -0
  239. package/dist/esm/api/types/OrderGroupExpandedListRes.d.mts +8 -0
  240. package/dist/esm/api/types/OrderGroupExpandedListRes.mjs +4 -0
  241. package/dist/esm/api/types/OrderGroupExpandedRow.d.mts +9 -0
  242. package/dist/esm/api/types/OrderGroupExpandedRow.mjs +4 -0
  243. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.d.mts +10 -0
  244. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.mjs +9 -0
  245. package/dist/esm/api/types/OrderGroupListRes.d.mts +8 -0
  246. package/dist/esm/api/types/OrderGroupListRes.mjs +4 -0
  247. package/dist/esm/api/types/OrderGroupSortByEnum.d.mts +9 -0
  248. package/dist/esm/api/types/OrderGroupSortByEnum.mjs +8 -0
  249. package/dist/esm/api/types/OrderTemplate1.d.mts +7 -4
  250. package/dist/esm/api/types/OrderTemplateCore1.d.mts +21 -0
  251. package/dist/esm/api/types/OrderTemplateCore1.mjs +4 -0
  252. package/dist/esm/api/types/{OrderTemplateExpanded.d.mts → OrderTemplateExpanded1.d.mts} +4 -4
  253. package/dist/esm/api/types/OrderTemplateExpanded1.mjs +4 -0
  254. package/dist/{cjs/api/types/OrderTemplateOrgRef1.d.ts → esm/api/types/OrderTemplateOrgInfo1.d.mts} +1 -1
  255. package/dist/esm/api/types/OrderTemplateOrgInfo1.mjs +4 -0
  256. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +10 -0
  257. package/dist/esm/api/types/OrderTemplateResolvabilityRes.mjs +4 -0
  258. package/dist/esm/api/types/Session1.d.mts +3 -0
  259. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +16 -0
  260. package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +4 -0
  261. package/dist/esm/api/types/Statement1.d.mts +3 -0
  262. package/dist/esm/api/types/TaskGroup1.d.mts +1 -0
  263. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +10 -0
  264. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs +4 -0
  265. package/dist/esm/api/types/UngroupedOrderListRes.d.mts +8 -0
  266. package/dist/esm/api/types/UngroupedOrderListRes.mjs +4 -0
  267. package/dist/esm/api/types/UngroupedOrderRow.d.mts +8 -0
  268. package/dist/esm/api/types/UngroupedOrderRow.mjs +4 -0
  269. package/dist/esm/api/types/UngroupedOrderSortByEnum.d.mts +11 -0
  270. package/dist/esm/api/types/UngroupedOrderSortByEnum.mjs +10 -0
  271. package/dist/esm/api/types/{WorkflowActorContext.d.mts → WorkflowActor.d.mts} +1 -1
  272. package/dist/esm/api/types/WorkflowActor.mjs +4 -0
  273. package/dist/esm/api/types/index.d.mts +22 -6
  274. package/dist/esm/api/types/index.mjs +22 -6
  275. package/dist/esm/version.d.mts +1 -1
  276. package/dist/esm/version.mjs +1 -1
  277. package/package.json +1 -1
  278. package/reference.md +1650 -478
  279. package/dist/cjs/api/types/OrderBuilderPrecheckRes.d.ts +0 -7
  280. package/dist/esm/api/types/OrderBuilderPrecheckRes.d.mts +0 -7
  281. /package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/{NotificationIntentAdHocClientCreate1.js → AdHocListBySessionIdV1Request.js} +0 -0
  282. /package/dist/cjs/api/{types/InternalDelegationTokenReq.js → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.js} +0 -0
  283. /package/dist/cjs/api/{types/InternalDelegationTokenRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.js} +0 -0
  284. /package/dist/cjs/api/{types/OrderBuilderPrecheckRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js} +0 -0
  285. /package/dist/cjs/api/{types/OrderTemplateExpanded.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.js} +0 -0
  286. /package/dist/cjs/api/{types/OrderTemplateOrgRef1.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.js} +0 -0
  287. /package/dist/cjs/api/{types/WorkflowActorContext.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.js} +0 -0
  288. /package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/{NotificationIntentAdHocClientCreate1.mjs → AdHocListBySessionIdV1Request.mjs} +0 -0
  289. /package/dist/esm/api/{types/InternalDelegationTokenReq.mjs → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.mjs} +0 -0
  290. /package/dist/esm/api/{types/InternalDelegationTokenRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs} +0 -0
  291. /package/dist/esm/api/{types/OrderBuilderPrecheckRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs} +0 -0
  292. /package/dist/esm/api/{types/OrderTemplateExpanded.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs} +0 -0
  293. /package/dist/esm/api/{types/OrderTemplateOrgRef1.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.mjs} +0 -0
  294. /package/dist/esm/api/{types/WorkflowActorContext.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.mjs} +0 -0
@@ -31,4 +31,5 @@ export const NotificationEventsForOrgsEnum = {
31
31
  BillingLineItemGroupMessage: "billing.line_item_group.message",
32
32
  BillingLineItemGroupFileAdded: "billing.line_item_group.file_added",
33
33
  BillingLineItemFileAdded: "billing.line_item.file_added",
34
+ TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered",
34
35
  };
@@ -8,7 +8,7 @@
8
8
  * - Order events: via `order.created_by_user_id`
9
9
  * - TaskGroup events: via `task_group.driver_id`
10
10
  */
11
- export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.case.operator_assigned" | "operations.case.group_assigned" | "operations.case.message" | "operations.case.file_added" | "billing.line_item_group.message" | "billing.line_item_group.file_added";
11
+ export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.case.operator_assigned" | "operations.case.group_assigned" | "operations.case.message" | "operations.case.file_added" | "billing.line_item_group.message" | "billing.line_item_group.file_added" | "tracking.session.destination_geofence_entered";
12
12
  export declare const NotificationEventsForUsersEnum: {
13
13
  readonly ShippingOrderStaged: "shipping.order.staged";
14
14
  readonly ShippingOrderCompleted: "shipping.order.completed";
@@ -26,4 +26,5 @@ export declare const NotificationEventsForUsersEnum: {
26
26
  readonly OperationsCaseFileAdded: "operations.case.file_added";
27
27
  readonly BillingLineItemGroupMessage: "billing.line_item_group.message";
28
28
  readonly BillingLineItemGroupFileAdded: "billing.line_item_group.file_added";
29
+ readonly TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered";
29
30
  };
@@ -18,4 +18,5 @@ export const NotificationEventsForUsersEnum = {
18
18
  OperationsCaseFileAdded: "operations.case.file_added",
19
19
  BillingLineItemGroupMessage: "billing.line_item_group.message",
20
20
  BillingLineItemGroupFileAdded: "billing.line_item_group.file_added",
21
+ TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered",
21
22
  };
@@ -9,7 +9,8 @@ export interface NotificationIntentAdHoc1 {
9
9
  created_by_org_id: string;
10
10
  /** Must be a string starting with `user_` */
11
11
  created_by_user_id: string;
12
- order_id: string;
12
+ order_id?: string | null;
13
+ session_id?: string | null;
13
14
  directory_entry_id: string;
14
15
  email_events?: Chrt.NotificationEventsForAdHocEnum[];
15
16
  push_events?: Chrt.NotificationEventsForAdHocEnum[];
@@ -1,14 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {
8
- * schema_version: 1,
9
- * directory_entry_id: "directory_entry_id"
10
- * }
11
- */
4
+ import * as Chrt from "../index.mjs";
12
5
  export interface NotificationIntentAdHocClientCreate1 {
13
6
  schema_version: number;
14
7
  directory_entry_id: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OffChrtVendor1 {
5
+ schema_version: number;
6
+ name: string;
7
+ notes?: string | null;
8
+ _id: string;
9
+ /** Must be a string starting with `org_` */
10
+ created_by_org_id: string;
11
+ /** Must be a string starting with `user_` */
12
+ created_by_user_id: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OffChrtVendorListRes {
6
+ items: Chrt.OffChrtVendor1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,22 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OnboardCourierTaskActionEnum1 = "obc__courier_departed_for_pickup_location" | "obc__courier_arrived_at_pickup_location" | "obc__cargo_picked_up" | "obc__courier_departed_for_airport" | "obc__courier_arrived_at_airport" | "obc__courier_thru_security" | "obc__cargo_received_by_airline" | "obc__courier_boarded_flight" | "obc__flight_departed" | "obc__flight_arrived" | "obc__courier_deboarded_flight" | "obc__courier_cleared_customs" | "obc__courier_recovered_cargo" | "obc__courier_departed_for_delivery_location" | "obc__courier_arrived_at_delivery_location" | "obc__cargo_delivered";
4
+ export type OnboardCourierTaskActionEnum1 = "obc__cargo_picked_up" | "obc__courier_thru_security" | "obc__courier_boarded_flight" | "obc__courier_deboarded_flight" | "obc__courier_cleared_customs" | "obc__cargo_delivered";
5
5
  export declare const OnboardCourierTaskActionEnum1: {
6
- readonly ObcCourierDepartedForPickupLocation: "obc__courier_departed_for_pickup_location";
7
- readonly ObcCourierArrivedAtPickupLocation: "obc__courier_arrived_at_pickup_location";
8
6
  readonly ObcCargoPickedUp: "obc__cargo_picked_up";
9
- readonly ObcCourierDepartedForAirport: "obc__courier_departed_for_airport";
10
- readonly ObcCourierArrivedAtAirport: "obc__courier_arrived_at_airport";
11
7
  readonly ObcCourierThruSecurity: "obc__courier_thru_security";
12
- readonly ObcCargoReceivedByAirline: "obc__cargo_received_by_airline";
13
8
  readonly ObcCourierBoardedFlight: "obc__courier_boarded_flight";
14
- readonly ObcFlightDeparted: "obc__flight_departed";
15
- readonly ObcFlightArrived: "obc__flight_arrived";
16
9
  readonly ObcCourierDeboardedFlight: "obc__courier_deboarded_flight";
17
10
  readonly ObcCourierClearedCustoms: "obc__courier_cleared_customs";
18
- readonly ObcCourierRecoveredCargo: "obc__courier_recovered_cargo";
19
- readonly ObcCourierDepartedForDeliveryLocation: "obc__courier_departed_for_delivery_location";
20
- readonly ObcCourierArrivedAtDeliveryLocation: "obc__courier_arrived_at_delivery_location";
21
11
  readonly ObcCargoDelivered: "obc__cargo_delivered";
22
12
  };
@@ -2,20 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export const OnboardCourierTaskActionEnum1 = {
5
- ObcCourierDepartedForPickupLocation: "obc__courier_departed_for_pickup_location",
6
- ObcCourierArrivedAtPickupLocation: "obc__courier_arrived_at_pickup_location",
7
5
  ObcCargoPickedUp: "obc__cargo_picked_up",
8
- ObcCourierDepartedForAirport: "obc__courier_departed_for_airport",
9
- ObcCourierArrivedAtAirport: "obc__courier_arrived_at_airport",
10
6
  ObcCourierThruSecurity: "obc__courier_thru_security",
11
- ObcCargoReceivedByAirline: "obc__cargo_received_by_airline",
12
7
  ObcCourierBoardedFlight: "obc__courier_boarded_flight",
13
- ObcFlightDeparted: "obc__flight_departed",
14
- ObcFlightArrived: "obc__flight_arrived",
15
8
  ObcCourierDeboardedFlight: "obc__courier_deboarded_flight",
16
9
  ObcCourierClearedCustoms: "obc__courier_cleared_customs",
17
- ObcCourierRecoveredCargo: "obc__courier_recovered_cargo",
18
- ObcCourierDepartedForDeliveryLocation: "obc__courier_departed_for_delivery_location",
19
- ObcCourierArrivedAtDeliveryLocation: "obc__courier_arrived_at_delivery_location",
20
10
  ObcCargoDelivered: "obc__cargo_delivered",
21
11
  };
@@ -12,6 +12,8 @@ export interface Order1 {
12
12
  order_schedule_id?: string | null;
13
13
  order_schedule_run_idempotency_key?: string | null;
14
14
  order_template_id?: string | null;
15
+ /** Client-supplied key for use by agentic order builder */
16
+ creation_idempotency_key?: string | null;
15
17
  /** Must be a string starting with `user_` */
16
18
  created_by_user_id?: string | null;
17
19
  /** Must be a string starting with `org_` */
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.mjs";
4
5
  export interface OrderBuilderReq {
5
- order_short_id: string;
6
- text: string;
6
+ order_template_core?: Chrt.OrderTemplateCore1 | null;
7
+ order_template_id?: string | null;
7
8
  }
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrderBuilderRes {
5
- order_id: string;
6
- order_short_id: string;
5
+ order_id?: string | null;
6
+ order_short_id?: string | null;
7
7
  summary: string;
8
8
  validation_passed?: boolean;
9
9
  validation_issues?: string[];
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderGroup1 {
6
+ schema_version: number;
7
+ name: string;
8
+ description?: string | null;
9
+ _id: string;
10
+ short_id: string;
11
+ order_ids?: string[];
12
+ /** Must be a string starting with `org_` */
13
+ owned_by_org_id: string;
14
+ billing_review_status?: Chrt.BillingReviewStatusEnum;
15
+ /** Must be a string starting with `user_` */
16
+ created_by_user_id: string;
17
+ /** Must be a string starting with `org_` */
18
+ created_by_org_id: string;
19
+ created_at_timestamp: string;
20
+ last_edited_at_timestamp: string;
21
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderGroupExpandedListRes {
6
+ items: Chrt.OrderGroupExpandedRow[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderGroupExpandedRow {
6
+ order_group: Chrt.OrderGroup1;
7
+ orders: Chrt.Order1[];
8
+ shipping_status?: Chrt.OrderStatusEnum1 | null;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderGroupExpandedSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name" | "billing_review_status";
5
+ export declare const OrderGroupExpandedSortByEnum: {
6
+ readonly CreatedAtTimestamp: "created_at_timestamp";
7
+ readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly Name: "name";
9
+ readonly BillingReviewStatus: "billing_review_status";
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const OrderGroupExpandedSortByEnum = {
5
+ CreatedAtTimestamp: "created_at_timestamp",
6
+ LastEditedAtTimestamp: "last_edited_at_timestamp",
7
+ Name: "name",
8
+ BillingReviewStatus: "billing_review_status",
9
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderGroupListRes {
6
+ items: Chrt.OrderGroup1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderGroupSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name";
5
+ export declare const OrderGroupSortByEnum: {
6
+ readonly CreatedAtTimestamp: "created_at_timestamp";
7
+ readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly Name: "name";
9
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const OrderGroupSortByEnum = {
5
+ CreatedAtTimestamp: "created_at_timestamp",
6
+ LastEditedAtTimestamp: "last_edited_at_timestamp",
7
+ Name: "name",
8
+ };
@@ -3,16 +3,19 @@
3
3
  */
4
4
  export interface OrderTemplate1 {
5
5
  schema_version: number;
6
- name: string;
7
- description?: string | null;
8
- order_input?: string | null;
9
- off_chrt_reference_id_str?: string | null;
6
+ text?: string | null;
10
7
  /** Must be a string starting with `org_` */
11
8
  shipper_org_id?: string | null;
12
9
  off_chrt_shipper_org_id?: string | null;
13
10
  executor_org_ids?: string[];
14
11
  driver_ids?: string[];
15
12
  directory_entry_ids?: string[];
13
+ /** Must be a string starting with `org_` */
14
+ coordinator_org_id?: string | null;
15
+ department_id?: string | null;
16
+ name: string;
17
+ description?: string | null;
18
+ off_chrt_reference_id_str?: string | null;
16
19
  _id: string;
17
20
  /** Must be a string starting with `user_` */
18
21
  owned_by_user_id: string;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Shared seed of an order build: the order text + long-lived references. Reused by the library template (OrderTemplateBase1) and the ad-hoc kickoff payload so the fields the builder seeds from can't drift. (Mirrors TaskCore1.)
6
+ *
7
+ * NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
8
+ */
9
+ export interface OrderTemplateCore1 {
10
+ schema_version: number;
11
+ text?: string | null;
12
+ /** Must be a string starting with `org_` */
13
+ shipper_org_id?: string | null;
14
+ off_chrt_shipper_org_id?: string | null;
15
+ executor_org_ids?: string[];
16
+ driver_ids?: string[];
17
+ directory_entry_ids?: string[];
18
+ /** Must be a string starting with `org_` */
19
+ coordinator_org_id?: string | null;
20
+ department_id?: string | null;
21
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -2,11 +2,11 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface OrderTemplateExpanded {
6
- order_template: Chrt.OrderTemplate1;
7
- shipper_org?: Chrt.OrderTemplateOrgRef1 | null;
5
+ export interface OrderTemplateExpanded1 {
6
+ shipper_org?: Chrt.OrderTemplateOrgInfo1 | null;
8
7
  off_chrt_shipper_org?: Chrt.OffChrtShipperOrg1 | null;
9
- executor_orgs?: Chrt.OrderTemplateOrgRef1[];
8
+ executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
10
9
  drivers?: Chrt.Driver1[];
11
10
  directory_entries?: Chrt.DirectoryEntry1[];
11
+ order_template: Chrt.OrderTemplate1;
12
12
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OrderTemplateOrgRef1 {
4
+ export interface OrderTemplateOrgInfo1 {
5
5
  /** Must be a string starting with `org_` */
6
6
  org_id: string;
7
7
  company_name?: string | null;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderTemplateResolvabilityRes {
5
+ valid: boolean;
6
+ unresolvable_off_chrt_shipper?: boolean;
7
+ unresolvable_driver_ids?: string[];
8
+ unresolvable_directory_entry_ids?: string[];
9
+ unresolvable_coordinator?: boolean;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -24,6 +24,9 @@ export interface Session1 {
24
24
  last_seen_at_timestamp?: string | null;
25
25
  last_seen_at_location_city?: string | null;
26
26
  last_seen_at_location_large_city?: string | null;
27
+ destination_geofence_location?: Chrt.LocationFeature | null;
28
+ destination_geofence_radius_miles?: number;
29
+ destination_geofence_entered?: boolean;
27
30
  fa_alert_ids?: number[];
28
31
  flight_loaded_statuses?: string[];
29
32
  fa_alert_id_by_flight_number?: Record<string, number>;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ShippingTurnClientCreate1 {
5
+ text?: string | null;
6
+ /** Must be a string starting with `org_` */
7
+ shipper_org_id?: string | null;
8
+ off_chrt_shipper_org_id?: string | null;
9
+ executor_org_ids?: string[];
10
+ driver_ids?: string[];
11
+ directory_entry_ids?: string[];
12
+ cargo_ids?: string[];
13
+ task_ids?: string[];
14
+ task_group_ids?: string[];
15
+ task_artifact_ids?: string[];
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -10,6 +10,8 @@ export interface Statement1 {
10
10
  order_ids?: string[];
11
11
  order_short_ids?: string[];
12
12
  order_off_chrt_reference_ids?: string[];
13
+ order_group_id?: string | null;
14
+ order_group_short_id?: string | null;
13
15
  amount?: number | null;
14
16
  units?: Chrt.UnitsEnum;
15
17
  /** Must be a string starting with `user_` */
@@ -24,6 +26,7 @@ export interface Statement1 {
24
26
  payment_destination_org_id?: string | null;
25
27
  payment_destination_off_chrt_provider_org_id?: string | null;
26
28
  payment_destination_driver_id?: string | null;
29
+ payment_destination_off_chrt_vendor_id?: string | null;
27
30
  status?: Chrt.StatementStatusEnum1;
28
31
  stripe_invoice_id?: string | null;
29
32
  stripe_invoice_url?: string | null;
@@ -35,6 +35,7 @@ export interface TaskGroup1 {
35
35
  exception_at_timestamp?: string | null;
36
36
  task_group_type: Chrt.TaskGroupTypeEnum1;
37
37
  vehicle_type?: Chrt.VehicleTypeEnum | null;
38
+ flight_setup_notes?: string | null;
38
39
  mileage_estimated?: number | null;
39
40
  mileage_observed?: number | null;
40
41
  wait_time_total_minutes?: number | null;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TrackingSessionDestinationGeofenceEnteredWebhookPayload {
5
+ event_type?: "tracking.session.destination_geofence_entered";
6
+ /** UTC timestamp when the event occurred */
7
+ event_timestamp: string;
8
+ /** The tracking session whose tracker entered the destination geofence */
9
+ session_id: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface UngroupedOrderListRes {
6
+ items: Chrt.UngroupedOrderRow[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface UngroupedOrderRow {
6
+ order: Chrt.Order1;
7
+ billing_review_status: Chrt.BillingReviewStatusEnum;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type UngroupedOrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "status";
5
+ export declare const UngroupedOrderSortByEnum: {
6
+ readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
+ readonly StagedAtTimestamp: "staged_at_timestamp";
8
+ readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
+ readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly Status: "status";
11
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const UngroupedOrderSortByEnum = {
5
+ DraftStartedAtTimestamp: "draft_started_at_timestamp",
6
+ StagedAtTimestamp: "staged_at_timestamp",
7
+ InProgressAtTimestamp: "in_progress_at_timestamp",
8
+ CompletedAtTimestamp: "completed_at_timestamp",
9
+ Status: "status",
10
+ };
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface WorkflowActorContext {
5
+ export interface WorkflowActor {
6
6
  /** Must be a string starting with `user_` */
7
7
  user_id: string;
8
8
  /** Must be a string starting with `org_` */
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};