@chrt-inc/typescript-sdk 1.929.0 → 1.932.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 (457) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +13 -8
  3. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +3 -0
  4. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.js +3 -0
  5. package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.ts +3 -0
  6. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +5 -0
  7. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +5 -0
  8. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +5 -0
  9. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +4 -0
  10. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +4 -0
  11. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +4 -0
  12. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +3 -0
  13. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +3 -0
  14. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
  15. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +2 -0
  16. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +2 -0
  17. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +2 -0
  18. package/dist/cjs/api/resources/index.d.ts +1 -0
  19. package/dist/cjs/api/resources/index.js +2 -1
  20. package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.ts +2 -2
  21. package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.js +2 -2
  22. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -0
  23. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -0
  24. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +1 -0
  25. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +1 -0
  26. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +6 -0
  27. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +6 -0
  28. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +2 -0
  29. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +2 -0
  30. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +2 -0
  31. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +2 -2
  32. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +2 -2
  33. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +2 -2
  34. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +2 -2
  35. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +4 -3
  36. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +4 -3
  37. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -1
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +6 -0
  39. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +6 -0
  40. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  41. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  42. package/dist/cjs/api/resources/orgs/client/Client.d.ts +1 -0
  43. package/dist/cjs/api/resources/orgs/client/Client.js +1 -0
  44. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
  45. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +1 -1
  46. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +1 -1
  47. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +4 -4
  48. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +4 -4
  49. package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
  50. package/dist/cjs/api/resources/shipping/client/Client.js +10 -15
  51. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +3 -1
  52. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +3 -1
  53. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
  54. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +2 -1
  55. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +6 -3
  56. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +19 -11
  57. package/dist/cjs/api/resources/shipping/resources/flights/client/index.d.ts +1 -0
  58. package/dist/cjs/api/resources/shipping/resources/flights/client/index.js +15 -0
  59. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.ts +13 -0
  60. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/index.d.ts +1 -0
  61. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -2
  62. package/dist/cjs/api/resources/shipping/resources/index.js +2 -3
  63. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +1 -0
  64. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +1 -0
  65. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +1 -0
  66. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +103 -0
  67. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +442 -0
  68. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts} +1 -1
  69. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.ts} +1 -1
  70. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.ts} +2 -2
  71. package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts → client/requests/OrdersUpdateDraftReq.d.ts} +2 -2
  72. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
  75. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +0 -109
  76. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +0 -452
  77. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -2
  78. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -4
  79. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
  80. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
  81. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -0
  82. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +8 -0
  83. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +5 -0
  84. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  85. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +13 -0
  86. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +59 -0
  87. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  88. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +2 -0
  89. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.ts +1 -0
  90. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +1 -0
  91. package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +29 -0
  92. package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +27 -0
  93. package/dist/cjs/api/resources/shippingIntegrations/index.d.ts +2 -0
  94. package/dist/cjs/api/resources/shippingIntegrations/index.js +18 -0
  95. package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.d.ts +12 -14
  96. package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.js +25 -31
  97. package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +4 -0
  98. package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +43 -0
  99. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +101 -0
  100. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +388 -0
  101. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +54 -0
  102. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +44 -0
  103. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.ts +2 -0
  104. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.js +2 -0
  105. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/Client.d.ts +26 -0
  106. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/Client.js +22 -0
  107. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/index.js +2 -0
  108. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/index.d.ts +2 -0
  109. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/index.js +18 -0
  110. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.d.ts +116 -0
  111. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.js +427 -0
  112. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.d.ts +2 -0
  113. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.js +17 -0
  114. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.d.ts +19 -0
  115. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.d.ts +15 -0
  116. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.d.ts +2 -0
  117. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.js +2 -0
  118. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/index.d.ts +4 -0
  119. package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts → shippingIntegrations/resources/xcelerator}/resources/index.js +8 -3
  120. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +104 -0
  121. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +371 -0
  122. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.d.ts +2 -0
  123. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.js +17 -0
  124. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.ts +48 -0
  125. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.d.ts +15 -0
  126. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +2 -0
  127. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.js +2 -0
  128. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.d.ts +1 -0
  129. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.js +17 -0
  130. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
  131. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -7
  132. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +4 -1
  133. package/dist/cjs/api/types/{GeometryCollectionGeometriesItem.d.ts → GeometriesItem.d.ts} +2 -2
  134. package/dist/cjs/api/types/GeometryCollection.d.ts +1 -1
  135. package/dist/cjs/api/types/InternalDelegationJwtReq.d.ts +1 -1
  136. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +0 -1
  137. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +0 -1
  138. package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.d.ts → OrdersDeleteManyDraftsRes.d.ts} +1 -1
  139. package/dist/cjs/api/types/{OrdersDraftUpdateRes.d.ts → OrdersUpdateDraftRes.d.ts} +1 -1
  140. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +11 -0
  141. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +13 -0
  142. package/dist/cjs/api/types/ShippingIntegrationConnection.d.ts +24 -0
  143. package/dist/cjs/api/types/ShippingIntegrationConnectionListRes.d.ts +8 -0
  144. package/dist/cjs/api/types/ShippingIntegrationOrder1.d.ts +24 -0
  145. package/dist/cjs/api/types/ShippingIntegrationOrderListRes.d.ts +8 -0
  146. package/dist/cjs/api/types/ShippingIntegrationOrderListRes.js +5 -0
  147. package/dist/cjs/api/types/ShippingIntegrationOrderPlace1.d.ts +21 -0
  148. package/dist/cjs/api/types/ShippingIntegrationOrderPlace1.js +5 -0
  149. package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.d.ts +10 -0
  150. package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.js +12 -0
  151. package/dist/cjs/api/types/ShippingIntegrationOrderStatusEnum1.d.ts +11 -0
  152. package/dist/cjs/api/types/ShippingIntegrationOrderStatusEnum1.js +13 -0
  153. package/dist/cjs/api/types/ShippingIntegrationOrderStatusSummaryRes.d.ts +14 -0
  154. package/dist/cjs/api/types/ShippingIntegrationOrderStatusSummaryRes.js +5 -0
  155. package/dist/cjs/api/types/{WorkflowActor.d.ts → WorkflowCaller.d.ts} +1 -1
  156. package/dist/cjs/api/types/WorkflowCaller.js +5 -0
  157. package/dist/cjs/api/types/XceleratorCredsLimited1.d.ts +27 -0
  158. package/dist/cjs/api/types/XceleratorCredsLimited1.js +5 -0
  159. package/dist/cjs/api/types/XceleratorCredsListRes.d.ts +8 -0
  160. package/dist/cjs/api/types/XceleratorCredsListRes.js +5 -0
  161. package/dist/cjs/api/types/XceleratorCredsTestRes.d.ts +11 -0
  162. package/dist/cjs/api/types/XceleratorCredsTestRes.js +5 -0
  163. package/dist/cjs/api/types/XceleratorOrder1.d.ts +19 -0
  164. package/dist/cjs/api/types/XceleratorOrder1.js +5 -0
  165. package/dist/cjs/api/types/XceleratorOrderExtraResponse1.d.ts +11 -0
  166. package/dist/cjs/api/types/XceleratorOrderExtraResponse1.js +5 -0
  167. package/dist/cjs/api/types/{OrderTemplateListRes.d.ts → XceleratorOrderListRes.d.ts} +2 -2
  168. package/dist/cjs/api/types/XceleratorOrderListRes.js +5 -0
  169. package/dist/cjs/api/types/XceleratorOrderPackageResponse1.d.ts +9 -0
  170. package/dist/cjs/api/types/XceleratorOrderPackageResponse1.js +5 -0
  171. package/dist/cjs/api/types/XceleratorOrderResponse1.d.ts +82 -0
  172. package/dist/cjs/api/types/XceleratorOrderResponse1.js +5 -0
  173. package/dist/cjs/api/types/XceleratorOrderSortByEnum.d.ts +10 -0
  174. package/dist/cjs/api/types/XceleratorOrderSortByEnum.js +12 -0
  175. package/dist/cjs/api/types/index.d.ts +22 -11
  176. package/dist/cjs/api/types/index.js +22 -11
  177. package/dist/cjs/version.d.ts +1 -1
  178. package/dist/cjs/version.js +1 -1
  179. package/dist/esm/Client.d.mts +3 -0
  180. package/dist/esm/Client.mjs +7 -2
  181. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +3 -0
  182. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.mjs +3 -0
  183. package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.mts +3 -0
  184. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +5 -0
  185. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +5 -0
  186. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +5 -0
  187. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +4 -0
  188. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +4 -0
  189. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +4 -0
  190. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +3 -0
  191. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +3 -0
  192. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
  193. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +2 -0
  194. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +2 -0
  195. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +2 -0
  196. package/dist/esm/api/resources/index.d.mts +1 -0
  197. package/dist/esm/api/resources/index.mjs +1 -0
  198. package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.mts +2 -2
  199. package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.mjs +2 -2
  200. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -0
  201. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -0
  202. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +1 -0
  203. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +1 -0
  204. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +6 -0
  205. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +6 -0
  206. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +2 -0
  207. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +2 -0
  208. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +2 -0
  209. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +2 -2
  210. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +2 -2
  211. package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +2 -2
  212. package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +2 -2
  213. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +4 -3
  214. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +4 -3
  215. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -1
  216. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +6 -0
  217. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +6 -0
  218. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  219. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  220. package/dist/esm/api/resources/orgs/client/Client.d.mts +1 -0
  221. package/dist/esm/api/resources/orgs/client/Client.mjs +1 -0
  222. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
  223. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +1 -1
  224. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +1 -1
  225. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +4 -4
  226. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +4 -4
  227. package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
  228. package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
  229. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +3 -1
  230. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +3 -1
  231. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
  232. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +2 -1
  233. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +6 -3
  234. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +19 -11
  235. package/dist/esm/api/resources/shipping/resources/flights/client/index.d.mts +1 -0
  236. package/dist/esm/api/resources/shipping/resources/flights/client/index.mjs +1 -1
  237. package/dist/esm/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.mts +13 -0
  238. package/dist/esm/api/resources/shipping/resources/flights/client/requests/index.d.mts +1 -0
  239. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -2
  240. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -2
  241. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +1 -0
  242. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +1 -0
  243. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +1 -0
  244. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +103 -0
  245. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +442 -0
  246. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts} +1 -1
  247. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.mts} +1 -1
  248. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.mts} +2 -2
  249. package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts → client/requests/OrdersUpdateDraftReq.d.mts} +2 -2
  250. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
  251. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
  252. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
  253. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +0 -109
  254. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +0 -452
  255. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -2
  256. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -4
  257. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
  258. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
  259. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -0
  260. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +8 -0
  261. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +5 -0
  262. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  263. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +13 -0
  264. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +59 -0
  265. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  266. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +2 -0
  267. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.mts +1 -0
  268. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +1 -0
  269. package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +29 -0
  270. package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +23 -0
  271. package/dist/esm/api/resources/shippingIntegrations/index.d.mts +2 -0
  272. package/dist/esm/api/resources/shippingIntegrations/index.mjs +2 -0
  273. package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.d.mts +12 -14
  274. package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.mjs +23 -29
  275. package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/index.mjs +1 -0
  276. package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +4 -0
  277. package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +4 -0
  278. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +101 -0
  279. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +351 -0
  280. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +54 -0
  281. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +44 -0
  282. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.mts +2 -0
  283. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.mjs +1 -0
  284. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/Client.d.mts +26 -0
  285. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/Client.mjs +18 -0
  286. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/index.d.mts +1 -0
  287. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/index.mjs +1 -0
  288. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/index.d.mts +2 -0
  289. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/index.mjs +2 -0
  290. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.d.mts +116 -0
  291. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.mjs +390 -0
  292. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.d.mts +2 -0
  293. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.mjs +1 -0
  294. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.d.mts +19 -0
  295. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.d.mts +15 -0
  296. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.d.mts +2 -0
  297. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.mjs +1 -0
  298. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/index.d.mts +4 -0
  299. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/index.mjs +4 -0
  300. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +104 -0
  301. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +334 -0
  302. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.d.mts +2 -0
  303. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.mjs +1 -0
  304. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.mts +48 -0
  305. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.d.mts +15 -0
  306. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +2 -0
  307. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.mjs +1 -0
  308. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.d.mts +1 -0
  309. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.mjs +1 -0
  310. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
  311. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -7
  312. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +4 -1
  313. package/dist/esm/api/types/{GeometryCollectionGeometriesItem.d.mts → GeometriesItem.d.mts} +2 -2
  314. package/dist/esm/api/types/GeometryCollection.d.mts +1 -1
  315. package/dist/esm/api/types/InternalDelegationJwtReq.d.mts +1 -1
  316. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +0 -1
  317. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +0 -1
  318. package/dist/esm/api/types/{OrdersDraftDeleteManyRes.d.mts → OrdersDeleteManyDraftsRes.d.mts} +1 -1
  319. package/dist/esm/api/types/{OrdersDraftUpdateRes.d.mts → OrdersUpdateDraftRes.d.mts} +1 -1
  320. package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +11 -0
  321. package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +10 -0
  322. package/dist/esm/api/types/ShippingIntegrationConnection.d.mts +24 -0
  323. package/dist/esm/api/types/ShippingIntegrationConnectionListRes.d.mts +8 -0
  324. package/dist/esm/api/types/ShippingIntegrationOrder1.d.mts +24 -0
  325. package/dist/esm/api/types/ShippingIntegrationOrderListRes.d.mts +8 -0
  326. package/dist/esm/api/types/ShippingIntegrationOrderListRes.mjs +4 -0
  327. package/dist/esm/api/types/ShippingIntegrationOrderPlace1.d.mts +21 -0
  328. package/dist/esm/api/types/ShippingIntegrationOrderPlace1.mjs +4 -0
  329. package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.d.mts +10 -0
  330. package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.mjs +9 -0
  331. package/dist/esm/api/types/ShippingIntegrationOrderStatusEnum1.d.mts +11 -0
  332. package/dist/esm/api/types/ShippingIntegrationOrderStatusEnum1.mjs +10 -0
  333. package/dist/esm/api/types/ShippingIntegrationOrderStatusSummaryRes.d.mts +14 -0
  334. package/dist/esm/api/types/ShippingIntegrationOrderStatusSummaryRes.mjs +4 -0
  335. package/dist/esm/api/types/{WorkflowActor.d.mts → WorkflowCaller.d.mts} +1 -1
  336. package/dist/esm/api/types/WorkflowCaller.mjs +4 -0
  337. package/dist/esm/api/types/XceleratorCredsLimited1.d.mts +27 -0
  338. package/dist/esm/api/types/XceleratorCredsLimited1.mjs +4 -0
  339. package/dist/esm/api/types/XceleratorCredsListRes.d.mts +8 -0
  340. package/dist/esm/api/types/XceleratorCredsListRes.mjs +4 -0
  341. package/dist/esm/api/types/XceleratorCredsTestRes.d.mts +11 -0
  342. package/dist/esm/api/types/XceleratorCredsTestRes.mjs +4 -0
  343. package/dist/esm/api/types/XceleratorOrder1.d.mts +19 -0
  344. package/dist/esm/api/types/XceleratorOrder1.mjs +4 -0
  345. package/dist/esm/api/types/XceleratorOrderExtraResponse1.d.mts +11 -0
  346. package/dist/esm/api/types/XceleratorOrderExtraResponse1.mjs +4 -0
  347. package/dist/esm/api/types/{OrderTemplateListRes.d.mts → XceleratorOrderListRes.d.mts} +2 -2
  348. package/dist/esm/api/types/XceleratorOrderListRes.mjs +4 -0
  349. package/dist/esm/api/types/XceleratorOrderPackageResponse1.d.mts +9 -0
  350. package/dist/esm/api/types/XceleratorOrderPackageResponse1.mjs +4 -0
  351. package/dist/esm/api/types/XceleratorOrderResponse1.d.mts +82 -0
  352. package/dist/esm/api/types/XceleratorOrderResponse1.mjs +4 -0
  353. package/dist/esm/api/types/XceleratorOrderSortByEnum.d.mts +10 -0
  354. package/dist/esm/api/types/XceleratorOrderSortByEnum.mjs +9 -0
  355. package/dist/esm/api/types/index.d.mts +22 -11
  356. package/dist/esm/api/types/index.mjs +22 -11
  357. package/dist/esm/version.d.mts +1 -1
  358. package/dist/esm/version.mjs +1 -1
  359. package/package.json +1 -1
  360. package/reference.md +1309 -921
  361. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +0 -182
  362. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +0 -720
  363. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +0 -33
  364. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +0 -37
  365. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +0 -14
  366. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +0 -80
  367. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +0 -4
  368. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -2
  369. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -46
  370. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -127
  371. package/dist/cjs/api/types/Order1.d.ts +0 -43
  372. package/dist/cjs/api/types/OrderTemplate1.d.ts +0 -35
  373. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +0 -16
  374. package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +0 -10
  375. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +0 -13
  376. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +0 -15
  377. package/dist/cjs/api/types/OrderTemplateSortByEnum.d.ts +0 -11
  378. package/dist/cjs/api/types/OrderTemplateSortByEnum.js +0 -13
  379. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +0 -182
  380. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +0 -683
  381. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +0 -33
  382. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +0 -37
  383. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +0 -14
  384. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +0 -80
  385. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +0 -4
  386. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -2
  387. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -2
  388. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -46
  389. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -90
  390. package/dist/esm/api/types/Order1.d.mts +0 -43
  391. package/dist/esm/api/types/OrderTemplate1.d.mts +0 -35
  392. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +0 -16
  393. package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +0 -10
  394. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +0 -13
  395. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +0 -12
  396. package/dist/esm/api/types/OrderTemplateSortByEnum.d.mts +0 -11
  397. package/dist/esm/api/types/OrderTemplateSortByEnum.mjs +0 -10
  398. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.js → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.js} +0 -0
  399. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.js +0 -0
  400. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.js → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
  401. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js → orders/client/requests/OrdersDeleteManyDraftsReq.js} +0 -0
  402. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.js → orders/client/requests/OrdersTaskGroupOrderingReq.js} +0 -0
  403. /package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js → client/requests/OrdersUpdateDraftReq.js} +0 -0
  404. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.d.ts +0 -0
  405. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.js +0 -0
  406. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.d.ts +0 -0
  407. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.js +0 -0
  408. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.d.ts +0 -0
  409. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.js +0 -0
  410. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.d.ts +0 -0
  411. /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.js +0 -0
  412. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.js → shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.js} +0 -0
  413. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.js → shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.js} +0 -0
  414. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.d.ts +0 -0
  415. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.js +0 -0
  416. /package/dist/{esm/api/resources/shipping/resources/orderTemplates/client/requests/index.mjs → cjs/api/resources/shippingIntegrations/resources/xcelerator/client/index.d.ts} +0 -0
  417. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.js → shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.js} +0 -0
  418. /package/dist/cjs/api/{types/GeometryCollectionGeometriesItem.js → resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.js} +0 -0
  419. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.d.ts +0 -0
  420. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.js +0 -0
  421. /package/dist/cjs/api/{types/Order1.js → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.js} +0 -0
  422. /package/dist/cjs/api/{types/OrderTemplate1.js → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.js} +0 -0
  423. /package/dist/cjs/api/types/{OrderTemplateExpanded1.js → GeometriesItem.js} +0 -0
  424. /package/dist/cjs/api/types/{OrderTemplateListRes.js → OrdersDeleteManyDraftsRes.js} +0 -0
  425. /package/dist/cjs/api/types/{OrderTemplateOrgInfo1.js → OrdersUpdateDraftRes.js} +0 -0
  426. /package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.js → ShippingIntegrationConnection.js} +0 -0
  427. /package/dist/cjs/api/types/{OrdersDraftUpdateRes.js → ShippingIntegrationConnectionListRes.js} +0 -0
  428. /package/dist/cjs/api/types/{WorkflowActor.js → ShippingIntegrationOrder1.js} +0 -0
  429. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.mjs → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.mjs} +0 -0
  430. /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/resources/cargo/client → flights/client/requests}/index.mjs +0 -0
  431. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
  432. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs → orders/client/requests/OrdersDeleteManyDraftsReq.mjs} +0 -0
  433. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.mjs → orders/client/requests/OrdersTaskGroupOrderingReq.mjs} +0 -0
  434. /package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs → client/requests/OrdersUpdateDraftReq.mjs} +0 -0
  435. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.d.mts +0 -0
  436. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations}/client/index.mjs +0 -0
  437. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.d.mts +0 -0
  438. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.d.mts +0 -0
  439. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.mjs +0 -0
  440. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.d.mts +0 -0
  441. /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.mjs +0 -0
  442. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.mjs → shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.mjs} +0 -0
  443. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.mjs → shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.mjs} +0 -0
  444. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.d.mts +0 -0
  445. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.mjs +0 -0
  446. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.mjs → shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.mjs} +0 -0
  447. /package/dist/esm/api/{types/GeometryCollectionGeometriesItem.mjs → resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.mjs} +0 -0
  448. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.d.mts +0 -0
  449. /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.mjs +0 -0
  450. /package/dist/esm/api/{types/Order1.mjs → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.mjs} +0 -0
  451. /package/dist/esm/api/{types/OrderTemplate1.mjs → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.mjs} +0 -0
  452. /package/dist/esm/api/types/{OrderTemplateExpanded1.mjs → GeometriesItem.mjs} +0 -0
  453. /package/dist/esm/api/types/{OrderTemplateListRes.mjs → OrdersDeleteManyDraftsRes.mjs} +0 -0
  454. /package/dist/esm/api/types/{OrderTemplateOrgInfo1.mjs → OrdersUpdateDraftRes.mjs} +0 -0
  455. /package/dist/esm/api/types/{OrdersDraftDeleteManyRes.mjs → ShippingIntegrationConnection.mjs} +0 -0
  456. /package/dist/esm/api/types/{OrdersDraftUpdateRes.mjs → ShippingIntegrationConnectionListRes.mjs} +0 -0
  457. /package/dist/esm/api/types/{WorkflowActor.mjs → ShippingIntegrationOrder1.mjs} +0 -0
@@ -15,152 +15,10 @@ import * as core from "../../../../../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../../../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../../../../../errors/index.mjs";
18
- import { Cargo } from "../resources/cargo/client/Client.mjs";
19
- import { TaskGroup } from "../resources/taskGroup/client/Client.mjs";
20
18
  export class Drafts {
21
19
  constructor(_options = {}) {
22
20
  this._options = _options;
23
21
  }
24
- get cargo() {
25
- var _a;
26
- return ((_a = this._cargo) !== null && _a !== void 0 ? _a : (this._cargo = new Cargo(this._options)));
27
- }
28
- get taskGroup() {
29
- var _a;
30
- return ((_a = this._taskGroup) !== null && _a !== void 0 ? _a : (this._taskGroup = new TaskGroup(this._options)));
31
- }
32
- /**
33
- * Adds a coordinator task list with an optional department override to apply when the draft order is staged. | authz_personas=[coordinator_org_operators] | (UTCDatetime | None) -> (bool)
34
- *
35
- * @param {string} orderId
36
- * @param {string} taskListId
37
- * @param {Chrt.shipping.orders.DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request} request
38
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
39
- *
40
- * @throws {@link Chrt.UnprocessableEntityError}
41
- *
42
- * @example
43
- * await client.shipping.orders.drafts.addCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id", {
44
- * department_id: "department_id",
45
- * body: "2024-01-15T09:30:00Z"
46
- * })
47
- */
48
- addCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, request = {}, requestOptions) {
49
- return core.HttpResponsePromise.fromPromise(this.__addCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, request, requestOptions));
50
- }
51
- __addCoordinatorTaskListToApplyAtOrderStagingV1(orderId_1, taskListId_1) {
52
- return __awaiter(this, arguments, void 0, function* (orderId, taskListId, request = {}, requestOptions) {
53
- var _a, _b, _c, _d;
54
- const { department_id: departmentId, body: _body } = request;
55
- const _queryParams = {};
56
- if (departmentId !== undefined) {
57
- _queryParams["department_id"] = departmentId;
58
- }
59
- 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);
60
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
61
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/add/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(taskListId)}`),
62
- method: "POST",
63
- headers: _headers,
64
- contentType: "application/json",
65
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
66
- requestType: "json",
67
- body: _body != null ? _body : undefined,
68
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
69
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
70
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
71
- });
72
- if (_response.ok) {
73
- return { data: _response.body, rawResponse: _response.rawResponse };
74
- }
75
- if (_response.error.reason === "status-code") {
76
- switch (_response.error.statusCode) {
77
- case 422:
78
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
79
- default:
80
- throw new errors.ChrtError({
81
- statusCode: _response.error.statusCode,
82
- body: _response.error.body,
83
- rawResponse: _response.rawResponse,
84
- });
85
- }
86
- }
87
- switch (_response.error.reason) {
88
- case "non-json":
89
- throw new errors.ChrtError({
90
- statusCode: _response.error.statusCode,
91
- body: _response.error.rawBody,
92
- rawResponse: _response.rawResponse,
93
- });
94
- case "timeout":
95
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/add/v1/{order_id}/{task_list_id}.");
96
- case "unknown":
97
- throw new errors.ChrtError({
98
- message: _response.error.errorMessage,
99
- rawResponse: _response.rawResponse,
100
- });
101
- }
102
- });
103
- }
104
- /**
105
- * Removes a pending coordinator staging task list from a draft order. | authz_personas=[coordinator_org_operators] | () -> (bool)
106
- *
107
- * @param {string} orderId
108
- * @param {string} taskListId
109
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
110
- *
111
- * @throws {@link Chrt.UnprocessableEntityError}
112
- *
113
- * @example
114
- * await client.shipping.orders.drafts.removeCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id")
115
- */
116
- removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions) {
117
- return core.HttpResponsePromise.fromPromise(this.__removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions));
118
- }
119
- __removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions) {
120
- return __awaiter(this, void 0, void 0, function* () {
121
- var _a, _b, _c, _d;
122
- 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);
123
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
124
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/remove/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(taskListId)}`),
125
- method: "POST",
126
- headers: _headers,
127
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
128
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
129
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
130
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
131
- });
132
- if (_response.ok) {
133
- return { data: _response.body, rawResponse: _response.rawResponse };
134
- }
135
- if (_response.error.reason === "status-code") {
136
- switch (_response.error.statusCode) {
137
- case 422:
138
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
139
- default:
140
- throw new errors.ChrtError({
141
- statusCode: _response.error.statusCode,
142
- body: _response.error.body,
143
- rawResponse: _response.rawResponse,
144
- });
145
- }
146
- }
147
- switch (_response.error.reason) {
148
- case "non-json":
149
- throw new errors.ChrtError({
150
- statusCode: _response.error.statusCode,
151
- body: _response.error.rawBody,
152
- rawResponse: _response.rawResponse,
153
- });
154
- case "timeout":
155
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/remove/v1/{order_id}/{task_list_id}.");
156
- case "unknown":
157
- throw new errors.ChrtError({
158
- message: _response.error.errorMessage,
159
- rawResponse: _response.rawResponse,
160
- });
161
- }
162
- });
163
- }
164
22
  /**
165
23
  * Creates a draft Order through one of three paths: (1) provide only order_template_new_id to load the saved template's core and record that template as the Order's provenance; (2) provide only order_template_new_core to materialize an ad hoc submitted core without template provenance; (3) provide both to record and validate the saved template as provenance while materializing the submitted core, without modifying the saved template. | authz: min_org_role=operator | (OrdersCreateDraftFromOrderTemplateNewReq) -> (OrdersOpenDraftRes)
166
24
  *
@@ -223,129 +81,6 @@ export class Drafts {
223
81
  }
224
82
  });
225
83
  }
226
- /**
227
- * Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
228
- *
229
- * @param {string} orderId
230
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
231
- *
232
- * @throws {@link Chrt.UnprocessableEntityError}
233
- *
234
- * @example
235
- * await client.shipping.orders.drafts.deleteV1("order_id")
236
- */
237
- deleteV1(orderId, requestOptions) {
238
- return core.HttpResponsePromise.fromPromise(this.__deleteV1(orderId, requestOptions));
239
- }
240
- __deleteV1(orderId, requestOptions) {
241
- return __awaiter(this, void 0, void 0, function* () {
242
- var _a, _b, _c, _d;
243
- 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);
244
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
245
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/delete/v1/${encodeURIComponent(orderId)}`),
246
- method: "DELETE",
247
- headers: _headers,
248
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
249
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
250
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
251
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
252
- });
253
- if (_response.ok) {
254
- return { data: _response.body, rawResponse: _response.rawResponse };
255
- }
256
- if (_response.error.reason === "status-code") {
257
- switch (_response.error.statusCode) {
258
- case 422:
259
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
260
- default:
261
- throw new errors.ChrtError({
262
- statusCode: _response.error.statusCode,
263
- body: _response.error.body,
264
- rawResponse: _response.rawResponse,
265
- });
266
- }
267
- }
268
- switch (_response.error.reason) {
269
- case "non-json":
270
- throw new errors.ChrtError({
271
- statusCode: _response.error.statusCode,
272
- body: _response.error.rawBody,
273
- rawResponse: _response.rawResponse,
274
- });
275
- case "timeout":
276
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/delete/v1/{order_id}.");
277
- case "unknown":
278
- throw new errors.ChrtError({
279
- message: _response.error.errorMessage,
280
- rawResponse: _response.rawResponse,
281
- });
282
- }
283
- });
284
- }
285
- /**
286
- * Deletes multiple draft orders and associated entities. | authz_personas=[draft_creator_org_operator] | (OrdersDraftDeleteManyReq) -> (OrdersDraftDeleteManyRes)
287
- *
288
- * @param {Chrt.shipping.orders.OrdersDraftDeleteManyReq} request
289
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
290
- *
291
- * @throws {@link Chrt.UnprocessableEntityError}
292
- *
293
- * @example
294
- * await client.shipping.orders.drafts.deleteManyV1({
295
- * order_ids: ["order_ids"]
296
- * })
297
- */
298
- deleteManyV1(request, requestOptions) {
299
- return core.HttpResponsePromise.fromPromise(this.__deleteManyV1(request, requestOptions));
300
- }
301
- __deleteManyV1(request, requestOptions) {
302
- return __awaiter(this, void 0, void 0, function* () {
303
- var _a, _b, _c, _d;
304
- 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);
305
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
306
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/orders/drafts/delete_many/v1"),
307
- method: "DELETE",
308
- headers: _headers,
309
- contentType: "application/json",
310
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
311
- requestType: "json",
312
- body: request,
313
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
314
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
315
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
316
- });
317
- if (_response.ok) {
318
- return { data: _response.body, rawResponse: _response.rawResponse };
319
- }
320
- if (_response.error.reason === "status-code") {
321
- switch (_response.error.statusCode) {
322
- case 422:
323
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
324
- default:
325
- throw new errors.ChrtError({
326
- statusCode: _response.error.statusCode,
327
- body: _response.error.body,
328
- rawResponse: _response.rawResponse,
329
- });
330
- }
331
- }
332
- switch (_response.error.reason) {
333
- case "non-json":
334
- throw new errors.ChrtError({
335
- statusCode: _response.error.statusCode,
336
- body: _response.error.rawBody,
337
- rawResponse: _response.rawResponse,
338
- });
339
- case "timeout":
340
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/delete_many/v1.");
341
- case "unknown":
342
- throw new errors.ChrtError({
343
- message: _response.error.errorMessage,
344
- rawResponse: _response.rawResponse,
345
- });
346
- }
347
- });
348
- }
349
84
  /**
350
85
  * Opens a new draft order shell with org assignments based on caller's organization type. | authz: min_org_role=operator | (OrdersOpenDraftReq) -> (OrdersOpenDraftRes)
351
86
  *
@@ -408,193 +143,6 @@ export class Drafts {
408
143
  }
409
144
  });
410
145
  }
411
- /**
412
- * Sets the ordering of task groups within a draft order. Must provide all task group IDs with no duplicates. | (SetTaskGroupOrderingDraftReq) -> (bool)
413
- *
414
- * @param {string} orderId
415
- * @param {Chrt.shipping.orders.SetTaskGroupOrderingDraftReq} request
416
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
417
- *
418
- * @throws {@link Chrt.UnprocessableEntityError}
419
- *
420
- * @example
421
- * await client.shipping.orders.drafts.setTaskGroupOrderingV1("order_id", {
422
- * task_group_ids: ["task_group_ids"]
423
- * })
424
- */
425
- setTaskGroupOrderingV1(orderId, request, requestOptions) {
426
- return core.HttpResponsePromise.fromPromise(this.__setTaskGroupOrderingV1(orderId, request, requestOptions));
427
- }
428
- __setTaskGroupOrderingV1(orderId, request, requestOptions) {
429
- return __awaiter(this, void 0, void 0, function* () {
430
- var _a, _b, _c, _d;
431
- 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);
432
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
433
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/set_task_group_ordering/v1/${encodeURIComponent(orderId)}`),
434
- method: "PUT",
435
- headers: _headers,
436
- contentType: "application/json",
437
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
438
- requestType: "json",
439
- body: request,
440
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
441
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
442
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
443
- });
444
- if (_response.ok) {
445
- return { data: _response.body, rawResponse: _response.rawResponse };
446
- }
447
- if (_response.error.reason === "status-code") {
448
- switch (_response.error.statusCode) {
449
- case 422:
450
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
451
- default:
452
- throw new errors.ChrtError({
453
- statusCode: _response.error.statusCode,
454
- body: _response.error.body,
455
- rawResponse: _response.rawResponse,
456
- });
457
- }
458
- }
459
- switch (_response.error.reason) {
460
- case "non-json":
461
- throw new errors.ChrtError({
462
- statusCode: _response.error.statusCode,
463
- body: _response.error.rawBody,
464
- rawResponse: _response.rawResponse,
465
- });
466
- case "timeout":
467
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/orders/drafts/set_task_group_ordering/v1/{order_id}.");
468
- case "unknown":
469
- throw new errors.ChrtError({
470
- message: _response.error.errorMessage,
471
- rawResponse: _response.rawResponse,
472
- });
473
- }
474
- });
475
- }
476
- /**
477
- * Updates coordinator and/or shipper org assignments for a draft order. | authz_personas=[draft_creator_org_operator] | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
478
- *
479
- * @param {string} orderId
480
- * @param {Chrt.shipping.orders.OrdersDraftUpdateReq} request
481
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
482
- *
483
- * @throws {@link Chrt.UnprocessableEntityError}
484
- *
485
- * @example
486
- * await client.shipping.orders.drafts.updateV1("order_id")
487
- */
488
- updateV1(orderId, request = {}, requestOptions) {
489
- return core.HttpResponsePromise.fromPromise(this.__updateV1(orderId, request, requestOptions));
490
- }
491
- __updateV1(orderId_1) {
492
- return __awaiter(this, arguments, void 0, function* (orderId, request = {}, requestOptions) {
493
- var _a, _b, _c, _d;
494
- 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);
495
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
496
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/update/v1/${encodeURIComponent(orderId)}`),
497
- method: "PATCH",
498
- headers: _headers,
499
- contentType: "application/json",
500
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
501
- requestType: "json",
502
- body: request,
503
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
504
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
505
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
506
- });
507
- if (_response.ok) {
508
- return { data: _response.body, rawResponse: _response.rawResponse };
509
- }
510
- if (_response.error.reason === "status-code") {
511
- switch (_response.error.statusCode) {
512
- case 422:
513
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
514
- default:
515
- throw new errors.ChrtError({
516
- statusCode: _response.error.statusCode,
517
- body: _response.error.body,
518
- rawResponse: _response.rawResponse,
519
- });
520
- }
521
- }
522
- switch (_response.error.reason) {
523
- case "non-json":
524
- throw new errors.ChrtError({
525
- statusCode: _response.error.statusCode,
526
- body: _response.error.rawBody,
527
- rawResponse: _response.rawResponse,
528
- });
529
- case "timeout":
530
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/update/v1/{order_id}.");
531
- case "unknown":
532
- throw new errors.ChrtError({
533
- message: _response.error.errorMessage,
534
- rawResponse: _response.rawResponse,
535
- });
536
- }
537
- });
538
- }
539
- /**
540
- * Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
541
- *
542
- * @param {string} orderId
543
- * @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
544
- *
545
- * @throws {@link Chrt.UnprocessableEntityError}
546
- *
547
- * @example
548
- * await client.shipping.orders.drafts.validateV1("order_id")
549
- */
550
- validateV1(orderId, requestOptions) {
551
- return core.HttpResponsePromise.fromPromise(this.__validateV1(orderId, requestOptions));
552
- }
553
- __validateV1(orderId, requestOptions) {
554
- return __awaiter(this, void 0, void 0, function* () {
555
- var _a, _b, _c, _d;
556
- 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);
557
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
558
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/validate/v1/${encodeURIComponent(orderId)}`),
559
- method: "GET",
560
- headers: _headers,
561
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
562
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
563
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
564
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
565
- });
566
- if (_response.ok) {
567
- return { data: _response.body, rawResponse: _response.rawResponse };
568
- }
569
- if (_response.error.reason === "status-code") {
570
- switch (_response.error.statusCode) {
571
- case 422:
572
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
573
- default:
574
- throw new errors.ChrtError({
575
- statusCode: _response.error.statusCode,
576
- body: _response.error.body,
577
- rawResponse: _response.rawResponse,
578
- });
579
- }
580
- }
581
- switch (_response.error.reason) {
582
- case "non-json":
583
- throw new errors.ChrtError({
584
- statusCode: _response.error.statusCode,
585
- body: _response.error.rawBody,
586
- rawResponse: _response.rawResponse,
587
- });
588
- case "timeout":
589
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/orders/drafts/validate/v1/{order_id}.");
590
- case "unknown":
591
- throw new errors.ChrtError({
592
- message: _response.error.errorMessage,
593
- rawResponse: _response.rawResponse,
594
- });
595
- }
596
- });
597
- }
598
146
  _getAuthorizationHeader() {
599
147
  return __awaiter(this, void 0, void 0, function* () {
600
148
  const bearer = yield core.Supplier.get(this._options.token);
@@ -16,8 +16,6 @@ export interface OrdersOpenDraftReq {
16
16
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
17
17
  off_chrt_reference_id?: string | null;
18
18
  off_chrt_shipper_org_data_id?: string | null;
19
- /** Saved order template that seeded this draft. Used as template-build provenance. */
20
- order_template_id?: string | null;
21
19
  service_line?: Chrt.ServiceLineEnum;
22
20
  /** Must be a string starting with `org_` */
23
21
  shipper_org_id?: string | null;
@@ -1,6 +1,2 @@
1
- export { type DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request } from "./DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs";
2
1
  export { type OrdersCreateDraftFromOrderTemplateNewReq } from "./OrdersCreateDraftFromOrderTemplateNewReq.mjs";
3
- export { type OrdersDraftDeleteManyReq } from "./OrdersDraftDeleteManyReq.mjs";
4
2
  export { type OrdersOpenDraftReq } from "./OrdersOpenDraftReq.mjs";
5
- export { type SetTaskGroupOrderingDraftReq } from "./SetTaskGroupOrderingDraftReq.mjs";
6
- export { type OrdersDraftUpdateReq } from "./OrdersDraftUpdateReq.mjs";
@@ -1,2 +1 @@
1
1
  export * from "./client/index.mjs";
2
- export * from "./resources/index.mjs";
@@ -1,2 +1 @@
1
1
  export * from "./client/index.mjs";
2
- export * from "./resources/index.mjs";
@@ -74,6 +74,9 @@ export declare class Expanded {
74
74
  * page: 1,
75
75
  * page_size: 1,
76
76
  * search: "search",
77
+ * filter_status: ["draft"],
78
+ * filter_service_line: ["on_demand"],
79
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
77
80
  * filter_awb_number: "filter_awb_number",
78
81
  * filter_has_invoice: true,
79
82
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -93,7 +96,9 @@ export declare class Expanded {
93
96
  * filter_coordinator_org_id: "filter_coordinator_org_id",
94
97
  * filter_shipper_org_id: "filter_shipper_org_id",
95
98
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
99
+ * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
96
100
  * filter_coordinator_department_id: "filter_coordinator_department_id",
101
+ * filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
97
102
  * filter_coordinator_label: "filter_coordinator_label",
98
103
  * body: {}
99
104
  * })
@@ -115,6 +120,9 @@ export declare class Expanded {
115
120
  * page: 1,
116
121
  * page_size: 1,
117
122
  * search: "search",
123
+ * filter_status: ["draft"],
124
+ * filter_service_line: ["on_demand"],
125
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
118
126
  * filter_awb_number: "filter_awb_number",
119
127
  * filter_has_invoice: true,
120
128
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -161,6 +161,9 @@ export class Expanded {
161
161
  * page: 1,
162
162
  * page_size: 1,
163
163
  * search: "search",
164
+ * filter_status: ["draft"],
165
+ * filter_service_line: ["on_demand"],
166
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
164
167
  * filter_awb_number: "filter_awb_number",
165
168
  * filter_has_invoice: true,
166
169
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -180,7 +183,9 @@ export class Expanded {
180
183
  * filter_coordinator_org_id: "filter_coordinator_org_id",
181
184
  * filter_shipper_org_id: "filter_shipper_org_id",
182
185
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
186
+ * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
183
187
  * filter_coordinator_department_id: "filter_coordinator_department_id",
188
+ * filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
184
189
  * filter_coordinator_label: "filter_coordinator_label",
185
190
  * body: {}
186
191
  * })
@@ -379,6 +384,9 @@ export class Expanded {
379
384
  * page: 1,
380
385
  * page_size: 1,
381
386
  * search: "search",
387
+ * filter_status: ["draft"],
388
+ * filter_service_line: ["on_demand"],
389
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
382
390
  * filter_awb_number: "filter_awb_number",
383
391
  * filter_has_invoice: true,
384
392
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -11,6 +11,9 @@ import * as Chrt from "../../../../../../../../index.mjs";
11
11
  * page: 1,
12
12
  * page_size: 1,
13
13
  * search: "search",
14
+ * filter_status: ["draft"],
15
+ * filter_service_line: ["on_demand"],
16
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
14
17
  * filter_awb_number: "filter_awb_number",
15
18
  * filter_has_invoice: true,
16
19
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -30,7 +33,9 @@ import * as Chrt from "../../../../../../../../index.mjs";
30
33
  * filter_coordinator_org_id: "filter_coordinator_org_id",
31
34
  * filter_shipper_org_id: "filter_shipper_org_id",
32
35
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
36
+ * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
33
37
  * filter_coordinator_department_id: "filter_coordinator_department_id",
38
+ * filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
34
39
  * filter_coordinator_label: "filter_coordinator_label",
35
40
  * body: {}
36
41
  * }
@@ -10,6 +10,9 @@ import * as Chrt from "../../../../../../../../index.mjs";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_status: ["draft"],
14
+ * filter_service_line: ["on_demand"],
15
+ * filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
13
16
  * filter_awb_number: "filter_awb_number",
14
17
  * filter_has_invoice: true,
15
18
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -60,6 +60,19 @@ export declare class TaskGroup {
60
60
  */
61
61
  addExecutorV1(taskGroupId: string, request?: Chrt.shipping.orders.OrdersAddTaskGroupExecutorReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
62
62
  private __addExecutorV1;
63
+ /**
64
+ * Deletes a task group from an active order and synchronizes affected order, driver, cargo, and account state. | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (bool)
65
+ *
66
+ * @param {string} taskGroupId
67
+ * @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
68
+ *
69
+ * @throws {@link Chrt.UnprocessableEntityError}
70
+ *
71
+ * @example
72
+ * await client.shipping.orders.taskGroup.deleteV1("task_group_id")
73
+ */
74
+ deleteV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
75
+ private __deleteV1;
63
76
  /**
64
77
  * Clears the driver from an order task group. DRAFT task groups require executor_org_operators; operational task groups require executor_org_operators or driver_for_executor and STAGED or IN_PROGRESS status. | authz_personas=[executor_org_operators, driver_for_executor] | () -> (bool)
65
78
  *