@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
@@ -0,0 +1,334 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../../../errors/index.mjs";
18
+ export class Orders {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * Returns one mirrored Xcelerator order by the provider's own order ID. | () -> (XceleratorOrder1)
24
+ *
25
+ * @param {string} providerOrgId - CHRT org ID of the courier whose Xcelerator instance holds the order
26
+ * @param {string} integrationOrderId - Xcelerator's own ID for the order (its OrderTrackingId), as carried on a unified order row
27
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @throws {@link Chrt.UnprocessableEntityError}
30
+ *
31
+ * @example
32
+ * await client.shippingIntegrations.xcelerator.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
33
+ */
34
+ detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
35
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
36
+ }
37
+ __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ var _a, _b, _c, _d;
40
+ 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);
41
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
42
+ 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_integrations/xcelerator/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
43
+ method: "GET",
44
+ headers: _headers,
45
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
46
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
47
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
48
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
49
+ });
50
+ if (_response.ok) {
51
+ return { data: _response.body, rawResponse: _response.rawResponse };
52
+ }
53
+ if (_response.error.reason === "status-code") {
54
+ switch (_response.error.statusCode) {
55
+ case 422:
56
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
57
+ default:
58
+ throw new errors.ChrtError({
59
+ statusCode: _response.error.statusCode,
60
+ body: _response.error.body,
61
+ rawResponse: _response.rawResponse,
62
+ });
63
+ }
64
+ }
65
+ switch (_response.error.reason) {
66
+ case "non-json":
67
+ throw new errors.ChrtError({
68
+ statusCode: _response.error.statusCode,
69
+ body: _response.error.rawBody,
70
+ rawResponse: _response.rawResponse,
71
+ });
72
+ case "timeout":
73
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
74
+ case "unknown":
75
+ throw new errors.ChrtError({
76
+ message: _response.error.errorMessage,
77
+ rawResponse: _response.rawResponse,
78
+ });
79
+ }
80
+ });
81
+ }
82
+ /**
83
+ * Returns one mirrored Xcelerator order by its Mongo ObjectId. | () -> (XceleratorOrder1)
84
+ *
85
+ * @param {string} id - Mongo ObjectId of the mirror document. Xcelerator's own order ID is the integration_order_id, accepted by the by_integration_order_id route.
86
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
87
+ *
88
+ * @throws {@link Chrt.UnprocessableEntityError}
89
+ *
90
+ * @example
91
+ * await client.shippingIntegrations.xcelerator.orders.detailV1("id")
92
+ */
93
+ detailV1(id, requestOptions) {
94
+ return core.HttpResponsePromise.fromPromise(this.__detailV1(id, requestOptions));
95
+ }
96
+ __detailV1(id, requestOptions) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ var _a, _b, _c, _d;
99
+ 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);
100
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
101
+ 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_integrations/xcelerator/orders/detail/v1/${encodeURIComponent(id)}`),
102
+ method: "GET",
103
+ headers: _headers,
104
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
106
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
107
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
108
+ });
109
+ if (_response.ok) {
110
+ return { data: _response.body, rawResponse: _response.rawResponse };
111
+ }
112
+ if (_response.error.reason === "status-code") {
113
+ switch (_response.error.statusCode) {
114
+ case 422:
115
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
116
+ default:
117
+ throw new errors.ChrtError({
118
+ statusCode: _response.error.statusCode,
119
+ body: _response.error.body,
120
+ rawResponse: _response.rawResponse,
121
+ });
122
+ }
123
+ }
124
+ switch (_response.error.reason) {
125
+ case "non-json":
126
+ throw new errors.ChrtError({
127
+ statusCode: _response.error.statusCode,
128
+ body: _response.error.rawBody,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ case "timeout":
132
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/detail/v1/{id}.");
133
+ case "unknown":
134
+ throw new errors.ChrtError({
135
+ message: _response.error.errorMessage,
136
+ rawResponse: _response.rawResponse,
137
+ });
138
+ }
139
+ });
140
+ }
141
+ /**
142
+ * Lists mirrored Xcelerator orders for the caller's organization with filtering, sorting, and pagination. | () -> (XceleratorOrderListRes)
143
+ *
144
+ * @param {Chrt.shippingIntegrations.xcelerator.OrdersListV1Request} request
145
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
146
+ *
147
+ * @throws {@link Chrt.UnprocessableEntityError}
148
+ *
149
+ * @example
150
+ * await client.shippingIntegrations.xcelerator.orders.listV1({
151
+ * sort_by: "mirrored_at_timestamp",
152
+ * sort_order: "asc",
153
+ * page: 1,
154
+ * page_size: 1,
155
+ * filter_provider_org_id: ["filter_provider_org_id"],
156
+ * filter_integration_order_id: "filter_integration_order_id",
157
+ * filter_provider_status_raw: "filter_provider_status_raw",
158
+ * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
159
+ * filter_mirrored_at_timestamp_lte: "2024-01-15T09:30:00Z",
160
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
161
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
162
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
163
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
164
+ * })
165
+ */
166
+ listV1(request = {}, requestOptions) {
167
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
168
+ }
169
+ __listV1() {
170
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
171
+ var _a, _b, _c, _d, _e, _f;
172
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_provider_status_raw: filterProviderStatusRaw, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
173
+ const _queryParams = {};
174
+ if (sortBy !== undefined) {
175
+ _queryParams["sort_by"] = sortBy;
176
+ }
177
+ if (sortOrder !== undefined) {
178
+ _queryParams["sort_order"] = sortOrder;
179
+ }
180
+ if (page !== undefined) {
181
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
182
+ }
183
+ if (pageSize !== undefined) {
184
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
185
+ }
186
+ if (filterProviderOrgId !== undefined) {
187
+ if (Array.isArray(filterProviderOrgId)) {
188
+ _queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
189
+ }
190
+ else {
191
+ _queryParams["filter_provider_org_id"] = filterProviderOrgId;
192
+ }
193
+ }
194
+ if (filterIntegrationOrderId !== undefined) {
195
+ _queryParams["filter_integration_order_id"] = filterIntegrationOrderId;
196
+ }
197
+ if (filterProviderStatusRaw !== undefined) {
198
+ _queryParams["filter_provider_status_raw"] = filterProviderStatusRaw;
199
+ }
200
+ if (filterMirroredAtTimestampGte !== undefined) {
201
+ _queryParams["filter_mirrored_at_timestamp_gte"] = filterMirroredAtTimestampGte;
202
+ }
203
+ if (filterMirroredAtTimestampLte !== undefined) {
204
+ _queryParams["filter_mirrored_at_timestamp_lte"] = filterMirroredAtTimestampLte;
205
+ }
206
+ if (filterCreatedAtTimestampGte !== undefined) {
207
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
208
+ }
209
+ if (filterCreatedAtTimestampLte !== undefined) {
210
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
211
+ }
212
+ if (filterUpdatedAtTimestampGte !== undefined) {
213
+ _queryParams["filter_updated_at_timestamp_gte"] = filterUpdatedAtTimestampGte;
214
+ }
215
+ if (filterUpdatedAtTimestampLte !== undefined) {
216
+ _queryParams["filter_updated_at_timestamp_lte"] = filterUpdatedAtTimestampLte;
217
+ }
218
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
219
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
220
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping_integrations/xcelerator/orders/list/v1"),
221
+ method: "GET",
222
+ headers: _headers,
223
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
224
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
225
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
226
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
227
+ });
228
+ if (_response.ok) {
229
+ return { data: _response.body, rawResponse: _response.rawResponse };
230
+ }
231
+ if (_response.error.reason === "status-code") {
232
+ switch (_response.error.statusCode) {
233
+ case 422:
234
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
235
+ default:
236
+ throw new errors.ChrtError({
237
+ statusCode: _response.error.statusCode,
238
+ body: _response.error.body,
239
+ rawResponse: _response.rawResponse,
240
+ });
241
+ }
242
+ }
243
+ switch (_response.error.reason) {
244
+ case "non-json":
245
+ throw new errors.ChrtError({
246
+ statusCode: _response.error.statusCode,
247
+ body: _response.error.rawBody,
248
+ rawResponse: _response.rawResponse,
249
+ });
250
+ case "timeout":
251
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/list/v1.");
252
+ case "unknown":
253
+ throw new errors.ChrtError({
254
+ message: _response.error.errorMessage,
255
+ rawResponse: _response.rawResponse,
256
+ });
257
+ }
258
+ });
259
+ }
260
+ /**
261
+ * Fetches and mirrors one Xcelerator order by the provider's own order ID. | authz: min_org_role=operator | (XceleratorOrderSyncOneReq) -> (XceleratorOrder1)
262
+ *
263
+ * @param {Chrt.shippingIntegrations.xcelerator.XceleratorOrderSyncOneReq} request
264
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
265
+ *
266
+ * @throws {@link Chrt.UnprocessableEntityError}
267
+ *
268
+ * @example
269
+ * await client.shippingIntegrations.xcelerator.orders.syncOneV1({
270
+ * integration_order_id: "integration_order_id",
271
+ * provider_org_id: "provider_org_id"
272
+ * })
273
+ */
274
+ syncOneV1(request, requestOptions) {
275
+ return core.HttpResponsePromise.fromPromise(this.__syncOneV1(request, requestOptions));
276
+ }
277
+ __syncOneV1(request, requestOptions) {
278
+ return __awaiter(this, void 0, void 0, function* () {
279
+ var _a, _b, _c, _d;
280
+ 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);
281
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
282
+ 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_integrations/xcelerator/orders/sync_one/v1"),
283
+ method: "POST",
284
+ headers: _headers,
285
+ contentType: "application/json",
286
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
287
+ requestType: "json",
288
+ body: request,
289
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
290
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
291
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
292
+ });
293
+ if (_response.ok) {
294
+ return { data: _response.body, rawResponse: _response.rawResponse };
295
+ }
296
+ if (_response.error.reason === "status-code") {
297
+ switch (_response.error.statusCode) {
298
+ case 422:
299
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
300
+ default:
301
+ throw new errors.ChrtError({
302
+ statusCode: _response.error.statusCode,
303
+ body: _response.error.body,
304
+ rawResponse: _response.rawResponse,
305
+ });
306
+ }
307
+ }
308
+ switch (_response.error.reason) {
309
+ case "non-json":
310
+ throw new errors.ChrtError({
311
+ statusCode: _response.error.statusCode,
312
+ body: _response.error.rawBody,
313
+ rawResponse: _response.rawResponse,
314
+ });
315
+ case "timeout":
316
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping_integrations/xcelerator/orders/sync_one/v1.");
317
+ case "unknown":
318
+ throw new errors.ChrtError({
319
+ message: _response.error.errorMessage,
320
+ rawResponse: _response.rawResponse,
321
+ });
322
+ }
323
+ });
324
+ }
325
+ _getAuthorizationHeader() {
326
+ return __awaiter(this, void 0, void 0, function* () {
327
+ const bearer = yield core.Supplier.get(this._options.token);
328
+ if (bearer != null) {
329
+ return `Bearer ${bearer}`;
330
+ }
331
+ return undefined;
332
+ });
333
+ }
334
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1,48 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * sort_by: "mirrored_at_timestamp",
9
+ * sort_order: "asc",
10
+ * page: 1,
11
+ * page_size: 1,
12
+ * filter_provider_org_id: ["filter_provider_org_id"],
13
+ * filter_integration_order_id: "filter_integration_order_id",
14
+ * filter_provider_status_raw: "filter_provider_status_raw",
15
+ * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
+ * filter_mirrored_at_timestamp_lte: "2024-01-15T09:30:00Z",
17
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
18
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
19
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
20
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
21
+ * }
22
+ */
23
+ export interface OrdersListV1Request {
24
+ /** Field to sort by. */
25
+ sort_by?: Chrt.XceleratorOrderSortByEnum | null;
26
+ /** Sort order (asc or desc). */
27
+ sort_order?: Chrt.SortOrderEnum | null;
28
+ page?: number | null;
29
+ page_size?: number | null;
30
+ /** Filter by provider org ID(s) */
31
+ filter_provider_org_id?: (string | null) | (string | null)[];
32
+ /** Filter by Xcelerator's exact order tracking ID */
33
+ filter_integration_order_id?: string | null;
34
+ /** Filter by Xcelerator's raw status letter */
35
+ filter_provider_status_raw?: string | null;
36
+ /** Filter mirrored_at_timestamp >= value */
37
+ filter_mirrored_at_timestamp_gte?: string | null;
38
+ /** Filter mirrored_at_timestamp <= value */
39
+ filter_mirrored_at_timestamp_lte?: string | null;
40
+ /** Filter created_at_timestamp >= value */
41
+ filter_created_at_timestamp_gte?: string | null;
42
+ /** Filter created_at_timestamp <= value */
43
+ filter_created_at_timestamp_lte?: string | null;
44
+ /** Filter updated_at_timestamp >= value */
45
+ filter_updated_at_timestamp_gte?: string | null;
46
+ /** Filter updated_at_timestamp <= value */
47
+ filter_updated_at_timestamp_lte?: string | null;
48
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * integration_order_id: "integration_order_id",
8
+ * provider_org_id: "provider_org_id"
9
+ * }
10
+ */
11
+ export interface XceleratorOrderSyncOneReq {
12
+ integration_order_id: string;
13
+ /** Must be a string starting with `org_` */
14
+ provider_org_id: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ export { type OrdersListV1Request } from "./OrdersListV1Request.mjs";
2
+ export { type XceleratorOrderSyncOneReq } from "./XceleratorOrderSyncOneReq.mjs";
@@ -63,7 +63,7 @@ export declare class Sessions {
63
63
  flightLegsV1(request: Chrt.tracking.SessionsFlightLegsV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1[]>;
64
64
  private __flightLegsV1;
65
65
  /**
66
- * Returns the Cirium-sourced positional track for one of the session's flight legs the live breadcrumb trail plus the planned path (waypoints + legacy route) — cached on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
66
+ * Returns the raw Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
67
67
  *
68
68
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
69
69
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -73,7 +73,8 @@ export declare class Sessions {
73
73
  * @example
74
74
  * await client.tracking.sessions.flightTrackV1({
75
75
  * session_id: "session_id",
76
- * flight_leg_id: "flight_leg_id"
76
+ * flight_leg_id: "flight_leg_id",
77
+ * force_refresh: true
77
78
  * })
78
79
  */
79
80
  flightTrackV1(request: Chrt.tracking.SessionsFlightTrackV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
@@ -167,7 +167,7 @@ export class Sessions {
167
167
  });
168
168
  }
169
169
  /**
170
- * Returns the Cirium-sourced positional track for one of the session's flight legs the live breadcrumb trail plus the planned path (waypoints + legacy route) — cached on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
170
+ * Returns the raw Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
171
171
  *
172
172
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
173
173
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -177,7 +177,8 @@ export class Sessions {
177
177
  * @example
178
178
  * await client.tracking.sessions.flightTrackV1({
179
179
  * session_id: "session_id",
180
- * flight_leg_id: "flight_leg_id"
180
+ * flight_leg_id: "flight_leg_id",
181
+ * force_refresh: true
181
182
  * })
182
183
  */
183
184
  flightTrackV1(request, requestOptions) {
@@ -185,14 +186,17 @@ export class Sessions {
185
186
  }
186
187
  __flightTrackV1(request, requestOptions) {
187
188
  return __awaiter(this, void 0, void 0, function* () {
188
- var _a, _b, _c, _d;
189
- const { session_id: sessionId, flight_leg_id: flightLegId } = request;
189
+ var _a, _b, _c, _d, _e;
190
+ const { session_id: sessionId, flight_leg_id: flightLegId, force_refresh: forceRefresh } = request;
190
191
  const _queryParams = {};
191
192
  _queryParams["session_id"] = sessionId;
192
193
  _queryParams["flight_leg_id"] = flightLegId;
193
- 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);
194
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
195
- 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, "tracking/sessions/flight_track/v1"),
194
+ if (forceRefresh !== undefined) {
195
+ _queryParams["force_refresh"] = (_a = forceRefresh === null || forceRefresh === void 0 ? void 0 : forceRefresh.toString()) !== null && _a !== void 0 ? _a : null;
196
+ }
197
+ let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
198
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
199
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/sessions/flight_track/v1"),
196
200
  method: "GET",
197
201
  headers: _headers,
198
202
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -5,10 +5,13 @@
5
5
  * @example
6
6
  * {
7
7
  * session_id: "session_id",
8
- * flight_leg_id: "flight_leg_id"
8
+ * flight_leg_id: "flight_leg_id",
9
+ * force_refresh: true
9
10
  * }
10
11
  */
11
12
  export interface SessionsFlightTrackV1Request {
12
13
  session_id: string;
13
14
  flight_leg_id: string;
15
+ /** Bypass the cache and fetch the latest flight track. */
16
+ force_refresh?: boolean | null;
14
17
  }
@@ -2,8 +2,8 @@
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 type GeometryCollectionGeometriesItem = Chrt.GeometryCollectionGeometriesItem.GeometryCollection | Chrt.GeometryCollectionGeometriesItem.LineString | Chrt.GeometryCollectionGeometriesItem.MultiLineString | Chrt.GeometryCollectionGeometriesItem.MultiPoint | Chrt.GeometryCollectionGeometriesItem.MultiPolygon | Chrt.GeometryCollectionGeometriesItem.Point | Chrt.GeometryCollectionGeometriesItem.Polygon;
6
- export declare namespace GeometryCollectionGeometriesItem {
5
+ export type GeometriesItem = Chrt.GeometriesItem.GeometryCollection | Chrt.GeometriesItem.LineString | Chrt.GeometriesItem.MultiLineString | Chrt.GeometriesItem.MultiPoint | Chrt.GeometriesItem.MultiPolygon | Chrt.GeometriesItem.Point | Chrt.GeometriesItem.Polygon;
6
+ export declare namespace GeometriesItem {
7
7
  interface GeometryCollection extends Chrt.GeometryCollection {
8
8
  type: "GeometryCollection";
9
9
  }
@@ -7,5 +7,5 @@ import * as Chrt from "../index.mjs";
7
7
  */
8
8
  export interface GeometryCollection {
9
9
  bbox?: unknown[] | null;
10
- geometries: Chrt.GeometryCollectionGeometriesItem[];
10
+ geometries: Chrt.GeometriesItem[];
11
11
  }
@@ -5,5 +5,5 @@ import * as Chrt from "../index.mjs";
5
5
  export interface InternalDelegationJwtReq {
6
6
  expires_in_seconds: number;
7
7
  sts_presigned_url: string;
8
- workflow_actor: Chrt.WorkflowActor;
8
+ workflow_caller: Chrt.WorkflowCaller;
9
9
  }
@@ -34,7 +34,6 @@ export interface OrderLimitedForProvider1 {
34
34
  order_classification_by_task_group_type?: Chrt.TaskGroupTypeEnum1 | null;
35
35
  order_schedule_id?: string | null;
36
36
  order_schedule_run_idempotency_key?: string | null;
37
- order_template_id?: string | null;
38
37
  order_template_new_id?: string | null;
39
38
  schema_version: number;
40
39
  service_line?: Chrt.ServiceLineEnum;
@@ -29,7 +29,6 @@ export interface OrderLimitedForShipper1 {
29
29
  order_classification_by_task_group_type?: Chrt.TaskGroupTypeEnum1 | null;
30
30
  order_schedule_id?: string | null;
31
31
  order_schedule_run_idempotency_key?: string | null;
32
- order_template_id?: string | null;
33
32
  order_template_new_id?: string | null;
34
33
  schema_version: number;
35
34
  service_line?: Chrt.ServiceLineEnum;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OrdersDraftDeleteManyRes {
4
+ export interface OrdersDeleteManyDraftsRes {
5
5
  deleted_order_ids: string[];
6
6
  }
@@ -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 OrdersDraftUpdateRes {
5
+ export interface OrdersUpdateDraftRes {
6
6
  /** Must be a string starting with `org_` */
7
7
  coordinator_org_id?: string | null;
8
8
  off_chrt_shipper_org_data_id?: string | null;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas";
5
+ export declare const OrgShippingIntegrationEnum1: {
6
+ readonly Xcelerator: "xcelerator";
7
+ readonly DispatchScience: "dispatch_science";
8
+ readonly Ontime360: "ontime360";
9
+ readonly Cxt: "cxt";
10
+ readonly Atlas: "atlas";
11
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const OrgShippingIntegrationEnum1 = {
5
+ Xcelerator: "xcelerator",
6
+ DispatchScience: "dispatch_science",
7
+ Ontime360: "ontime360",
8
+ Cxt: "cxt",
9
+ Atlas: "atlas",
10
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ /**
6
+ * One org's credentialed link to one provider on one integration.
7
+ *
8
+ * Deliberately carries no secrets: the per-integration credential shapes differ
9
+ * (username/password versus API key), and none of those fields belong in a
10
+ * cross-integration listing.
11
+ */
12
+ export interface ShippingIntegrationConnection {
13
+ active: boolean;
14
+ created_at_timestamp: string;
15
+ last_mirrored_at_timestamp?: string | null;
16
+ order_count?: number;
17
+ /** Must be a string starting with `user_` */
18
+ owned_by_user_id: string;
19
+ /** Must be a string starting with `org_` */
20
+ provider_org_id: string;
21
+ provider_org_name?: string | null;
22
+ shipping_integration: Chrt.OrgShippingIntegrationEnum1;
23
+ updated_at_timestamp: string;
24
+ }
@@ -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 ShippingIntegrationConnectionListRes {
6
+ items: Chrt.ShippingIntegrationConnection[];
7
+ total_count: number;
8
+ }