@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
@@ -36,35 +36,39 @@ export class Drivers {
36
36
  return ((_a = this._complianceDocuments) !== null && _a !== void 0 ? _a : (this._complianceDocuments = new ComplianceDocuments(this._options)));
37
37
  }
38
38
  /**
39
- * 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)
39
+ * 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)
40
40
  *
41
- * @param {string} driverId
42
- * @param {Chrt.shipping.DriverStatsReq} request
41
+ * @param {Chrt.shipping.DriverClientCreate1} request
43
42
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
44
43
  *
45
44
  * @throws {@link Chrt.UnprocessableEntityError}
46
45
  *
47
46
  * @example
48
- * await client.shipping.drivers.getStatsV1("driver_id", {
49
- * start_timestamp: "2024-01-15T09:30:00Z",
50
- * end_timestamp: "2024-01-15T09:30:00Z"
47
+ * await client.shipping.drivers.createV1({
48
+ * target_user_id: "target_user_id",
49
+ * schema_version: 1
51
50
  * })
52
51
  */
53
- getStatsV1(driverId, request, requestOptions) {
54
- return core.HttpResponsePromise.fromPromise(this.__getStatsV1(driverId, request, requestOptions));
52
+ createV1(request, requestOptions) {
53
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
55
54
  }
56
- __getStatsV1(driverId, request, requestOptions) {
55
+ __createV1(request, requestOptions) {
57
56
  return __awaiter(this, void 0, void 0, function* () {
58
57
  var _a, _b, _c, _d;
58
+ const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
59
+ const _queryParams = {};
60
+ if (targetUserId !== undefined) {
61
+ _queryParams["target_user_id"] = targetUserId;
62
+ }
59
63
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
60
64
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
61
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/stats/v1/${encodeURIComponent(driverId)}`),
65
+ 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"),
62
66
  method: "POST",
63
67
  headers: _headers,
64
68
  contentType: "application/json",
65
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
69
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
66
70
  requestType: "json",
67
- body: request,
71
+ body: _body,
68
72
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
69
73
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
70
74
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -92,7 +96,7 @@ export class Drivers {
92
96
  rawResponse: _response.rawResponse,
93
97
  });
94
98
  case "timeout":
95
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/stats/v1/{driver_id}.");
99
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/create/v1.");
96
100
  case "unknown":
97
101
  throw new errors.ChrtError({
98
102
  message: _response.error.errorMessage,
@@ -102,26 +106,22 @@ export class Drivers {
102
106
  });
103
107
  }
104
108
  /**
105
- * 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)
109
+ * Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
106
110
  *
107
- * @param {string} driverId
108
- * @param {string} reportDate
109
111
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
110
112
  *
111
- * @throws {@link Chrt.UnprocessableEntityError}
112
- *
113
113
  * @example
114
- * await client.shipping.drivers.getSelfReportedHoursAndMileageV1("driver_id", "report_date")
114
+ * await client.shipping.drivers.getForCallerV1()
115
115
  */
116
- getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
117
- return core.HttpResponsePromise.fromPromise(this.__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
116
+ getForCallerV1(requestOptions) {
117
+ return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
118
118
  }
119
- __getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
119
+ __getForCallerV1(requestOptions) {
120
120
  return __awaiter(this, void 0, void 0, function* () {
121
121
  var _a, _b, _c, _d;
122
122
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
123
123
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
124
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/get/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
124
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/for_caller/v1"),
125
125
  method: "GET",
126
126
  headers: _headers,
127
127
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -130,22 +130,65 @@ export class Drivers {
130
130
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
131
131
  });
132
132
  if (_response.ok) {
133
- return {
134
- data: _response.body,
133
+ return { data: _response.body, rawResponse: _response.rawResponse };
134
+ }
135
+ if (_response.error.reason === "status-code") {
136
+ throw new errors.ChrtError({
137
+ statusCode: _response.error.statusCode,
138
+ body: _response.error.body,
135
139
  rawResponse: _response.rawResponse,
136
- };
140
+ });
141
+ }
142
+ switch (_response.error.reason) {
143
+ case "non-json":
144
+ throw new errors.ChrtError({
145
+ statusCode: _response.error.statusCode,
146
+ body: _response.error.rawBody,
147
+ rawResponse: _response.rawResponse,
148
+ });
149
+ case "timeout":
150
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
151
+ case "unknown":
152
+ throw new errors.ChrtError({
153
+ message: _response.error.errorMessage,
154
+ rawResponse: _response.rawResponse,
155
+ });
156
+ }
157
+ });
158
+ }
159
+ /**
160
+ * Clears the driver's last known location and timestamp. | () -> (bool)
161
+ *
162
+ * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
163
+ *
164
+ * @example
165
+ * await client.shipping.drivers.clearLastSeenV1()
166
+ */
167
+ clearLastSeenV1(requestOptions) {
168
+ return core.HttpResponsePromise.fromPromise(this.__clearLastSeenV1(requestOptions));
169
+ }
170
+ __clearLastSeenV1(requestOptions) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ var _a, _b, _c, _d;
173
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
174
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
175
+ 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"),
176
+ method: "POST",
177
+ headers: _headers,
178
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
179
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
180
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
181
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
182
+ });
183
+ if (_response.ok) {
184
+ return { data: _response.body, rawResponse: _response.rawResponse };
137
185
  }
138
186
  if (_response.error.reason === "status-code") {
139
- switch (_response.error.statusCode) {
140
- case 422:
141
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
142
- default:
143
- throw new errors.ChrtError({
144
- statusCode: _response.error.statusCode,
145
- body: _response.error.body,
146
- rawResponse: _response.rawResponse,
147
- });
148
- }
187
+ throw new errors.ChrtError({
188
+ statusCode: _response.error.statusCode,
189
+ body: _response.error.body,
190
+ rawResponse: _response.rawResponse,
191
+ });
149
192
  }
150
193
  switch (_response.error.reason) {
151
194
  case "non-json":
@@ -155,7 +198,7 @@ export class Drivers {
155
198
  rawResponse: _response.rawResponse,
156
199
  });
157
200
  case "timeout":
158
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/get/v1/{driver_id}/{report_date}.");
201
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/last_seen/clear/v1.");
159
202
  case "unknown":
160
203
  throw new errors.ChrtError({
161
204
  message: _response.error.errorMessage,
@@ -165,37 +208,31 @@ export class Drivers {
165
208
  });
166
209
  }
167
210
  /**
168
- * 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)
211
+ * Lists all drivers belonging to the caller's organization with filtering, sorting, pagination, and optional full-text search. | () -> (DriverListRes)
169
212
  *
170
- * @param {string} driverId
171
- * @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
213
+ * @param {Chrt.shipping.DriversListV1Request} request
172
214
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
173
215
  *
174
216
  * @throws {@link Chrt.UnprocessableEntityError}
175
217
  *
176
218
  * @example
177
- * await client.shipping.drivers.listSelfReportedHoursAndMileageV1("driver_id", {
178
- * filter_start_date: "filter_start_date",
179
- * filter_end_date: "filter_end_date",
219
+ * await client.shipping.drivers.listV1({
180
220
  * sort_order: "asc",
181
221
  * page: 1,
182
- * page_size: 1
222
+ * page_size: 1,
223
+ * search: "search",
224
+ * filter_available_according_to_driver: true,
225
+ * filter_available_according_to_operators: true
183
226
  * })
184
227
  */
185
- listSelfReportedHoursAndMileageV1(driverId, request = {}, requestOptions) {
186
- return core.HttpResponsePromise.fromPromise(this.__listSelfReportedHoursAndMileageV1(driverId, request, requestOptions));
228
+ listV1(request = {}, requestOptions) {
229
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
187
230
  }
188
- __listSelfReportedHoursAndMileageV1(driverId_1) {
189
- return __awaiter(this, arguments, void 0, function* (driverId, request = {}, requestOptions) {
190
- var _a, _b, _c, _d, _e, _f;
191
- const { filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_order: sortOrder, page, page_size: pageSize, } = request;
231
+ __listV1() {
232
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
233
+ var _a, _b, _c, _d, _e, _f, _g, _h;
234
+ 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;
192
235
  const _queryParams = {};
193
- if (filterStartDate !== undefined) {
194
- _queryParams["filter_start_date"] = filterStartDate;
195
- }
196
- if (filterEndDate !== undefined) {
197
- _queryParams["filter_end_date"] = filterEndDate;
198
- }
199
236
  if (sortOrder !== undefined) {
200
237
  _queryParams["sort_order"] = sortOrder;
201
238
  }
@@ -205,9 +242,27 @@ export class Drivers {
205
242
  if (pageSize !== undefined) {
206
243
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
207
244
  }
208
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
209
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
210
- 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)}`),
245
+ if (search !== undefined) {
246
+ _queryParams["search"] = search;
247
+ }
248
+ if (filterAvailableAccordingToDriver !== undefined) {
249
+ _queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
250
+ }
251
+ if (filterAvailableAccordingToOperators !== undefined) {
252
+ _queryParams["filter_available_according_to_operators"] =
253
+ (_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
254
+ }
255
+ if (filterStatus !== undefined) {
256
+ if (Array.isArray(filterStatus)) {
257
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
258
+ }
259
+ else {
260
+ _queryParams["filter_status"] = filterStatus;
261
+ }
262
+ }
263
+ let _headers = mergeHeaders((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
264
+ const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
265
+ 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"),
211
266
  method: "GET",
212
267
  headers: _headers,
213
268
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -216,10 +271,7 @@ export class Drivers {
216
271
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
217
272
  });
218
273
  if (_response.ok) {
219
- return {
220
- data: _response.body,
221
- rawResponse: _response.rawResponse,
222
- };
274
+ return { data: _response.body, rawResponse: _response.rawResponse };
223
275
  }
224
276
  if (_response.error.reason === "status-code") {
225
277
  switch (_response.error.statusCode) {
@@ -241,7 +293,7 @@ export class Drivers {
241
293
  rawResponse: _response.rawResponse,
242
294
  });
243
295
  case "timeout":
244
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/list/v1/{driver_id}.");
296
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/list/v1.");
245
297
  case "unknown":
246
298
  throw new errors.ChrtError({
247
299
  message: _response.error.errorMessage,
@@ -251,40 +303,49 @@ export class Drivers {
251
303
  });
252
304
  }
253
305
  /**
254
- * 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)
306
+ * Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
255
307
  *
256
- * @param {Chrt.shipping.DriversOrgListSelfReportedHoursAndMileageV1Request} request
308
+ * @param {Chrt.shipping.DriversListOrgMembersAndDriversV1Request} request
257
309
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
258
310
  *
259
311
  * @throws {@link Chrt.UnprocessableEntityError}
260
312
  *
261
313
  * @example
262
- * await client.shipping.drivers.orgListSelfReportedHoursAndMileageV1({
263
- * filter_driver_id: "filter_driver_id",
264
- * filter_start_date: "filter_start_date",
265
- * filter_end_date: "filter_end_date",
266
- * sort_by: "date",
314
+ * await client.shipping.drivers.listOrgMembersAndDriversV1({
315
+ * search: "search",
316
+ * filter_available_according_to_driver: true,
317
+ * filter_available_according_to_operators: true,
318
+ * sort_by: "first_name",
267
319
  * sort_order: "asc",
268
320
  * page: 1,
269
321
  * page_size: 1
270
322
  * })
271
323
  */
272
- orgListSelfReportedHoursAndMileageV1(request = {}, requestOptions) {
273
- return core.HttpResponsePromise.fromPromise(this.__orgListSelfReportedHoursAndMileageV1(request, requestOptions));
324
+ listOrgMembersAndDriversV1(request = {}, requestOptions) {
325
+ return core.HttpResponsePromise.fromPromise(this.__listOrgMembersAndDriversV1(request, requestOptions));
274
326
  }
275
- __orgListSelfReportedHoursAndMileageV1() {
327
+ __listOrgMembersAndDriversV1() {
276
328
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
277
- var _a, _b, _c, _d, _e, _f;
278
- const { filter_driver_id: filterDriverId, filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
329
+ var _a, _b, _c, _d, _e, _f, _g, _h;
330
+ 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;
279
331
  const _queryParams = {};
280
- if (filterDriverId !== undefined) {
281
- _queryParams["filter_driver_id"] = filterDriverId;
332
+ if (search !== undefined) {
333
+ _queryParams["search"] = search;
282
334
  }
283
- if (filterStartDate !== undefined) {
284
- _queryParams["filter_start_date"] = filterStartDate;
335
+ if (filterRole !== undefined) {
336
+ if (Array.isArray(filterRole)) {
337
+ _queryParams["filter_role"] = filterRole.map((item) => item);
338
+ }
339
+ else {
340
+ _queryParams["filter_role"] = filterRole;
341
+ }
285
342
  }
286
- if (filterEndDate !== undefined) {
287
- _queryParams["filter_end_date"] = filterEndDate;
343
+ if (filterAvailableAccordingToDriver !== undefined) {
344
+ _queryParams["filter_available_according_to_driver"] = (_a = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _a !== void 0 ? _a : null;
345
+ }
346
+ if (filterAvailableAccordingToOperators !== undefined) {
347
+ _queryParams["filter_available_according_to_operators"] =
348
+ (_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
288
349
  }
289
350
  if (sortBy !== undefined) {
290
351
  _queryParams["sort_by"] = sortBy;
@@ -293,14 +354,14 @@ export class Drivers {
293
354
  _queryParams["sort_order"] = sortOrder;
294
355
  }
295
356
  if (page !== undefined) {
296
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
357
+ _queryParams["page"] = (_c = page === null || page === void 0 ? void 0 : page.toString()) !== null && _c !== void 0 ? _c : null;
297
358
  }
298
359
  if (pageSize !== undefined) {
299
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
360
+ _queryParams["page_size"] = (_d = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _d !== void 0 ? _d : null;
300
361
  }
301
- let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
302
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
303
- 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"),
362
+ let _headers = mergeHeaders((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
363
+ const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
364
+ 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"),
304
365
  method: "GET",
305
366
  headers: _headers,
306
367
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -309,10 +370,7 @@ export class Drivers {
309
370
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
310
371
  });
311
372
  if (_response.ok) {
312
- return {
313
- data: _response.body,
314
- rawResponse: _response.rawResponse,
315
- };
373
+ return { data: _response.body, rawResponse: _response.rawResponse };
316
374
  }
317
375
  if (_response.error.reason === "status-code") {
318
376
  switch (_response.error.statusCode) {
@@ -334,7 +392,7 @@ export class Drivers {
334
392
  rawResponse: _response.rawResponse,
335
393
  });
336
394
  case "timeout":
337
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/org_list/v1.");
395
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/org_members_and_drivers/list/v1.");
338
396
  case "unknown":
339
397
  throw new errors.ChrtError({
340
398
  message: _response.error.errorMessage,
@@ -353,9 +411,9 @@ export class Drivers {
353
411
  *
354
412
  * @example
355
413
  * await client.shipping.drivers.createSelfReportedHoursAndMileageV1({
356
- * schema_version: 1,
414
+ * date: "date",
357
415
  * driver_id: "driver_id",
358
- * date: "date"
416
+ * schema_version: 1
359
417
  * })
360
418
  */
361
419
  createSelfReportedHoursAndMileageV1(request, requestOptions) {
@@ -413,42 +471,35 @@ export class Drivers {
413
471
  });
414
472
  }
415
473
  /**
416
- * 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)
474
+ * 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)
417
475
  *
418
476
  * @param {string} driverId
419
477
  * @param {string} reportDate
420
- * @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
421
478
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
422
479
  *
423
480
  * @throws {@link Chrt.UnprocessableEntityError}
424
481
  *
425
482
  * @example
426
- * await client.shipping.drivers.updateSelfReportedHoursAndMileageV1("driver_id", "report_date")
483
+ * await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "report_date")
427
484
  */
428
- updateSelfReportedHoursAndMileageV1(driverId, reportDate, request = {}, requestOptions) {
429
- return core.HttpResponsePromise.fromPromise(this.__updateSelfReportedHoursAndMileageV1(driverId, reportDate, request, requestOptions));
485
+ deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
486
+ return core.HttpResponsePromise.fromPromise(this.__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
430
487
  }
431
- __updateSelfReportedHoursAndMileageV1(driverId_1, reportDate_1) {
432
- return __awaiter(this, arguments, void 0, function* (driverId, reportDate, request = {}, requestOptions) {
488
+ __deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
489
+ return __awaiter(this, void 0, void 0, function* () {
433
490
  var _a, _b, _c, _d;
434
491
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
435
492
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
436
- 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)}`),
437
- method: "PATCH",
493
+ 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)}`),
494
+ method: "POST",
438
495
  headers: _headers,
439
- contentType: "application/json",
440
496
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
441
- requestType: "json",
442
- body: request,
443
497
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
444
498
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
445
499
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
446
500
  });
447
501
  if (_response.ok) {
448
- return {
449
- data: _response.body,
450
- rawResponse: _response.rawResponse,
451
- };
502
+ return { data: _response.body, rawResponse: _response.rawResponse };
452
503
  }
453
504
  if (_response.error.reason === "status-code") {
454
505
  switch (_response.error.statusCode) {
@@ -470,7 +521,7 @@ export class Drivers {
470
521
  rawResponse: _response.rawResponse,
471
522
  });
472
523
  case "timeout":
473
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/self_reported_hours_and_mileage/update/v1/{driver_id}/{report_date}.");
524
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/self_reported_hours_and_mileage/delete/v1/{driver_id}/{report_date}.");
474
525
  case "unknown":
475
526
  throw new errors.ChrtError({
476
527
  message: _response.error.errorMessage,
@@ -480,7 +531,7 @@ export class Drivers {
480
531
  });
481
532
  }
482
533
  /**
483
- * 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)
534
+ * 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)
484
535
  *
485
536
  * @param {string} driverId
486
537
  * @param {string} reportDate
@@ -489,18 +540,18 @@ export class Drivers {
489
540
  * @throws {@link Chrt.UnprocessableEntityError}
490
541
  *
491
542
  * @example
492
- * await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "report_date")
543
+ * await client.shipping.drivers.getSelfReportedHoursAndMileageV1("driver_id", "report_date")
493
544
  */
494
- deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
495
- return core.HttpResponsePromise.fromPromise(this.__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
545
+ getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
546
+ return core.HttpResponsePromise.fromPromise(this.__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
496
547
  }
497
- __deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
548
+ __getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
498
549
  return __awaiter(this, void 0, void 0, function* () {
499
550
  var _a, _b, _c, _d;
500
551
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
501
552
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
502
- 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)}`),
503
- method: "POST",
553
+ 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)}`),
554
+ method: "GET",
504
555
  headers: _headers,
505
556
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
506
557
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -508,7 +559,10 @@ export class Drivers {
508
559
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
509
560
  });
510
561
  if (_response.ok) {
511
- return { data: _response.body, rawResponse: _response.rawResponse };
562
+ return {
563
+ data: _response.body,
564
+ rawResponse: _response.rawResponse,
565
+ };
512
566
  }
513
567
  if (_response.error.reason === "status-code") {
514
568
  switch (_response.error.statusCode) {
@@ -530,58 +584,7 @@ export class Drivers {
530
584
  rawResponse: _response.rawResponse,
531
585
  });
532
586
  case "timeout":
533
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/self_reported_hours_and_mileage/delete/v1/{driver_id}/{report_date}.");
534
- case "unknown":
535
- throw new errors.ChrtError({
536
- message: _response.error.errorMessage,
537
- rawResponse: _response.rawResponse,
538
- });
539
- }
540
- });
541
- }
542
- /**
543
- * Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
544
- *
545
- * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
546
- *
547
- * @example
548
- * await client.shipping.drivers.getForCallerV1()
549
- */
550
- getForCallerV1(requestOptions) {
551
- return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
552
- }
553
- __getForCallerV1(requestOptions) {
554
- return __awaiter(this, void 0, void 0, function* () {
555
- var _a, _b, _c, _d;
556
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
557
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
558
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/for_caller/v1"),
559
- method: "GET",
560
- headers: _headers,
561
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
562
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
563
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
564
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
565
- });
566
- if (_response.ok) {
567
- return { data: _response.body, rawResponse: _response.rawResponse };
568
- }
569
- if (_response.error.reason === "status-code") {
570
- throw new errors.ChrtError({
571
- statusCode: _response.error.statusCode,
572
- body: _response.error.body,
573
- rawResponse: _response.rawResponse,
574
- });
575
- }
576
- switch (_response.error.reason) {
577
- case "non-json":
578
- throw new errors.ChrtError({
579
- statusCode: _response.error.statusCode,
580
- body: _response.error.rawBody,
581
- rawResponse: _response.rawResponse,
582
- });
583
- case "timeout":
584
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
587
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/get/v1/{driver_id}/{report_date}.");
585
588
  case "unknown":
586
589
  throw new errors.ChrtError({
587
590
  message: _response.error.errorMessage,
@@ -591,34 +594,61 @@ export class Drivers {
591
594
  });
592
595
  }
593
596
  /**
594
- * Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
597
+ * 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)
595
598
  *
596
599
  * @param {string} driverId
600
+ * @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
597
601
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
598
602
  *
599
603
  * @throws {@link Chrt.UnprocessableEntityError}
600
604
  *
601
605
  * @example
602
- * await client.shipping.drivers.getByDriverIdV1("driver_id")
606
+ * await client.shipping.drivers.listSelfReportedHoursAndMileageV1("driver_id", {
607
+ * filter_start_date: "filter_start_date",
608
+ * filter_end_date: "filter_end_date",
609
+ * sort_order: "asc",
610
+ * page: 1,
611
+ * page_size: 1
612
+ * })
603
613
  */
604
- getByDriverIdV1(driverId, requestOptions) {
605
- return core.HttpResponsePromise.fromPromise(this.__getByDriverIdV1(driverId, requestOptions));
614
+ listSelfReportedHoursAndMileageV1(driverId, request = {}, requestOptions) {
615
+ return core.HttpResponsePromise.fromPromise(this.__listSelfReportedHoursAndMileageV1(driverId, request, requestOptions));
606
616
  }
607
- __getByDriverIdV1(driverId, requestOptions) {
608
- return __awaiter(this, void 0, void 0, function* () {
609
- var _a, _b, _c, _d;
610
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
611
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
612
- 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)}`),
617
+ __listSelfReportedHoursAndMileageV1(driverId_1) {
618
+ return __awaiter(this, arguments, void 0, function* (driverId, request = {}, requestOptions) {
619
+ var _a, _b, _c, _d, _e, _f;
620
+ const { filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_order: sortOrder, page, page_size: pageSize, } = request;
621
+ const _queryParams = {};
622
+ if (filterStartDate !== undefined) {
623
+ _queryParams["filter_start_date"] = filterStartDate;
624
+ }
625
+ if (filterEndDate !== undefined) {
626
+ _queryParams["filter_end_date"] = filterEndDate;
627
+ }
628
+ if (sortOrder !== undefined) {
629
+ _queryParams["sort_order"] = sortOrder;
630
+ }
631
+ if (page !== undefined) {
632
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
633
+ }
634
+ if (pageSize !== undefined) {
635
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
636
+ }
637
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
638
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
639
+ 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)}`),
613
640
  method: "GET",
614
641
  headers: _headers,
615
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
642
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
616
643
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
617
644
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
618
645
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
619
646
  });
620
647
  if (_response.ok) {
621
- return { data: _response.body, rawResponse: _response.rawResponse };
648
+ return {
649
+ data: _response.body,
650
+ rawResponse: _response.rawResponse,
651
+ };
622
652
  }
623
653
  if (_response.error.reason === "status-code") {
624
654
  switch (_response.error.statusCode) {
@@ -640,7 +670,7 @@ export class Drivers {
640
670
  rawResponse: _response.rawResponse,
641
671
  });
642
672
  case "timeout":
643
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
673
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/list/v1/{driver_id}.");
644
674
  case "unknown":
645
675
  throw new errors.ChrtError({
646
676
  message: _response.error.errorMessage,
@@ -650,49 +680,40 @@ export class Drivers {
650
680
  });
651
681
  }
652
682
  /**
653
- * Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
683
+ * 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)
654
684
  *
655
- * @param {Chrt.shipping.DriversListOrgMembersAndDriversV1Request} request
685
+ * @param {Chrt.shipping.DriversOrgListSelfReportedHoursAndMileageV1Request} request
656
686
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
657
687
  *
658
688
  * @throws {@link Chrt.UnprocessableEntityError}
659
689
  *
660
690
  * @example
661
- * await client.shipping.drivers.listOrgMembersAndDriversV1({
662
- * search: "search",
663
- * filter_available_according_to_driver: true,
664
- * filter_available_according_to_operators: true,
665
- * sort_by: "first_name",
691
+ * await client.shipping.drivers.orgListSelfReportedHoursAndMileageV1({
692
+ * filter_driver_id: "filter_driver_id",
693
+ * filter_start_date: "filter_start_date",
694
+ * filter_end_date: "filter_end_date",
695
+ * sort_by: "date",
666
696
  * sort_order: "asc",
667
697
  * page: 1,
668
698
  * page_size: 1
669
699
  * })
670
700
  */
671
- listOrgMembersAndDriversV1(request = {}, requestOptions) {
672
- return core.HttpResponsePromise.fromPromise(this.__listOrgMembersAndDriversV1(request, requestOptions));
701
+ orgListSelfReportedHoursAndMileageV1(request = {}, requestOptions) {
702
+ return core.HttpResponsePromise.fromPromise(this.__orgListSelfReportedHoursAndMileageV1(request, requestOptions));
673
703
  }
674
- __listOrgMembersAndDriversV1() {
704
+ __orgListSelfReportedHoursAndMileageV1() {
675
705
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
676
- var _a, _b, _c, _d, _e, _f, _g, _h;
677
- 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;
706
+ var _a, _b, _c, _d, _e, _f;
707
+ const { filter_driver_id: filterDriverId, filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
678
708
  const _queryParams = {};
679
- if (search !== undefined) {
680
- _queryParams["search"] = search;
681
- }
682
- if (filterRole !== undefined) {
683
- if (Array.isArray(filterRole)) {
684
- _queryParams["filter_role"] = filterRole.map((item) => item);
685
- }
686
- else {
687
- _queryParams["filter_role"] = filterRole;
688
- }
709
+ if (filterDriverId !== undefined) {
710
+ _queryParams["filter_driver_id"] = filterDriverId;
689
711
  }
690
- if (filterAvailableAccordingToDriver !== undefined) {
691
- _queryParams["filter_available_according_to_driver"] = (_a = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _a !== void 0 ? _a : null;
712
+ if (filterStartDate !== undefined) {
713
+ _queryParams["filter_start_date"] = filterStartDate;
692
714
  }
693
- if (filterAvailableAccordingToOperators !== undefined) {
694
- _queryParams["filter_available_according_to_operators"] =
695
- (_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
715
+ if (filterEndDate !== undefined) {
716
+ _queryParams["filter_end_date"] = filterEndDate;
696
717
  }
697
718
  if (sortBy !== undefined) {
698
719
  _queryParams["sort_by"] = sortBy;
@@ -701,14 +722,14 @@ export class Drivers {
701
722
  _queryParams["sort_order"] = sortOrder;
702
723
  }
703
724
  if (page !== undefined) {
704
- _queryParams["page"] = (_c = page === null || page === void 0 ? void 0 : page.toString()) !== null && _c !== void 0 ? _c : null;
725
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
705
726
  }
706
727
  if (pageSize !== undefined) {
707
- _queryParams["page_size"] = (_d = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _d !== void 0 ? _d : null;
728
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
708
729
  }
709
- let _headers = mergeHeaders((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
710
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
711
- 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"),
730
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
731
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
732
+ 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"),
712
733
  method: "GET",
713
734
  headers: _headers,
714
735
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -717,7 +738,10 @@ export class Drivers {
717
738
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
718
739
  });
719
740
  if (_response.ok) {
720
- return { data: _response.body, rawResponse: _response.rawResponse };
741
+ return {
742
+ data: _response.body,
743
+ rawResponse: _response.rawResponse,
744
+ };
721
745
  }
722
746
  if (_response.error.reason === "status-code") {
723
747
  switch (_response.error.statusCode) {
@@ -739,7 +763,7 @@ export class Drivers {
739
763
  rawResponse: _response.rawResponse,
740
764
  });
741
765
  case "timeout":
742
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/org_members_and_drivers/list/v1.");
766
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/org_list/v1.");
743
767
  case "unknown":
744
768
  throw new errors.ChrtError({
745
769
  message: _response.error.errorMessage,
@@ -749,70 +773,42 @@ export class Drivers {
749
773
  });
750
774
  }
751
775
  /**
752
- * Lists all drivers belonging to the caller's organization with filtering, sorting, pagination, and optional full-text search. | () -> (DriverListRes)
776
+ * 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)
753
777
  *
754
- * @param {Chrt.shipping.DriversListV1Request} request
778
+ * @param {string} driverId
779
+ * @param {string} reportDate
780
+ * @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
755
781
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
756
782
  *
757
783
  * @throws {@link Chrt.UnprocessableEntityError}
758
784
  *
759
785
  * @example
760
- * await client.shipping.drivers.listV1({
761
- * sort_order: "asc",
762
- * page: 1,
763
- * page_size: 1,
764
- * search: "search",
765
- * filter_available_according_to_driver: true,
766
- * filter_available_according_to_operators: true
767
- * })
786
+ * await client.shipping.drivers.updateSelfReportedHoursAndMileageV1("driver_id", "report_date")
768
787
  */
769
- listV1(request = {}, requestOptions) {
770
- return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
788
+ updateSelfReportedHoursAndMileageV1(driverId, reportDate, request = {}, requestOptions) {
789
+ return core.HttpResponsePromise.fromPromise(this.__updateSelfReportedHoursAndMileageV1(driverId, reportDate, request, requestOptions));
771
790
  }
772
- __listV1() {
773
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
774
- var _a, _b, _c, _d, _e, _f, _g, _h;
775
- 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;
776
- const _queryParams = {};
777
- if (sortOrder !== undefined) {
778
- _queryParams["sort_order"] = sortOrder;
779
- }
780
- if (page !== undefined) {
781
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
782
- }
783
- if (pageSize !== undefined) {
784
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
785
- }
786
- if (search !== undefined) {
787
- _queryParams["search"] = search;
788
- }
789
- if (filterAvailableAccordingToDriver !== undefined) {
790
- _queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
791
- }
792
- if (filterAvailableAccordingToOperators !== undefined) {
793
- _queryParams["filter_available_according_to_operators"] =
794
- (_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
795
- }
796
- if (filterStatus !== undefined) {
797
- if (Array.isArray(filterStatus)) {
798
- _queryParams["filter_status"] = filterStatus.map((item) => item);
799
- }
800
- else {
801
- _queryParams["filter_status"] = filterStatus;
802
- }
803
- }
804
- let _headers = mergeHeaders((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
805
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
806
- 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"),
807
- method: "GET",
791
+ __updateSelfReportedHoursAndMileageV1(driverId_1, reportDate_1) {
792
+ return __awaiter(this, arguments, void 0, function* (driverId, reportDate, request = {}, requestOptions) {
793
+ var _a, _b, _c, _d;
794
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
795
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
796
+ 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)}`),
797
+ method: "PATCH",
808
798
  headers: _headers,
809
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
799
+ contentType: "application/json",
800
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
801
+ requestType: "json",
802
+ body: request,
810
803
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
811
804
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
812
805
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
813
806
  });
814
807
  if (_response.ok) {
815
- return { data: _response.body, rawResponse: _response.rawResponse };
808
+ return {
809
+ data: _response.body,
810
+ rawResponse: _response.rawResponse,
811
+ };
816
812
  }
817
813
  if (_response.error.reason === "status-code") {
818
814
  switch (_response.error.statusCode) {
@@ -834,7 +830,7 @@ export class Drivers {
834
830
  rawResponse: _response.rawResponse,
835
831
  });
836
832
  case "timeout":
837
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/list/v1.");
833
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/self_reported_hours_and_mileage/update/v1/{driver_id}/{report_date}.");
838
834
  case "unknown":
839
835
  throw new errors.ChrtError({
840
836
  message: _response.error.errorMessage,
@@ -844,39 +840,35 @@ export class Drivers {
844
840
  });
845
841
  }
846
842
  /**
847
- * 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)
843
+ * 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)
848
844
  *
849
- * @param {Chrt.shipping.DriverClientCreate1} request
845
+ * @param {string} driverId
846
+ * @param {Chrt.shipping.DriverStatsReq} request
850
847
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
851
848
  *
852
849
  * @throws {@link Chrt.UnprocessableEntityError}
853
850
  *
854
851
  * @example
855
- * await client.shipping.drivers.createV1({
856
- * target_user_id: "target_user_id",
857
- * schema_version: 1
852
+ * await client.shipping.drivers.getStatsV1("driver_id", {
853
+ * end_timestamp: "2024-01-15T09:30:00Z",
854
+ * start_timestamp: "2024-01-15T09:30:00Z"
858
855
  * })
859
856
  */
860
- createV1(request, requestOptions) {
861
- return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
857
+ getStatsV1(driverId, request, requestOptions) {
858
+ return core.HttpResponsePromise.fromPromise(this.__getStatsV1(driverId, request, requestOptions));
862
859
  }
863
- __createV1(request, requestOptions) {
860
+ __getStatsV1(driverId, request, requestOptions) {
864
861
  return __awaiter(this, void 0, void 0, function* () {
865
862
  var _a, _b, _c, _d;
866
- const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
867
- const _queryParams = {};
868
- if (targetUserId !== undefined) {
869
- _queryParams["target_user_id"] = targetUserId;
870
- }
871
863
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
872
864
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
873
- 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"),
865
+ 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)}`),
874
866
  method: "POST",
875
867
  headers: _headers,
876
868
  contentType: "application/json",
877
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
869
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
878
870
  requestType: "json",
879
- body: _body,
871
+ body: request,
880
872
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
881
873
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
882
874
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -904,7 +896,7 @@ export class Drivers {
904
896
  rawResponse: _response.rawResponse,
905
897
  });
906
898
  case "timeout":
907
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/create/v1.");
899
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/stats/v1/{driver_id}.");
908
900
  case "unknown":
909
901
  throw new errors.ChrtError({
910
902
  message: _response.error.errorMessage,
@@ -977,25 +969,34 @@ export class Drivers {
977
969
  });
978
970
  }
979
971
  /**
980
- * Clears the driver's last known location and timestamp. | () -> (bool)
972
+ * 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)
981
973
  *
974
+ * @param {string} driverId
975
+ * @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
982
976
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
983
977
  *
978
+ * @throws {@link Chrt.UnprocessableEntityError}
979
+ *
984
980
  * @example
985
- * await client.shipping.drivers.clearLastSeenV1()
981
+ * await client.shipping.drivers.updateAutoAssignV1("driver_id", {
982
+ * auto_assign_enabled: true
983
+ * })
986
984
  */
987
- clearLastSeenV1(requestOptions) {
988
- return core.HttpResponsePromise.fromPromise(this.__clearLastSeenV1(requestOptions));
985
+ updateAutoAssignV1(driverId, request, requestOptions) {
986
+ return core.HttpResponsePromise.fromPromise(this.__updateAutoAssignV1(driverId, request, requestOptions));
989
987
  }
990
- __clearLastSeenV1(requestOptions) {
988
+ __updateAutoAssignV1(driverId, request, requestOptions) {
991
989
  return __awaiter(this, void 0, void 0, function* () {
992
990
  var _a, _b, _c, _d;
993
991
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
994
992
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
995
- 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"),
996
- method: "POST",
993
+ 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)}`),
994
+ method: "PATCH",
997
995
  headers: _headers,
996
+ contentType: "application/json",
998
997
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
998
+ requestType: "json",
999
+ body: request,
999
1000
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1000
1001
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1001
1002
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1004,11 +1005,16 @@ export class Drivers {
1004
1005
  return { data: _response.body, rawResponse: _response.rawResponse };
1005
1006
  }
1006
1007
  if (_response.error.reason === "status-code") {
1007
- throw new errors.ChrtError({
1008
- statusCode: _response.error.statusCode,
1009
- body: _response.error.body,
1010
- rawResponse: _response.rawResponse,
1011
- });
1008
+ switch (_response.error.statusCode) {
1009
+ case 422:
1010
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1011
+ default:
1012
+ throw new errors.ChrtError({
1013
+ statusCode: _response.error.statusCode,
1014
+ body: _response.error.body,
1015
+ rawResponse: _response.rawResponse,
1016
+ });
1017
+ }
1012
1018
  }
1013
1019
  switch (_response.error.reason) {
1014
1020
  case "non-json":
@@ -1018,7 +1024,7 @@ export class Drivers {
1018
1024
  rawResponse: _response.rawResponse,
1019
1025
  });
1020
1026
  case "timeout":
1021
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/last_seen/clear/v1.");
1027
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/update_auto_assign/v1/{driver_id}.");
1022
1028
  case "unknown":
1023
1029
  throw new errors.ChrtError({
1024
1030
  message: _response.error.errorMessage,
@@ -1157,34 +1163,28 @@ export class Drivers {
1157
1163
  });
1158
1164
  }
1159
1165
  /**
1160
- * 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)
1166
+ * Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
1161
1167
  *
1162
1168
  * @param {string} driverId
1163
- * @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
1164
1169
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
1165
1170
  *
1166
1171
  * @throws {@link Chrt.UnprocessableEntityError}
1167
1172
  *
1168
1173
  * @example
1169
- * await client.shipping.drivers.updateAutoAssignV1("driver_id", {
1170
- * auto_assign_enabled: true
1171
- * })
1174
+ * await client.shipping.drivers.getByDriverIdV1("driver_id")
1172
1175
  */
1173
- updateAutoAssignV1(driverId, request, requestOptions) {
1174
- return core.HttpResponsePromise.fromPromise(this.__updateAutoAssignV1(driverId, request, requestOptions));
1176
+ getByDriverIdV1(driverId, requestOptions) {
1177
+ return core.HttpResponsePromise.fromPromise(this.__getByDriverIdV1(driverId, requestOptions));
1175
1178
  }
1176
- __updateAutoAssignV1(driverId, request, requestOptions) {
1179
+ __getByDriverIdV1(driverId, requestOptions) {
1177
1180
  return __awaiter(this, void 0, void 0, function* () {
1178
1181
  var _a, _b, _c, _d;
1179
1182
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1180
1183
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
1181
- 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)}`),
1182
- method: "PATCH",
1184
+ 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)}`),
1185
+ method: "GET",
1183
1186
  headers: _headers,
1184
- contentType: "application/json",
1185
1187
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
1186
- requestType: "json",
1187
- body: request,
1188
1188
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1189
1189
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1190
1190
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1212,7 +1212,7 @@ export class Drivers {
1212
1212
  rawResponse: _response.rawResponse,
1213
1213
  });
1214
1214
  case "timeout":
1215
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/update_auto_assign/v1/{driver_id}.");
1215
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
1216
1216
  case "unknown":
1217
1217
  throw new errors.ChrtError({
1218
1218
  message: _response.error.errorMessage,