@chrt-inc/typescript-sdk 1.1002.0 → 1.1006.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 (494) 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/invoiceLineItems/client/Client.d.ts +25 -5
  8. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +80 -8
  9. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.d.ts +22 -0
  10. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.d.ts +28 -0
  11. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.js +5 -0
  12. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +2 -1
  13. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +17 -0
  14. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +78 -1
  15. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
  16. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.ts +16 -0
  17. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.js +5 -0
  18. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
  19. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -0
  20. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +10 -1
  21. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +4 -1
  22. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +17 -0
  23. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +78 -1
  24. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
  25. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.ts +16 -0
  26. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.js +5 -0
  27. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +17 -0
  29. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +81 -1
  30. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
  31. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.ts +16 -0
  32. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.js +5 -0
  33. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +2 -0
  35. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +20 -2
  36. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  37. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  38. package/dist/cjs/api/resources/orgs/client/Client.d.ts +16 -0
  39. package/dist/cjs/api/resources/orgs/client/Client.js +68 -0
  40. package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.ts +16 -0
  41. package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.js +5 -0
  42. package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +1 -1
  44. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.js +10 -5
  45. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +3 -3
  46. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +5 -0
  47. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +50 -5
  48. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.ts +3 -0
  49. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.ts +3 -0
  50. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.ts +3 -0
  51. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.ts +3 -0
  52. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.ts +3 -0
  53. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +17 -0
  54. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +78 -1
  55. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.ts +3 -0
  56. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.ts +16 -0
  57. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.js +5 -0
  58. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +18 -0
  60. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +82 -1
  61. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +3 -0
  62. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.ts +20 -0
  63. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.js +5 -0
  64. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +18 -1
  66. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +88 -6
  67. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
  68. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +3 -3
  69. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.ts +16 -0
  70. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.js +5 -0
  71. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +17 -0
  73. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +81 -1
  74. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +4 -1
  75. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.ts +16 -0
  76. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.js +5 -0
  77. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +2 -2
  79. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
  80. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
  81. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -2
  82. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +4 -1
  83. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  84. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  85. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +20 -2
  86. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.ts +3 -0
  87. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  88. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +17 -0
  89. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +78 -1
  90. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  91. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  92. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  93. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.ts +1 -0
  94. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.ts +17 -0
  95. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js +78 -1
  96. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  97. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  98. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  99. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.ts +1 -0
  100. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.ts +17 -0
  101. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.js +81 -1
  102. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  103. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  104. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  105. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.ts +1 -0
  106. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.ts +17 -0
  107. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.js +78 -1
  108. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  109. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  110. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  111. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.ts +1 -0
  112. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +3 -0
  113. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +30 -3
  114. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.ts +3 -0
  115. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  116. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +3 -0
  117. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +17 -0
  118. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +81 -1
  119. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
  120. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
  121. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  122. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +1 -0
  123. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +3 -3
  124. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +10 -5
  125. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +3 -3
  126. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
  127. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -2
  128. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +3 -0
  129. package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.d.ts +4 -0
  130. package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.js +5 -0
  131. package/dist/cjs/api/types/AtlasOrderTypeaheadResult.d.ts +8 -0
  132. package/dist/cjs/api/types/AtlasOrderTypeaheadResult.js +5 -0
  133. package/dist/cjs/api/types/AtlasOrderTypeaheadValue.d.ts +7 -0
  134. package/dist/cjs/api/types/AtlasOrderTypeaheadValue.js +5 -0
  135. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.ts +4 -0
  136. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.js +5 -0
  137. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.d.ts +8 -0
  138. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.js +5 -0
  139. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.d.ts +7 -0
  140. package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.js +5 -0
  141. package/dist/cjs/api/types/ContactTypeaheadFieldEnum.d.ts +4 -0
  142. package/dist/cjs/api/types/ContactTypeaheadFieldEnum.js +5 -0
  143. package/dist/cjs/api/types/ContactTypeaheadResult.d.ts +8 -0
  144. package/dist/cjs/api/types/ContactTypeaheadResult.js +5 -0
  145. package/dist/cjs/api/types/ContactTypeaheadValue.d.ts +7 -0
  146. package/dist/cjs/api/types/ContactTypeaheadValue.js +5 -0
  147. package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.d.ts +4 -0
  148. package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.js +5 -0
  149. package/dist/cjs/api/types/CxtOrderTypeaheadResult.d.ts +8 -0
  150. package/dist/cjs/api/types/CxtOrderTypeaheadResult.js +5 -0
  151. package/dist/cjs/api/types/CxtOrderTypeaheadValue.d.ts +7 -0
  152. package/dist/cjs/api/types/CxtOrderTypeaheadValue.js +5 -0
  153. package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.d.ts +8 -0
  154. package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.js +10 -0
  155. package/dist/cjs/api/types/DepartmentTypeaheadResult.d.ts +8 -0
  156. package/dist/cjs/api/types/DepartmentTypeaheadResult.js +5 -0
  157. package/dist/cjs/api/types/DepartmentTypeaheadValue.d.ts +7 -0
  158. package/dist/cjs/api/types/DepartmentTypeaheadValue.js +5 -0
  159. package/dist/cjs/api/types/{TrackingTypeaheadResult.d.ts → DeviceTypeaheadResult.d.ts} +2 -2
  160. package/dist/cjs/api/types/DeviceTypeaheadResult.js +5 -0
  161. package/dist/cjs/api/types/DeviceTypeaheadValue.d.ts +7 -0
  162. package/dist/cjs/api/types/DeviceTypeaheadValue.js +5 -0
  163. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.ts +4 -0
  164. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.js +5 -0
  165. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.d.ts +8 -0
  166. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.js +5 -0
  167. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.d.ts +7 -0
  168. package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.js +5 -0
  169. package/dist/cjs/api/types/DriverTypeaheadFieldEnum.d.ts +4 -0
  170. package/dist/cjs/api/types/DriverTypeaheadFieldEnum.js +5 -0
  171. package/dist/cjs/api/types/DriverTypeaheadResult.d.ts +8 -0
  172. package/dist/cjs/api/types/DriverTypeaheadResult.js +5 -0
  173. package/dist/cjs/api/types/DriverTypeaheadValue.d.ts +7 -0
  174. package/dist/cjs/api/types/DriverTypeaheadValue.js +5 -0
  175. package/dist/cjs/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.d.ts +20 -0
  176. package/dist/cjs/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.js +14 -0
  177. package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.d.ts +4 -0
  178. package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.js +5 -0
  179. package/dist/cjs/api/types/InvoiceTypeaheadResult.d.ts +8 -0
  180. package/dist/cjs/api/types/InvoiceTypeaheadResult.js +5 -0
  181. package/dist/cjs/api/types/InvoiceTypeaheadValue.d.ts +7 -0
  182. package/dist/cjs/api/types/InvoiceTypeaheadValue.js +5 -0
  183. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.ts +4 -0
  184. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.js +5 -0
  185. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.d.ts +8 -0
  186. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.js +5 -0
  187. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.d.ts +7 -0
  188. package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.js +5 -0
  189. package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.d.ts +4 -0
  190. package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.js +5 -0
  191. package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.d.ts +8 -0
  192. package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.js +5 -0
  193. package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.d.ts +7 -0
  194. package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.js +5 -0
  195. package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.d.ts +4 -0
  196. package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.js +5 -0
  197. package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.d.ts +8 -0
  198. package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.js +5 -0
  199. package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.d.ts +7 -0
  200. package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.js +5 -0
  201. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +1 -1
  202. package/dist/cjs/api/types/OperationsTaskTypeaheadValue.d.ts +7 -0
  203. package/dist/cjs/api/types/OperationsTaskTypeaheadValue.js +5 -0
  204. package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.d.ts +4 -0
  205. package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.js +5 -0
  206. package/dist/cjs/api/types/OrderLabelTypeaheadResult.d.ts +8 -0
  207. package/dist/cjs/api/types/OrderLabelTypeaheadResult.js +5 -0
  208. package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.d.ts +4 -0
  209. package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.js +5 -0
  210. package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.d.ts +8 -0
  211. package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.js +5 -0
  212. package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.d.ts +7 -0
  213. package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.js +5 -0
  214. package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.d.ts +8 -0
  215. package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.js +10 -0
  216. package/dist/cjs/api/types/OrgMemberTypeaheadResult.d.ts +8 -0
  217. package/dist/cjs/api/types/OrgMemberTypeaheadResult.js +5 -0
  218. package/dist/cjs/api/types/OrgMemberTypeaheadValue.d.ts +7 -0
  219. package/dist/cjs/api/types/OrgMemberTypeaheadValue.js +5 -0
  220. package/dist/cjs/api/types/SessionTypeaheadFieldEnum.d.ts +9 -0
  221. package/dist/cjs/api/types/SessionTypeaheadFieldEnum.js +11 -0
  222. package/dist/cjs/api/types/SessionTypeaheadResult.d.ts +8 -0
  223. package/dist/cjs/api/types/SessionTypeaheadResult.js +5 -0
  224. package/dist/cjs/api/types/SessionTypeaheadValue.d.ts +7 -0
  225. package/dist/cjs/api/types/SessionTypeaheadValue.js +5 -0
  226. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadResult.d.ts +1 -1
  227. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.d.ts +7 -0
  228. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.js +5 -0
  229. package/dist/cjs/api/types/TaskGroupTypeaheadResult.d.ts +1 -1
  230. package/dist/cjs/api/types/TaskGroupTypeaheadValue.d.ts +7 -0
  231. package/dist/cjs/api/types/TaskGroupTypeaheadValue.js +5 -0
  232. package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.d.ts +4 -0
  233. package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.js +5 -0
  234. package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.d.ts +8 -0
  235. package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.js +5 -0
  236. package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.d.ts +7 -0
  237. package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.js +5 -0
  238. package/dist/cjs/api/types/index.d.ts +53 -2
  239. package/dist/cjs/api/types/index.js +53 -2
  240. package/dist/cjs/version.d.ts +1 -1
  241. package/dist/cjs/version.js +1 -1
  242. package/dist/esm/Client.mjs +2 -2
  243. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +17 -0
  244. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +81 -1
  245. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +3 -0
  246. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.d.mts +16 -0
  247. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +1 -0
  248. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +25 -5
  249. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +80 -8
  250. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.d.mts +22 -0
  251. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.d.mts +28 -0
  252. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.mjs +4 -0
  253. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +2 -1
  254. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +17 -0
  255. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +78 -1
  256. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
  257. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.mts +16 -0
  258. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.mjs +4 -0
  259. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
  260. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -0
  261. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +10 -1
  262. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +4 -1
  263. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +17 -0
  264. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +78 -1
  265. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
  266. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.mts +16 -0
  267. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.mjs +4 -0
  268. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +1 -0
  269. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +17 -0
  270. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +81 -1
  271. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
  272. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.mts +16 -0
  273. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.mjs +4 -0
  274. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -0
  275. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +2 -0
  276. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +20 -2
  277. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  278. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  279. package/dist/esm/api/resources/orgs/client/Client.d.mts +16 -0
  280. package/dist/esm/api/resources/orgs/client/Client.mjs +68 -0
  281. package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.mts +16 -0
  282. package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.mjs +4 -0
  283. package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -0
  284. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +1 -1
  285. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.mjs +10 -5
  286. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +3 -3
  287. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +5 -0
  288. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +50 -5
  289. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.mts +3 -0
  290. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.mts +3 -0
  291. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.mts +3 -0
  292. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.mts +3 -0
  293. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.mts +3 -0
  294. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +17 -0
  295. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +78 -1
  296. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.mts +3 -0
  297. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.mts +16 -0
  298. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.mjs +4 -0
  299. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +1 -0
  300. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +18 -0
  301. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +82 -1
  302. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +3 -0
  303. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.mts +20 -0
  304. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.mjs +4 -0
  305. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +1 -0
  306. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +18 -1
  307. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +88 -6
  308. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
  309. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +3 -3
  310. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.mts +16 -0
  311. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.mjs +4 -0
  312. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  313. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +17 -0
  314. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +81 -1
  315. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +4 -1
  316. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.mts +16 -0
  317. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.mjs +4 -0
  318. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +1 -0
  319. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +2 -2
  320. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  321. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
  322. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -2
  323. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +4 -1
  324. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  325. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  326. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +20 -2
  327. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.mts +3 -0
  328. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  329. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +17 -0
  330. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +78 -1
  331. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  332. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  333. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  334. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.mts +1 -0
  335. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.mts +17 -0
  336. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs +78 -1
  337. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  338. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  339. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  340. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.mts +1 -0
  341. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.mts +17 -0
  342. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.mjs +81 -1
  343. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  344. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  345. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  346. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.mts +1 -0
  347. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.mts +17 -0
  348. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.mjs +78 -1
  349. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  350. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  351. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  352. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.mts +1 -0
  353. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +3 -0
  354. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +30 -3
  355. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.mts +3 -0
  356. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  357. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +3 -0
  358. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +17 -0
  359. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +81 -1
  360. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
  361. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
  362. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  363. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +1 -0
  364. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +3 -3
  365. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +10 -5
  366. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +3 -3
  367. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
  368. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -2
  369. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +3 -0
  370. package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.d.mts +4 -0
  371. package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.mjs +4 -0
  372. package/dist/esm/api/types/AtlasOrderTypeaheadResult.d.mts +8 -0
  373. package/dist/esm/api/types/AtlasOrderTypeaheadResult.mjs +4 -0
  374. package/dist/esm/api/types/AtlasOrderTypeaheadValue.d.mts +7 -0
  375. package/dist/esm/api/types/AtlasOrderTypeaheadValue.mjs +4 -0
  376. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.mts +4 -0
  377. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.mjs +4 -0
  378. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.d.mts +8 -0
  379. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.mjs +4 -0
  380. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.d.mts +7 -0
  381. package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.mjs +4 -0
  382. package/dist/esm/api/types/ContactTypeaheadFieldEnum.d.mts +4 -0
  383. package/dist/esm/api/types/ContactTypeaheadFieldEnum.mjs +4 -0
  384. package/dist/esm/api/types/ContactTypeaheadResult.d.mts +8 -0
  385. package/dist/esm/api/types/ContactTypeaheadResult.mjs +4 -0
  386. package/dist/esm/api/types/ContactTypeaheadValue.d.mts +7 -0
  387. package/dist/esm/api/types/ContactTypeaheadValue.mjs +4 -0
  388. package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.d.mts +4 -0
  389. package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.mjs +4 -0
  390. package/dist/esm/api/types/CxtOrderTypeaheadResult.d.mts +8 -0
  391. package/dist/esm/api/types/CxtOrderTypeaheadResult.mjs +4 -0
  392. package/dist/esm/api/types/CxtOrderTypeaheadValue.d.mts +7 -0
  393. package/dist/esm/api/types/CxtOrderTypeaheadValue.mjs +4 -0
  394. package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.d.mts +8 -0
  395. package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.mjs +7 -0
  396. package/dist/esm/api/types/DepartmentTypeaheadResult.d.mts +8 -0
  397. package/dist/esm/api/types/DepartmentTypeaheadResult.mjs +4 -0
  398. package/dist/esm/api/types/DepartmentTypeaheadValue.d.mts +7 -0
  399. package/dist/esm/api/types/DepartmentTypeaheadValue.mjs +4 -0
  400. package/dist/esm/api/types/{TrackingTypeaheadResult.d.mts → DeviceTypeaheadResult.d.mts} +2 -2
  401. package/dist/esm/api/types/DeviceTypeaheadResult.mjs +4 -0
  402. package/dist/esm/api/types/DeviceTypeaheadValue.d.mts +7 -0
  403. package/dist/esm/api/types/DeviceTypeaheadValue.mjs +4 -0
  404. package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.mts +4 -0
  405. package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.mjs +4 -0
  406. package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.d.mts +8 -0
  407. package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.mjs +4 -0
  408. package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.d.mts +7 -0
  409. package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.mjs +4 -0
  410. package/dist/esm/api/types/DriverTypeaheadFieldEnum.d.mts +4 -0
  411. package/dist/esm/api/types/DriverTypeaheadFieldEnum.mjs +4 -0
  412. package/dist/esm/api/types/DriverTypeaheadResult.d.mts +8 -0
  413. package/dist/esm/api/types/DriverTypeaheadResult.mjs +4 -0
  414. package/dist/esm/api/types/DriverTypeaheadValue.d.mts +7 -0
  415. package/dist/esm/api/types/DriverTypeaheadValue.mjs +4 -0
  416. package/dist/esm/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.d.mts +20 -0
  417. package/dist/esm/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.mjs +11 -0
  418. package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.d.mts +4 -0
  419. package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.mjs +4 -0
  420. package/dist/esm/api/types/InvoiceTypeaheadResult.d.mts +8 -0
  421. package/dist/esm/api/types/InvoiceTypeaheadResult.mjs +4 -0
  422. package/dist/esm/api/types/InvoiceTypeaheadValue.d.mts +7 -0
  423. package/dist/esm/api/types/InvoiceTypeaheadValue.mjs +4 -0
  424. package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.mts +4 -0
  425. package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.mjs +4 -0
  426. package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.d.mts +8 -0
  427. package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.mjs +4 -0
  428. package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.d.mts +7 -0
  429. package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.mjs +4 -0
  430. package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.d.mts +4 -0
  431. package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.mjs +4 -0
  432. package/dist/esm/api/types/OnTime360OrderTypeaheadResult.d.mts +8 -0
  433. package/dist/esm/api/types/OnTime360OrderTypeaheadResult.mjs +4 -0
  434. package/dist/esm/api/types/OnTime360OrderTypeaheadValue.d.mts +7 -0
  435. package/dist/esm/api/types/OnTime360OrderTypeaheadValue.mjs +4 -0
  436. package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.d.mts +4 -0
  437. package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.mjs +4 -0
  438. package/dist/esm/api/types/OperationsTaskListTypeaheadResult.d.mts +8 -0
  439. package/dist/esm/api/types/OperationsTaskListTypeaheadResult.mjs +4 -0
  440. package/dist/esm/api/types/OperationsTaskListTypeaheadValue.d.mts +7 -0
  441. package/dist/esm/api/types/OperationsTaskListTypeaheadValue.mjs +4 -0
  442. package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +1 -1
  443. package/dist/esm/api/types/OperationsTaskTypeaheadValue.d.mts +7 -0
  444. package/dist/esm/api/types/OperationsTaskTypeaheadValue.mjs +4 -0
  445. package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.d.mts +4 -0
  446. package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.mjs +4 -0
  447. package/dist/esm/api/types/OrderLabelTypeaheadResult.d.mts +8 -0
  448. package/dist/esm/api/types/OrderLabelTypeaheadResult.mjs +4 -0
  449. package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.d.mts +4 -0
  450. package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.mjs +4 -0
  451. package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.d.mts +8 -0
  452. package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.mjs +4 -0
  453. package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.d.mts +7 -0
  454. package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.mjs +4 -0
  455. package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.d.mts +8 -0
  456. package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.mjs +7 -0
  457. package/dist/esm/api/types/OrgMemberTypeaheadResult.d.mts +8 -0
  458. package/dist/esm/api/types/OrgMemberTypeaheadResult.mjs +4 -0
  459. package/dist/esm/api/types/OrgMemberTypeaheadValue.d.mts +7 -0
  460. package/dist/esm/api/types/OrgMemberTypeaheadValue.mjs +4 -0
  461. package/dist/esm/api/types/SessionTypeaheadFieldEnum.d.mts +9 -0
  462. package/dist/esm/api/types/SessionTypeaheadFieldEnum.mjs +8 -0
  463. package/dist/esm/api/types/SessionTypeaheadResult.d.mts +8 -0
  464. package/dist/esm/api/types/SessionTypeaheadResult.mjs +4 -0
  465. package/dist/esm/api/types/SessionTypeaheadValue.d.mts +7 -0
  466. package/dist/esm/api/types/SessionTypeaheadValue.mjs +4 -0
  467. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadResult.d.mts +1 -1
  468. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.d.mts +7 -0
  469. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.mjs +4 -0
  470. package/dist/esm/api/types/TaskGroupTypeaheadResult.d.mts +1 -1
  471. package/dist/esm/api/types/TaskGroupTypeaheadValue.d.mts +7 -0
  472. package/dist/esm/api/types/TaskGroupTypeaheadValue.mjs +4 -0
  473. package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.d.mts +4 -0
  474. package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.mjs +4 -0
  475. package/dist/esm/api/types/XceleratorOrderTypeaheadResult.d.mts +8 -0
  476. package/dist/esm/api/types/XceleratorOrderTypeaheadResult.mjs +4 -0
  477. package/dist/esm/api/types/XceleratorOrderTypeaheadValue.d.mts +7 -0
  478. package/dist/esm/api/types/XceleratorOrderTypeaheadValue.mjs +4 -0
  479. package/dist/esm/api/types/index.d.mts +53 -2
  480. package/dist/esm/api/types/index.mjs +53 -2
  481. package/dist/esm/version.d.mts +1 -1
  482. package/dist/esm/version.mjs +1 -1
  483. package/package.json +1 -1
  484. package/reference.md +1042 -18
  485. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.d.ts +0 -18
  486. package/dist/cjs/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.d.ts +0 -18
  487. package/dist/cjs/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.js +0 -14
  488. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.d.mts +0 -18
  489. package/dist/esm/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.d.mts +0 -18
  490. package/dist/esm/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.mjs +0 -11
  491. /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.js → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.js} +0 -0
  492. /package/dist/cjs/api/{types/TrackingTypeaheadResult.js → resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.js} +0 -0
  493. /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.mjs → chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.mjs} +0 -0
  494. /package/dist/esm/api/{types/TrackingTypeaheadResult.mjs → resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.mjs} +0 -0
@@ -59,6 +59,7 @@ export declare class OffChrtOrgData {
59
59
  *
60
60
  * @example
61
61
  * await client.orgs.offChrtOrgData.listV1({
62
+ * filter_off_chrt_org_data_ids: ["filter_off_chrt_org_data_ids"],
62
63
  * search: "search",
63
64
  * filter_org_type: "provider",
64
65
  * sort_by: "name",
@@ -69,6 +70,23 @@ export declare class OffChrtOrgData {
69
70
  */
70
71
  listV1(request?: Chrt.orgs.OffChrtOrgDataListV1Request, requestOptions?: OffChrtOrgData.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtOrgDataListRes>;
71
72
  private __listV1;
73
+ /**
74
+ * Returns matching name values and their IDs within the caller's organization, optionally filtered by org_type. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
75
+ *
76
+ * @param {Chrt.orgs.OffChrtOrgDataTypeaheadV1Request} request
77
+ * @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
78
+ *
79
+ * @throws {@link Chrt.UnprocessableEntityError}
80
+ *
81
+ * @example
82
+ * await client.orgs.offChrtOrgData.typeaheadV1({
83
+ * query: "query",
84
+ * limit: 1,
85
+ * filter_org_type: "provider"
86
+ * })
87
+ */
88
+ typeaheadV1(request: Chrt.orgs.OffChrtOrgDataTypeaheadV1Request, requestOptions?: OffChrtOrgData.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtOrgDataTypeaheadResult[]>;
89
+ private __typeaheadV1;
72
90
  /**
73
91
  * Gets owner-scoped off-CHRT organization data by ID. | authz: allowed_org_types=[provider] | () -> (OffChrtOrgData1)
74
92
  *
@@ -133,6 +133,7 @@ class OffChrtOrgData {
133
133
  *
134
134
  * @example
135
135
  * await client.orgs.offChrtOrgData.listV1({
136
+ * filter_off_chrt_org_data_ids: ["filter_off_chrt_org_data_ids"],
136
137
  * search: "search",
137
138
  * filter_org_type: "provider",
138
139
  * sort_by: "name",
@@ -147,8 +148,16 @@ class OffChrtOrgData {
147
148
  __listV1() {
148
149
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
149
150
  var _a, _b, _c, _d, _e, _f;
150
- const { search, filter_org_type: filterOrgType, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
151
+ const { filter_off_chrt_org_data_ids: filterOffChrtOrgDataIds, search, filter_org_type: filterOrgType, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
151
152
  const _queryParams = {};
153
+ if (filterOffChrtOrgDataIds !== undefined) {
154
+ if (Array.isArray(filterOffChrtOrgDataIds)) {
155
+ _queryParams["filter_off_chrt_org_data_ids"] = filterOffChrtOrgDataIds.map((item) => item);
156
+ }
157
+ else {
158
+ _queryParams["filter_off_chrt_org_data_ids"] = filterOffChrtOrgDataIds;
159
+ }
160
+ }
152
161
  if (search !== undefined) {
153
162
  _queryParams["search"] = search;
154
163
  }
@@ -209,6 +218,78 @@ class OffChrtOrgData {
209
218
  }
210
219
  });
211
220
  }
221
+ /**
222
+ * Returns matching name values and their IDs within the caller's organization, optionally filtered by org_type. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
223
+ *
224
+ * @param {Chrt.orgs.OffChrtOrgDataTypeaheadV1Request} request
225
+ * @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
226
+ *
227
+ * @throws {@link Chrt.UnprocessableEntityError}
228
+ *
229
+ * @example
230
+ * await client.orgs.offChrtOrgData.typeaheadV1({
231
+ * query: "query",
232
+ * limit: 1,
233
+ * filter_org_type: "provider"
234
+ * })
235
+ */
236
+ typeaheadV1(request, requestOptions) {
237
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
238
+ }
239
+ __typeaheadV1(request, requestOptions) {
240
+ return __awaiter(this, void 0, void 0, function* () {
241
+ var _a, _b, _c, _d, _e;
242
+ const { query, limit, filter_org_type: filterOrgType } = request;
243
+ const _queryParams = {};
244
+ _queryParams["query"] = query;
245
+ if (limit !== undefined) {
246
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
247
+ }
248
+ if (filterOrgType !== undefined) {
249
+ _queryParams["filter_org_type"] = filterOrgType;
250
+ }
251
+ let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
252
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
253
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "orgs/off_chrt_org_data/typeahead/v1"),
254
+ method: "GET",
255
+ headers: _headers,
256
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
257
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
258
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
259
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
260
+ });
261
+ if (_response.ok) {
262
+ return { data: _response.body, rawResponse: _response.rawResponse };
263
+ }
264
+ if (_response.error.reason === "status-code") {
265
+ switch (_response.error.statusCode) {
266
+ case 422:
267
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
268
+ default:
269
+ throw new errors.ChrtError({
270
+ statusCode: _response.error.statusCode,
271
+ body: _response.error.body,
272
+ rawResponse: _response.rawResponse,
273
+ });
274
+ }
275
+ }
276
+ switch (_response.error.reason) {
277
+ case "non-json":
278
+ throw new errors.ChrtError({
279
+ statusCode: _response.error.statusCode,
280
+ body: _response.error.rawBody,
281
+ rawResponse: _response.rawResponse,
282
+ });
283
+ case "timeout":
284
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/off_chrt_org_data/typeahead/v1.");
285
+ case "unknown":
286
+ throw new errors.ChrtError({
287
+ message: _response.error.errorMessage,
288
+ rawResponse: _response.rawResponse,
289
+ });
290
+ }
291
+ });
292
+ }
212
293
  /**
213
294
  * Gets owner-scoped off-CHRT organization data by ID. | authz: allowed_org_types=[provider] | () -> (OffChrtOrgData1)
214
295
  *
@@ -5,6 +5,7 @@ import * as Chrt from "../../../../../../index.js";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * filter_off_chrt_org_data_ids: ["filter_off_chrt_org_data_ids"],
8
9
  * search: "search",
9
10
  * filter_org_type: "provider",
10
11
  * sort_by: "name",
@@ -14,6 +15,8 @@ import * as Chrt from "../../../../../../index.js";
14
15
  * }
15
16
  */
16
17
  export interface OffChrtOrgDataListV1Request {
18
+ /** Filter by selected off chrt org data ids */
19
+ filter_off_chrt_org_data_ids?: (string | null) | (string | null)[];
17
20
  /** Search by name, industry, or email */
18
21
  search?: string | null;
19
22
  filter_org_type?: Chrt.OrgTypeEnum | null;
@@ -0,0 +1,20 @@
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
+ * query: "query",
9
+ * limit: 1,
10
+ * filter_org_type: "provider"
11
+ * }
12
+ */
13
+ export interface OffChrtOrgDataTypeaheadV1Request {
14
+ /** Typeahead search query */
15
+ query: string;
16
+ /** Max results per field */
17
+ limit?: number | null;
18
+ /** Filter by organization type */
19
+ filter_org_type?: Chrt.OrgTypeEnum | null;
20
+ }
@@ -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 });
@@ -1,3 +1,4 @@
1
1
  export { type CreateOffChrtOrgReq } from "./CreateOffChrtOrgReq.js";
2
2
  export { type OffChrtOrgDataListV1Request } from "./OffChrtOrgDataListV1Request.js";
3
+ export { type OffChrtOrgDataTypeaheadV1Request } from "./OffChrtOrgDataTypeaheadV1Request.js";
3
4
  export { type OffChrtOrgDataClientUpdate1 } from "./OffChrtOrgDataClientUpdate1.js";
@@ -96,10 +96,10 @@ export declare class Drivers {
96
96
  * page: 1,
97
97
  * page_size: 1,
98
98
  * search: "search",
99
+ * filter_driver_ids: ["filter_driver_ids"],
99
100
  * filter_waiting: true,
100
101
  * filter_auto_assign_enabled: true,
101
102
  * filter_vehicle_type: ["sedan"],
102
- * filter_by_driver_id: "filter_by_driver_id",
103
103
  * filter_archived: true,
104
104
  * filter_available_according_to_driver: true,
105
105
  * filter_available_according_to_operators: true,
@@ -118,6 +118,7 @@ export declare class Drivers {
118
118
  *
119
119
  * @example
120
120
  * await client.shipping.drivers.listOrgMembersAndDriversV1({
121
+ * filter_user_ids: ["filter_user_ids"],
121
122
  * search: "search",
122
123
  * filter_archived: true,
123
124
  * filter_role: ["owner"],
@@ -249,6 +250,22 @@ export declare class Drivers {
249
250
  */
250
251
  getStatsV1(driverId: string, request: Chrt.shipping.DriverStatsReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.DriverStatsRes>;
251
252
  private __getStatsV1;
253
+ /**
254
+ * Returns matching full_name (first_name + last_name) values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
255
+ *
256
+ * @param {Chrt.shipping.DriversTypeaheadV1Request} request
257
+ * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
258
+ *
259
+ * @throws {@link Chrt.UnprocessableEntityError}
260
+ *
261
+ * @example
262
+ * await client.shipping.drivers.typeaheadV1({
263
+ * query: "query",
264
+ * limit: 1
265
+ * })
266
+ */
267
+ typeaheadV1(request: Chrt.shipping.DriversTypeaheadV1Request, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.DriverTypeaheadResult[]>;
268
+ private __typeaheadV1;
252
269
  /**
253
270
  * Restores an archived driver with active organization membership. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
254
271
  *
@@ -316,10 +316,10 @@ class Drivers {
316
316
  * page: 1,
317
317
  * page_size: 1,
318
318
  * search: "search",
319
+ * filter_driver_ids: ["filter_driver_ids"],
319
320
  * filter_waiting: true,
320
321
  * filter_auto_assign_enabled: true,
321
322
  * filter_vehicle_type: ["sedan"],
322
- * filter_by_driver_id: "filter_by_driver_id",
323
323
  * filter_archived: true,
324
324
  * filter_available_according_to_driver: true,
325
325
  * filter_available_according_to_operators: true,
@@ -332,7 +332,7 @@ class Drivers {
332
332
  __listV1() {
333
333
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
334
334
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
335
- const { sort_order: sortOrder, page, page_size: pageSize, search, filter_waiting: filterWaiting, filter_auto_assign_enabled: filterAutoAssignEnabled, filter_vehicle_type: filterVehicleType, filter_by_driver_id: filterByDriverId, filter_archived: filterArchived, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
335
+ const { sort_order: sortOrder, page, page_size: pageSize, search, filter_driver_ids: filterDriverIds, filter_waiting: filterWaiting, filter_auto_assign_enabled: filterAutoAssignEnabled, filter_vehicle_type: filterVehicleType, filter_archived: filterArchived, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
336
336
  const _queryParams = {};
337
337
  if (sortOrder !== undefined) {
338
338
  _queryParams["sort_order"] = sortOrder;
@@ -346,6 +346,14 @@ class Drivers {
346
346
  if (search !== undefined) {
347
347
  _queryParams["search"] = search;
348
348
  }
349
+ if (filterDriverIds !== undefined) {
350
+ if (Array.isArray(filterDriverIds)) {
351
+ _queryParams["filter_driver_ids"] = filterDriverIds.map((item) => item);
352
+ }
353
+ else {
354
+ _queryParams["filter_driver_ids"] = filterDriverIds;
355
+ }
356
+ }
349
357
  if (filterWaiting !== undefined) {
350
358
  _queryParams["filter_waiting"] = (_c = filterWaiting === null || filterWaiting === void 0 ? void 0 : filterWaiting.toString()) !== null && _c !== void 0 ? _c : null;
351
359
  }
@@ -360,9 +368,6 @@ class Drivers {
360
368
  _queryParams["filter_vehicle_type"] = filterVehicleType;
361
369
  }
362
370
  }
363
- if (filterByDriverId !== undefined) {
364
- _queryParams["filter_by_driver_id"] = filterByDriverId;
365
- }
366
371
  if (filterArchived !== undefined) {
367
372
  _queryParams["filter_archived"] = (_e = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _e !== void 0 ? _e : null;
368
373
  }
@@ -433,6 +438,7 @@ class Drivers {
433
438
  *
434
439
  * @example
435
440
  * await client.shipping.drivers.listOrgMembersAndDriversV1({
441
+ * filter_user_ids: ["filter_user_ids"],
436
442
  * search: "search",
437
443
  * filter_archived: true,
438
444
  * filter_role: ["owner"],
@@ -450,8 +456,16 @@ class Drivers {
450
456
  __listOrgMembersAndDriversV1() {
451
457
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
452
458
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
453
- const { search, filter_archived: filterArchived, filter_role: filterRole, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
459
+ const { filter_user_ids: filterUserIds, search, filter_archived: filterArchived, filter_role: filterRole, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
454
460
  const _queryParams = {};
461
+ if (filterUserIds !== undefined) {
462
+ if (Array.isArray(filterUserIds)) {
463
+ _queryParams["filter_user_ids"] = filterUserIds.map((item) => item);
464
+ }
465
+ else {
466
+ _queryParams["filter_user_ids"] = filterUserIds;
467
+ }
468
+ }
455
469
  if (search !== undefined) {
456
470
  _queryParams["search"] = search;
457
471
  }
@@ -1031,6 +1045,74 @@ class Drivers {
1031
1045
  }
1032
1046
  });
1033
1047
  }
1048
+ /**
1049
+ * Returns matching full_name (first_name + last_name) values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
1050
+ *
1051
+ * @param {Chrt.shipping.DriversTypeaheadV1Request} request
1052
+ * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
1053
+ *
1054
+ * @throws {@link Chrt.UnprocessableEntityError}
1055
+ *
1056
+ * @example
1057
+ * await client.shipping.drivers.typeaheadV1({
1058
+ * query: "query",
1059
+ * limit: 1
1060
+ * })
1061
+ */
1062
+ typeaheadV1(request, requestOptions) {
1063
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
1064
+ }
1065
+ __typeaheadV1(request, requestOptions) {
1066
+ return __awaiter(this, void 0, void 0, function* () {
1067
+ var _a, _b, _c, _d, _e;
1068
+ const { query, limit } = request;
1069
+ const _queryParams = {};
1070
+ _queryParams["query"] = query;
1071
+ if (limit !== undefined) {
1072
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
1073
+ }
1074
+ let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1075
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
1076
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping/drivers/typeahead/v1"),
1077
+ method: "GET",
1078
+ headers: _headers,
1079
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1080
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1081
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1082
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1083
+ });
1084
+ if (_response.ok) {
1085
+ return { data: _response.body, rawResponse: _response.rawResponse };
1086
+ }
1087
+ if (_response.error.reason === "status-code") {
1088
+ switch (_response.error.statusCode) {
1089
+ case 422:
1090
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1091
+ default:
1092
+ throw new errors.ChrtError({
1093
+ statusCode: _response.error.statusCode,
1094
+ body: _response.error.body,
1095
+ rawResponse: _response.rawResponse,
1096
+ });
1097
+ }
1098
+ }
1099
+ switch (_response.error.reason) {
1100
+ case "non-json":
1101
+ throw new errors.ChrtError({
1102
+ statusCode: _response.error.statusCode,
1103
+ body: _response.error.rawBody,
1104
+ rawResponse: _response.rawResponse,
1105
+ });
1106
+ case "timeout":
1107
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/typeahead/v1.");
1108
+ case "unknown":
1109
+ throw new errors.ChrtError({
1110
+ message: _response.error.errorMessage,
1111
+ rawResponse: _response.rawResponse,
1112
+ });
1113
+ }
1114
+ });
1115
+ }
1034
1116
  /**
1035
1117
  * Restores an archived driver with active organization membership. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
1036
1118
  *
@@ -5,6 +5,7 @@ import * as Chrt from "../../../../../../index.js";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * filter_user_ids: ["filter_user_ids"],
8
9
  * search: "search",
9
10
  * filter_archived: true,
10
11
  * filter_role: ["owner"],
@@ -17,6 +18,8 @@ import * as Chrt from "../../../../../../index.js";
17
18
  * }
18
19
  */
19
20
  export interface DriversListOrgMembersAndDriversV1Request {
21
+ /** Filter by user IDs */
22
+ filter_user_ids?: (string | null) | (string | null)[];
20
23
  /** Search by first or last name */
21
24
  search?: string | null;
22
25
  /** Select archived driver profiles */
@@ -9,10 +9,10 @@ import * as Chrt from "../../../../../../index.js";
9
9
  * page: 1,
10
10
  * page_size: 1,
11
11
  * search: "search",
12
+ * filter_driver_ids: ["filter_driver_ids"],
12
13
  * filter_waiting: true,
13
14
  * filter_auto_assign_enabled: true,
14
15
  * filter_vehicle_type: ["sedan"],
15
- * filter_by_driver_id: "filter_by_driver_id",
16
16
  * filter_archived: true,
17
17
  * filter_available_according_to_driver: true,
18
18
  * filter_available_according_to_operators: true,
@@ -26,14 +26,14 @@ export interface DriversListV1Request {
26
26
  page_size?: number | null;
27
27
  /** Full-text search query */
28
28
  search?: string | null;
29
+ /** Filter by selected driver ids */
30
+ filter_driver_ids?: (string | null) | (string | null)[];
29
31
  /** Filter by waiting status */
30
32
  filter_waiting?: boolean | null;
31
33
  /** Filter by automatic assignment consent */
32
34
  filter_auto_assign_enabled?: boolean | null;
33
35
  /** Filter by any matching vehicle type */
34
36
  filter_vehicle_type?: (Chrt.VehicleTypeEnum | null) | (Chrt.VehicleTypeEnum | null)[];
35
- /** Filter by driver ID */
36
- filter_by_driver_id?: string | null;
37
37
  /** Select archived drivers instead of active drivers */
38
38
  filter_archived?: boolean | null;
39
39
  /** Filter by driver's self-reported availability */
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * query: "query",
8
+ * limit: 1
9
+ * }
10
+ */
11
+ export interface DriversTypeaheadV1Request {
12
+ /** Typeahead search query */
13
+ query: string;
14
+ /** Max results per field */
15
+ limit?: number | null;
16
+ }
@@ -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 });
@@ -6,5 +6,6 @@ export { type DriversListSelfReportedHoursAndMileageV1Request } from "./DriversL
6
6
  export { type DriversOrgListSelfReportedHoursAndMileageV1Request } from "./DriversOrgListSelfReportedHoursAndMileageV1Request.js";
7
7
  export { type DriverSelfReportedHoursAndMileageClientUpdate1 } from "./DriverSelfReportedHoursAndMileageClientUpdate1.js";
8
8
  export { type DriverStatsReq } from "./DriverStatsReq.js";
9
+ export { type DriversTypeaheadV1Request } from "./DriversTypeaheadV1Request.js";
9
10
  export { type DriverClientUpdate1 } from "./DriverClientUpdate1.js";
10
11
  export { type DriverUpdateAutoAssignReq } from "./DriverUpdateAutoAssignReq.js";
@@ -102,6 +102,7 @@ export declare class OrderTemplatesNew {
102
102
  * page: 1,
103
103
  * page_size: 1,
104
104
  * search: "search",
105
+ * filter_order_template_new_ids: ["filter_order_template_new_ids"],
105
106
  * filter_archived: true,
106
107
  * filter_owned_by_user_id: "filter_owned_by_user_id",
107
108
  * filter_coordinator_labels: ["filter_coordinator_labels"],
@@ -120,6 +121,22 @@ export declare class OrderTemplatesNew {
120
121
  */
121
122
  listV1(request?: Chrt.shipping.OrderTemplatesNewListV1Request, requestOptions?: OrderTemplatesNew.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateNewListRes>;
122
123
  private __listV1;
124
+ /**
125
+ * Returns matching name values and their IDs within the caller's organization, excluding archived order templates. | authz: min_org_role=operator | () -> (list[OrderTemplateNewTypeaheadResult])
126
+ *
127
+ * @param {Chrt.shipping.OrderTemplatesNewTypeaheadV1Request} request
128
+ * @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
129
+ *
130
+ * @throws {@link Chrt.UnprocessableEntityError}
131
+ *
132
+ * @example
133
+ * await client.shipping.orderTemplatesNew.typeaheadV1({
134
+ * query: "query",
135
+ * limit: 1
136
+ * })
137
+ */
138
+ typeaheadV1(request: Chrt.shipping.OrderTemplatesNewTypeaheadV1Request, requestOptions?: OrderTemplatesNew.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateNewTypeaheadResult[]>;
139
+ private __typeaheadV1;
123
140
  /**
124
141
  * Restores an archived order template owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
125
142
  *
@@ -282,6 +282,7 @@ class OrderTemplatesNew {
282
282
  * page: 1,
283
283
  * page_size: 1,
284
284
  * search: "search",
285
+ * filter_order_template_new_ids: ["filter_order_template_new_ids"],
285
286
  * filter_archived: true,
286
287
  * filter_owned_by_user_id: "filter_owned_by_user_id",
287
288
  * filter_coordinator_labels: ["filter_coordinator_labels"],
@@ -304,7 +305,7 @@ class OrderTemplatesNew {
304
305
  __listV1() {
305
306
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
306
307
  var _a, _b, _c, _d, _e, _f, _g;
307
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_labels: filterCoordinatorLabels, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
308
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_template_new_ids: filterOrderTemplateNewIds, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_labels: filterCoordinatorLabels, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
308
309
  const _queryParams = {};
309
310
  if (sortBy !== undefined) {
310
311
  _queryParams["sort_by"] = sortBy;
@@ -321,6 +322,14 @@ class OrderTemplatesNew {
321
322
  if (search !== undefined) {
322
323
  _queryParams["search"] = search;
323
324
  }
325
+ if (filterOrderTemplateNewIds !== undefined) {
326
+ if (Array.isArray(filterOrderTemplateNewIds)) {
327
+ _queryParams["filter_order_template_new_ids"] = filterOrderTemplateNewIds.map((item) => item);
328
+ }
329
+ else {
330
+ _queryParams["filter_order_template_new_ids"] = filterOrderTemplateNewIds;
331
+ }
332
+ }
324
333
  if (filterArchived !== undefined) {
325
334
  _queryParams["filter_archived"] = (_c = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _c !== void 0 ? _c : null;
326
335
  }
@@ -415,6 +424,77 @@ class OrderTemplatesNew {
415
424
  }
416
425
  });
417
426
  }
427
+ /**
428
+ * Returns matching name values and their IDs within the caller's organization, excluding archived order templates. | authz: min_org_role=operator | () -> (list[OrderTemplateNewTypeaheadResult])
429
+ *
430
+ * @param {Chrt.shipping.OrderTemplatesNewTypeaheadV1Request} request
431
+ * @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
432
+ *
433
+ * @throws {@link Chrt.UnprocessableEntityError}
434
+ *
435
+ * @example
436
+ * await client.shipping.orderTemplatesNew.typeaheadV1({
437
+ * query: "query",
438
+ * limit: 1
439
+ * })
440
+ */
441
+ typeaheadV1(request, requestOptions) {
442
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
443
+ }
444
+ __typeaheadV1(request, requestOptions) {
445
+ return __awaiter(this, void 0, void 0, function* () {
446
+ var _a, _b, _c, _d, _e;
447
+ const { query, limit } = request;
448
+ const _queryParams = {};
449
+ _queryParams["query"] = query;
450
+ if (limit !== undefined) {
451
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
452
+ }
453
+ let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
454
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
455
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping/order_templates_new/typeahead/v1"),
456
+ method: "GET",
457
+ headers: _headers,
458
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
459
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
460
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
461
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
462
+ });
463
+ if (_response.ok) {
464
+ return {
465
+ data: _response.body,
466
+ rawResponse: _response.rawResponse,
467
+ };
468
+ }
469
+ if (_response.error.reason === "status-code") {
470
+ switch (_response.error.statusCode) {
471
+ case 422:
472
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
473
+ default:
474
+ throw new errors.ChrtError({
475
+ statusCode: _response.error.statusCode,
476
+ body: _response.error.body,
477
+ rawResponse: _response.rawResponse,
478
+ });
479
+ }
480
+ }
481
+ switch (_response.error.reason) {
482
+ case "non-json":
483
+ throw new errors.ChrtError({
484
+ statusCode: _response.error.statusCode,
485
+ body: _response.error.rawBody,
486
+ rawResponse: _response.rawResponse,
487
+ });
488
+ case "timeout":
489
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/order_templates_new/typeahead/v1.");
490
+ case "unknown":
491
+ throw new errors.ChrtError({
492
+ message: _response.error.errorMessage,
493
+ rawResponse: _response.rawResponse,
494
+ });
495
+ }
496
+ });
497
+ }
418
498
  /**
419
499
  * Restores an archived order template owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
420
500
  *
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_order_template_new_ids: ["filter_order_template_new_ids"],
13
14
  * filter_archived: true,
14
15
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
16
  * filter_coordinator_labels: ["filter_coordinator_labels"],
@@ -35,11 +36,13 @@ export interface OrderTemplatesNewListV1Request {
35
36
  page_size?: number | null;
36
37
  /** Full-text search query for template name or description. */
37
38
  search?: string | null;
39
+ /** Filter by order template new IDs */
40
+ filter_order_template_new_ids?: (string | null) | (string | null)[];
38
41
  /** Include archived templates instead of active templates. */
39
42
  filter_archived?: boolean | null;
40
43
  /** Filter by the user that created the template. */
41
44
  filter_owned_by_user_id?: string | null;
42
- /** Filter by any of the supplied coordinator labels (exact match). */
45
+ /** Filter by all supplied coordinator labels (exact matches). */
43
46
  filter_coordinator_labels?: (string | null) | (string | null)[];
44
47
  /** Filter by an on-CHRT executor organization ID. */
45
48
  filter_executor_org_id?: string | null;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * query: "query",
8
+ * limit: 1
9
+ * }
10
+ */
11
+ export interface OrderTemplatesNewTypeaheadV1Request {
12
+ /** Typeahead search query */
13
+ query: string;
14
+ /** Max results per field */
15
+ limit?: number | null;
16
+ }
@@ -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 });