@chrt-inc/typescript-sdk 1.1000.0 → 1.1004.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 (644) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +17 -0
  3. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +81 -1
  4. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +3 -0
  5. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.d.ts +16 -0
  6. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +17 -0
  8. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +78 -1
  9. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
  10. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.ts +16 -0
  11. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.js +5 -0
  12. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -0
  14. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +10 -1
  15. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +4 -1
  16. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +17 -0
  17. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +78 -1
  18. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
  19. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.ts +16 -0
  20. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.js +5 -0
  21. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +17 -0
  23. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +81 -1
  24. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
  25. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.ts +16 -0
  26. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.js +5 -0
  27. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +2 -0
  29. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +20 -2
  30. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  31. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  32. package/dist/cjs/api/resources/orgs/client/Client.d.ts +16 -0
  33. package/dist/cjs/api/resources/orgs/client/Client.js +68 -0
  34. package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.ts +16 -0
  35. package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.js +5 -0
  36. package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +1 -1
  38. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.js +10 -5
  39. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +3 -3
  40. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +5 -0
  41. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +50 -5
  42. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.ts +3 -0
  43. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.ts +3 -0
  44. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.ts +3 -0
  45. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.ts +3 -0
  46. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.ts +3 -0
  47. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +17 -0
  48. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +78 -1
  49. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.ts +3 -0
  50. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.ts +16 -0
  51. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.js +5 -0
  52. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +17 -0
  54. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +78 -1
  55. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +3 -0
  56. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.ts +16 -0
  57. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.js +5 -0
  58. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +18 -1
  60. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +88 -6
  61. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
  62. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +3 -3
  63. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.ts +16 -0
  64. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.js +5 -0
  65. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +17 -0
  67. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +81 -1
  68. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +4 -1
  69. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.ts +16 -0
  70. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.js +5 -0
  71. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +2 -2
  73. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
  75. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -2
  76. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +4 -1
  77. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  78. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  79. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +20 -2
  80. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.ts +3 -0
  81. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  82. package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +3 -0
  83. package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +15 -10
  84. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +17 -0
  85. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +78 -1
  86. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  87. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  88. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  89. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.ts +1 -0
  90. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.d.ts +26 -0
  91. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.js +22 -0
  92. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.d.ts +1 -0
  93. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.js +2 -0
  94. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.d.ts +2 -0
  95. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.js +18 -0
  96. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.ts +115 -0
  97. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.js +426 -0
  98. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.ts +2 -0
  99. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.js +17 -0
  100. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.ts +18 -0
  101. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.js +5 -0
  102. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.ts +15 -0
  103. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.js +5 -0
  104. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.ts +2 -0
  105. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.js +2 -0
  106. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.ts +1 -0
  107. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.js +17 -0
  108. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.d.ts +4 -0
  109. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.js +43 -0
  110. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.ts +105 -0
  111. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.js +375 -0
  112. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.ts +2 -0
  113. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.js +17 -0
  114. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.ts +15 -0
  115. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.js +5 -0
  116. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
  117. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.js +5 -0
  118. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.ts +2 -0
  119. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.js +2 -0
  120. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.ts +1 -0
  121. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.js +17 -0
  122. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.ts +17 -0
  123. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js +78 -1
  124. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  125. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  126. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  127. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.ts +1 -0
  128. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.ts +17 -0
  129. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.js +81 -1
  130. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  131. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  132. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  133. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.ts +1 -0
  134. package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +1 -0
  135. package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +2 -1
  136. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.ts +17 -0
  137. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.js +78 -1
  138. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  139. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  140. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  141. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.ts +1 -0
  142. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +3 -0
  143. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +30 -3
  144. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.ts +3 -0
  145. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  146. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +3 -0
  147. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +17 -0
  148. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +81 -1
  149. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  150. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  151. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  152. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +1 -0
  153. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +3 -3
  154. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +10 -5
  155. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +3 -3
  156. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
  157. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -2
  158. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +3 -0
  159. package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.d.ts +4 -0
  160. package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.js +5 -0
  161. package/dist/cjs/api/types/AtlasOrderTypeaheadResult.d.ts +8 -0
  162. package/dist/cjs/api/types/AtlasOrderTypeaheadResult.js +5 -0
  163. package/dist/cjs/api/types/AtlasOrderTypeaheadValue.d.ts +7 -0
  164. package/dist/cjs/api/types/AtlasOrderTypeaheadValue.js +5 -0
  165. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.ts +4 -0
  166. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.js +5 -0
  167. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.d.ts +8 -0
  168. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.js +5 -0
  169. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.d.ts +7 -0
  170. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.js +5 -0
  171. package/dist/cjs/api/types/ContactTypeaheadFieldEnum.d.ts +4 -0
  172. package/dist/cjs/api/types/ContactTypeaheadFieldEnum.js +5 -0
  173. package/dist/cjs/api/types/ContactTypeaheadResult.d.ts +8 -0
  174. package/dist/cjs/api/types/ContactTypeaheadResult.js +5 -0
  175. package/dist/cjs/api/types/ContactTypeaheadValue.d.ts +7 -0
  176. package/dist/cjs/api/types/ContactTypeaheadValue.js +5 -0
  177. package/dist/cjs/api/types/CourieAddressResponse1.d.ts +16 -0
  178. package/dist/cjs/api/types/CourieAddressResponse1.js +5 -0
  179. package/dist/cjs/api/types/CourieAttemptReasonResponse1.d.ts +9 -0
  180. package/dist/cjs/api/types/CourieAttemptReasonResponse1.js +5 -0
  181. package/dist/cjs/api/types/CourieCredsLimited1.d.ts +24 -0
  182. package/dist/cjs/api/types/CourieCredsLimited1.js +5 -0
  183. package/dist/cjs/api/types/CourieCredsListRes.d.ts +8 -0
  184. package/dist/cjs/api/types/CourieCredsListRes.js +5 -0
  185. package/dist/cjs/api/types/CourieCredsTestRes.d.ts +10 -0
  186. package/dist/cjs/api/types/CourieCredsTestRes.js +5 -0
  187. package/dist/cjs/api/types/CourieCustomFieldResponse1.d.ts +10 -0
  188. package/dist/cjs/api/types/CourieCustomFieldResponse1.js +5 -0
  189. package/dist/cjs/api/types/CourieDriverAnswerResponse1.d.ts +11 -0
  190. package/dist/cjs/api/types/CourieDriverAnswerResponse1.js +5 -0
  191. package/dist/cjs/api/types/CourieDriverResponse1.d.ts +9 -0
  192. package/dist/cjs/api/types/CourieDriverResponse1.js +5 -0
  193. package/dist/cjs/api/types/CourieLatLngResponse1.d.ts +10 -0
  194. package/dist/cjs/api/types/CourieLatLngResponse1.js +5 -0
  195. package/dist/cjs/api/types/CourieLocationScanResponse1.d.ts +9 -0
  196. package/dist/cjs/api/types/CourieLocationScanResponse1.js +5 -0
  197. package/dist/cjs/api/types/CourieOrder1.d.ts +19 -0
  198. package/dist/cjs/api/types/CourieOrder1.js +5 -0
  199. package/dist/cjs/api/types/CourieOrderEventEnum1.d.ts +18 -0
  200. package/dist/cjs/api/types/CourieOrderEventEnum1.js +14 -0
  201. package/dist/cjs/api/types/CourieOrderEventResponse1.d.ts +11 -0
  202. package/dist/cjs/api/types/CourieOrderEventResponse1.js +5 -0
  203. package/dist/cjs/api/types/CourieOrderListRes.d.ts +8 -0
  204. package/dist/cjs/api/types/CourieOrderListRes.js +5 -0
  205. package/dist/cjs/api/types/CourieOrderResponse1.d.ts +42 -0
  206. package/dist/cjs/api/types/CourieOrderResponse1.js +5 -0
  207. package/dist/cjs/api/types/CourieOrderSortByEnum.d.ts +10 -0
  208. package/dist/cjs/api/types/CourieOrderSortByEnum.js +12 -0
  209. package/dist/cjs/api/types/CourieOrderStatusEnum1.d.ts +21 -0
  210. package/dist/cjs/api/types/CourieOrderStatusEnum1.js +16 -0
  211. package/dist/cjs/api/types/CouriePackageItemResponse1.d.ts +19 -0
  212. package/dist/cjs/api/types/CouriePackageItemResponse1.js +5 -0
  213. package/dist/cjs/api/types/CouriePackageResponse1.d.ts +9 -0
  214. package/dist/cjs/api/types/CouriePackageResponse1.js +5 -0
  215. package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.d.ts +11 -0
  216. package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.js +5 -0
  217. package/dist/cjs/api/types/CourieStopAttemptResponse1.d.ts +10 -0
  218. package/dist/cjs/api/types/CourieStopAttemptResponse1.js +5 -0
  219. package/dist/cjs/api/types/CourieStopResponse1.d.ts +29 -0
  220. package/dist/cjs/api/types/CourieStopResponse1.js +5 -0
  221. package/dist/cjs/api/types/CourieStopTypeEnum1.d.ts +8 -0
  222. package/dist/cjs/api/types/CourieStopTypeEnum1.js +10 -0
  223. package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.d.ts +4 -0
  224. package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.js +5 -0
  225. package/dist/cjs/api/types/CxtOrderTypeaheadResult.d.ts +8 -0
  226. package/dist/cjs/api/types/CxtOrderTypeaheadResult.js +5 -0
  227. package/dist/cjs/api/types/CxtOrderTypeaheadValue.d.ts +7 -0
  228. package/dist/cjs/api/types/CxtOrderTypeaheadValue.js +5 -0
  229. package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.d.ts +8 -0
  230. package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.js +10 -0
  231. package/dist/cjs/api/types/DepartmentTypeaheadResult.d.ts +8 -0
  232. package/dist/cjs/api/types/DepartmentTypeaheadResult.js +5 -0
  233. package/dist/cjs/api/types/DepartmentTypeaheadValue.d.ts +7 -0
  234. package/dist/cjs/api/types/DepartmentTypeaheadValue.js +5 -0
  235. package/dist/cjs/api/types/{TrackingTypeaheadResult.d.ts → DeviceTypeaheadResult.d.ts} +2 -2
  236. package/dist/cjs/api/types/DeviceTypeaheadResult.js +5 -0
  237. package/dist/cjs/api/types/DeviceTypeaheadValue.d.ts +7 -0
  238. package/dist/cjs/api/types/DeviceTypeaheadValue.js +5 -0
  239. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.ts +4 -0
  240. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.js +5 -0
  241. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.d.ts +8 -0
  242. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.js +5 -0
  243. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.d.ts +7 -0
  244. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.js +5 -0
  245. package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
  246. package/dist/cjs/api/types/DriverTypeaheadFieldEnum.d.ts +8 -0
  247. package/dist/cjs/api/types/DriverTypeaheadFieldEnum.js +10 -0
  248. package/dist/cjs/api/types/DriverTypeaheadResult.d.ts +8 -0
  249. package/dist/cjs/api/types/DriverTypeaheadResult.js +5 -0
  250. package/dist/cjs/api/types/DriverTypeaheadValue.d.ts +7 -0
  251. package/dist/cjs/api/types/DriverTypeaheadValue.js +5 -0
  252. package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.d.ts +4 -0
  253. package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.js +5 -0
  254. package/dist/cjs/api/types/InvoiceTypeaheadResult.d.ts +8 -0
  255. package/dist/cjs/api/types/InvoiceTypeaheadResult.js +5 -0
  256. package/dist/cjs/api/types/InvoiceTypeaheadValue.d.ts +7 -0
  257. package/dist/cjs/api/types/InvoiceTypeaheadValue.js +5 -0
  258. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.ts +4 -0
  259. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.js +5 -0
  260. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.d.ts +8 -0
  261. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.js +5 -0
  262. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.d.ts +7 -0
  263. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.js +5 -0
  264. package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.d.ts +4 -0
  265. package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.js +5 -0
  266. package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.d.ts +8 -0
  267. package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.js +5 -0
  268. package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.d.ts +7 -0
  269. package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.js +5 -0
  270. package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.d.ts +4 -0
  271. package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.js +5 -0
  272. package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.d.ts +8 -0
  273. package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.js +5 -0
  274. package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.d.ts +7 -0
  275. package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.js +5 -0
  276. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +1 -1
  277. package/dist/cjs/api/types/OperationsTaskTypeaheadValue.d.ts +7 -0
  278. package/dist/cjs/api/types/OperationsTaskTypeaheadValue.js +5 -0
  279. package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
  280. package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.d.ts +4 -0
  281. package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.js +5 -0
  282. package/dist/cjs/api/types/OrderLabelTypeaheadResult.d.ts +8 -0
  283. package/dist/cjs/api/types/OrderLabelTypeaheadResult.js +5 -0
  284. package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.d.ts +4 -0
  285. package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.js +5 -0
  286. package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.d.ts +8 -0
  287. package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.js +5 -0
  288. package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.d.ts +7 -0
  289. package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.js +5 -0
  290. package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
  291. package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.d.ts +8 -0
  292. package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.js +10 -0
  293. package/dist/cjs/api/types/OrgMemberTypeaheadResult.d.ts +8 -0
  294. package/dist/cjs/api/types/OrgMemberTypeaheadResult.js +5 -0
  295. package/dist/cjs/api/types/OrgMemberTypeaheadValue.d.ts +7 -0
  296. package/dist/cjs/api/types/OrgMemberTypeaheadValue.js +5 -0
  297. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
  298. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
  299. package/dist/cjs/api/types/SessionTypeaheadResult.d.ts +8 -0
  300. package/dist/cjs/api/types/SessionTypeaheadResult.js +5 -0
  301. package/dist/cjs/api/types/SessionTypeaheadValue.d.ts +7 -0
  302. package/dist/cjs/api/types/SessionTypeaheadValue.js +5 -0
  303. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadResult.d.ts +1 -1
  304. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.d.ts +7 -0
  305. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.js +5 -0
  306. package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
  307. package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +2 -0
  308. package/dist/cjs/api/types/TaskGroupTypeaheadResult.d.ts +1 -1
  309. package/dist/cjs/api/types/TaskGroupTypeaheadValue.d.ts +7 -0
  310. package/dist/cjs/api/types/TaskGroupTypeaheadValue.js +5 -0
  311. package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.d.ts +4 -0
  312. package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.js +5 -0
  313. package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.d.ts +8 -0
  314. package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.js +5 -0
  315. package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.d.ts +7 -0
  316. package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.js +5 -0
  317. package/dist/cjs/api/types/index.d.ts +74 -1
  318. package/dist/cjs/api/types/index.js +74 -1
  319. package/dist/cjs/version.d.ts +1 -1
  320. package/dist/cjs/version.js +1 -1
  321. package/dist/esm/Client.mjs +2 -2
  322. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +17 -0
  323. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +81 -1
  324. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +3 -0
  325. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.d.mts +16 -0
  326. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +1 -0
  327. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +17 -0
  328. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +78 -1
  329. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
  330. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.mts +16 -0
  331. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.mjs +4 -0
  332. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
  333. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -0
  334. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +10 -1
  335. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +4 -1
  336. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +17 -0
  337. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +78 -1
  338. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
  339. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.mts +16 -0
  340. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.mjs +4 -0
  341. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +1 -0
  342. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +17 -0
  343. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +81 -1
  344. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
  345. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.mts +16 -0
  346. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.mjs +4 -0
  347. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -0
  348. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +2 -0
  349. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +20 -2
  350. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  351. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  352. package/dist/esm/api/resources/orgs/client/Client.d.mts +16 -0
  353. package/dist/esm/api/resources/orgs/client/Client.mjs +68 -0
  354. package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.mts +16 -0
  355. package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.mjs +4 -0
  356. package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -0
  357. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +1 -1
  358. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.mjs +10 -5
  359. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +3 -3
  360. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +5 -0
  361. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +50 -5
  362. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.mts +3 -0
  363. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.mts +3 -0
  364. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.mts +3 -0
  365. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.mts +3 -0
  366. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.mts +3 -0
  367. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +17 -0
  368. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +78 -1
  369. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.mts +3 -0
  370. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.mts +16 -0
  371. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.mjs +4 -0
  372. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +1 -0
  373. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +17 -0
  374. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +78 -1
  375. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +3 -0
  376. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.mts +16 -0
  377. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.mjs +4 -0
  378. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +1 -0
  379. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +18 -1
  380. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +88 -6
  381. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
  382. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +3 -3
  383. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.mts +16 -0
  384. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.mjs +4 -0
  385. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  386. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +17 -0
  387. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +81 -1
  388. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +4 -1
  389. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.mts +16 -0
  390. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.mjs +4 -0
  391. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +1 -0
  392. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +2 -2
  393. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  394. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
  395. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -2
  396. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +4 -1
  397. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  398. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  399. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +20 -2
  400. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.mts +3 -0
  401. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  402. package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +3 -0
  403. package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +5 -0
  404. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +17 -0
  405. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +78 -1
  406. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  407. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  408. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  409. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.mts +1 -0
  410. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.d.mts +26 -0
  411. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.mjs +18 -0
  412. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.d.mts +1 -0
  413. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.mjs +1 -0
  414. package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.d.mts +2 -0
  415. package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.mjs +2 -0
  416. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.mts +115 -0
  417. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.mjs +389 -0
  418. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.mts +2 -0
  419. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.mjs +1 -0
  420. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.mts +18 -0
  421. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.mjs +4 -0
  422. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.mts +15 -0
  423. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.mjs +4 -0
  424. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.mts +2 -0
  425. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.mjs +1 -0
  426. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.mts +1 -0
  427. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.mjs +1 -0
  428. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.d.mts +4 -0
  429. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.mjs +4 -0
  430. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.mts +105 -0
  431. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.mjs +338 -0
  432. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.mts +2 -0
  433. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.mjs +1 -0
  434. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.mts +15 -0
  435. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.mjs +4 -0
  436. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
  437. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
  438. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.mts +2 -0
  439. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.mjs +1 -0
  440. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.mts +1 -0
  441. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.mjs +1 -0
  442. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.mts +17 -0
  443. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs +78 -1
  444. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  445. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  446. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  447. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.mts +1 -0
  448. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.mts +17 -0
  449. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.mjs +81 -1
  450. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  451. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  452. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  453. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.mts +1 -0
  454. package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +1 -0
  455. package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +1 -0
  456. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.mts +17 -0
  457. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.mjs +78 -1
  458. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  459. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  460. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  461. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.mts +1 -0
  462. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +3 -0
  463. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +30 -3
  464. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.mts +3 -0
  465. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  466. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +3 -0
  467. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +17 -0
  468. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +81 -1
  469. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  470. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  471. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  472. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +1 -0
  473. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +3 -3
  474. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +10 -5
  475. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +3 -3
  476. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
  477. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -2
  478. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +3 -0
  479. package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.d.mts +4 -0
  480. package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.mjs +4 -0
  481. package/dist/esm/api/types/AtlasOrderTypeaheadResult.d.mts +8 -0
  482. package/dist/esm/api/types/AtlasOrderTypeaheadResult.mjs +4 -0
  483. package/dist/esm/api/types/AtlasOrderTypeaheadValue.d.mts +7 -0
  484. package/dist/esm/api/types/AtlasOrderTypeaheadValue.mjs +4 -0
  485. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.mts +4 -0
  486. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.mjs +4 -0
  487. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.d.mts +8 -0
  488. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.mjs +4 -0
  489. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.d.mts +7 -0
  490. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.mjs +4 -0
  491. package/dist/esm/api/types/ContactTypeaheadFieldEnum.d.mts +4 -0
  492. package/dist/esm/api/types/ContactTypeaheadFieldEnum.mjs +4 -0
  493. package/dist/esm/api/types/ContactTypeaheadResult.d.mts +8 -0
  494. package/dist/esm/api/types/ContactTypeaheadResult.mjs +4 -0
  495. package/dist/esm/api/types/ContactTypeaheadValue.d.mts +7 -0
  496. package/dist/esm/api/types/ContactTypeaheadValue.mjs +4 -0
  497. package/dist/esm/api/types/CourieAddressResponse1.d.mts +16 -0
  498. package/dist/esm/api/types/CourieAddressResponse1.mjs +4 -0
  499. package/dist/esm/api/types/CourieAttemptReasonResponse1.d.mts +9 -0
  500. package/dist/esm/api/types/CourieAttemptReasonResponse1.mjs +4 -0
  501. package/dist/esm/api/types/CourieCredsLimited1.d.mts +24 -0
  502. package/dist/esm/api/types/CourieCredsLimited1.mjs +4 -0
  503. package/dist/esm/api/types/CourieCredsListRes.d.mts +8 -0
  504. package/dist/esm/api/types/CourieCredsListRes.mjs +4 -0
  505. package/dist/esm/api/types/CourieCredsTestRes.d.mts +10 -0
  506. package/dist/esm/api/types/CourieCredsTestRes.mjs +4 -0
  507. package/dist/esm/api/types/CourieCustomFieldResponse1.d.mts +10 -0
  508. package/dist/esm/api/types/CourieCustomFieldResponse1.mjs +4 -0
  509. package/dist/esm/api/types/CourieDriverAnswerResponse1.d.mts +11 -0
  510. package/dist/esm/api/types/CourieDriverAnswerResponse1.mjs +4 -0
  511. package/dist/esm/api/types/CourieDriverResponse1.d.mts +9 -0
  512. package/dist/esm/api/types/CourieDriverResponse1.mjs +4 -0
  513. package/dist/esm/api/types/CourieLatLngResponse1.d.mts +10 -0
  514. package/dist/esm/api/types/CourieLatLngResponse1.mjs +4 -0
  515. package/dist/esm/api/types/CourieLocationScanResponse1.d.mts +9 -0
  516. package/dist/esm/api/types/CourieLocationScanResponse1.mjs +4 -0
  517. package/dist/esm/api/types/CourieOrder1.d.mts +19 -0
  518. package/dist/esm/api/types/CourieOrder1.mjs +4 -0
  519. package/dist/esm/api/types/CourieOrderEventEnum1.d.mts +18 -0
  520. package/dist/esm/api/types/CourieOrderEventEnum1.mjs +11 -0
  521. package/dist/esm/api/types/CourieOrderEventResponse1.d.mts +11 -0
  522. package/dist/esm/api/types/CourieOrderEventResponse1.mjs +4 -0
  523. package/dist/esm/api/types/CourieOrderListRes.d.mts +8 -0
  524. package/dist/esm/api/types/CourieOrderListRes.mjs +4 -0
  525. package/dist/esm/api/types/CourieOrderResponse1.d.mts +42 -0
  526. package/dist/esm/api/types/CourieOrderResponse1.mjs +4 -0
  527. package/dist/esm/api/types/CourieOrderSortByEnum.d.mts +10 -0
  528. package/dist/esm/api/types/CourieOrderSortByEnum.mjs +9 -0
  529. package/dist/esm/api/types/CourieOrderStatusEnum1.d.mts +21 -0
  530. package/dist/esm/api/types/CourieOrderStatusEnum1.mjs +13 -0
  531. package/dist/esm/api/types/CouriePackageItemResponse1.d.mts +19 -0
  532. package/dist/esm/api/types/CouriePackageItemResponse1.mjs +4 -0
  533. package/dist/esm/api/types/CouriePackageResponse1.d.mts +9 -0
  534. package/dist/esm/api/types/CouriePackageResponse1.mjs +4 -0
  535. package/dist/esm/api/types/CourieProofOfDeliveryResponse1.d.mts +11 -0
  536. package/dist/esm/api/types/CourieProofOfDeliveryResponse1.mjs +4 -0
  537. package/dist/esm/api/types/CourieStopAttemptResponse1.d.mts +10 -0
  538. package/dist/esm/api/types/CourieStopAttemptResponse1.mjs +4 -0
  539. package/dist/esm/api/types/CourieStopResponse1.d.mts +29 -0
  540. package/dist/esm/api/types/CourieStopResponse1.mjs +4 -0
  541. package/dist/esm/api/types/CourieStopTypeEnum1.d.mts +8 -0
  542. package/dist/esm/api/types/CourieStopTypeEnum1.mjs +7 -0
  543. package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.d.mts +4 -0
  544. package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.mjs +4 -0
  545. package/dist/esm/api/types/CxtOrderTypeaheadResult.d.mts +8 -0
  546. package/dist/esm/api/types/CxtOrderTypeaheadResult.mjs +4 -0
  547. package/dist/esm/api/types/CxtOrderTypeaheadValue.d.mts +7 -0
  548. package/dist/esm/api/types/CxtOrderTypeaheadValue.mjs +4 -0
  549. package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.d.mts +8 -0
  550. package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.mjs +7 -0
  551. package/dist/esm/api/types/DepartmentTypeaheadResult.d.mts +8 -0
  552. package/dist/esm/api/types/DepartmentTypeaheadResult.mjs +4 -0
  553. package/dist/esm/api/types/DepartmentTypeaheadValue.d.mts +7 -0
  554. package/dist/esm/api/types/DepartmentTypeaheadValue.mjs +4 -0
  555. package/dist/esm/api/types/{TrackingTypeaheadResult.d.mts → DeviceTypeaheadResult.d.mts} +2 -2
  556. package/dist/esm/api/types/DeviceTypeaheadResult.mjs +4 -0
  557. package/dist/esm/api/types/DeviceTypeaheadValue.d.mts +7 -0
  558. package/dist/esm/api/types/DeviceTypeaheadValue.mjs +4 -0
  559. package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.mts +4 -0
  560. package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.mjs +4 -0
  561. package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.d.mts +8 -0
  562. package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.mjs +4 -0
  563. package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.d.mts +7 -0
  564. package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.mjs +4 -0
  565. package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
  566. package/dist/esm/api/types/DriverTypeaheadFieldEnum.d.mts +8 -0
  567. package/dist/esm/api/types/DriverTypeaheadFieldEnum.mjs +7 -0
  568. package/dist/esm/api/types/DriverTypeaheadResult.d.mts +8 -0
  569. package/dist/esm/api/types/DriverTypeaheadResult.mjs +4 -0
  570. package/dist/esm/api/types/DriverTypeaheadValue.d.mts +7 -0
  571. package/dist/esm/api/types/DriverTypeaheadValue.mjs +4 -0
  572. package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.d.mts +4 -0
  573. package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.mjs +4 -0
  574. package/dist/esm/api/types/InvoiceTypeaheadResult.d.mts +8 -0
  575. package/dist/esm/api/types/InvoiceTypeaheadResult.mjs +4 -0
  576. package/dist/esm/api/types/InvoiceTypeaheadValue.d.mts +7 -0
  577. package/dist/esm/api/types/InvoiceTypeaheadValue.mjs +4 -0
  578. package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.mts +4 -0
  579. package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.mjs +4 -0
  580. package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.d.mts +8 -0
  581. package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.mjs +4 -0
  582. package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.d.mts +7 -0
  583. package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.mjs +4 -0
  584. package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.d.mts +4 -0
  585. package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.mjs +4 -0
  586. package/dist/esm/api/types/OnTime360OrderTypeaheadResult.d.mts +8 -0
  587. package/dist/esm/api/types/OnTime360OrderTypeaheadResult.mjs +4 -0
  588. package/dist/esm/api/types/OnTime360OrderTypeaheadValue.d.mts +7 -0
  589. package/dist/esm/api/types/OnTime360OrderTypeaheadValue.mjs +4 -0
  590. package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.d.mts +4 -0
  591. package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.mjs +4 -0
  592. package/dist/esm/api/types/OperationsTaskListTypeaheadResult.d.mts +8 -0
  593. package/dist/esm/api/types/OperationsTaskListTypeaheadResult.mjs +4 -0
  594. package/dist/esm/api/types/OperationsTaskListTypeaheadValue.d.mts +7 -0
  595. package/dist/esm/api/types/OperationsTaskListTypeaheadValue.mjs +4 -0
  596. package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +1 -1
  597. package/dist/esm/api/types/OperationsTaskTypeaheadValue.d.mts +7 -0
  598. package/dist/esm/api/types/OperationsTaskTypeaheadValue.mjs +4 -0
  599. package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
  600. package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.d.mts +4 -0
  601. package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.mjs +4 -0
  602. package/dist/esm/api/types/OrderLabelTypeaheadResult.d.mts +8 -0
  603. package/dist/esm/api/types/OrderLabelTypeaheadResult.mjs +4 -0
  604. package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.d.mts +4 -0
  605. package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.mjs +4 -0
  606. package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.d.mts +8 -0
  607. package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.mjs +4 -0
  608. package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.d.mts +7 -0
  609. package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.mjs +4 -0
  610. package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
  611. package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.d.mts +8 -0
  612. package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.mjs +7 -0
  613. package/dist/esm/api/types/OrgMemberTypeaheadResult.d.mts +8 -0
  614. package/dist/esm/api/types/OrgMemberTypeaheadResult.mjs +4 -0
  615. package/dist/esm/api/types/OrgMemberTypeaheadValue.d.mts +7 -0
  616. package/dist/esm/api/types/OrgMemberTypeaheadValue.mjs +4 -0
  617. package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
  618. package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
  619. package/dist/esm/api/types/SessionTypeaheadResult.d.mts +8 -0
  620. package/dist/esm/api/types/SessionTypeaheadResult.mjs +4 -0
  621. package/dist/esm/api/types/SessionTypeaheadValue.d.mts +7 -0
  622. package/dist/esm/api/types/SessionTypeaheadValue.mjs +4 -0
  623. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadResult.d.mts +1 -1
  624. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.d.mts +7 -0
  625. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.mjs +4 -0
  626. package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
  627. package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +2 -0
  628. package/dist/esm/api/types/TaskGroupTypeaheadResult.d.mts +1 -1
  629. package/dist/esm/api/types/TaskGroupTypeaheadValue.d.mts +7 -0
  630. package/dist/esm/api/types/TaskGroupTypeaheadValue.mjs +4 -0
  631. package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.d.mts +4 -0
  632. package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.mjs +4 -0
  633. package/dist/esm/api/types/XceleratorOrderTypeaheadResult.d.mts +8 -0
  634. package/dist/esm/api/types/XceleratorOrderTypeaheadResult.mjs +4 -0
  635. package/dist/esm/api/types/XceleratorOrderTypeaheadValue.d.mts +7 -0
  636. package/dist/esm/api/types/XceleratorOrderTypeaheadValue.mjs +4 -0
  637. package/dist/esm/api/types/index.d.mts +74 -1
  638. package/dist/esm/api/types/index.mjs +74 -1
  639. package/dist/esm/version.d.mts +1 -1
  640. package/dist/esm/version.mjs +1 -1
  641. package/package.json +1 -1
  642. package/reference.md +1727 -102
  643. /package/dist/cjs/api/{types/TrackingTypeaheadResult.js → resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.js} +0 -0
  644. /package/dist/esm/api/{types/TrackingTypeaheadResult.mjs → resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.mjs} +0 -0
@@ -0,0 +1,105 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.js";
5
+ import * as core from "../../../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../../../index.js";
7
+ export declare namespace Orders {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class Orders {
31
+ protected readonly _options: Orders.Options;
32
+ constructor(_options?: Orders.Options);
33
+ /**
34
+ * Returns one mirrored Courie order by the provider's own order ID. | () -> (CourieOrder1)
35
+ *
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
+ * @param {string} integrationOrderId - Courie's own ID for the order, as carried on a unified order row
38
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
+ *
40
+ * @throws {@link Chrt.UnprocessableEntityError}
41
+ *
42
+ * @example
43
+ * await client.shippingIntegrations.courie.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
+ */
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CourieOrder1>;
46
+ private __detailByIntegrationOrderIdV1;
47
+ /**
48
+ * Returns one mirrored Courie order by its Mongo ObjectId. | () -> (CourieOrder1)
49
+ *
50
+ * @param {string} id - Mongo ObjectId of the mirror document. Courie's own order ID is the integration_order_id, accepted by the by_integration_order_id route.
51
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link Chrt.UnprocessableEntityError}
54
+ *
55
+ * @example
56
+ * await client.shippingIntegrations.courie.orders.detailV1("id")
57
+ */
58
+ detailV1(id: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CourieOrder1>;
59
+ private __detailV1;
60
+ /**
61
+ * Lists mirrored Courie orders for the caller's organization with filtering, sorting, and pagination. | () -> (CourieOrderListRes)
62
+ *
63
+ * @param {Chrt.shippingIntegrations.courie.OrdersListV1Request} request
64
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link Chrt.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * await client.shippingIntegrations.courie.orders.listV1({
70
+ * sort_by: "mirrored_at_timestamp",
71
+ * sort_order: "asc",
72
+ * page: 1,
73
+ * page_size: 1,
74
+ * filter_provider_org_id: ["filter_provider_org_id"],
75
+ * filter_integration_order_id: "filter_integration_order_id",
76
+ * filter_customer_id: "filter_customer_id",
77
+ * filter_provider_status: "CREATED",
78
+ * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
+ * filter_mirrored_at_timestamp_lte: "2024-01-15T09:30:00Z",
80
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
81
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
82
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
83
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
84
+ * })
85
+ */
86
+ listV1(request?: Chrt.shippingIntegrations.courie.OrdersListV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CourieOrderListRes>;
87
+ private __listV1;
88
+ /**
89
+ * Fetches and mirrors one Courie order by the provider's own order ID, updating the unified order list alongside it. | authz: min_org_role=operator | (CourieOrderSyncOneReq) -> (CourieOrder1)
90
+ *
91
+ * @param {Chrt.shippingIntegrations.courie.CourieOrderSyncOneReq} request
92
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
93
+ *
94
+ * @throws {@link Chrt.UnprocessableEntityError}
95
+ *
96
+ * @example
97
+ * await client.shippingIntegrations.courie.orders.syncOneV1({
98
+ * integration_order_id: "integration_order_id",
99
+ * provider_org_id: "provider_org_id"
100
+ * })
101
+ */
102
+ syncOneV1(request: Chrt.shippingIntegrations.courie.CourieOrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CourieOrder1>;
103
+ private __syncOneV1;
104
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
105
+ }
@@ -0,0 +1,375 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Orders = void 0;
49
+ const environments = __importStar(require("../../../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
54
+ class Orders {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Returns one mirrored Courie order by the provider's own order ID. | () -> (CourieOrder1)
60
+ *
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
+ * @param {string} integrationOrderId - Courie's own ID for the order, as carried on a unified order row
63
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link Chrt.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.shippingIntegrations.courie.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
+ */
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
+ }
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ var _a, _b, _c, _d;
76
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
77
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
+ 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/courie/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
+ method: "GET",
80
+ headers: _headers,
81
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
82
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
+ });
86
+ if (_response.ok) {
87
+ return { data: _response.body, rawResponse: _response.rawResponse };
88
+ }
89
+ if (_response.error.reason === "status-code") {
90
+ switch (_response.error.statusCode) {
91
+ case 422:
92
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
93
+ default:
94
+ throw new errors.ChrtError({
95
+ statusCode: _response.error.statusCode,
96
+ body: _response.error.body,
97
+ rawResponse: _response.rawResponse,
98
+ });
99
+ }
100
+ }
101
+ switch (_response.error.reason) {
102
+ case "non-json":
103
+ throw new errors.ChrtError({
104
+ statusCode: _response.error.statusCode,
105
+ body: _response.error.rawBody,
106
+ rawResponse: _response.rawResponse,
107
+ });
108
+ case "timeout":
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/courie/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
+ case "unknown":
111
+ throw new errors.ChrtError({
112
+ message: _response.error.errorMessage,
113
+ rawResponse: _response.rawResponse,
114
+ });
115
+ }
116
+ });
117
+ }
118
+ /**
119
+ * Returns one mirrored Courie order by its Mongo ObjectId. | () -> (CourieOrder1)
120
+ *
121
+ * @param {string} id - Mongo ObjectId of the mirror document. Courie's own order ID is the integration_order_id, accepted by the by_integration_order_id route.
122
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
123
+ *
124
+ * @throws {@link Chrt.UnprocessableEntityError}
125
+ *
126
+ * @example
127
+ * await client.shippingIntegrations.courie.orders.detailV1("id")
128
+ */
129
+ detailV1(id, requestOptions) {
130
+ return core.HttpResponsePromise.fromPromise(this.__detailV1(id, requestOptions));
131
+ }
132
+ __detailV1(id, requestOptions) {
133
+ return __awaiter(this, void 0, void 0, function* () {
134
+ var _a, _b, _c, _d;
135
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
136
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
137
+ 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/courie/orders/detail/v1/${encodeURIComponent(id)}`),
138
+ method: "GET",
139
+ headers: _headers,
140
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
141
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
142
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
143
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
144
+ });
145
+ if (_response.ok) {
146
+ return { data: _response.body, rawResponse: _response.rawResponse };
147
+ }
148
+ if (_response.error.reason === "status-code") {
149
+ switch (_response.error.statusCode) {
150
+ case 422:
151
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
152
+ default:
153
+ throw new errors.ChrtError({
154
+ statusCode: _response.error.statusCode,
155
+ body: _response.error.body,
156
+ rawResponse: _response.rawResponse,
157
+ });
158
+ }
159
+ }
160
+ switch (_response.error.reason) {
161
+ case "non-json":
162
+ throw new errors.ChrtError({
163
+ statusCode: _response.error.statusCode,
164
+ body: _response.error.rawBody,
165
+ rawResponse: _response.rawResponse,
166
+ });
167
+ case "timeout":
168
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/courie/orders/detail/v1/{id}.");
169
+ case "unknown":
170
+ throw new errors.ChrtError({
171
+ message: _response.error.errorMessage,
172
+ rawResponse: _response.rawResponse,
173
+ });
174
+ }
175
+ });
176
+ }
177
+ /**
178
+ * Lists mirrored Courie orders for the caller's organization with filtering, sorting, and pagination. | () -> (CourieOrderListRes)
179
+ *
180
+ * @param {Chrt.shippingIntegrations.courie.OrdersListV1Request} request
181
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
182
+ *
183
+ * @throws {@link Chrt.UnprocessableEntityError}
184
+ *
185
+ * @example
186
+ * await client.shippingIntegrations.courie.orders.listV1({
187
+ * sort_by: "mirrored_at_timestamp",
188
+ * sort_order: "asc",
189
+ * page: 1,
190
+ * page_size: 1,
191
+ * filter_provider_org_id: ["filter_provider_org_id"],
192
+ * filter_integration_order_id: "filter_integration_order_id",
193
+ * filter_customer_id: "filter_customer_id",
194
+ * filter_provider_status: "CREATED",
195
+ * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
196
+ * filter_mirrored_at_timestamp_lte: "2024-01-15T09:30:00Z",
197
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
198
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
199
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
200
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
201
+ * })
202
+ */
203
+ listV1(request = {}, requestOptions) {
204
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
205
+ }
206
+ __listV1() {
207
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
208
+ var _a, _b, _c, _d, _e, _f;
209
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_customer_id: filterCustomerId, filter_provider_status: filterProviderStatus, 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;
210
+ const _queryParams = {};
211
+ if (sortBy !== undefined) {
212
+ _queryParams["sort_by"] = sortBy;
213
+ }
214
+ if (sortOrder !== undefined) {
215
+ _queryParams["sort_order"] = sortOrder;
216
+ }
217
+ if (page !== undefined) {
218
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
219
+ }
220
+ if (pageSize !== undefined) {
221
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
222
+ }
223
+ if (filterProviderOrgId !== undefined) {
224
+ if (Array.isArray(filterProviderOrgId)) {
225
+ _queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
226
+ }
227
+ else {
228
+ _queryParams["filter_provider_org_id"] = filterProviderOrgId;
229
+ }
230
+ }
231
+ if (filterIntegrationOrderId !== undefined) {
232
+ _queryParams["filter_integration_order_id"] = filterIntegrationOrderId;
233
+ }
234
+ if (filterCustomerId !== undefined) {
235
+ _queryParams["filter_customer_id"] = filterCustomerId;
236
+ }
237
+ if (filterProviderStatus !== undefined) {
238
+ _queryParams["filter_provider_status"] = filterProviderStatus;
239
+ }
240
+ if (filterMirroredAtTimestampGte !== undefined) {
241
+ _queryParams["filter_mirrored_at_timestamp_gte"] = filterMirroredAtTimestampGte;
242
+ }
243
+ if (filterMirroredAtTimestampLte !== undefined) {
244
+ _queryParams["filter_mirrored_at_timestamp_lte"] = filterMirroredAtTimestampLte;
245
+ }
246
+ if (filterCreatedAtTimestampGte !== undefined) {
247
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
248
+ }
249
+ if (filterCreatedAtTimestampLte !== undefined) {
250
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
251
+ }
252
+ if (filterUpdatedAtTimestampGte !== undefined) {
253
+ _queryParams["filter_updated_at_timestamp_gte"] = filterUpdatedAtTimestampGte;
254
+ }
255
+ if (filterUpdatedAtTimestampLte !== undefined) {
256
+ _queryParams["filter_updated_at_timestamp_lte"] = filterUpdatedAtTimestampLte;
257
+ }
258
+ let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
259
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
260
+ 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/courie/orders/list/v1"),
261
+ method: "GET",
262
+ headers: _headers,
263
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
264
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
265
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
266
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
267
+ });
268
+ if (_response.ok) {
269
+ return { data: _response.body, rawResponse: _response.rawResponse };
270
+ }
271
+ if (_response.error.reason === "status-code") {
272
+ switch (_response.error.statusCode) {
273
+ case 422:
274
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
275
+ default:
276
+ throw new errors.ChrtError({
277
+ statusCode: _response.error.statusCode,
278
+ body: _response.error.body,
279
+ rawResponse: _response.rawResponse,
280
+ });
281
+ }
282
+ }
283
+ switch (_response.error.reason) {
284
+ case "non-json":
285
+ throw new errors.ChrtError({
286
+ statusCode: _response.error.statusCode,
287
+ body: _response.error.rawBody,
288
+ rawResponse: _response.rawResponse,
289
+ });
290
+ case "timeout":
291
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/courie/orders/list/v1.");
292
+ case "unknown":
293
+ throw new errors.ChrtError({
294
+ message: _response.error.errorMessage,
295
+ rawResponse: _response.rawResponse,
296
+ });
297
+ }
298
+ });
299
+ }
300
+ /**
301
+ * Fetches and mirrors one Courie order by the provider's own order ID, updating the unified order list alongside it. | authz: min_org_role=operator | (CourieOrderSyncOneReq) -> (CourieOrder1)
302
+ *
303
+ * @param {Chrt.shippingIntegrations.courie.CourieOrderSyncOneReq} request
304
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
305
+ *
306
+ * @throws {@link Chrt.UnprocessableEntityError}
307
+ *
308
+ * @example
309
+ * await client.shippingIntegrations.courie.orders.syncOneV1({
310
+ * integration_order_id: "integration_order_id",
311
+ * provider_org_id: "provider_org_id"
312
+ * })
313
+ */
314
+ syncOneV1(request, requestOptions) {
315
+ return core.HttpResponsePromise.fromPromise(this.__syncOneV1(request, requestOptions));
316
+ }
317
+ __syncOneV1(request, requestOptions) {
318
+ return __awaiter(this, void 0, void 0, function* () {
319
+ var _a, _b, _c, _d;
320
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
321
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
322
+ 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/courie/orders/sync_one/v1"),
323
+ method: "POST",
324
+ headers: _headers,
325
+ contentType: "application/json",
326
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
327
+ requestType: "json",
328
+ body: request,
329
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
330
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
331
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
332
+ });
333
+ if (_response.ok) {
334
+ return { data: _response.body, rawResponse: _response.rawResponse };
335
+ }
336
+ if (_response.error.reason === "status-code") {
337
+ switch (_response.error.statusCode) {
338
+ case 422:
339
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
340
+ default:
341
+ throw new errors.ChrtError({
342
+ statusCode: _response.error.statusCode,
343
+ body: _response.error.body,
344
+ rawResponse: _response.rawResponse,
345
+ });
346
+ }
347
+ }
348
+ switch (_response.error.reason) {
349
+ case "non-json":
350
+ throw new errors.ChrtError({
351
+ statusCode: _response.error.statusCode,
352
+ body: _response.error.rawBody,
353
+ rawResponse: _response.rawResponse,
354
+ });
355
+ case "timeout":
356
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping_integrations/courie/orders/sync_one/v1.");
357
+ case "unknown":
358
+ throw new errors.ChrtError({
359
+ message: _response.error.errorMessage,
360
+ rawResponse: _response.rawResponse,
361
+ });
362
+ }
363
+ });
364
+ }
365
+ _getAuthorizationHeader() {
366
+ return __awaiter(this, void 0, void 0, function* () {
367
+ const bearer = yield core.Supplier.get(this._options.token);
368
+ if (bearer != null) {
369
+ return `Bearer ${bearer}`;
370
+ }
371
+ return undefined;
372
+ });
373
+ }
374
+ }
375
+ exports.Orders = Orders;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -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 CourieOrderSyncOneReq {
12
+ integration_order_id: string;
13
+ /** Must be a string starting with `org_` */
14
+ provider_org_id: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../../../index.js";
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_customer_id: "filter_customer_id",
15
+ * filter_provider_status: "CREATED",
16
+ * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
17
+ * filter_mirrored_at_timestamp_lte: "2024-01-15T09:30:00Z",
18
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
19
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
20
+ * filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
+ * filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
22
+ * }
23
+ */
24
+ export interface OrdersListV1Request {
25
+ /** Field to sort by. */
26
+ sort_by?: Chrt.CourieOrderSortByEnum | null;
27
+ /** Sort order (asc or desc). */
28
+ sort_order?: Chrt.SortOrderEnum | null;
29
+ page?: number | null;
30
+ page_size?: number | null;
31
+ /** Filter by provider org ID(s) */
32
+ filter_provider_org_id?: (string | null) | (string | null)[];
33
+ /** Filter by Courie's exact order ID */
34
+ filter_integration_order_id?: string | null;
35
+ /** Filter by the Courie customer the order belongs to */
36
+ filter_customer_id?: string | null;
37
+ /** Filter by Courie's own order status */
38
+ filter_provider_status?: Chrt.CourieOrderStatusEnum1 | null;
39
+ /** Filter mirrored_at_timestamp >= value */
40
+ filter_mirrored_at_timestamp_gte?: string | null;
41
+ /** Filter mirrored_at_timestamp <= value */
42
+ filter_mirrored_at_timestamp_lte?: string | null;
43
+ /** Filter created_at_timestamp >= value */
44
+ filter_created_at_timestamp_gte?: string | null;
45
+ /** Filter created_at_timestamp <= value */
46
+ filter_created_at_timestamp_lte?: string | null;
47
+ /** Filter updated_at_timestamp >= value */
48
+ filter_updated_at_timestamp_gte?: string | null;
49
+ /** Filter updated_at_timestamp <= value */
50
+ filter_updated_at_timestamp_lte?: string | null;
51
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { type OrdersListV1Request } from "./OrdersListV1Request.js";
2
+ export { type CourieOrderSyncOneReq } from "./CourieOrderSyncOneReq.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -72,6 +72,7 @@ export declare class Orders {
72
72
  * limit: 1,
73
73
  * page: 1,
74
74
  * search: "search",
75
+ * filter_cxt_order_ids: ["filter_cxt_order_ids"],
75
76
  * filter_provider_org_id: ["filter_provider_org_id"],
76
77
  * filter_integration_order_id: "filter_integration_order_id",
77
78
  * filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -100,5 +101,21 @@ export declare class Orders {
100
101
  */
101
102
  syncOneV1(request: Chrt.shippingIntegrations.cxt.CxtOrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrder1>;
102
103
  private __syncOneV1;
104
+ /**
105
+ * Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[CxtOrderTypeaheadResult])
106
+ *
107
+ * @param {Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request} request
108
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
109
+ *
110
+ * @throws {@link Chrt.UnprocessableEntityError}
111
+ *
112
+ * @example
113
+ * await client.shippingIntegrations.cxt.orders.typeaheadV1({
114
+ * query: "query",
115
+ * limit: 1
116
+ * })
117
+ */
118
+ typeaheadV1(request: Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrderTypeaheadResult[]>;
119
+ private __typeaheadV1;
103
120
  protected _getAuthorizationHeader(): Promise<string | undefined>;
104
121
  }