@chrt-inc/typescript-sdk 1.810.0 → 1.841.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 (1191) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +2 -2
  4. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
  5. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodReq.d.ts +4 -4
  6. package/dist/cjs/api/resources/billing/client/Client.d.ts +12 -12
  7. package/dist/cjs/api/resources/billing/client/Client.js +23 -23
  8. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +13 -13
  9. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +59 -59
  10. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +2 -2
  11. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +2 -2
  12. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +28 -28
  13. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +92 -92
  14. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +7 -7
  15. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +2 -2
  16. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +1 -1
  17. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +27 -27
  18. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +72 -72
  19. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +4 -4
  20. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +8 -8
  21. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +1 -1
  22. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +27 -27
  23. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +77 -77
  24. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +14 -14
  25. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +27 -27
  26. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +1 -1
  27. package/dist/cjs/api/resources/billing/resources/index.d.ts +8 -8
  28. package/dist/cjs/api/resources/billing/resources/index.js +9 -9
  29. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +104 -104
  30. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +256 -256
  31. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +7 -7
  32. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +5 -5
  33. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +5 -5
  34. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +1 -1
  35. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +19 -19
  36. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +52 -52
  37. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.ts +19 -19
  38. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.js +52 -52
  39. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +27 -27
  40. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +72 -72
  41. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +2 -2
  42. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +3 -3
  43. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +1 -1
  44. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +37 -37
  45. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +102 -102
  46. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +5 -5
  47. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +1 -1
  48. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +115 -115
  49. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +366 -366
  50. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +7 -7
  51. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -2
  52. package/dist/cjs/api/resources/billing/resources/stripe/client/Client.d.ts +2 -2
  53. package/dist/cjs/api/resources/billing/resources/stripe/client/Client.js +2 -2
  54. package/dist/cjs/api/resources/billing/resources/stripe/client/requests/CreateCheckoutSessionReq.d.ts +3 -3
  55. package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.d.ts +8 -8
  56. package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.js +19 -19
  57. package/dist/cjs/api/resources/flights/client/Client.d.ts +3 -3
  58. package/dist/cjs/api/resources/flights/client/Client.js +3 -3
  59. package/dist/cjs/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.ts +23 -23
  60. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.d.ts +33 -33
  61. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.js +68 -68
  62. package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.ts +23 -23
  63. package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.ts +16 -16
  64. package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.js +35 -35
  65. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.d.ts +8 -8
  66. package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.js +16 -16
  67. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.d.ts +3 -3
  68. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.js +3 -3
  69. package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.ts +6 -6
  70. package/dist/cjs/api/resources/listing/client/Client.d.ts +6 -6
  71. package/dist/cjs/api/resources/listing/client/Client.js +12 -12
  72. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +64 -64
  73. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +216 -216
  74. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +2 -2
  75. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +2 -2
  76. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +39 -39
  77. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +105 -105
  78. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +3 -3
  79. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +1 -1
  80. package/dist/cjs/api/resources/listing/resources/index.d.ts +4 -4
  81. package/dist/cjs/api/resources/listing/resources/index.js +5 -5
  82. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +79 -79
  83. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +286 -286
  84. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +1 -1
  85. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +1 -1
  86. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +13 -13
  87. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +3 -3
  88. package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +6 -6
  89. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +39 -39
  90. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +105 -105
  91. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +3 -3
  92. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +1 -1
  93. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +36 -36
  94. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +98 -98
  95. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +61 -61
  96. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +150 -150
  97. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.ts +3 -3
  98. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/index.d.ts +1 -1
  99. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +8 -8
  100. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.js +16 -16
  101. package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.ts +2 -2
  102. package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.d.ts +14 -14
  103. package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.js +28 -28
  104. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +84 -51
  105. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +293 -145
  106. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +3 -1
  107. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.ts +17 -0
  108. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.js +5 -0
  109. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +2 -0
  110. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.ts +16 -0
  111. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.js +5 -0
  112. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -3
  113. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.ts +19 -19
  114. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.js +52 -52
  115. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +2 -2
  116. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +2 -2
  117. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +4 -4
  118. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +41 -41
  119. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +107 -107
  120. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +4 -4
  121. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +1 -1
  122. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +1 -1
  123. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +65 -65
  124. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +169 -169
  125. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +5 -5
  126. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts +2 -2
  127. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +3 -3
  128. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +66 -66
  129. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +184 -184
  130. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +8 -8
  131. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -4
  132. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.ts +2 -2
  133. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +4 -4
  134. package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
  135. package/dist/cjs/api/resources/orgs/client/Client.js +20 -20
  136. package/dist/cjs/api/resources/orgs/client/requests/SetupOrgReq.d.ts +2 -2
  137. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.d.ts +24 -24
  138. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.js +59 -59
  139. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.ts +4 -4
  140. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +19 -19
  141. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +57 -57
  142. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +34 -34
  143. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +117 -117
  144. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -1
  145. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
  146. package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
  147. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +2 -2
  148. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +2 -2
  149. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +7 -7
  150. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +11 -11
  151. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +2 -2
  152. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +2 -2
  153. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +7 -7
  154. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +11 -11
  155. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +2 -2
  156. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.js +2 -2
  157. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts +3 -3
  158. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -3
  159. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +6 -6
  160. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -2
  161. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -3
  162. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +19 -19
  163. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +51 -51
  164. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +7 -7
  165. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +11 -11
  166. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +12 -12
  167. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +51 -51
  168. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +7 -7
  169. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +11 -11
  170. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +17 -17
  171. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +41 -41
  172. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +3 -3
  173. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +13 -13
  174. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +54 -54
  175. package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
  176. package/dist/cjs/api/resources/shipping/client/Client.d.ts +12 -12
  177. package/dist/cjs/api/resources/shipping/client/Client.js +27 -27
  178. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +97 -97
  179. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +313 -313
  180. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.ts +3 -3
  181. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.ts +7 -7
  182. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.ts +4 -4
  183. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.ts +1 -1
  184. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +3 -4
  185. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +5 -5
  186. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.ts +23 -23
  187. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.js +43 -43
  188. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.ts +4 -4
  189. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +19 -19
  190. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +57 -57
  191. package/dist/cjs/api/resources/shipping/resources/index.d.ts +6 -6
  192. package/dist/cjs/api/resources/shipping/resources/index.js +7 -7
  193. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +52 -52
  194. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +118 -118
  195. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +5 -5
  196. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +12 -9
  197. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +3 -3
  198. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/types/OrderBuilderStreamEvent.d.ts +3 -3
  199. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.ts +21 -21
  200. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.js +41 -41
  201. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +5 -5
  202. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +3 -3
  203. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +3 -3
  204. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +14 -14
  205. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +63 -63
  206. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +6 -6
  207. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +7 -7
  208. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.ts +15 -15
  209. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.js +26 -26
  210. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +4 -4
  211. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +2 -2
  212. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.js +2 -2
  213. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +4 -4
  214. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +46 -46
  215. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +79 -79
  216. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +4 -4
  217. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +2 -2
  218. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +3 -3
  219. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +37 -37
  220. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +106 -106
  221. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +4 -4
  222. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +1 -1
  223. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +1 -1
  224. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +52 -52
  225. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +136 -136
  226. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.ts +2 -2
  227. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.js +2 -2
  228. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.ts +4 -4
  229. package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.ts +2 -2
  230. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +41 -41
  231. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +111 -111
  232. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +13 -12
  233. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +17 -15
  234. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +2 -2
  235. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +30 -30
  236. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +73 -73
  237. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -1
  238. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -8
  239. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +14 -14
  240. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +10 -10
  241. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +18 -18
  242. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +3 -3
  243. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +36 -36
  244. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +76 -76
  245. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +146 -146
  246. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +279 -279
  247. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +1 -1
  248. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
  249. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
  250. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +5 -5
  251. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +23 -23
  252. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +43 -43
  253. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -1
  254. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +3 -3
  255. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +4 -4
  256. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +19 -19
  257. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +52 -52
  258. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
  259. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
  260. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +56 -56
  261. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +110 -110
  262. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +6 -6
  263. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/WaitTimeOverrideReq.d.ts +1 -1
  264. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -1
  265. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +67 -67
  266. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +197 -197
  267. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.ts +5 -5
  268. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.ts +3 -3
  269. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.ts +1 -1
  270. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +5 -5
  271. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +3 -3
  272. package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +3 -3
  273. package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.ts +4 -4
  274. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +86 -86
  275. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +222 -222
  276. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +5 -5
  277. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +6 -6
  278. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.ts +7 -7
  279. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.ts +1 -1
  280. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +6 -6
  281. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +28 -28
  282. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +50 -50
  283. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +3 -3
  284. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +3 -3
  285. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +3 -3
  286. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +2 -2
  287. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +26 -26
  288. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +64 -64
  289. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +3 -3
  290. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +3 -3
  291. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +23 -23
  292. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +51 -51
  293. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +2 -2
  294. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +27 -27
  295. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +66 -66
  296. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +3 -3
  297. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +3 -3
  298. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +23 -23
  299. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +51 -51
  300. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +2 -2
  301. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +15 -15
  302. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +60 -60
  303. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.ts +1 -1
  304. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +15 -15
  305. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +60 -60
  306. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.ts +1 -1
  307. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +14 -14
  308. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +29 -29
  309. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.ts +1 -1
  310. package/dist/cjs/api/resources/users/client/Client.d.ts +6 -6
  311. package/dist/cjs/api/resources/users/client/Client.js +6 -6
  312. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +23 -23
  313. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +76 -76
  314. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +8 -8
  315. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +13 -13
  316. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.d.ts +1 -1
  317. package/dist/cjs/api/resources/users/resources/index.d.ts +3 -3
  318. package/dist/cjs/api/resources/users/resources/index.js +4 -4
  319. package/dist/cjs/api/resources/users/resources/privateData/client/Client.d.ts +15 -15
  320. package/dist/cjs/api/resources/users/resources/privateData/client/Client.js +59 -59
  321. package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.ts +2 -2
  322. package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.ts +2 -2
  323. package/dist/cjs/api/resources/users/resources/privateData/client/requests/index.d.ts +1 -1
  324. package/dist/cjs/api/resources/utils/client/Client.d.ts +3 -3
  325. package/dist/cjs/api/resources/utils/client/Client.js +6 -6
  326. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +24 -24
  327. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +80 -80
  328. package/dist/cjs/api/resources/utils/resources/index.d.ts +1 -1
  329. package/dist/cjs/api/resources/utils/resources/index.js +2 -2
  330. package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +18 -18
  331. package/dist/cjs/api/resources/utils/resources/root/client/Client.js +35 -35
  332. package/dist/cjs/api/types/AiImageDescription.d.ts +9 -9
  333. package/dist/cjs/api/types/AlertMessage.d.ts +2 -2
  334. package/dist/cjs/api/types/Bid.d.ts +4 -4
  335. package/dist/cjs/api/types/BidAppendReq.d.ts +1 -1
  336. package/dist/cjs/api/types/BidThread1.d.ts +6 -6
  337. package/dist/cjs/api/types/BillingLedger1.d.ts +14 -14
  338. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +19 -19
  339. package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +1 -1
  340. package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
  341. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.ts +3 -3
  342. package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +1 -1
  343. package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +1 -1
  344. package/dist/cjs/api/types/Caller.d.ts +4 -4
  345. package/dist/cjs/api/types/Cargo1.d.ts +19 -19
  346. package/dist/cjs/api/types/CargoAiTrackAndTraceAdditionalInformation.d.ts +2 -2
  347. package/dist/cjs/api/types/CargoAiTrackAndTraceEvent.d.ts +13 -13
  348. package/dist/cjs/api/types/CargoAiTrackAndTraceFlight.d.ts +11 -11
  349. package/dist/cjs/api/types/CargoAiTrackAndTraceSubscription1.d.ts +7 -7
  350. package/dist/cjs/api/types/CargoAiTrackAndTraceUpdate1.d.ts +11 -11
  351. package/dist/cjs/api/types/CargoAiTrackAndTraceWebhookResponse.d.ts +1 -1
  352. package/dist/cjs/api/types/CargoByDeviceDataPoint1.d.ts +4 -4
  353. package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -1
  354. package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +1 -1
  355. package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +6 -6
  356. package/dist/cjs/api/types/CargoByDriverDataPoint1.d.ts +3 -3
  357. package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.d.ts +1 -1
  358. package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +6 -6
  359. package/dist/cjs/api/types/CargoClientCreate1.d.ts +8 -8
  360. package/dist/cjs/api/types/CargoClientUpdate1.d.ts +15 -15
  361. package/dist/cjs/api/types/CargoManifest1.d.ts +8 -8
  362. package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +7 -7
  363. package/dist/cjs/api/types/CargojsonAccounting.d.ts +1 -1
  364. package/dist/cjs/api/types/CargojsonAddress.d.ts +4 -4
  365. package/dist/cjs/api/types/CargojsonAddressing.d.ts +3 -3
  366. package/dist/cjs/api/types/CargojsonAgent.d.ts +3 -3
  367. package/dist/cjs/api/types/CargojsonCharge.d.ts +2 -2
  368. package/dist/cjs/api/types/CargojsonChargeDeclarations.d.ts +3 -3
  369. package/dist/cjs/api/types/CargojsonChargeItem.d.ts +4 -4
  370. package/dist/cjs/api/types/CargojsonChargeSummary.d.ts +3 -3
  371. package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.d.ts +3 -3
  372. package/dist/cjs/api/types/CargojsonDimensions.d.ts +2 -2
  373. package/dist/cjs/api/types/CargojsonEdifactData.d.ts +2 -2
  374. package/dist/cjs/api/types/CargojsonOci.d.ts +3 -3
  375. package/dist/cjs/api/types/CargojsonOfficeMessageAddress.d.ts +1 -1
  376. package/dist/cjs/api/types/CargojsonOtherChargeItem.d.ts +3 -3
  377. package/dist/cjs/api/types/CargojsonOtherParticipant.d.ts +1 -1
  378. package/dist/cjs/api/types/CargojsonPackaging.d.ts +4 -4
  379. package/dist/cjs/api/types/CargojsonParticipantAddress.d.ts +1 -1
  380. package/dist/cjs/api/types/CargojsonParticipantIdentifier.d.ts +2 -2
  381. package/dist/cjs/api/types/CargojsonSalesIncentive.d.ts +1 -1
  382. package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.d.ts +1 -1
  383. package/dist/cjs/api/types/CargojsonUld.d.ts +3 -3
  384. package/dist/cjs/api/types/Case1.d.ts +8 -7
  385. package/dist/cjs/api/types/CaseMessage1.d.ts +2 -2
  386. package/dist/cjs/api/types/CaseS3ObjectMetadata1.d.ts +8 -8
  387. package/dist/cjs/api/types/CaseTypeaheadFieldEnum.d.ts +4 -0
  388. package/dist/cjs/api/types/CaseTypeaheadFieldEnum.js +5 -0
  389. package/dist/cjs/api/types/CaseTypeaheadResult.d.ts +8 -0
  390. package/dist/cjs/api/types/CaseTypeaheadResult.js +5 -0
  391. package/dist/cjs/api/types/CasesExpandedListItem.d.ts +15 -0
  392. package/dist/cjs/api/types/CasesExpandedListItem.js +5 -0
  393. package/dist/cjs/api/types/CasesExpandedListRes.d.ts +8 -0
  394. package/dist/cjs/api/types/CasesExpandedListRes.js +5 -0
  395. package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.d.ts +8 -0
  396. package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.js +5 -0
  397. package/dist/cjs/api/types/ChampAirWaybill1.d.ts +33 -33
  398. package/dist/cjs/api/types/ChampConfirmationReceipt1.d.ts +10 -10
  399. package/dist/cjs/api/types/ChampFlightStatus1.d.ts +8 -8
  400. package/dist/cjs/api/types/ChampFlightStatusEvent1.d.ts +15 -15
  401. package/dist/cjs/api/types/ChampOriginAndDestination.d.ts +1 -1
  402. package/dist/cjs/api/types/ChampQuantity.d.ts +1 -1
  403. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +17 -17
  404. package/dist/cjs/api/types/CiriumAirportResources.d.ts +3 -3
  405. package/dist/cjs/api/types/CiriumFlightAlertsWebhookResponse.d.ts +1 -1
  406. package/dist/cjs/api/types/CiriumFlightStatus.d.ts +5 -5
  407. package/dist/cjs/api/types/CiriumOperationalTimes.d.ts +4 -4
  408. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +1 -1
  409. package/dist/cjs/api/types/CredentialInfoRes.d.ts +1 -1
  410. package/dist/cjs/api/types/Department1.d.ts +6 -6
  411. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +8 -8
  412. package/dist/cjs/api/types/DeviceExpandedRes.d.ts +3 -3
  413. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +14 -14
  414. package/dist/cjs/api/types/DevicePausedTimeWindow1.d.ts +1 -1
  415. package/dist/cjs/api/types/DirectoryEntry1.d.ts +13 -13
  416. package/dist/cjs/api/types/Driver1.d.ts +13 -13
  417. package/dist/cjs/api/types/DriverAnalyticsDay.d.ts +15 -0
  418. package/dist/cjs/api/types/DriverAnalyticsDay.js +5 -0
  419. package/dist/cjs/api/types/DriverAnalyticsTaskGroup.d.ts +10 -0
  420. package/dist/cjs/api/types/DriverAnalyticsTaskGroup.js +5 -0
  421. package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +7 -7
  422. package/dist/cjs/api/types/DriverComplianceDocument1.d.ts +5 -5
  423. package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +8 -8
  424. package/dist/cjs/api/types/DriverSelfReportedHoursAndMileage1.d.ts +6 -6
  425. package/dist/cjs/api/types/DriverStatsRes.d.ts +2 -10
  426. package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
  427. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +14 -14
  428. package/dist/cjs/api/types/FirebaseCloudMessagingTokenData1.d.ts +1 -1
  429. package/dist/cjs/api/types/FlightConnection.d.ts +1 -1
  430. package/dist/cjs/api/types/FlightConnectionLeg.d.ts +10 -10
  431. package/dist/cjs/api/types/FlightLeg1.d.ts +18 -18
  432. package/dist/cjs/api/types/FlightLegClientCreate1.d.ts +6 -6
  433. package/dist/cjs/api/types/FlightLegWebhookInfo.d.ts +6 -6
  434. package/dist/cjs/api/types/FlightTrackPosition1.d.ts +3 -3
  435. package/dist/cjs/api/types/FlightTrackRes.d.ts +3 -3
  436. package/dist/cjs/api/types/InternalDelegationJwtReq.d.ts +1 -1
  437. package/dist/cjs/api/types/LineItem1.d.ts +15 -15
  438. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +5 -5
  439. package/dist/cjs/api/types/LineItemGroup1.d.ts +25 -25
  440. package/dist/cjs/api/types/LineItemGroupLineItemsRes.d.ts +2 -2
  441. package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +2 -2
  442. package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +8 -8
  443. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.d.ts +8 -8
  444. package/dist/cjs/api/types/Listing1.d.ts +19 -19
  445. package/dist/cjs/api/types/ListingBidThreadActionAddedWebhookPayload.d.ts +7 -7
  446. package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +17 -17
  447. package/dist/cjs/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.ts +3 -3
  448. package/dist/cjs/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.ts +3 -3
  449. package/dist/cjs/api/types/ListingTaskForBidder1.d.ts +1 -1
  450. package/dist/cjs/api/types/LocationFeature.d.ts +2 -2
  451. package/dist/cjs/api/types/NotificationGroup1.d.ts +7 -7
  452. package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.d.ts +5 -5
  453. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +4 -4
  454. package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
  455. package/dist/cjs/api/types/NotificationUserPreferences1.d.ts +5 -5
  456. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +10 -10
  457. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +10 -10
  458. package/dist/cjs/api/types/OffChrtVendor1.d.ts +3 -3
  459. package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +3 -3
  460. package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +5 -5
  461. package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +5 -5
  462. package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +5 -5
  463. package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +5 -5
  464. package/dist/cjs/api/types/OperationsTask1.d.ts +13 -13
  465. package/dist/cjs/api/types/OperationsTaskComment1.d.ts +2 -2
  466. package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.d.ts +1 -1
  467. package/dist/cjs/api/types/OperationsTaskList1.d.ts +8 -8
  468. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +3 -3
  469. package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.d.ts +3 -3
  470. package/dist/cjs/api/types/Order1.d.ts +20 -20
  471. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +6 -6
  472. package/dist/cjs/api/types/OrderBuilderReq.d.ts +2 -2
  473. package/dist/cjs/api/types/OrderBuilderRes.d.ts +2 -2
  474. package/dist/cjs/api/types/OrderDraftExpanded.d.ts +4 -4
  475. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +5 -5
  476. package/dist/cjs/api/types/OrderDraftValidationResult.d.ts +1 -1
  477. package/dist/cjs/api/types/OrderExpanded.d.ts +3 -3
  478. package/dist/cjs/api/types/OrderGroup1.d.ts +10 -10
  479. package/dist/cjs/api/types/OrderManifest1.d.ts +5 -5
  480. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +5 -5
  481. package/dist/cjs/api/types/OrderSchedule1.d.ts +12 -12
  482. package/dist/cjs/api/types/OrderScheduleAboutRes.d.ts +2 -2
  483. package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.d.ts +2 -2
  484. package/dist/cjs/api/types/OrderScheduleSpec1.d.ts +1 -1
  485. package/dist/cjs/api/types/OrderTemplate1.d.ts +17 -15
  486. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +9 -8
  487. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +6 -4
  488. package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +2 -2
  489. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +4 -4
  490. package/dist/cjs/api/types/OrderTypeaheadValue.d.ts +1 -1
  491. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +5 -5
  492. package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +6 -6
  493. package/dist/cjs/api/types/OrgComplianceDocument1.d.ts +5 -5
  494. package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +8 -8
  495. package/dist/cjs/api/types/OrgInfoResponse.d.ts +6 -6
  496. package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
  497. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
  498. package/dist/cjs/api/types/OrgPrivateData1.d.ts +6 -6
  499. package/dist/cjs/api/types/OrgPublicData1.d.ts +5 -5
  500. package/dist/cjs/api/types/PingRes.d.ts +2 -2
  501. package/dist/cjs/api/types/ProFormaLineItem1.d.ts +7 -7
  502. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +1 -1
  503. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +6 -6
  504. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +4 -4
  505. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +5 -5
  506. package/dist/cjs/api/types/RateSheetMapping1.d.ts +6 -6
  507. package/dist/cjs/api/types/ScheduleCalendarSpec.d.ts +12 -5
  508. package/dist/cjs/api/types/ScheduleIntervalSpec.d.ts +5 -0
  509. package/dist/cjs/api/types/ScheduleRange.d.ts +4 -1
  510. package/dist/cjs/api/types/Session1.d.ts +19 -19
  511. package/dist/cjs/api/types/SessionByDeviceDataPoint1.d.ts +5 -5
  512. package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -1
  513. package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.d.ts +1 -1
  514. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +1 -1
  515. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +6 -6
  516. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +5 -5
  517. package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.d.ts +1 -1
  518. package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.d.ts +1 -1
  519. package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.d.ts +1 -1
  520. package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +5 -5
  521. package/dist/cjs/api/types/ShippingTaskAttemptedWebhookPayload.d.ts +5 -5
  522. package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +5 -5
  523. package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +5 -5
  524. package/dist/cjs/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.ts +3 -3
  525. package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.ts +3 -3
  526. package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.ts +3 -3
  527. package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.d.ts +1 -1
  528. package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.d.ts +3 -3
  529. package/dist/cjs/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.ts +3 -3
  530. package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
  531. package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.ts +1 -1
  532. package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +5 -5
  533. package/dist/cjs/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.ts +5 -5
  534. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +8 -8
  535. package/dist/cjs/api/types/Statement1.d.ts +26 -26
  536. package/dist/cjs/api/types/StatementExpandedListItem.d.ts +1 -1
  537. package/dist/cjs/api/types/StatementExpandedRes.d.ts +1 -1
  538. package/dist/cjs/api/types/StationaryCluster.d.ts +3 -3
  539. package/dist/cjs/api/types/Task1.d.ts +25 -25
  540. package/dist/cjs/api/types/TaskArtifact1.d.ts +20 -20
  541. package/dist/cjs/api/types/TaskArtifactClientCreate1.d.ts +1 -1
  542. package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +9 -9
  543. package/dist/cjs/api/types/TaskClientCreate1.d.ts +5 -5
  544. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -2
  545. package/dist/cjs/api/types/TaskExecutorOrgNote1.d.ts +2 -2
  546. package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
  547. package/dist/cjs/api/types/TaskGroup1.d.ts +37 -37
  548. package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.d.ts +3 -3
  549. package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.d.ts +1 -1
  550. package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +6 -6
  551. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +11 -11
  552. package/dist/cjs/api/types/TaskGroupManifest1.d.ts +3 -3
  553. package/dist/cjs/api/types/TaskGroupMessage1.d.ts +2 -2
  554. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +9 -9
  555. package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +8 -8
  556. package/dist/cjs/api/types/TaskManifest1.d.ts +6 -6
  557. package/dist/cjs/api/types/TaskWaitTimeGeofenceRes.d.ts +2 -2
  558. package/dist/cjs/api/types/TimezoneResponse.d.ts +1 -1
  559. package/dist/cjs/api/types/TiveDataPoint1.d.ts +9 -9
  560. package/dist/cjs/api/types/TiveDataPointMetadata1.d.ts +2 -2
  561. package/dist/cjs/api/types/TiveDevice1.d.ts +5 -5
  562. package/dist/cjs/api/types/TiveShipment1.d.ts +4 -4
  563. package/dist/cjs/api/types/TiveTimeseriesSyncRes.d.ts +2 -2
  564. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +1 -1
  565. package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +1 -1
  566. package/dist/cjs/api/types/TrackingWebhookResponse.d.ts +1 -1
  567. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +1 -1
  568. package/dist/cjs/api/types/UserPrivateData1.d.ts +5 -5
  569. package/dist/cjs/api/types/UserPublicData1.d.ts +2 -2
  570. package/dist/cjs/api/types/ValidationError.d.ts +2 -2
  571. package/dist/cjs/api/types/ValidationIssueScope.d.ts +1 -1
  572. package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
  573. package/dist/cjs/api/types/WebcargoAccountId.d.ts +1 -1
  574. package/dist/cjs/api/types/WebcargoBookingRate.d.ts +10 -10
  575. package/dist/cjs/api/types/WebcargoBookingRecord1.d.ts +7 -7
  576. package/dist/cjs/api/types/WebcargoBusinessInfo.d.ts +1 -1
  577. package/dist/cjs/api/types/WebcargoContact.d.ts +1 -1
  578. package/dist/cjs/api/types/WebcargoDimension.d.ts +2 -2
  579. package/dist/cjs/api/types/WebcargoDocumentIdentifier.d.ts +1 -1
  580. package/dist/cjs/api/types/WebcargoFee.d.ts +5 -5
  581. package/dist/cjs/api/types/WebcargoLeg.d.ts +2 -2
  582. package/dist/cjs/api/types/WebcargoLoad.d.ts +2 -2
  583. package/dist/cjs/api/types/WebcargoLocation.d.ts +3 -3
  584. package/dist/cjs/api/types/WebcargoPackage.d.ts +2 -2
  585. package/dist/cjs/api/types/WebcargoParty.d.ts +3 -3
  586. package/dist/cjs/api/types/WebcargoPostalAddress.d.ts +5 -5
  587. package/dist/cjs/api/types/WebcargoPriceIndicator.d.ts +1 -1
  588. package/dist/cjs/api/types/WebcargoSegment.d.ts +12 -12
  589. package/dist/cjs/api/types/WebcargoShipment.d.ts +1 -1
  590. package/dist/cjs/api/types/WebhookAppPortalAccessRes.d.ts +1 -1
  591. package/dist/cjs/api/types/WorkflowActor.d.ts +3 -3
  592. package/dist/cjs/api/types/index.d.ts +7 -0
  593. package/dist/cjs/api/types/index.js +7 -0
  594. package/dist/cjs/version.d.ts +1 -1
  595. package/dist/cjs/version.js +1 -1
  596. package/dist/esm/Client.mjs +2 -2
  597. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +2 -2
  598. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
  599. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodReq.d.mts +4 -4
  600. package/dist/esm/api/resources/billing/client/Client.d.mts +12 -12
  601. package/dist/esm/api/resources/billing/client/Client.mjs +16 -16
  602. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +13 -13
  603. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +59 -59
  604. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +2 -2
  605. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +2 -2
  606. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +28 -28
  607. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +92 -92
  608. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +7 -7
  609. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +2 -2
  610. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +1 -1
  611. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +27 -27
  612. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +72 -72
  613. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +4 -4
  614. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +8 -8
  615. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +1 -1
  616. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +27 -27
  617. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +77 -77
  618. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +14 -14
  619. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +27 -27
  620. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +1 -1
  621. package/dist/esm/api/resources/billing/resources/index.d.mts +8 -8
  622. package/dist/esm/api/resources/billing/resources/index.mjs +8 -8
  623. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +104 -104
  624. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +256 -256
  625. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +7 -7
  626. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +5 -5
  627. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +5 -5
  628. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +1 -1
  629. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +19 -19
  630. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +52 -52
  631. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.mts +19 -19
  632. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.mjs +52 -52
  633. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +27 -27
  634. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +72 -72
  635. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +2 -2
  636. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +3 -3
  637. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +1 -1
  638. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +37 -37
  639. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +102 -102
  640. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +5 -5
  641. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +1 -1
  642. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +115 -115
  643. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +366 -366
  644. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +7 -7
  645. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -2
  646. package/dist/esm/api/resources/billing/resources/stripe/client/Client.d.mts +2 -2
  647. package/dist/esm/api/resources/billing/resources/stripe/client/Client.mjs +2 -2
  648. package/dist/esm/api/resources/billing/resources/stripe/client/requests/CreateCheckoutSessionReq.d.mts +3 -3
  649. package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.d.mts +8 -8
  650. package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.mjs +19 -19
  651. package/dist/esm/api/resources/flights/client/Client.d.mts +3 -3
  652. package/dist/esm/api/resources/flights/client/Client.mjs +3 -3
  653. package/dist/esm/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.mts +23 -23
  654. package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.d.mts +33 -33
  655. package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.mjs +68 -68
  656. package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.mts +23 -23
  657. package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.mts +16 -16
  658. package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.mjs +35 -35
  659. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.d.mts +8 -8
  660. package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.mjs +16 -16
  661. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.d.mts +3 -3
  662. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.mjs +3 -3
  663. package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.mts +6 -6
  664. package/dist/esm/api/resources/listing/client/Client.d.mts +6 -6
  665. package/dist/esm/api/resources/listing/client/Client.mjs +10 -10
  666. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +64 -64
  667. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +216 -216
  668. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +2 -2
  669. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +2 -2
  670. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +39 -39
  671. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +105 -105
  672. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +3 -3
  673. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +1 -1
  674. package/dist/esm/api/resources/listing/resources/index.d.mts +4 -4
  675. package/dist/esm/api/resources/listing/resources/index.mjs +4 -4
  676. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +79 -79
  677. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +286 -286
  678. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +1 -1
  679. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +1 -1
  680. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +13 -13
  681. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +3 -3
  682. package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +6 -6
  683. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +39 -39
  684. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +105 -105
  685. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +3 -3
  686. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +1 -1
  687. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +36 -36
  688. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +98 -98
  689. package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +61 -61
  690. package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +150 -150
  691. package/dist/esm/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.mts +3 -3
  692. package/dist/esm/api/resources/notifications/resources/groups/client/requests/index.d.mts +1 -1
  693. package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +8 -8
  694. package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.mjs +16 -16
  695. package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.mts +2 -2
  696. package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.d.mts +14 -14
  697. package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.mjs +28 -28
  698. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +84 -51
  699. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +293 -145
  700. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +3 -1
  701. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.mts +17 -0
  702. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.mjs +4 -0
  703. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +2 -0
  704. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.mts +16 -0
  705. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.mjs +4 -0
  706. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -3
  707. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.mts +19 -19
  708. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.mjs +52 -52
  709. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +2 -2
  710. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +2 -2
  711. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +4 -4
  712. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +41 -41
  713. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +107 -107
  714. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +4 -4
  715. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +1 -1
  716. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +1 -1
  717. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +65 -65
  718. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +169 -169
  719. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +5 -5
  720. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts +2 -2
  721. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +3 -3
  722. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +66 -66
  723. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +184 -184
  724. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +8 -8
  725. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -4
  726. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.mts +2 -2
  727. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +4 -4
  728. package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
  729. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
  730. package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +2 -2
  731. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.d.mts +24 -24
  732. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.mjs +59 -59
  733. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.mts +4 -4
  734. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +19 -19
  735. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +57 -57
  736. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +34 -34
  737. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +117 -117
  738. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -1
  739. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
  740. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
  741. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +2 -2
  742. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +2 -2
  743. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +7 -7
  744. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +11 -11
  745. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +2 -2
  746. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +2 -2
  747. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +7 -7
  748. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +11 -11
  749. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +2 -2
  750. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.mjs +2 -2
  751. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts +3 -3
  752. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -3
  753. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +5 -5
  754. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -2
  755. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -2
  756. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +19 -19
  757. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +51 -51
  758. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +7 -7
  759. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +11 -11
  760. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +12 -12
  761. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +51 -51
  762. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +7 -7
  763. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +11 -11
  764. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +17 -17
  765. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +41 -41
  766. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +3 -3
  767. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +13 -13
  768. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +54 -54
  769. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
  770. package/dist/esm/api/resources/shipping/client/Client.d.mts +12 -12
  771. package/dist/esm/api/resources/shipping/client/Client.mjs +20 -20
  772. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +97 -97
  773. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +313 -313
  774. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.mts +3 -3
  775. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.mts +7 -7
  776. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.mts +4 -4
  777. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.mts +1 -1
  778. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +3 -4
  779. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +5 -5
  780. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.mts +23 -23
  781. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.mjs +43 -43
  782. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.mts +4 -4
  783. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +19 -19
  784. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +57 -57
  785. package/dist/esm/api/resources/shipping/resources/index.d.mts +6 -6
  786. package/dist/esm/api/resources/shipping/resources/index.mjs +6 -6
  787. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +52 -52
  788. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +114 -114
  789. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +5 -5
  790. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +12 -9
  791. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +3 -3
  792. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/types/OrderBuilderStreamEvent.d.mts +3 -3
  793. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.mts +21 -21
  794. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.mjs +41 -41
  795. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +5 -5
  796. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +3 -3
  797. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +3 -3
  798. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +14 -14
  799. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +63 -63
  800. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +6 -6
  801. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +6 -6
  802. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.mts +15 -15
  803. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.mjs +26 -26
  804. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +4 -4
  805. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +2 -2
  806. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +2 -2
  807. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +4 -4
  808. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +46 -46
  809. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +79 -79
  810. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +4 -4
  811. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +2 -2
  812. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +3 -3
  813. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +37 -37
  814. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +106 -106
  815. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +4 -4
  816. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +1 -1
  817. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +1 -1
  818. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +52 -52
  819. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +136 -136
  820. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.mts +2 -2
  821. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.mjs +2 -2
  822. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.mts +4 -4
  823. package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.mts +2 -2
  824. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +41 -41
  825. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +111 -111
  826. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +13 -12
  827. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +17 -15
  828. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +2 -2
  829. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +30 -30
  830. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +73 -73
  831. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -1
  832. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -8
  833. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +14 -14
  834. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +10 -10
  835. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +18 -18
  836. package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +3 -3
  837. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +36 -36
  838. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +76 -76
  839. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +146 -146
  840. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +279 -279
  841. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +1 -1
  842. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
  843. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
  844. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +5 -5
  845. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +23 -23
  846. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +43 -43
  847. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -1
  848. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +3 -3
  849. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +3 -3
  850. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +19 -19
  851. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +52 -52
  852. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
  853. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
  854. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +56 -56
  855. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +110 -110
  856. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +6 -6
  857. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/WaitTimeOverrideReq.d.mts +1 -1
  858. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -1
  859. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +67 -67
  860. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +197 -197
  861. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.mts +5 -5
  862. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.mts +3 -3
  863. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.mts +1 -1
  864. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +5 -5
  865. package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +3 -3
  866. package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +3 -3
  867. package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.mts +4 -4
  868. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +86 -86
  869. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +222 -222
  870. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +5 -5
  871. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +6 -6
  872. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.mts +7 -7
  873. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.mts +1 -1
  874. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +6 -6
  875. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +28 -28
  876. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +50 -50
  877. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +3 -3
  878. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +3 -3
  879. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +3 -3
  880. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +2 -2
  881. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +26 -26
  882. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +64 -64
  883. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +3 -3
  884. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +3 -3
  885. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +23 -23
  886. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +51 -51
  887. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +2 -2
  888. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +27 -27
  889. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +66 -66
  890. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +3 -3
  891. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +3 -3
  892. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +23 -23
  893. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +51 -51
  894. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +2 -2
  895. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +15 -15
  896. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +60 -60
  897. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.mts +1 -1
  898. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +15 -15
  899. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +60 -60
  900. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.mts +1 -1
  901. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +14 -14
  902. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +29 -29
  903. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.mts +1 -1
  904. package/dist/esm/api/resources/users/client/Client.d.mts +6 -6
  905. package/dist/esm/api/resources/users/client/Client.mjs +6 -6
  906. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +23 -23
  907. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +76 -76
  908. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +8 -8
  909. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +13 -13
  910. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.d.mts +1 -1
  911. package/dist/esm/api/resources/users/resources/index.d.mts +3 -3
  912. package/dist/esm/api/resources/users/resources/index.mjs +3 -3
  913. package/dist/esm/api/resources/users/resources/privateData/client/Client.d.mts +15 -15
  914. package/dist/esm/api/resources/users/resources/privateData/client/Client.mjs +59 -59
  915. package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.mts +2 -2
  916. package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.mts +2 -2
  917. package/dist/esm/api/resources/users/resources/privateData/client/requests/index.d.mts +1 -1
  918. package/dist/esm/api/resources/utils/client/Client.d.mts +3 -3
  919. package/dist/esm/api/resources/utils/client/Client.mjs +5 -5
  920. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +24 -24
  921. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +80 -80
  922. package/dist/esm/api/resources/utils/resources/index.d.mts +1 -1
  923. package/dist/esm/api/resources/utils/resources/index.mjs +1 -1
  924. package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +18 -18
  925. package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +35 -35
  926. package/dist/esm/api/types/AiImageDescription.d.mts +9 -9
  927. package/dist/esm/api/types/AlertMessage.d.mts +2 -2
  928. package/dist/esm/api/types/Bid.d.mts +4 -4
  929. package/dist/esm/api/types/BidAppendReq.d.mts +1 -1
  930. package/dist/esm/api/types/BidThread1.d.mts +6 -6
  931. package/dist/esm/api/types/BillingLedger1.d.mts +14 -14
  932. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +19 -19
  933. package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +1 -1
  934. package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
  935. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.mts +3 -3
  936. package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +1 -1
  937. package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +1 -1
  938. package/dist/esm/api/types/Caller.d.mts +4 -4
  939. package/dist/esm/api/types/Cargo1.d.mts +19 -19
  940. package/dist/esm/api/types/CargoAiTrackAndTraceAdditionalInformation.d.mts +2 -2
  941. package/dist/esm/api/types/CargoAiTrackAndTraceEvent.d.mts +13 -13
  942. package/dist/esm/api/types/CargoAiTrackAndTraceFlight.d.mts +11 -11
  943. package/dist/esm/api/types/CargoAiTrackAndTraceSubscription1.d.mts +7 -7
  944. package/dist/esm/api/types/CargoAiTrackAndTraceUpdate1.d.mts +11 -11
  945. package/dist/esm/api/types/CargoAiTrackAndTraceWebhookResponse.d.mts +1 -1
  946. package/dist/esm/api/types/CargoByDeviceDataPoint1.d.mts +4 -4
  947. package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -1
  948. package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +1 -1
  949. package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +6 -6
  950. package/dist/esm/api/types/CargoByDriverDataPoint1.d.mts +3 -3
  951. package/dist/esm/api/types/CargoByDriverDataPointMetadata1.d.mts +1 -1
  952. package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +6 -6
  953. package/dist/esm/api/types/CargoClientCreate1.d.mts +8 -8
  954. package/dist/esm/api/types/CargoClientUpdate1.d.mts +15 -15
  955. package/dist/esm/api/types/CargoManifest1.d.mts +8 -8
  956. package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +7 -7
  957. package/dist/esm/api/types/CargojsonAccounting.d.mts +1 -1
  958. package/dist/esm/api/types/CargojsonAddress.d.mts +4 -4
  959. package/dist/esm/api/types/CargojsonAddressing.d.mts +3 -3
  960. package/dist/esm/api/types/CargojsonAgent.d.mts +3 -3
  961. package/dist/esm/api/types/CargojsonCharge.d.mts +2 -2
  962. package/dist/esm/api/types/CargojsonChargeDeclarations.d.mts +3 -3
  963. package/dist/esm/api/types/CargojsonChargeItem.d.mts +4 -4
  964. package/dist/esm/api/types/CargojsonChargeSummary.d.mts +3 -3
  965. package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.d.mts +3 -3
  966. package/dist/esm/api/types/CargojsonDimensions.d.mts +2 -2
  967. package/dist/esm/api/types/CargojsonEdifactData.d.mts +2 -2
  968. package/dist/esm/api/types/CargojsonOci.d.mts +3 -3
  969. package/dist/esm/api/types/CargojsonOfficeMessageAddress.d.mts +1 -1
  970. package/dist/esm/api/types/CargojsonOtherChargeItem.d.mts +3 -3
  971. package/dist/esm/api/types/CargojsonOtherParticipant.d.mts +1 -1
  972. package/dist/esm/api/types/CargojsonPackaging.d.mts +4 -4
  973. package/dist/esm/api/types/CargojsonParticipantAddress.d.mts +1 -1
  974. package/dist/esm/api/types/CargojsonParticipantIdentifier.d.mts +2 -2
  975. package/dist/esm/api/types/CargojsonSalesIncentive.d.mts +1 -1
  976. package/dist/esm/api/types/CargojsonShipmentReferenceInformation.d.mts +1 -1
  977. package/dist/esm/api/types/CargojsonUld.d.mts +3 -3
  978. package/dist/esm/api/types/Case1.d.mts +8 -7
  979. package/dist/esm/api/types/CaseMessage1.d.mts +2 -2
  980. package/dist/esm/api/types/CaseS3ObjectMetadata1.d.mts +8 -8
  981. package/dist/esm/api/types/CaseTypeaheadFieldEnum.d.mts +4 -0
  982. package/dist/esm/api/types/CaseTypeaheadFieldEnum.mjs +4 -0
  983. package/dist/esm/api/types/CaseTypeaheadResult.d.mts +8 -0
  984. package/dist/esm/api/types/CaseTypeaheadResult.mjs +4 -0
  985. package/dist/esm/api/types/CasesExpandedListItem.d.mts +15 -0
  986. package/dist/esm/api/types/CasesExpandedListItem.mjs +4 -0
  987. package/dist/esm/api/types/CasesExpandedListRes.d.mts +8 -0
  988. package/dist/esm/api/types/CasesExpandedListRes.mjs +4 -0
  989. package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.d.mts +8 -0
  990. package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.mjs +4 -0
  991. package/dist/esm/api/types/ChampAirWaybill1.d.mts +33 -33
  992. package/dist/esm/api/types/ChampConfirmationReceipt1.d.mts +10 -10
  993. package/dist/esm/api/types/ChampFlightStatus1.d.mts +8 -8
  994. package/dist/esm/api/types/ChampFlightStatusEvent1.d.mts +15 -15
  995. package/dist/esm/api/types/ChampOriginAndDestination.d.mts +1 -1
  996. package/dist/esm/api/types/ChampQuantity.d.mts +1 -1
  997. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +17 -17
  998. package/dist/esm/api/types/CiriumAirportResources.d.mts +3 -3
  999. package/dist/esm/api/types/CiriumFlightAlertsWebhookResponse.d.mts +1 -1
  1000. package/dist/esm/api/types/CiriumFlightStatus.d.mts +5 -5
  1001. package/dist/esm/api/types/CiriumOperationalTimes.d.mts +4 -4
  1002. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +1 -1
  1003. package/dist/esm/api/types/CredentialInfoRes.d.mts +1 -1
  1004. package/dist/esm/api/types/Department1.d.mts +6 -6
  1005. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +8 -8
  1006. package/dist/esm/api/types/DeviceExpandedRes.d.mts +3 -3
  1007. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +14 -14
  1008. package/dist/esm/api/types/DevicePausedTimeWindow1.d.mts +1 -1
  1009. package/dist/esm/api/types/DirectoryEntry1.d.mts +13 -13
  1010. package/dist/esm/api/types/Driver1.d.mts +13 -13
  1011. package/dist/esm/api/types/DriverAnalyticsDay.d.mts +15 -0
  1012. package/dist/esm/api/types/DriverAnalyticsDay.mjs +4 -0
  1013. package/dist/esm/api/types/DriverAnalyticsTaskGroup.d.mts +10 -0
  1014. package/dist/esm/api/types/DriverAnalyticsTaskGroup.mjs +4 -0
  1015. package/dist/esm/api/types/DriverBiddingGroup1.d.mts +7 -7
  1016. package/dist/esm/api/types/DriverComplianceDocument1.d.mts +5 -5
  1017. package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +8 -8
  1018. package/dist/esm/api/types/DriverSelfReportedHoursAndMileage1.d.mts +6 -6
  1019. package/dist/esm/api/types/DriverStatsRes.d.mts +2 -10
  1020. package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
  1021. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +14 -14
  1022. package/dist/esm/api/types/FirebaseCloudMessagingTokenData1.d.mts +1 -1
  1023. package/dist/esm/api/types/FlightConnection.d.mts +1 -1
  1024. package/dist/esm/api/types/FlightConnectionLeg.d.mts +10 -10
  1025. package/dist/esm/api/types/FlightLeg1.d.mts +18 -18
  1026. package/dist/esm/api/types/FlightLegClientCreate1.d.mts +6 -6
  1027. package/dist/esm/api/types/FlightLegWebhookInfo.d.mts +6 -6
  1028. package/dist/esm/api/types/FlightTrackPosition1.d.mts +3 -3
  1029. package/dist/esm/api/types/FlightTrackRes.d.mts +3 -3
  1030. package/dist/esm/api/types/InternalDelegationJwtReq.d.mts +1 -1
  1031. package/dist/esm/api/types/LineItem1.d.mts +15 -15
  1032. package/dist/esm/api/types/LineItemClientCreate1.d.mts +5 -5
  1033. package/dist/esm/api/types/LineItemGroup1.d.mts +25 -25
  1034. package/dist/esm/api/types/LineItemGroupLineItemsRes.d.mts +2 -2
  1035. package/dist/esm/api/types/LineItemGroupMessage1.d.mts +2 -2
  1036. package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +8 -8
  1037. package/dist/esm/api/types/LineItemS3ObjectMetadata1.d.mts +8 -8
  1038. package/dist/esm/api/types/Listing1.d.mts +19 -19
  1039. package/dist/esm/api/types/ListingBidThreadActionAddedWebhookPayload.d.mts +7 -7
  1040. package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +17 -17
  1041. package/dist/esm/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.mts +3 -3
  1042. package/dist/esm/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.mts +3 -3
  1043. package/dist/esm/api/types/ListingTaskForBidder1.d.mts +1 -1
  1044. package/dist/esm/api/types/LocationFeature.d.mts +2 -2
  1045. package/dist/esm/api/types/NotificationGroup1.d.mts +7 -7
  1046. package/dist/esm/api/types/NotificationGroupLimitedForDriver1.d.mts +5 -5
  1047. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +4 -4
  1048. package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
  1049. package/dist/esm/api/types/NotificationUserPreferences1.d.mts +5 -5
  1050. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +10 -10
  1051. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +10 -10
  1052. package/dist/esm/api/types/OffChrtVendor1.d.mts +3 -3
  1053. package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +3 -3
  1054. package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +5 -5
  1055. package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +5 -5
  1056. package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +5 -5
  1057. package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +5 -5
  1058. package/dist/esm/api/types/OperationsTask1.d.mts +13 -13
  1059. package/dist/esm/api/types/OperationsTaskComment1.d.mts +2 -2
  1060. package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.d.mts +1 -1
  1061. package/dist/esm/api/types/OperationsTaskList1.d.mts +8 -8
  1062. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +3 -3
  1063. package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.d.mts +3 -3
  1064. package/dist/esm/api/types/Order1.d.mts +20 -20
  1065. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +6 -6
  1066. package/dist/esm/api/types/OrderBuilderReq.d.mts +2 -2
  1067. package/dist/esm/api/types/OrderBuilderRes.d.mts +2 -2
  1068. package/dist/esm/api/types/OrderDraftExpanded.d.mts +4 -4
  1069. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +5 -5
  1070. package/dist/esm/api/types/OrderDraftValidationResult.d.mts +1 -1
  1071. package/dist/esm/api/types/OrderExpanded.d.mts +3 -3
  1072. package/dist/esm/api/types/OrderGroup1.d.mts +10 -10
  1073. package/dist/esm/api/types/OrderManifest1.d.mts +5 -5
  1074. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +5 -5
  1075. package/dist/esm/api/types/OrderSchedule1.d.mts +12 -12
  1076. package/dist/esm/api/types/OrderScheduleAboutRes.d.mts +2 -2
  1077. package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.d.mts +2 -2
  1078. package/dist/esm/api/types/OrderScheduleSpec1.d.mts +1 -1
  1079. package/dist/esm/api/types/OrderTemplate1.d.mts +17 -15
  1080. package/dist/esm/api/types/OrderTemplateCore1.d.mts +9 -8
  1081. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +6 -4
  1082. package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +2 -2
  1083. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +4 -4
  1084. package/dist/esm/api/types/OrderTypeaheadValue.d.mts +1 -1
  1085. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +5 -5
  1086. package/dist/esm/api/types/OrgBiddingGroup1.d.mts +6 -6
  1087. package/dist/esm/api/types/OrgComplianceDocument1.d.mts +5 -5
  1088. package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +8 -8
  1089. package/dist/esm/api/types/OrgInfoResponse.d.mts +6 -6
  1090. package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
  1091. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
  1092. package/dist/esm/api/types/OrgPrivateData1.d.mts +6 -6
  1093. package/dist/esm/api/types/OrgPublicData1.d.mts +5 -5
  1094. package/dist/esm/api/types/PingRes.d.mts +2 -2
  1095. package/dist/esm/api/types/ProFormaLineItem1.d.mts +7 -7
  1096. package/dist/esm/api/types/ProviderConnectionRes.d.mts +1 -1
  1097. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +6 -6
  1098. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +4 -4
  1099. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +5 -5
  1100. package/dist/esm/api/types/RateSheetMapping1.d.mts +6 -6
  1101. package/dist/esm/api/types/ScheduleCalendarSpec.d.mts +12 -5
  1102. package/dist/esm/api/types/ScheduleIntervalSpec.d.mts +5 -0
  1103. package/dist/esm/api/types/ScheduleRange.d.mts +4 -1
  1104. package/dist/esm/api/types/Session1.d.mts +19 -19
  1105. package/dist/esm/api/types/SessionByDeviceDataPoint1.d.mts +5 -5
  1106. package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -1
  1107. package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.d.mts +1 -1
  1108. package/dist/esm/api/types/ShipperConnectionRes.d.mts +1 -1
  1109. package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +6 -6
  1110. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +5 -5
  1111. package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.d.mts +1 -1
  1112. package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.d.mts +1 -1
  1113. package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.d.mts +1 -1
  1114. package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +5 -5
  1115. package/dist/esm/api/types/ShippingTaskAttemptedWebhookPayload.d.mts +5 -5
  1116. package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +5 -5
  1117. package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +5 -5
  1118. package/dist/esm/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.mts +3 -3
  1119. package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.mts +3 -3
  1120. package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.mts +3 -3
  1121. package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.d.mts +1 -1
  1122. package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.d.mts +3 -3
  1123. package/dist/esm/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.mts +3 -3
  1124. package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
  1125. package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.mts +1 -1
  1126. package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +5 -5
  1127. package/dist/esm/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.mts +5 -5
  1128. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +8 -8
  1129. package/dist/esm/api/types/Statement1.d.mts +26 -26
  1130. package/dist/esm/api/types/StatementExpandedListItem.d.mts +1 -1
  1131. package/dist/esm/api/types/StatementExpandedRes.d.mts +1 -1
  1132. package/dist/esm/api/types/StationaryCluster.d.mts +3 -3
  1133. package/dist/esm/api/types/Task1.d.mts +25 -25
  1134. package/dist/esm/api/types/TaskArtifact1.d.mts +20 -20
  1135. package/dist/esm/api/types/TaskArtifactClientCreate1.d.mts +1 -1
  1136. package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +9 -9
  1137. package/dist/esm/api/types/TaskClientCreate1.d.mts +5 -5
  1138. package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -2
  1139. package/dist/esm/api/types/TaskExecutorOrgNote1.d.mts +2 -2
  1140. package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
  1141. package/dist/esm/api/types/TaskGroup1.d.mts +37 -37
  1142. package/dist/esm/api/types/TaskGroupByDriverDataPoint1.d.mts +3 -3
  1143. package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.d.mts +1 -1
  1144. package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +6 -6
  1145. package/dist/esm/api/types/TaskGroupExpanded.d.mts +11 -11
  1146. package/dist/esm/api/types/TaskGroupManifest1.d.mts +3 -3
  1147. package/dist/esm/api/types/TaskGroupMessage1.d.mts +2 -2
  1148. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +9 -9
  1149. package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +8 -8
  1150. package/dist/esm/api/types/TaskManifest1.d.mts +6 -6
  1151. package/dist/esm/api/types/TaskWaitTimeGeofenceRes.d.mts +2 -2
  1152. package/dist/esm/api/types/TimezoneResponse.d.mts +1 -1
  1153. package/dist/esm/api/types/TiveDataPoint1.d.mts +9 -9
  1154. package/dist/esm/api/types/TiveDataPointMetadata1.d.mts +2 -2
  1155. package/dist/esm/api/types/TiveDevice1.d.mts +5 -5
  1156. package/dist/esm/api/types/TiveShipment1.d.mts +4 -4
  1157. package/dist/esm/api/types/TiveTimeseriesSyncRes.d.mts +2 -2
  1158. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +1 -1
  1159. package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +1 -1
  1160. package/dist/esm/api/types/TrackingWebhookResponse.d.mts +1 -1
  1161. package/dist/esm/api/types/UngroupedOrderRow.d.mts +1 -1
  1162. package/dist/esm/api/types/UserPrivateData1.d.mts +5 -5
  1163. package/dist/esm/api/types/UserPublicData1.d.mts +2 -2
  1164. package/dist/esm/api/types/ValidationError.d.mts +2 -2
  1165. package/dist/esm/api/types/ValidationIssueScope.d.mts +1 -1
  1166. package/dist/esm/api/types/Vehicle1.d.mts +1 -1
  1167. package/dist/esm/api/types/WebcargoAccountId.d.mts +1 -1
  1168. package/dist/esm/api/types/WebcargoBookingRate.d.mts +10 -10
  1169. package/dist/esm/api/types/WebcargoBookingRecord1.d.mts +7 -7
  1170. package/dist/esm/api/types/WebcargoBusinessInfo.d.mts +1 -1
  1171. package/dist/esm/api/types/WebcargoContact.d.mts +1 -1
  1172. package/dist/esm/api/types/WebcargoDimension.d.mts +2 -2
  1173. package/dist/esm/api/types/WebcargoDocumentIdentifier.d.mts +1 -1
  1174. package/dist/esm/api/types/WebcargoFee.d.mts +5 -5
  1175. package/dist/esm/api/types/WebcargoLeg.d.mts +2 -2
  1176. package/dist/esm/api/types/WebcargoLoad.d.mts +2 -2
  1177. package/dist/esm/api/types/WebcargoLocation.d.mts +3 -3
  1178. package/dist/esm/api/types/WebcargoPackage.d.mts +2 -2
  1179. package/dist/esm/api/types/WebcargoParty.d.mts +3 -3
  1180. package/dist/esm/api/types/WebcargoPostalAddress.d.mts +5 -5
  1181. package/dist/esm/api/types/WebcargoPriceIndicator.d.mts +1 -1
  1182. package/dist/esm/api/types/WebcargoSegment.d.mts +12 -12
  1183. package/dist/esm/api/types/WebcargoShipment.d.mts +1 -1
  1184. package/dist/esm/api/types/WebhookAppPortalAccessRes.d.mts +1 -1
  1185. package/dist/esm/api/types/WorkflowActor.d.mts +3 -3
  1186. package/dist/esm/api/types/index.d.mts +7 -0
  1187. package/dist/esm/api/types/index.mjs +7 -0
  1188. package/dist/esm/version.d.mts +1 -1
  1189. package/dist/esm/version.mjs +1 -1
  1190. package/package.json +1 -1
  1191. package/reference.md +4321 -4188
@@ -72,35 +72,39 @@ class Drivers {
72
72
  return ((_a = this._complianceDocuments) !== null && _a !== void 0 ? _a : (this._complianceDocuments = new Client_js_1.ComplianceDocuments(this._options)));
73
73
  }
74
74
  /**
75
- * Retrieves driver stats for a time window: overlap-corrected hours worked, total GPS mileage, and mileage restricted to worked task-group intervals. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverStatsReq) -> (DriverStatsRes)
75
+ * Creates a new driver profile for the target user (defaults to caller). Drivers can create themselves; operators+ can create any org member. Provider orgs only. | (DriverClientCreate1) -> (PydanticObjectId)
76
76
  *
77
- * @param {string} driverId
78
- * @param {Chrt.shipping.DriverStatsReq} request
77
+ * @param {Chrt.shipping.DriverClientCreate1} request
79
78
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
80
79
  *
81
80
  * @throws {@link Chrt.UnprocessableEntityError}
82
81
  *
83
82
  * @example
84
- * await client.shipping.drivers.getStatsV1("driver_id", {
85
- * start_timestamp: "2024-01-15T09:30:00Z",
86
- * end_timestamp: "2024-01-15T09:30:00Z"
83
+ * await client.shipping.drivers.createV1({
84
+ * target_user_id: "target_user_id",
85
+ * schema_version: 1
87
86
  * })
88
87
  */
89
- getStatsV1(driverId, request, requestOptions) {
90
- return core.HttpResponsePromise.fromPromise(this.__getStatsV1(driverId, request, requestOptions));
88
+ createV1(request, requestOptions) {
89
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
91
90
  }
92
- __getStatsV1(driverId, request, requestOptions) {
91
+ __createV1(request, requestOptions) {
93
92
  return __awaiter(this, void 0, void 0, function* () {
94
93
  var _a, _b, _c, _d;
94
+ const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
95
+ const _queryParams = {};
96
+ if (targetUserId !== undefined) {
97
+ _queryParams["target_user_id"] = targetUserId;
98
+ }
95
99
  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);
96
100
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
97
- 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/drivers/stats/v1/${encodeURIComponent(driverId)}`),
101
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/create/v1"),
98
102
  method: "POST",
99
103
  headers: _headers,
100
104
  contentType: "application/json",
101
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
102
106
  requestType: "json",
103
- body: request,
107
+ body: _body,
104
108
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
105
109
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
106
110
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -128,7 +132,7 @@ class Drivers {
128
132
  rawResponse: _response.rawResponse,
129
133
  });
130
134
  case "timeout":
131
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/stats/v1/{driver_id}.");
135
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/create/v1.");
132
136
  case "unknown":
133
137
  throw new errors.ChrtError({
134
138
  message: _response.error.errorMessage,
@@ -138,26 +142,22 @@ class Drivers {
138
142
  });
139
143
  }
140
144
  /**
141
- * Retrieves a driver's self-report for a single calendar day. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileage1)
145
+ * Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
142
146
  *
143
- * @param {string} driverId
144
- * @param {string} reportDate
145
147
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
146
148
  *
147
- * @throws {@link Chrt.UnprocessableEntityError}
148
- *
149
149
  * @example
150
- * await client.shipping.drivers.getSelfReportedHoursAndMileageV1("driver_id", "report_date")
150
+ * await client.shipping.drivers.getForCallerV1()
151
151
  */
152
- getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
153
- return core.HttpResponsePromise.fromPromise(this.__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
152
+ getForCallerV1(requestOptions) {
153
+ return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
154
154
  }
155
- __getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
155
+ __getForCallerV1(requestOptions) {
156
156
  return __awaiter(this, void 0, void 0, function* () {
157
157
  var _a, _b, _c, _d;
158
158
  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);
159
159
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
160
- 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/drivers/self_reported_hours_and_mileage/get/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
160
+ 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/drivers/for_caller/v1"),
161
161
  method: "GET",
162
162
  headers: _headers,
163
163
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -166,22 +166,65 @@ class Drivers {
166
166
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
167
167
  });
168
168
  if (_response.ok) {
169
- return {
170
- data: _response.body,
169
+ return { data: _response.body, rawResponse: _response.rawResponse };
170
+ }
171
+ if (_response.error.reason === "status-code") {
172
+ throw new errors.ChrtError({
173
+ statusCode: _response.error.statusCode,
174
+ body: _response.error.body,
171
175
  rawResponse: _response.rawResponse,
172
- };
176
+ });
177
+ }
178
+ switch (_response.error.reason) {
179
+ case "non-json":
180
+ throw new errors.ChrtError({
181
+ statusCode: _response.error.statusCode,
182
+ body: _response.error.rawBody,
183
+ rawResponse: _response.rawResponse,
184
+ });
185
+ case "timeout":
186
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
187
+ case "unknown":
188
+ throw new errors.ChrtError({
189
+ message: _response.error.errorMessage,
190
+ rawResponse: _response.rawResponse,
191
+ });
192
+ }
193
+ });
194
+ }
195
+ /**
196
+ * Clears the driver's last known location and timestamp. | () -> (bool)
197
+ *
198
+ * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
199
+ *
200
+ * @example
201
+ * await client.shipping.drivers.clearLastSeenV1()
202
+ */
203
+ clearLastSeenV1(requestOptions) {
204
+ return core.HttpResponsePromise.fromPromise(this.__clearLastSeenV1(requestOptions));
205
+ }
206
+ __clearLastSeenV1(requestOptions) {
207
+ return __awaiter(this, void 0, void 0, function* () {
208
+ var _a, _b, _c, _d;
209
+ 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);
210
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
211
+ 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/drivers/last_seen/clear/v1"),
212
+ method: "POST",
213
+ headers: _headers,
214
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
215
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
216
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
217
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
218
+ });
219
+ if (_response.ok) {
220
+ return { data: _response.body, rawResponse: _response.rawResponse };
173
221
  }
174
222
  if (_response.error.reason === "status-code") {
175
- switch (_response.error.statusCode) {
176
- case 422:
177
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
178
- default:
179
- throw new errors.ChrtError({
180
- statusCode: _response.error.statusCode,
181
- body: _response.error.body,
182
- rawResponse: _response.rawResponse,
183
- });
184
- }
223
+ throw new errors.ChrtError({
224
+ statusCode: _response.error.statusCode,
225
+ body: _response.error.body,
226
+ rawResponse: _response.rawResponse,
227
+ });
185
228
  }
186
229
  switch (_response.error.reason) {
187
230
  case "non-json":
@@ -191,7 +234,7 @@ class Drivers {
191
234
  rawResponse: _response.rawResponse,
192
235
  });
193
236
  case "timeout":
194
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/get/v1/{driver_id}/{report_date}.");
237
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/last_seen/clear/v1.");
195
238
  case "unknown":
196
239
  throw new errors.ChrtError({
197
240
  message: _response.error.errorMessage,
@@ -201,37 +244,31 @@ class Drivers {
201
244
  });
202
245
  }
203
246
  /**
204
- * Lists a driver's self-reports across an optional date range with sorting and pagination. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileageListRes)
247
+ * Lists all drivers belonging to the caller's organization with filtering, sorting, pagination, and optional full-text search. | () -> (DriverListRes)
205
248
  *
206
- * @param {string} driverId
207
- * @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
249
+ * @param {Chrt.shipping.DriversListV1Request} request
208
250
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
209
251
  *
210
252
  * @throws {@link Chrt.UnprocessableEntityError}
211
253
  *
212
254
  * @example
213
- * await client.shipping.drivers.listSelfReportedHoursAndMileageV1("driver_id", {
214
- * filter_start_date: "filter_start_date",
215
- * filter_end_date: "filter_end_date",
255
+ * await client.shipping.drivers.listV1({
216
256
  * sort_order: "asc",
217
257
  * page: 1,
218
- * page_size: 1
258
+ * page_size: 1,
259
+ * search: "search",
260
+ * filter_available_according_to_driver: true,
261
+ * filter_available_according_to_operators: true
219
262
  * })
220
263
  */
221
- listSelfReportedHoursAndMileageV1(driverId, request = {}, requestOptions) {
222
- return core.HttpResponsePromise.fromPromise(this.__listSelfReportedHoursAndMileageV1(driverId, request, requestOptions));
264
+ listV1(request = {}, requestOptions) {
265
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
223
266
  }
224
- __listSelfReportedHoursAndMileageV1(driverId_1) {
225
- return __awaiter(this, arguments, void 0, function* (driverId, request = {}, requestOptions) {
226
- var _a, _b, _c, _d, _e, _f;
227
- const { filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_order: sortOrder, page, page_size: pageSize, } = request;
267
+ __listV1() {
268
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
269
+ var _a, _b, _c, _d, _e, _f, _g, _h;
270
+ const { sort_order: sortOrder, page, page_size: pageSize, search, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
228
271
  const _queryParams = {};
229
- if (filterStartDate !== undefined) {
230
- _queryParams["filter_start_date"] = filterStartDate;
231
- }
232
- if (filterEndDate !== undefined) {
233
- _queryParams["filter_end_date"] = filterEndDate;
234
- }
235
272
  if (sortOrder !== undefined) {
236
273
  _queryParams["sort_order"] = sortOrder;
237
274
  }
@@ -241,9 +278,27 @@ class Drivers {
241
278
  if (pageSize !== undefined) {
242
279
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
243
280
  }
244
- 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);
245
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
246
- 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/drivers/self_reported_hours_and_mileage/list/v1/${encodeURIComponent(driverId)}`),
281
+ if (search !== undefined) {
282
+ _queryParams["search"] = search;
283
+ }
284
+ if (filterAvailableAccordingToDriver !== undefined) {
285
+ _queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
286
+ }
287
+ if (filterAvailableAccordingToOperators !== undefined) {
288
+ _queryParams["filter_available_according_to_operators"] =
289
+ (_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
290
+ }
291
+ if (filterStatus !== undefined) {
292
+ if (Array.isArray(filterStatus)) {
293
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
294
+ }
295
+ else {
296
+ _queryParams["filter_status"] = filterStatus;
297
+ }
298
+ }
299
+ let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
300
+ const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
301
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/list/v1"),
247
302
  method: "GET",
248
303
  headers: _headers,
249
304
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -252,10 +307,7 @@ class Drivers {
252
307
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
253
308
  });
254
309
  if (_response.ok) {
255
- return {
256
- data: _response.body,
257
- rawResponse: _response.rawResponse,
258
- };
310
+ return { data: _response.body, rawResponse: _response.rawResponse };
259
311
  }
260
312
  if (_response.error.reason === "status-code") {
261
313
  switch (_response.error.statusCode) {
@@ -277,7 +329,7 @@ class Drivers {
277
329
  rawResponse: _response.rawResponse,
278
330
  });
279
331
  case "timeout":
280
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/list/v1/{driver_id}.");
332
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/list/v1.");
281
333
  case "unknown":
282
334
  throw new errors.ChrtError({
283
335
  message: _response.error.errorMessage,
@@ -287,40 +339,49 @@ class Drivers {
287
339
  });
288
340
  }
289
341
  /**
290
- * Lists all drivers' self-reports in the caller's org with date-range filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverSelfReportedHoursAndMileageListRes)
342
+ * Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
291
343
  *
292
- * @param {Chrt.shipping.DriversOrgListSelfReportedHoursAndMileageV1Request} request
344
+ * @param {Chrt.shipping.DriversListOrgMembersAndDriversV1Request} request
293
345
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
294
346
  *
295
347
  * @throws {@link Chrt.UnprocessableEntityError}
296
348
  *
297
349
  * @example
298
- * await client.shipping.drivers.orgListSelfReportedHoursAndMileageV1({
299
- * filter_driver_id: "filter_driver_id",
300
- * filter_start_date: "filter_start_date",
301
- * filter_end_date: "filter_end_date",
302
- * sort_by: "date",
350
+ * await client.shipping.drivers.listOrgMembersAndDriversV1({
351
+ * search: "search",
352
+ * filter_available_according_to_driver: true,
353
+ * filter_available_according_to_operators: true,
354
+ * sort_by: "first_name",
303
355
  * sort_order: "asc",
304
356
  * page: 1,
305
357
  * page_size: 1
306
358
  * })
307
359
  */
308
- orgListSelfReportedHoursAndMileageV1(request = {}, requestOptions) {
309
- return core.HttpResponsePromise.fromPromise(this.__orgListSelfReportedHoursAndMileageV1(request, requestOptions));
360
+ listOrgMembersAndDriversV1(request = {}, requestOptions) {
361
+ return core.HttpResponsePromise.fromPromise(this.__listOrgMembersAndDriversV1(request, requestOptions));
310
362
  }
311
- __orgListSelfReportedHoursAndMileageV1() {
363
+ __listOrgMembersAndDriversV1() {
312
364
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
313
- var _a, _b, _c, _d, _e, _f;
314
- const { filter_driver_id: filterDriverId, filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
365
+ var _a, _b, _c, _d, _e, _f, _g, _h;
366
+ const { search, 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;
315
367
  const _queryParams = {};
316
- if (filterDriverId !== undefined) {
317
- _queryParams["filter_driver_id"] = filterDriverId;
368
+ if (search !== undefined) {
369
+ _queryParams["search"] = search;
318
370
  }
319
- if (filterStartDate !== undefined) {
320
- _queryParams["filter_start_date"] = filterStartDate;
371
+ if (filterRole !== undefined) {
372
+ if (Array.isArray(filterRole)) {
373
+ _queryParams["filter_role"] = filterRole.map((item) => item);
374
+ }
375
+ else {
376
+ _queryParams["filter_role"] = filterRole;
377
+ }
321
378
  }
322
- if (filterEndDate !== undefined) {
323
- _queryParams["filter_end_date"] = filterEndDate;
379
+ if (filterAvailableAccordingToDriver !== undefined) {
380
+ _queryParams["filter_available_according_to_driver"] = (_a = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _a !== void 0 ? _a : null;
381
+ }
382
+ if (filterAvailableAccordingToOperators !== undefined) {
383
+ _queryParams["filter_available_according_to_operators"] =
384
+ (_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
324
385
  }
325
386
  if (sortBy !== undefined) {
326
387
  _queryParams["sort_by"] = sortBy;
@@ -329,14 +390,14 @@ class Drivers {
329
390
  _queryParams["sort_order"] = sortOrder;
330
391
  }
331
392
  if (page !== undefined) {
332
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
393
+ _queryParams["page"] = (_c = page === null || page === void 0 ? void 0 : page.toString()) !== null && _c !== void 0 ? _c : null;
333
394
  }
334
395
  if (pageSize !== undefined) {
335
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
396
+ _queryParams["page_size"] = (_d = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _d !== void 0 ? _d : null;
336
397
  }
337
- 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);
338
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
339
- 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/drivers/self_reported_hours_and_mileage/org_list/v1"),
398
+ let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
399
+ const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
400
+ url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/org_members_and_drivers/list/v1"),
340
401
  method: "GET",
341
402
  headers: _headers,
342
403
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -345,10 +406,7 @@ class Drivers {
345
406
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
346
407
  });
347
408
  if (_response.ok) {
348
- return {
349
- data: _response.body,
350
- rawResponse: _response.rawResponse,
351
- };
409
+ return { data: _response.body, rawResponse: _response.rawResponse };
352
410
  }
353
411
  if (_response.error.reason === "status-code") {
354
412
  switch (_response.error.statusCode) {
@@ -370,7 +428,7 @@ class Drivers {
370
428
  rawResponse: _response.rawResponse,
371
429
  });
372
430
  case "timeout":
373
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/org_list/v1.");
431
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/org_members_and_drivers/list/v1.");
374
432
  case "unknown":
375
433
  throw new errors.ChrtError({
376
434
  message: _response.error.errorMessage,
@@ -389,9 +447,9 @@ class Drivers {
389
447
  *
390
448
  * @example
391
449
  * await client.shipping.drivers.createSelfReportedHoursAndMileageV1({
392
- * schema_version: 1,
450
+ * date: "date",
393
451
  * driver_id: "driver_id",
394
- * date: "date"
452
+ * schema_version: 1
395
453
  * })
396
454
  */
397
455
  createSelfReportedHoursAndMileageV1(request, requestOptions) {
@@ -449,42 +507,35 @@ class Drivers {
449
507
  });
450
508
  }
451
509
  /**
452
- * Partially updates a driver's self-reported hours worked and/or miles driven for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | (DriverSelfReportedHoursAndMileageClientUpdate1) -> (DriverSelfReportedHoursAndMileage1)
510
+ * Permanently deletes a driver's self-report for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (bool)
453
511
  *
454
512
  * @param {string} driverId
455
513
  * @param {string} reportDate
456
- * @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
457
514
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
458
515
  *
459
516
  * @throws {@link Chrt.UnprocessableEntityError}
460
517
  *
461
518
  * @example
462
- * await client.shipping.drivers.updateSelfReportedHoursAndMileageV1("driver_id", "report_date")
519
+ * await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "report_date")
463
520
  */
464
- updateSelfReportedHoursAndMileageV1(driverId, reportDate, request = {}, requestOptions) {
465
- return core.HttpResponsePromise.fromPromise(this.__updateSelfReportedHoursAndMileageV1(driverId, reportDate, request, requestOptions));
521
+ deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
522
+ return core.HttpResponsePromise.fromPromise(this.__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
466
523
  }
467
- __updateSelfReportedHoursAndMileageV1(driverId_1, reportDate_1) {
468
- return __awaiter(this, arguments, void 0, function* (driverId, reportDate, request = {}, requestOptions) {
524
+ __deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
525
+ return __awaiter(this, void 0, void 0, function* () {
469
526
  var _a, _b, _c, _d;
470
527
  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);
471
528
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
472
- 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/drivers/self_reported_hours_and_mileage/update/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
473
- method: "PATCH",
529
+ 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/drivers/self_reported_hours_and_mileage/delete/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
530
+ method: "POST",
474
531
  headers: _headers,
475
- contentType: "application/json",
476
532
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
477
- requestType: "json",
478
- body: request,
479
533
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
480
534
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
481
535
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
482
536
  });
483
537
  if (_response.ok) {
484
- return {
485
- data: _response.body,
486
- rawResponse: _response.rawResponse,
487
- };
538
+ return { data: _response.body, rawResponse: _response.rawResponse };
488
539
  }
489
540
  if (_response.error.reason === "status-code") {
490
541
  switch (_response.error.statusCode) {
@@ -506,7 +557,7 @@ class Drivers {
506
557
  rawResponse: _response.rawResponse,
507
558
  });
508
559
  case "timeout":
509
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/self_reported_hours_and_mileage/update/v1/{driver_id}/{report_date}.");
560
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/self_reported_hours_and_mileage/delete/v1/{driver_id}/{report_date}.");
510
561
  case "unknown":
511
562
  throw new errors.ChrtError({
512
563
  message: _response.error.errorMessage,
@@ -516,7 +567,7 @@ class Drivers {
516
567
  });
517
568
  }
518
569
  /**
519
- * Permanently deletes a driver's self-report for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (bool)
570
+ * Retrieves a driver's self-report for a single calendar day. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileage1)
520
571
  *
521
572
  * @param {string} driverId
522
573
  * @param {string} reportDate
@@ -525,18 +576,18 @@ class Drivers {
525
576
  * @throws {@link Chrt.UnprocessableEntityError}
526
577
  *
527
578
  * @example
528
- * await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "report_date")
579
+ * await client.shipping.drivers.getSelfReportedHoursAndMileageV1("driver_id", "report_date")
529
580
  */
530
- deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
531
- return core.HttpResponsePromise.fromPromise(this.__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
581
+ getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
582
+ return core.HttpResponsePromise.fromPromise(this.__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
532
583
  }
533
- __deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
584
+ __getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
534
585
  return __awaiter(this, void 0, void 0, function* () {
535
586
  var _a, _b, _c, _d;
536
587
  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);
537
588
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
538
- 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/drivers/self_reported_hours_and_mileage/delete/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
539
- method: "POST",
589
+ 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/drivers/self_reported_hours_and_mileage/get/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
590
+ method: "GET",
540
591
  headers: _headers,
541
592
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
542
593
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -544,7 +595,10 @@ class Drivers {
544
595
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
545
596
  });
546
597
  if (_response.ok) {
547
- return { data: _response.body, rawResponse: _response.rawResponse };
598
+ return {
599
+ data: _response.body,
600
+ rawResponse: _response.rawResponse,
601
+ };
548
602
  }
549
603
  if (_response.error.reason === "status-code") {
550
604
  switch (_response.error.statusCode) {
@@ -566,58 +620,7 @@ class Drivers {
566
620
  rawResponse: _response.rawResponse,
567
621
  });
568
622
  case "timeout":
569
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/self_reported_hours_and_mileage/delete/v1/{driver_id}/{report_date}.");
570
- case "unknown":
571
- throw new errors.ChrtError({
572
- message: _response.error.errorMessage,
573
- rawResponse: _response.rawResponse,
574
- });
575
- }
576
- });
577
- }
578
- /**
579
- * Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
580
- *
581
- * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
582
- *
583
- * @example
584
- * await client.shipping.drivers.getForCallerV1()
585
- */
586
- getForCallerV1(requestOptions) {
587
- return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
588
- }
589
- __getForCallerV1(requestOptions) {
590
- return __awaiter(this, void 0, void 0, function* () {
591
- var _a, _b, _c, _d;
592
- 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);
593
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
594
- 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/drivers/for_caller/v1"),
595
- method: "GET",
596
- headers: _headers,
597
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
598
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
599
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
600
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
601
- });
602
- if (_response.ok) {
603
- return { data: _response.body, rawResponse: _response.rawResponse };
604
- }
605
- if (_response.error.reason === "status-code") {
606
- throw new errors.ChrtError({
607
- statusCode: _response.error.statusCode,
608
- body: _response.error.body,
609
- rawResponse: _response.rawResponse,
610
- });
611
- }
612
- switch (_response.error.reason) {
613
- case "non-json":
614
- throw new errors.ChrtError({
615
- statusCode: _response.error.statusCode,
616
- body: _response.error.rawBody,
617
- rawResponse: _response.rawResponse,
618
- });
619
- case "timeout":
620
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
623
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/get/v1/{driver_id}/{report_date}.");
621
624
  case "unknown":
622
625
  throw new errors.ChrtError({
623
626
  message: _response.error.errorMessage,
@@ -627,34 +630,61 @@ class Drivers {
627
630
  });
628
631
  }
629
632
  /**
630
- * Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
633
+ * Lists a driver's self-reports across an optional date range with sorting and pagination. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileageListRes)
631
634
  *
632
635
  * @param {string} driverId
636
+ * @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
633
637
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
634
638
  *
635
639
  * @throws {@link Chrt.UnprocessableEntityError}
636
640
  *
637
641
  * @example
638
- * await client.shipping.drivers.getByDriverIdV1("driver_id")
642
+ * await client.shipping.drivers.listSelfReportedHoursAndMileageV1("driver_id", {
643
+ * filter_start_date: "filter_start_date",
644
+ * filter_end_date: "filter_end_date",
645
+ * sort_order: "asc",
646
+ * page: 1,
647
+ * page_size: 1
648
+ * })
639
649
  */
640
- getByDriverIdV1(driverId, requestOptions) {
641
- return core.HttpResponsePromise.fromPromise(this.__getByDriverIdV1(driverId, requestOptions));
650
+ listSelfReportedHoursAndMileageV1(driverId, request = {}, requestOptions) {
651
+ return core.HttpResponsePromise.fromPromise(this.__listSelfReportedHoursAndMileageV1(driverId, request, requestOptions));
642
652
  }
643
- __getByDriverIdV1(driverId, requestOptions) {
644
- return __awaiter(this, void 0, void 0, function* () {
645
- var _a, _b, _c, _d;
646
- 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);
647
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
648
- 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/drivers/v1/${encodeURIComponent(driverId)}`),
653
+ __listSelfReportedHoursAndMileageV1(driverId_1) {
654
+ return __awaiter(this, arguments, void 0, function* (driverId, request = {}, requestOptions) {
655
+ var _a, _b, _c, _d, _e, _f;
656
+ const { filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_order: sortOrder, page, page_size: pageSize, } = request;
657
+ const _queryParams = {};
658
+ if (filterStartDate !== undefined) {
659
+ _queryParams["filter_start_date"] = filterStartDate;
660
+ }
661
+ if (filterEndDate !== undefined) {
662
+ _queryParams["filter_end_date"] = filterEndDate;
663
+ }
664
+ if (sortOrder !== undefined) {
665
+ _queryParams["sort_order"] = sortOrder;
666
+ }
667
+ if (page !== undefined) {
668
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
669
+ }
670
+ if (pageSize !== undefined) {
671
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
672
+ }
673
+ 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);
674
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
675
+ 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/drivers/self_reported_hours_and_mileage/list/v1/${encodeURIComponent(driverId)}`),
649
676
  method: "GET",
650
677
  headers: _headers,
651
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
678
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
652
679
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
653
680
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
654
681
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
655
682
  });
656
683
  if (_response.ok) {
657
- return { data: _response.body, rawResponse: _response.rawResponse };
684
+ return {
685
+ data: _response.body,
686
+ rawResponse: _response.rawResponse,
687
+ };
658
688
  }
659
689
  if (_response.error.reason === "status-code") {
660
690
  switch (_response.error.statusCode) {
@@ -676,7 +706,7 @@ class Drivers {
676
706
  rawResponse: _response.rawResponse,
677
707
  });
678
708
  case "timeout":
679
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
709
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/list/v1/{driver_id}.");
680
710
  case "unknown":
681
711
  throw new errors.ChrtError({
682
712
  message: _response.error.errorMessage,
@@ -686,49 +716,40 @@ class Drivers {
686
716
  });
687
717
  }
688
718
  /**
689
- * Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
719
+ * Lists all drivers' self-reports in the caller's org with date-range filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverSelfReportedHoursAndMileageListRes)
690
720
  *
691
- * @param {Chrt.shipping.DriversListOrgMembersAndDriversV1Request} request
721
+ * @param {Chrt.shipping.DriversOrgListSelfReportedHoursAndMileageV1Request} request
692
722
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
693
723
  *
694
724
  * @throws {@link Chrt.UnprocessableEntityError}
695
725
  *
696
726
  * @example
697
- * await client.shipping.drivers.listOrgMembersAndDriversV1({
698
- * search: "search",
699
- * filter_available_according_to_driver: true,
700
- * filter_available_according_to_operators: true,
701
- * sort_by: "first_name",
727
+ * await client.shipping.drivers.orgListSelfReportedHoursAndMileageV1({
728
+ * filter_driver_id: "filter_driver_id",
729
+ * filter_start_date: "filter_start_date",
730
+ * filter_end_date: "filter_end_date",
731
+ * sort_by: "date",
702
732
  * sort_order: "asc",
703
733
  * page: 1,
704
734
  * page_size: 1
705
735
  * })
706
736
  */
707
- listOrgMembersAndDriversV1(request = {}, requestOptions) {
708
- return core.HttpResponsePromise.fromPromise(this.__listOrgMembersAndDriversV1(request, requestOptions));
737
+ orgListSelfReportedHoursAndMileageV1(request = {}, requestOptions) {
738
+ return core.HttpResponsePromise.fromPromise(this.__orgListSelfReportedHoursAndMileageV1(request, requestOptions));
709
739
  }
710
- __listOrgMembersAndDriversV1() {
740
+ __orgListSelfReportedHoursAndMileageV1() {
711
741
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
712
- var _a, _b, _c, _d, _e, _f, _g, _h;
713
- const { search, 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;
742
+ var _a, _b, _c, _d, _e, _f;
743
+ const { filter_driver_id: filterDriverId, filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
714
744
  const _queryParams = {};
715
- if (search !== undefined) {
716
- _queryParams["search"] = search;
717
- }
718
- if (filterRole !== undefined) {
719
- if (Array.isArray(filterRole)) {
720
- _queryParams["filter_role"] = filterRole.map((item) => item);
721
- }
722
- else {
723
- _queryParams["filter_role"] = filterRole;
724
- }
745
+ if (filterDriverId !== undefined) {
746
+ _queryParams["filter_driver_id"] = filterDriverId;
725
747
  }
726
- if (filterAvailableAccordingToDriver !== undefined) {
727
- _queryParams["filter_available_according_to_driver"] = (_a = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _a !== void 0 ? _a : null;
748
+ if (filterStartDate !== undefined) {
749
+ _queryParams["filter_start_date"] = filterStartDate;
728
750
  }
729
- if (filterAvailableAccordingToOperators !== undefined) {
730
- _queryParams["filter_available_according_to_operators"] =
731
- (_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
751
+ if (filterEndDate !== undefined) {
752
+ _queryParams["filter_end_date"] = filterEndDate;
732
753
  }
733
754
  if (sortBy !== undefined) {
734
755
  _queryParams["sort_by"] = sortBy;
@@ -737,14 +758,14 @@ class Drivers {
737
758
  _queryParams["sort_order"] = sortOrder;
738
759
  }
739
760
  if (page !== undefined) {
740
- _queryParams["page"] = (_c = page === null || page === void 0 ? void 0 : page.toString()) !== null && _c !== void 0 ? _c : null;
761
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
741
762
  }
742
763
  if (pageSize !== undefined) {
743
- _queryParams["page_size"] = (_d = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _d !== void 0 ? _d : null;
764
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
744
765
  }
745
- let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
746
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
747
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/org_members_and_drivers/list/v1"),
766
+ 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);
767
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
768
+ 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/drivers/self_reported_hours_and_mileage/org_list/v1"),
748
769
  method: "GET",
749
770
  headers: _headers,
750
771
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -753,7 +774,10 @@ class Drivers {
753
774
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
754
775
  });
755
776
  if (_response.ok) {
756
- return { data: _response.body, rawResponse: _response.rawResponse };
777
+ return {
778
+ data: _response.body,
779
+ rawResponse: _response.rawResponse,
780
+ };
757
781
  }
758
782
  if (_response.error.reason === "status-code") {
759
783
  switch (_response.error.statusCode) {
@@ -775,7 +799,7 @@ class Drivers {
775
799
  rawResponse: _response.rawResponse,
776
800
  });
777
801
  case "timeout":
778
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/org_members_and_drivers/list/v1.");
802
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/org_list/v1.");
779
803
  case "unknown":
780
804
  throw new errors.ChrtError({
781
805
  message: _response.error.errorMessage,
@@ -785,70 +809,42 @@ class Drivers {
785
809
  });
786
810
  }
787
811
  /**
788
- * Lists all drivers belonging to the caller's organization with filtering, sorting, pagination, and optional full-text search. | () -> (DriverListRes)
812
+ * Partially updates a driver's self-reported hours worked and/or miles driven for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | (DriverSelfReportedHoursAndMileageClientUpdate1) -> (DriverSelfReportedHoursAndMileage1)
789
813
  *
790
- * @param {Chrt.shipping.DriversListV1Request} request
814
+ * @param {string} driverId
815
+ * @param {string} reportDate
816
+ * @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
791
817
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
792
818
  *
793
819
  * @throws {@link Chrt.UnprocessableEntityError}
794
820
  *
795
821
  * @example
796
- * await client.shipping.drivers.listV1({
797
- * sort_order: "asc",
798
- * page: 1,
799
- * page_size: 1,
800
- * search: "search",
801
- * filter_available_according_to_driver: true,
802
- * filter_available_according_to_operators: true
803
- * })
822
+ * await client.shipping.drivers.updateSelfReportedHoursAndMileageV1("driver_id", "report_date")
804
823
  */
805
- listV1(request = {}, requestOptions) {
806
- return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
824
+ updateSelfReportedHoursAndMileageV1(driverId, reportDate, request = {}, requestOptions) {
825
+ return core.HttpResponsePromise.fromPromise(this.__updateSelfReportedHoursAndMileageV1(driverId, reportDate, request, requestOptions));
807
826
  }
808
- __listV1() {
809
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
810
- var _a, _b, _c, _d, _e, _f, _g, _h;
811
- const { sort_order: sortOrder, page, page_size: pageSize, search, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
812
- const _queryParams = {};
813
- if (sortOrder !== undefined) {
814
- _queryParams["sort_order"] = sortOrder;
815
- }
816
- if (page !== undefined) {
817
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
818
- }
819
- if (pageSize !== undefined) {
820
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
821
- }
822
- if (search !== undefined) {
823
- _queryParams["search"] = search;
824
- }
825
- if (filterAvailableAccordingToDriver !== undefined) {
826
- _queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
827
- }
828
- if (filterAvailableAccordingToOperators !== undefined) {
829
- _queryParams["filter_available_according_to_operators"] =
830
- (_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
831
- }
832
- if (filterStatus !== undefined) {
833
- if (Array.isArray(filterStatus)) {
834
- _queryParams["filter_status"] = filterStatus.map((item) => item);
835
- }
836
- else {
837
- _queryParams["filter_status"] = filterStatus;
838
- }
839
- }
840
- let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
841
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
842
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/list/v1"),
843
- method: "GET",
827
+ __updateSelfReportedHoursAndMileageV1(driverId_1, reportDate_1) {
828
+ return __awaiter(this, arguments, void 0, function* (driverId, reportDate, request = {}, requestOptions) {
829
+ var _a, _b, _c, _d;
830
+ 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);
831
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
832
+ 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/drivers/self_reported_hours_and_mileage/update/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
833
+ method: "PATCH",
844
834
  headers: _headers,
845
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
835
+ contentType: "application/json",
836
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
837
+ requestType: "json",
838
+ body: request,
846
839
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
847
840
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
848
841
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
849
842
  });
850
843
  if (_response.ok) {
851
- return { data: _response.body, rawResponse: _response.rawResponse };
844
+ return {
845
+ data: _response.body,
846
+ rawResponse: _response.rawResponse,
847
+ };
852
848
  }
853
849
  if (_response.error.reason === "status-code") {
854
850
  switch (_response.error.statusCode) {
@@ -870,7 +866,7 @@ class Drivers {
870
866
  rawResponse: _response.rawResponse,
871
867
  });
872
868
  case "timeout":
873
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/list/v1.");
869
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/self_reported_hours_and_mileage/update/v1/{driver_id}/{report_date}.");
874
870
  case "unknown":
875
871
  throw new errors.ChrtError({
876
872
  message: _response.error.errorMessage,
@@ -880,39 +876,35 @@ class Drivers {
880
876
  });
881
877
  }
882
878
  /**
883
- * Creates a new driver profile for the target user (defaults to caller). Drivers can create themselves; operators+ can create any org member. Provider orgs only. | (DriverClientCreate1) -> (PydanticObjectId)
879
+ * Retrieves driver analytics for a time window. Daily rows are clipped to the requested UTC window; task-group rows include full in-progress mileage for task groups whose in-progress interval overlaps the requested window. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverStatsReq) -> (DriverStatsRes)
884
880
  *
885
- * @param {Chrt.shipping.DriverClientCreate1} request
881
+ * @param {string} driverId
882
+ * @param {Chrt.shipping.DriverStatsReq} request
886
883
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
887
884
  *
888
885
  * @throws {@link Chrt.UnprocessableEntityError}
889
886
  *
890
887
  * @example
891
- * await client.shipping.drivers.createV1({
892
- * target_user_id: "target_user_id",
893
- * schema_version: 1
888
+ * await client.shipping.drivers.getStatsV1("driver_id", {
889
+ * end_timestamp: "2024-01-15T09:30:00Z",
890
+ * start_timestamp: "2024-01-15T09:30:00Z"
894
891
  * })
895
892
  */
896
- createV1(request, requestOptions) {
897
- return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
893
+ getStatsV1(driverId, request, requestOptions) {
894
+ return core.HttpResponsePromise.fromPromise(this.__getStatsV1(driverId, request, requestOptions));
898
895
  }
899
- __createV1(request, requestOptions) {
896
+ __getStatsV1(driverId, request, requestOptions) {
900
897
  return __awaiter(this, void 0, void 0, function* () {
901
898
  var _a, _b, _c, _d;
902
- const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
903
- const _queryParams = {};
904
- if (targetUserId !== undefined) {
905
- _queryParams["target_user_id"] = targetUserId;
906
- }
907
899
  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);
908
900
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
909
- 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/drivers/create/v1"),
901
+ 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/drivers/stats/v1/${encodeURIComponent(driverId)}`),
910
902
  method: "POST",
911
903
  headers: _headers,
912
904
  contentType: "application/json",
913
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
905
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
914
906
  requestType: "json",
915
- body: _body,
907
+ body: request,
916
908
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
917
909
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
918
910
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -940,7 +932,7 @@ class Drivers {
940
932
  rawResponse: _response.rawResponse,
941
933
  });
942
934
  case "timeout":
943
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/create/v1.");
935
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/stats/v1/{driver_id}.");
944
936
  case "unknown":
945
937
  throw new errors.ChrtError({
946
938
  message: _response.error.errorMessage,
@@ -1013,25 +1005,34 @@ class Drivers {
1013
1005
  });
1014
1006
  }
1015
1007
  /**
1016
- * Clears the driver's last known location and timestamp. | () -> (bool)
1008
+ * Toggles a driver's `auto_assign_enabled` flag — opt-in for direct (non-bidding) task-group assignment. Authorized: the driver themselves OR an operator+ in the driver's org (operators may override the driver's setting). Provider orgs only. | (DriverUpdateAutoAssignReq) -> (bool)
1017
1009
  *
1010
+ * @param {string} driverId
1011
+ * @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
1018
1012
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
1019
1013
  *
1014
+ * @throws {@link Chrt.UnprocessableEntityError}
1015
+ *
1020
1016
  * @example
1021
- * await client.shipping.drivers.clearLastSeenV1()
1017
+ * await client.shipping.drivers.updateAutoAssignV1("driver_id", {
1018
+ * auto_assign_enabled: true
1019
+ * })
1022
1020
  */
1023
- clearLastSeenV1(requestOptions) {
1024
- return core.HttpResponsePromise.fromPromise(this.__clearLastSeenV1(requestOptions));
1021
+ updateAutoAssignV1(driverId, request, requestOptions) {
1022
+ return core.HttpResponsePromise.fromPromise(this.__updateAutoAssignV1(driverId, request, requestOptions));
1025
1023
  }
1026
- __clearLastSeenV1(requestOptions) {
1024
+ __updateAutoAssignV1(driverId, request, requestOptions) {
1027
1025
  return __awaiter(this, void 0, void 0, function* () {
1028
1026
  var _a, _b, _c, _d;
1029
1027
  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);
1030
1028
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1031
- 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/drivers/last_seen/clear/v1"),
1032
- method: "POST",
1029
+ 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/drivers/update_auto_assign/v1/${encodeURIComponent(driverId)}`),
1030
+ method: "PATCH",
1033
1031
  headers: _headers,
1032
+ contentType: "application/json",
1034
1033
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1034
+ requestType: "json",
1035
+ body: request,
1035
1036
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1036
1037
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1037
1038
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1040,11 +1041,16 @@ class Drivers {
1040
1041
  return { data: _response.body, rawResponse: _response.rawResponse };
1041
1042
  }
1042
1043
  if (_response.error.reason === "status-code") {
1043
- throw new errors.ChrtError({
1044
- statusCode: _response.error.statusCode,
1045
- body: _response.error.body,
1046
- rawResponse: _response.rawResponse,
1047
- });
1044
+ switch (_response.error.statusCode) {
1045
+ case 422:
1046
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1047
+ default:
1048
+ throw new errors.ChrtError({
1049
+ statusCode: _response.error.statusCode,
1050
+ body: _response.error.body,
1051
+ rawResponse: _response.rawResponse,
1052
+ });
1053
+ }
1048
1054
  }
1049
1055
  switch (_response.error.reason) {
1050
1056
  case "non-json":
@@ -1054,7 +1060,7 @@ class Drivers {
1054
1060
  rawResponse: _response.rawResponse,
1055
1061
  });
1056
1062
  case "timeout":
1057
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/last_seen/clear/v1.");
1063
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/update_auto_assign/v1/{driver_id}.");
1058
1064
  case "unknown":
1059
1065
  throw new errors.ChrtError({
1060
1066
  message: _response.error.errorMessage,
@@ -1193,34 +1199,28 @@ class Drivers {
1193
1199
  });
1194
1200
  }
1195
1201
  /**
1196
- * Toggles a driver's `auto_assign_enabled` flag — opt-in for direct (non-bidding) task-group assignment. Authorized: the driver themselves OR an operator+ in the driver's org (operators may override the driver's setting). Provider orgs only. | (DriverUpdateAutoAssignReq) -> (bool)
1202
+ * Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
1197
1203
  *
1198
1204
  * @param {string} driverId
1199
- * @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
1200
1205
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
1201
1206
  *
1202
1207
  * @throws {@link Chrt.UnprocessableEntityError}
1203
1208
  *
1204
1209
  * @example
1205
- * await client.shipping.drivers.updateAutoAssignV1("driver_id", {
1206
- * auto_assign_enabled: true
1207
- * })
1210
+ * await client.shipping.drivers.getByDriverIdV1("driver_id")
1208
1211
  */
1209
- updateAutoAssignV1(driverId, request, requestOptions) {
1210
- return core.HttpResponsePromise.fromPromise(this.__updateAutoAssignV1(driverId, request, requestOptions));
1212
+ getByDriverIdV1(driverId, requestOptions) {
1213
+ return core.HttpResponsePromise.fromPromise(this.__getByDriverIdV1(driverId, requestOptions));
1211
1214
  }
1212
- __updateAutoAssignV1(driverId, request, requestOptions) {
1215
+ __getByDriverIdV1(driverId, requestOptions) {
1213
1216
  return __awaiter(this, void 0, void 0, function* () {
1214
1217
  var _a, _b, _c, _d;
1215
1218
  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);
1216
1219
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1217
- 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/drivers/update_auto_assign/v1/${encodeURIComponent(driverId)}`),
1218
- method: "PATCH",
1220
+ 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/drivers/v1/${encodeURIComponent(driverId)}`),
1221
+ method: "GET",
1219
1222
  headers: _headers,
1220
- contentType: "application/json",
1221
1223
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1222
- requestType: "json",
1223
- body: request,
1224
1224
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1225
1225
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1226
1226
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1248,7 +1248,7 @@ class Drivers {
1248
1248
  rawResponse: _response.rawResponse,
1249
1249
  });
1250
1250
  case "timeout":
1251
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/update_auto_assign/v1/{driver_id}.");
1251
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
1252
1252
  case "unknown":
1253
1253
  throw new errors.ChrtError({
1254
1254
  message: _response.error.errorMessage,